/* HKXR POWER photographic Hero: shared scenes with scoped editorial controls. */
@font-face {
  font-family: 'Manrope';
  src: url('./public/fonts/Manrope-Variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Odor Mean Chey';
  src: url('./public/fonts/OdorMeanChey-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.hero-page {
  --hp-ink: #172c39;
  --hp-body: #304957;
  --hp-green: #146b42;
  --hp-accent: #8bebba;
  --hp-on-photo: #f6f9fd;
  --hp-on-photo-body: #e1eaf4;
  --hp-point: #80e9ae;
  --hp-surface: #f8faf9;
  --hp-line: #d7dfdc;
  color: var(--hp-ink);
  font-family: 'Manrope', Arial, 'Microsoft YaHei', sans-serif;
}
.hero-page button, .hero-page textarea { font: inherit; }
.hero-page button { -webkit-tap-highlight-color: transparent; }
.hero-page :is(a, button, textarea):focus-visible { outline: 2px solid var(--hp-green); outline-offset: 5px; }
.hero-page > main { margin: 0; padding: 0; }
.hero-page .site-header { position: fixed; inset: 0 0 auto; height: 88px; padding: 0 4vw; gap: 24px; color: var(--hp-on-photo); --hp-nav-accent: var(--hp-accent); }
.hero-page .brand { color: inherit; font-size: 16px; letter-spacing: .16em; font-weight: 650; }
.hero-page .brand b { color: inherit; font-weight: 450; }
.hero-page .brand-mark { background: transparent; border: 1px solid currentColor; box-shadow: none; }
.hero-page .brand-mark::before, .hero-page .brand-mark::after { background: currentColor; }
.hero-page .primary-nav { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; gap: clamp(24px, 2.5vw, 48px); }
.hero-page .primary-nav :is(a, button) { color: inherit; font-size: 14px; font-weight: 500; padding: 10px 0; border: 0; border-bottom: 1px solid transparent; background: transparent; text-decoration: none; white-space: nowrap; cursor: pointer; }
.hero-page .primary-nav :is(a, button):hover, .hero-page .primary-nav [aria-expanded="true"], .hero-page .primary-nav [aria-current="page"] { color: var(--hp-nav-accent); border-bottom-color: var(--hp-nav-accent); }
.hero-page .primary-nav [aria-disabled="true"] { cursor: default; color: inherit; border-color: transparent; }
.hero-page .contact-trigger { margin-left: auto; padding: 12px 0 12px 16px; border: 0; background: transparent; color: var(--hp-nav-accent); font-weight: 600; font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: 22px; }
.hero-page .contact-trigger span { font-size: 21px; font-weight: 400; }
.hero-page .site-header { transition: transform .24s ease, background-color .24s ease; }
.hero-page .site-header:is(.is-scrolled, .is-nav-revealed) { backdrop-filter: blur(4px); background: rgb(255 255 255 / 8%); box-shadow: none; }
.hero-page .site-header.is-nav-hidden { transform: translateY(-110%); pointer-events: none; }
.hero-page .site-header.is-over-light { color: var(--hp-ink); --hp-nav-accent: var(--hp-green); }
.hero-page .site-header.has-keyboard-focus { transform: translateY(0); pointer-events: auto; }
.hero-page .site-header :is(a, button):focus-visible { outline-color: var(--hp-nav-accent); }
.power-hero { position: relative; height: 100svh; overflow: hidden; background: linear-gradient(110deg, #144b76, #276da6); isolation: isolate; overflow-anchor: none; }
.power-hero::before { content: none; }
.hero-stage { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photos { position: absolute; inset: 0; overflow: hidden; background: #367fb6; isolation: isolate; }
/* Reversible presentation layers. Original PNG pixels and equipment stay intact. */
.hero-photos::before, .hero-photos::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.hero-photos::before { z-index: 3; mix-blend-mode: multiply; background: linear-gradient(90deg, rgb(35 142 232 / 58%), rgb(35 142 232 / 40%) 31%, rgb(35 142 232 / 10%) 49%, transparent 65%); }
.hero-photos::after { z-index: 4; background: linear-gradient(90deg, rgb(0 0 0 / 48%), rgb(0 0 0 / 35%) 31%, rgb(0 0 0 / 9%) 53%, transparent 75%), linear-gradient(0deg, rgb(0 0 0 / 60%), rgb(0 0 0 / 40%) 22%, transparent 43%); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center var(--scene-y, 50%); opacity: 0; pointer-events: none; transform-origin: 70% 65%; }
.hero-photo[data-photo="default"] { opacity: 1; }
/* Scene and source share an aspect ratio: full width, complete equipment and ground. */
.hero-photo:not([data-photo="default"]) { object-fit: contain; object-position: center; }
.hero-copy { position: absolute; z-index: 4; left: 4%; top: 31%; width: 33%; color: var(--hp-on-photo); }
.hero-copy[data-copy-state]:not([data-copy-state="default"]) { opacity: 0; visibility: hidden; }
.hero-kicker { margin: 0 0 22px; font-size: clamp(11px, .8vw, 14px); font-weight: 600; letter-spacing: .16em; }
.hero-title { margin: 0; font-size: clamp(36px, 3.38vw, 65px); line-height: 1.14; font-weight: 400; letter-spacing: -.045em; }
.hero-title span { display: block; }
.hero-copy .hero-kicker { display: flex; align-items: center; gap: 14px; color: var(--hp-on-photo-body); font-weight: 500; letter-spacing: .2em; font-size: clamp(10px, .65vw, 12px); margin-bottom: 28px; }
.hero-copy .hero-kicker::before { content: ''; width: 28px; height: 1px; background: var(--hp-accent); flex: 0 0 28px; }
.power-hero :is(a, button):focus-visible { outline-color: var(--hp-accent); }
.hero-summary-text { margin: 25px 0 0; max-width: 35ch; font-size: clamp(14px, .92vw, 18px); line-height: 1.8; color: var(--hp-on-photo-body); font-weight: 400; }
.hero-copy--focus { top: 31%; }
.hero-copy--focus .hero-title { font-size: clamp(36px, 3.38vw, 65px); }
.hero-copy--focus .hero-kicker { margin-bottom: 24px; }
.hero-category-space { min-height: 120px; margin-top: 32px; }
.hero-back { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin: 36px 0 0; padding: 0; border: 0; background: transparent; color: var(--hp-on-photo-body); font-size: 13px; cursor: pointer; }
.hero-back:hover { color: var(--hp-accent); }
.hero-back > span { color: var(--hp-accent); transition: transform .18s ease; }
.hero-back:hover > span { transform: translateX(-5px); }
.hero-hotspots { position: absolute; inset: 0; z-index: 3; }
.hero-hotspot { position: absolute; background: transparent; border: 0; cursor: pointer; padding: 0; }
.hero-hotspot--transformer { left: 39%; top: 12%; width: 44%; height: 79%; }
.hero-hotspot--switchgear { left: 83.3%; top: 51%; width: 16.7%; height: 30%; }
.hero-hotspot:focus-visible { outline: none !important; }
.hero-tag { position: absolute; display: flex; align-items: center; gap: 10px; color: var(--hp-on-photo); font-size: clamp(12px, .8vw, 15px); white-space: nowrap; min-height: 44px; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.hero-tag::before { content: ''; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--hp-point); }
.hero-tag::after { content: '↗'; margin-left: 8px; }
.hero-hotspot--transformer .hero-tag { bottom: 12px; left: 33%; }
.hero-hotspot--switchgear .hero-tag { bottom: 12px; right: 12%; }
.hero-hotspot:hover .hero-tag, .hero-hotspot:focus-visible .hero-tag { color: var(--hp-accent); border-bottom-color: var(--hp-accent); }
.hero-hotspot:focus-visible .hero-tag { outline: 2px solid var(--hp-accent); outline-offset: 5px; }
.hero-hint { position: absolute; left: 4%; bottom: 5.5%; z-index: 4; margin: 0; color: var(--hp-on-photo-body); font-size: 12px; display: flex; align-items: center; gap: 12px; }
.hero-hint::before { content: ''; width: 24px; height: 1px; background: var(--hp-accent); }
.hero-mobile-choices { display: none; }
.product-picker { --hp-nav-accent: var(--hp-green); color: var(--hp-ink); position: absolute; top: 72px; left: 50%; width: 276px; transform: translateX(-50%); padding: 12px 20px; background: var(--hp-surface); border: 1px solid var(--hp-line); box-shadow: 0 8px 24px rgb(23 44 57 / 7%); }
.product-picker[hidden] { display: none; }
.product-picker button { display: flex; justify-content: space-between; width: 100%; min-height: 48px; align-items: center; padding: 8px 0; background: transparent; border: 0; color: var(--hp-ink); text-align: left; cursor: pointer; font-size: 14px; }
.product-picker button + button { border-top: 1px solid var(--hp-line); }
.product-picker button:hover { color: var(--hp-green); }
.contact-dialog { width: min(440px, calc(100vw - 40px)); padding: 36px; color: var(--hp-ink); background: var(--hp-surface); border: 1px solid var(--hp-line); border-radius: 2px; }
.contact-dialog::backdrop { background: rgb(23 44 57 / 22%); }
.dialog-close { position: absolute; right: 12px; top: 10px; width: 44px; height: 44px; background: transparent; border: 0; font-size: 24px !important; cursor: pointer; color: var(--hp-ink); }
.contact-dialog h2 { margin: 16px 0; font-size: 26px; font-weight: 500; }
.contact-dialog p { color: var(--hp-body); font-size: 14px; line-height: 1.7; }
.contact-dialog label { display: block; margin: 24px 0 10px; font-size: 13px; }
.contact-dialog textarea { display: block; width: 100%; min-height: 130px; resize: vertical; padding: 12px; border: 1px solid #9daea4; background: white; color: var(--hp-ink); font-size: 14px; line-height: 1.5; }
.enquiry-copy { min-height: 44px; margin-top: 20px; padding: 10px 18px; background: var(--hp-green); border: 0; color: white; cursor: pointer; }
.contact-dialog .contact-status { min-height: 24px; margin-bottom: 0; font-size: 12px; }
/* Brand, actions and the independently controlled category preview. */
.hero-copy[data-copy-state="default"] { top: clamp(125px, 21svh, 255px); width: 33.5%; }
.hero-brand-name { margin: 0 0 clamp(24px, 1.8vw, 35px); color: #f9fcff; font-family: 'Odor Mean Chey', Georgia, serif; font-size: clamp(48px, 4.727vw, 90px); font-weight: 400; line-height: 1.1; letter-spacing: .0291em; white-space: nowrap; }
.hero-copy[data-copy-state="default"] .hero-title { font-size: clamp(36px, 3.15vw, 61px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 2vw, 38px); }
.hero-page .hero-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 44px; padding: 11px 19px; border: 1px solid rgb(139 235 186 / 50%); background: transparent; color: var(--hp-accent); font-size: 13px; font-weight: 500; cursor: pointer; transition: background-color .18s ease, border-color .18s ease; }
.hero-page .hero-action--primary { background: rgb(139 235 186 / 16%); border-color: rgb(139 235 186 / 65%); }
.hero-page .hero-action:hover { border-color: var(--hp-accent); background: rgb(139 235 186 / 24%); }
.hero-action span, .hero-page .contact-trigger span { transition: transform .18s ease; }
.hero-action:hover span, .hero-page .contact-trigger:hover span { transform: translate(3px, -2px); }
.hero-copy.hero-copy--focus { top: clamp(72px, 18.8svh, 202px); width: 35%; }
.hero-copy.hero-copy--focus .hero-kicker { margin-bottom: 18px; }
.hero-copy.hero-copy--focus .hero-title { font-size: clamp(34px, 3vw, 58px); letter-spacing: -.025em; font-weight: 450; }
.hero-copy.hero-copy--focus .hero-back { margin-top: 14px; font-size: 12px; }
.transformer-categories { display: grid; grid-template-columns: 43% minmax(0, 1fr); align-items: center; gap: clamp(24px, 1.8vw, 35px); margin-top: clamp(22px, 2.1vw, 40px); }
.transformer-preview { min-width: 0; margin: 0; }
.transformer-preview-window { position: relative; width: 100%; aspect-ratio: 7 / 10; overflow: hidden; background: transparent; }
.transformer-preview-window img { position: absolute; inset: 0; display:block; width:100%; height:100%; object-fit:cover; opacity:0; transform-origin:center; }
.transformer-preview-window img:first-child { opacity: 1; }
.transformer-preview figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin-top: 14px; color: rgb(225 234 244 / 80%); font-size: 11px; letter-spacing: .09em; }
.transformer-preview figcaption span { color: var(--hp-accent); white-space: nowrap; }
.transformer-category-list { min-width: 0; }
.hero-page .transformer-category { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; width: 100%; min-height: clamp(44px, 2.9vw, 56px); padding: 10px 0 10px 10px; border: 0; background: transparent; text-align: left; color: var(--hp-on-photo); cursor: pointer; }
.transformer-category::before { content: ''; position: absolute; left: 0; top: 12px; height: 20px; width: 1px; background: var(--hp-accent); opacity: 0; transition: opacity .16s ease; }
.category-name { display: block; font-size: clamp(14px, .89vw, 17px); font-weight: 500; line-height: 1.45; color: rgb(246 249 253 / 68%); transition: color .16s ease; }
.category-arrow { padding-top: 1px; text-align: center; color: rgb(225 234 244 / 60%); font-size: 14px; transition: transform .18s ease, color .18s ease; }
.transformer-category[aria-pressed="true"]::before { opacity: 1; }
.transformer-category[aria-pressed="true"] .category-name { color: var(--hp-on-photo); }
.transformer-category[aria-pressed="true"] .category-arrow { transform: translateX(-4px); color: var(--hp-accent); }
/* Reveal controls never reserve page space. Desktop trigger is keyboard-only. */
.nav-reveal { position: fixed; z-index: 61; top: 12px; right: 20px; width: 44px; height: 44px; border: 1px solid rgb(246 249 253 / 30%); background: rgb(11 46 75 / 40%); color: var(--hp-on-photo); opacity: 0; pointer-events: none; cursor: pointer; }
.nav-reveal:focus-visible { opacity: 1; pointer-events: auto; }
.hero-page:has(.is-nav-revealed) .nav-reveal { opacity: 0; pointer-events: none; }
@media (hover: none) { .nav-reveal { opacity: 1; pointer-events: auto; } }
@media (min-width: 901px) {
  /* Trim only the upper sky; retain full width, equipment and ground below the fold. */
  .power-hero { container-type: inline-size; height: auto; aspect-ratio: 1672 / 874.12; }
  /* Only the desktop overview crops an additional 35px from its upper edge. */
  .power-hero[data-state="default"] { margin-top: -35px; }
  .hero-stage { top: -4cqw; bottom: auto; height: auto; aspect-ratio: 1672 / 941; }
  .hero-copy.hero-copy--focus { left: 4%; top: 18.8%; width: 35%; }
  .hero-page .hero-action { min-width: clamp(150px, 10.5vw, 202px); min-height: clamp(48px, 3.2vw, 60px); font-size: clamp(14px, .95vw, 18px); padding-inline: 24px; }
  .hero-hint { bottom: 22px; }
  .transformer-category { align-items: center; }
}
@media (max-width: 1500px) {
  .hero-page .site-header { height: 76px; }
  .hero-kicker { margin-bottom: 18px; }
  .hero-summary-text { margin-top: 20px; }
  .hero-category-space { min-height: 90px; }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .hero-page .primary-nav { gap: 22px; }
  .hero-page .brand { font-size: 14px; }
  .hero-title { font-size: 3.1vw; }
  .hero-summary-text { font-size: 13px; }
}
@media (max-width: 900px) {
  .hero-page .site-header { height: 72px; padding: 0 24px; gap: 12px; }
  .hero-page .brand { font-size: 13px; gap: 8px; }
  .hero-page .brand-mark { width: 20px; height: 20px; }
  .hero-page .nav-toggle { display: block; margin-left: auto; }
  .hero-page .contact-trigger { margin: 0; padding: 12px 0 12px 4px; font-size: 13px; gap: 8px; }
  .hero-page .primary-nav { top: 72px; left: 0; right: 0; transform: none; padding: 8px 24px 16px; gap: 0; background: var(--hp-surface); color: var(--hp-ink); --hp-nav-accent: var(--hp-green); }
  .hero-page .primary-nav :is(a, button) { min-height: 44px; text-align: left; }
  .power-hero { height: max(100svh, calc(450px + 56.2799vw)); }
  .hero-page .nav-toggle span[aria-hidden] { background: currentColor; }
  .hero-page .nav-toggle { color: inherit; }
  .hero-photos::after { background: linear-gradient(0deg, rgb(0 0 0 / 20%), transparent 30%); }
  .hero-photos::before { opacity: .35; }
  .hero-stage { top: auto; bottom: 0; height: auto; aspect-ratio: 1672 / 941; }
  .hero-copy { top: auto; bottom: calc(100% + 24px); left: 24px; width: calc(100% - 48px); }
  .hero-title, .hero-copy--focus .hero-title { font-size: clamp(34px, 6vw, 48px); max-width: 16ch; }
  .hero-kicker { margin-bottom: 16px; font-size: 11px; }
  .hero-summary-text { margin-top: 18px; max-width: 40ch; font-size: 14px; }
  .hero-category-space { min-height: 60px; margin-top: 0; }
  .hero-back { margin-top: 24px; }
  .hero-tag, .hero-hint { display: none; }
  .hero-mobile-choices { display: flex; position: absolute; top: 100%; left: 24px; right: 24px; gap: 24px; padding-top: 12px; }
  .hero-mobile-choices button { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--hp-accent); font-size: 13px; cursor: pointer; }
  .product-picker { position: fixed; top: 270px; left: 24px; right: 24px; width: auto; transform: none; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .hero-copy[data-copy-state="default"] { width: 35%; }
  .hero-brand-name { font-size: 4.727vw; }
  .hero-copy[data-copy-state="default"] .hero-title { font-size: 3.05vw; }
  .hero-copy.hero-copy--focus { top: 15%; width: 37%; }
  .transformer-categories { grid-template-columns: 40% minmax(0, 1fr); gap: 24px; margin-top: 16px; }
  .hero-page .transformer-category { padding: 10px 0 10px 9px; gap: 6px; min-height: 44px; grid-template-columns: 14px minmax(0, 1fr); }
  .category-name { font-size: 12px; }
  .hero-actions { gap: 8px; }
  .hero-page .hero-action { padding-inline: 12px; gap: 16px; }
}
@media (max-width: 900px) {
  /* Keep one stable scene height for all states; the extra content sits above the photograph. */
  .power-hero { height: max(100svh, calc(520px + 56.2799vw)); }
  .hero-copy[data-copy-state="default"], .hero-copy.hero-copy--focus { top: auto; left: 24px; width: calc(100% - 48px); }
  .hero-copy[data-copy-state="default"] { bottom: calc(100% + 64px); }
  .hero-brand-name { font-size: clamp(34px, 8vw, 56px); margin-bottom: 26px; }
  .hero-copy[data-copy-state="default"] .hero-title { font-size: clamp(29px, 4.6vw, 42px); max-width: none; }
  .hero-copy.hero-copy--focus .hero-title { font-size: clamp(30px, 5vw, 42px); }
  .hero-actions { margin-top: 26px; }
  .hero-page .hero-action { padding-inline: 14px; gap: 18px; }
  .transformer-categories { grid-template-columns: minmax(115px, 40%) minmax(0, 1fr); gap: 24px; margin-top: 18px; }
  .hero-page .transformer-category { grid-template-columns: 14px minmax(0, 1fr); gap: 5px; padding: 11px 0 11px 8px; min-height: 44px; }
  .category-name { font-size: 12px; }
  .hero-mobile-choices { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-page *, .hero-page *::before, .hero-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Direct family navigation stays in the scene, without changing its framing. */
.hero-page .hero-cross-link { position: absolute; z-index: 4; right: 2%; top: min(calc(80svh - 22px), calc(100% - 88px)); display: grid; gap: 5px; min-width: 154px; min-height: 64px; padding: 10px 14px; border: 0; border-bottom: 1px solid rgb(139 235 186 / 65%); background: rgb(11 30 44 / 32%); color: var(--hp-on-photo); text-align: left; cursor: pointer; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, background-color .18s ease; }
.hero-cross-link__eyebrow { font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--hp-on-photo-body); }
.hero-cross-link__label { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: clamp(15px, .9vw, 18px); font-weight: 500; }
.hero-cross-link__label > span { color: var(--hp-accent); transition: transform .18s ease; }
.power-hero[data-state="transformerFocus"][aria-busy="false"] .hero-cross-link { opacity: 1; visibility: visible; pointer-events: auto; }
.hero-page .hero-cross-link:hover { background: rgb(11 30 44 / 52%); }
.hero-cross-link:hover .hero-cross-link__label > span { transform: translateX(4px); }
@media (max-width: 900px) {
  .hero-page .hero-cross-link { top: auto; bottom: 14px; left: 24px; right: auto; min-width: 132px; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-page .hero-cross-link, .hero-cross-link__label > span { transition: none; }
  .hero-cross-link:hover .hero-cross-link__label > span { transform: none; }
}

.hero-copy--focus .hero-title a{color:inherit;text-decoration:none}.hero-copy--focus .hero-title a:focus-visible{outline:2px solid #79efc3;outline-offset:6px}

/* Compact mobile composition: keep the complete product photograph while
   placing the copy near the top instead of vertically centering it in empty sky. */
@media (max-width: 600px) {
  .power-hero {
    height: calc(390px + 56.2799vw);
    min-height: 0;
  }
  .power-hero:is([data-state="transformerFocus"], [data-state="switchgearFocus"]) {
    height: calc(470px + 56.2799vw);
  }
  .hero-stage {
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }
  .hero-photos {
    top: auto;
    bottom: 0;
    height: 56.2799vw;
  }
  .hero-copy[data-copy-state="default"],
  .hero-copy.hero-copy--focus {
    top: 58px;
    bottom: auto;
    left: 20px;
    width: calc(100% - 40px);
  }
  .hero-copy[data-copy-state="default"] {
    bottom: auto;
  }
  .hero-brand-name {
    margin-bottom: 18px;
    font-size: clamp(34px, 10vw, 44px);
  }
  .hero-copy[data-copy-state="default"] .hero-title {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.16;
  }
  .hero-summary-text {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.65;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
  }
  .hero-page .hero-action {
    width: 100%;
    padding-inline: 14px;
    gap: 10px;
  }
  .transformer-categories {
    margin-top: 14px;
  }
}


/* The supplied logo is desktop-only; keep the established mobile wordmark. */
.hero-brand-logo { display: none; }

/* Desktop overview copy follows the photograph, independent of window height. */
@media (min-width: 901px) {
  .hero-copy[data-copy-state="default"] {
    left: calc(4% - 5px);
    top: calc(max(25.5%, calc(4cqw + 132px)) + 55px);
    width: 33.5%;
  }
  .hero-copy[data-copy-state="default"] .hero-brand-name {
    position: relative;
    width: 135%;
    height: clamp(88px, 6.8vw, 132px);
    margin-bottom: clamp(24px, 1.65vw, 32px);
    overflow: hidden;
    transform: translateY(-64px);
  }
  .hero-copy[data-copy-state="default"] .hero-brand-text { display: none; }
  .hero-copy[data-copy-state="default"] .hero-brand-logo {
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    transform: translateY(-50%) scale(.95);
    transform-origin: left top;
  }
  .hero-copy[data-copy-state="default"] .hero-title {
    margin-top: -58px;
    font-size: clamp(32px, 2.75vw, 53px);
    line-height: 1.14;
    font-weight: 450;
    letter-spacing: -.025em;
  }
  .hero-copy[data-copy-state="default"] .hero-summary-text {
    margin-top: clamp(20px, 1.2vw, 23px);
    max-width: 40ch;
    font-size: clamp(15px, 1vw, 19px);
    line-height: 1.6;
  }
  .hero-copy[data-copy-state="default"] .hero-actions {
    gap: 16px;
    margin-top: clamp(26px, 1.65vw, 32px);
  }
  .hero-page .hero-copy[data-copy-state="default"] .hero-action {
    min-width: clamp(146px, 9.4vw, 180px);
    min-height: clamp(48px, 2.8vw, 54px);
    padding-inline: clamp(18px, 1.25vw, 24px);
    font-size: clamp(14px, .86vw, 16px);
    gap: 24px;
  }
}
/* Home overview lettering: pure white, preserving layout and the green X. */
.hero-page .hero-copy[data-copy-state="default"] :is(.hero-brand-name,.hero-title,.hero-summary-text){color:#ffffff;}

/* Compact the desktop transition from the hero to Explore. */
@media(min-width:901px){.hero-page #explore.explore-section{padding-top:48px;}}
