/* Hero, intro and side nav (REGION A). Intro states are written inline by js/hero.js
   from one timeline value; this file holds the finished layout. */

#intro{display:none}

.hero{height:100vh;height:100svh;min-height:520px;padding:0;overflow:hidden;z-index:1}
.hero-art{position:absolute;inset:0;z-index:var(--z-art)}
.hero-svg{display:block;width:100%;height:100%;overflow:visible}
.ring-text{font-family:var(--display);font-size:103px;fill:var(--navy);stroke:var(--navy);stroke-width:2.4px;stroke-linejoin:round;letter-spacing:0}


/* top row */
.hero-top{position:absolute;inset:0 0 auto 0;height:0;z-index:var(--z-copy)}
.hero-top .logo{position:absolute;left:var(--gutter);top:calc(clamp(28px,6.6vh,84px) - .5rem);color:var(--ghost);font-size:clamp(1.3rem,1.55vw,1.8rem)}
.hero-note{position:absolute;top:clamp(24px,5.6vh,72px);width:min(17.5vw,21rem);margin:0;font-size:clamp(.8rem,.98vw,1.08rem);line-height:1.42;color:var(--navy-soft);font-weight:300}
.hero-note:nth-of-type(1){left:31.3vw}
.hero-note:nth-of-type(2){left:51.8vw}
.hero-top .pill{position:absolute;right:var(--gutter);top:clamp(20px,4.9vh,62px);height:clamp(2.4rem,4.2vh,3rem);padding:0 clamp(1.3rem,2vw,2.2rem);font-size:clamp(.92rem,1.05vw,1.15rem);transform-origin:50% 50%}

/* scroll disc: position set by js on the diagonal edge; fallback here */
.scrolldisc{--d:clamp(78px,6.9vw,132px);position:absolute;z-index:var(--z-copy);right:var(--gutter);top:calc(87% - var(--d) / 2);width:var(--d);height:var(--d);border-radius:50%;background:var(--pear);color:var(--navy);display:flex;align-items:center;justify-content:center;font-family:var(--display);font-size:clamp(.85rem,.95vw,1.08rem);letter-spacing:.06em;text-transform:uppercase;transform-origin:50% 50%}
.scrolldisc span{position:relative;top:-.08em}
.scrolldisc i{position:absolute;left:50%;top:64%;width:1px;height:calc(var(--d) * .36 + clamp(34px,4.4vh,56px));margin-left:-.5px;transform-origin:50% 0;
  background:linear-gradient(var(--navy) 0 calc(var(--d) * .36),var(--pear) calc(var(--d) * .36))}
.scrolldisc i::after{content:"";position:absolute;left:50%;bottom:0;width:8px;height:8px;margin-left:-4px;border-right:1px solid var(--pear);border-bottom:1px solid var(--pear);transform:translateY(1px) rotate(45deg);transform-origin:50% 50%}

/* side nav: per link ground (set by js) supersedes the body level fallback in base.css */
.sidenav a{transition:color .35s ease,opacity .3s ease}
body .sidenav a[data-ground="light"]{color:var(--navy-faint)}
body .sidenav a.is-active[data-ground="light"]{color:var(--navy)}
body .sidenav a[data-ground="dark"]{color:var(--ghost-faint)}
body .sidenav a.is-active[data-ground="dark"]{color:var(--ghost)}
.sidenav a:hover{opacity:.85}

@media (max-width:760px){
  .hero-note{display:none}
  .sidenav{display:none}
  .hero-top .logo{font-size:1.3rem}
  .hero-top .pill{height:2.2rem;padding:0 1.1rem;font-size:.9rem}
  .scrolldisc{--d:74px;font-size:.8rem}
}
/* portrait layout (class set by hero.js): no column behind the logo, disc pinned to the bottom */
.hero-narrow .hero-top .logo{color:var(--navy)}
.hero-narrow .scrolldisc{top:auto;bottom:calc(var(--d) * .36 + 52px)}
.scrolldisc.tail-light i{background:var(--navy)}
.scrolldisc.tail-light i::after{border-color:var(--navy)}

/* ===== review switches (?c=..). Everything below is scoped to html.cNN and is inert without it. ===== */
/* c02: the heavier ring face (Anton) is loaded and applied by js/hero.js once it has arrived */
/* c05: the generated fill replaces the thin wireframe */
html.c05 #heroFill{display:none}
/* c04: the active item follows the scroll without a visible delay */
html.c04 .sidenav a{transition:color .15s ease,opacity .3s ease}
