/* Editorial Hub experiment: identity and content first, controls second.
   Scoped to the existing public storefront; no business logic changes. */
html[data-hub-storefront] {
  --eh-editorial-width: 1180px;
  --eh-editorial-spacing: clamp(20px, 3vw, 38px);
}
html[data-hub-storefront] .wrap {
  max-width: var(--eh-editorial-width);
}
html[data-hub-storefront] .hm-hero {
  gap: var(--eh-editorial-spacing);
  align-items: center;
}
html[data-hub-storefront] .hm-main h1,
html[data-hub-storefront] .hm-identity-intro h1 {
  font-size: clamp(34px, 4.1vw, 58px);
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 750;
  text-transform: none;
  text-wrap: balance;
}
html[data-hub-storefront] .hm-identity-intro-summary {
  max-width: 66ch;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
}
html[data-hub-storefront] .hm-panel h2 {
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.25;
  letter-spacing: -.02em;
  text-transform: none;
  font-weight: 740;
}
html[data-hub-storefront] .hm-panel {
  border-radius: 16px;
  padding: clamp(16px, 2vw, 26px);
}
html[data-hub-storefront] .hm-grid {
  gap: clamp(16px, 2.4vw, 30px);
}
html[data-hub-storefront] .hm-identity-intro-actions :is(a,button) {
  border-radius: 10px;
  min-height: 40px;
}
html[data-hub-storefront] .hm-hero .hm-visual img {
  object-fit: cover;
}
@media(max-width:760px) {
  html[data-hub-storefront] .hm-hero {gap:16px}
  html[data-hub-storefront] .hm-main h1,
  html[data-hub-storefront] .hm-identity-intro h1 {font-size:clamp(29px,8vw,40px)}
  html[data-hub-storefront] .hm-panel {padding:17px 15px;border-radius:12px}
  html[data-hub-storefront] .hm-grid {gap:18px}
}
@media(prefers-reduced-motion:reduce) {
  html[data-hub-storefront] .hm-hero,
  html[data-hub-storefront] .hm-panel {scroll-behavior:auto}
}

/* Phase two: give authentic identity media the visual priority.
   We deliberately do not generate cover images or alter source provenance. */
html[data-hub-storefront] .hm-person-cover {
  overflow: hidden;
  border-radius: 18px;
  isolation: isolate;
}
html[data-hub-storefront] .hm-person-cover.has-image img[data-person-cover-image] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}
html[data-hub-storefront] .hm-person-cover.has-image::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(5,11,22,.73));
  z-index: 1;
}
html[data-hub-storefront] .hm-person-cover .hm-cover-identity {
  position: relative;
  z-index: 2;
}
html[data-hub-storefront] .hm-cover-identity h2 {
  max-width: 22ch;
  font-size: clamp(27px, 3vw, 48px);
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
}
html[data-hub-storefront] .hm-person-avatar-wrap {
  z-index: 3;
}
html[data-hub-storefront] .hm-hero .hm-visual-wrap {
  overflow: hidden;
  border-radius: 18px;
}
html[data-hub-storefront] .hm-identity-intro-actions {
  flex-wrap: wrap;
  gap: 8px;
}
@media(max-width:760px) {
  html[data-hub-storefront] .hm-person-cover,
  html[data-hub-storefront] .hm-hero .hm-visual-wrap {border-radius: 12px}
  html[data-hub-storefront] .hm-cover-identity h2 {font-size: clamp(24px, 7.4vw, 34px)}
}

/* Editorial showcase: source-backed photographs, not invented 'known for' credits. */
html[data-hub-storefront] .hm-highlights {
  margin-block: clamp(24px, 4vw, 48px);
}
html[data-hub-storefront] .hm-highlights-head {
  margin-bottom: 18px;
}
html[data-hub-storefront] .hm-highlights-kicker {
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .13em;
  text-transform: uppercase;
}
html[data-hub-storefront] .hm-highlights h2 {
  font-size: clamp(23px, 2.5vw, 34px);
  letter-spacing: -.03em;
  line-height: 1.12;
  text-transform: none;
  text-wrap: balance;
}
html[data-hub-storefront] .hm-highlights-grid {
  gap: clamp(10px, 1.6vw, 20px);
}
html[data-hub-storefront] .hm-highlight {
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
}
html[data-hub-storefront] .hm-highlight img {
  display: block;
  width: 100%;
  object-fit: cover;
}
html[data-hub-storefront] .hm-highlight figcaption {
  padding: 10px 4px 3px;
  line-height: 1.45;
}
@media(max-width:760px) {
  html[data-hub-storefront] .hm-highlights-grid {gap:10px}
  html[data-hub-storefront] .hm-highlight {border-radius:11px}
}
