/* Home: below the parchment hero, the bigger picture on black. Uses the
   shared stage from story.css; motion is in js/home-story.js. */
.hs-zone{background:#000;color:#f4f1ea}
.hstory .stage{background:#000}
.eyebrow-y{display:block;font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#f8ed43;margin-bottom:16px}
.hstory .copy{max-width:min(560px,42vw)}
.hstory .copy h1,.hstory .copy h2{color:#f4f1ea}

/* A */
.hs1 .tangle,.hs2 .links{position:absolute;inset:0;width:100%;height:100%;z-index:1}
.hs1 .tangle line{stroke-width:1.2}
.hstory .scene{transform-origin:62% 48%}   /* the scenes zoom about the logo, so it never moves (Ollie, 6 Nov 2026) */
.hs-mark{position:absolute;left:62%;top:48%;width:min(15vmin,150px);transform:translate(-50%,-50%);z-index:3}
.msgs{position:absolute;inset:0;z-index:2}
.msg{position:absolute;left:0;top:0;width:min(7.2vmin,68px);aspect-ratio:3/2;border-radius:10px;background:#141413;display:grid;place-content:center;
  box-shadow:0 0 0 1px rgba(244,241,234,.14),0 14px 30px rgba(0,0,0,.6);will-change:transform}
.msg svg{width:min(3.8vmin,34px);height:auto;fill:none;stroke:rgba(244,241,234,.7);stroke-width:1.4;stroke-linejoin:round}
.msg.sheet svg{stroke:#a9cac8}
.msg.lit{box-shadow:0 0 0 1px #4fa8a4,0 0 24px rgba(79,168,164,.35)}
.msg.lit svg{stroke:#f4f1ea}
.hs1 .copy{transition:none}

/* B */
.hub2{left:50%;top:46%;width:min(15vmin,150px)}   /* the same size as the first scene's, so the hand-over does not jump */
.party2{position:absolute;left:0;top:0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;width:min(260px,24vw);transform:translate(-50%,-50%);z-index:3}
.party2 img{width:min(17vmin,150px);height:min(17vmin,150px);padding:min(4.4vmin,40px);border-radius:50%;background:#141413;box-shadow:0 0 0 1px rgba(244,241,234,.14),0 30px 70px rgba(0,0,0,.6)}
.party2 b{font-weight:400;font-size:clamp(12px,1.8vmin,17px);letter-spacing:.12em;text-transform:uppercase}
.party2 span{font-size:12px;line-height:1.6;color:rgba(244,241,234,.62)}
.hs2 .links line{stroke:rgba(79,168,164,.5);stroke-width:1.5}
.hs2 .links circle{fill:#f8ed43}

/* quote */
.hs-quote{max-width:1160px;margin:0 auto;padding:16vh 48px 14vh}
.hs-quote blockquote p{font-size:clamp(22px,3.4vw,44px);line-height:1.3;letter-spacing:.01em;margin-bottom:28px;max-width:1000px}
.hs-quote cite{display:block;font-style:normal;font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#a08a5c;margin-bottom:40px}
.ghost-btn{display:inline-flex;align-items:center;gap:12px;background:#3f8f8c;color:#fff;border-radius:7px;font-size:10px;letter-spacing:.18em;text-transform:uppercase;padding:15px 22px;transition:background-color 250ms}
.ghost-btn svg{width:14px;height:14px}
.ghost-btn:hover{background:#337a78;color:#fff}
.ghost-btn svg{transition:transform 200ms}.ghost-btn:hover svg{transform:translateX(3px)}

/* three doors */
.doors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;padding:0 0 2px;background:#000}
.door{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:72vh;padding:40px 36px;background:#0b0b0a;overflow:hidden}
.d-art{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.7;transition:transform 900ms var(--ease),opacity 600ms}
.door:hover .d-art{transform:scale(1.05);opacity:.9}
.door::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.92) 18%,rgba(0,0,0,0) 62%);pointer-events:none}
.door > span,.door > b{position:relative;z-index:2}
.d-onti{display:grid;place-content:center;background:radial-gradient(circle at 50% 42%,rgba(79,168,164,.25),rgba(0,0,0,0) 60%)}
.d-onti img{width:42%;margin:0 auto 18%;filter:drop-shadow(0 0 40px rgba(79,168,164,.7))}
.d-team{display:flex;justify-content:center;align-items:center;gap:0;padding-bottom:22%}
.d-team i{width:34%;aspect-ratio:1;border-radius:50%;background-size:cover;background-position:center 22%;border:2px solid #0b0b0a;margin-left:-6%;filter:grayscale(.2)}
.d-team i:first-child{margin-left:0}
.d-k{font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#f8ed43;margin-bottom:14px}
.door b{font-weight:400;font-size:clamp(18px,2vw,26px);line-height:1.25;text-transform:uppercase;margin-bottom:22px;max-width:340px}
/* teal like every other call to action (Ollie, 6 Nov 2026) */
.d-go{display:inline-flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.18em;text-transform:uppercase;background:#3f8f8c;color:#fff;border-radius:7px;padding:13px 20px;width:fit-content;transition:background-color 250ms}
.d-go svg{width:13px;height:13px}
.door:hover .d-go{background:#337a78;color:#fff}
.d-go svg{transition:transform 200ms}.door:hover .d-go svg{transform:translateX(3px)}

@media(max-width:760px) and (orientation:portrait),(max-width:760px) and (min-height:501px){
  .hstory .copy{max-width:none}
  .hs-mark{width:min(18vw, calc(var(--bh,400px) * .18))}
  .hub2{width:min(18vw, calc(var(--bh,400px) * .16))}
  .party2{width:40vw}
  .party2 img{width:20vw;height:20vw;padding:5vw}
  .party2 span{display:none}
  .hs-quote{padding:12vh 16px 10vh}
  .doors{grid-template-columns:1fr}
  .door{min-height:56vh;padding:28px 20px}
}

/* bar over the black zone */
.topbar.on-dark::before{opacity:1}
.topbar.on-dark .hd-home img{filter:invert(1) brightness(1.1)}

/* the bar over the parchment-to-black edge: black fills it from the bottom up,
   exactly where the edge of the page is, and the logo and links fade across
   (Ollie, 6 Nov 2026) */
body .topbar::before,body .topbar.on-dark::before{background:linear-gradient(180deg,rgba(239,234,226,.92) 0,rgba(239,234,226,.92) var(--edge,100%),rgba(10,10,10,.86) var(--edge,100%),rgba(10,10,10,.86) 100%)}
.topbar .hd-home img{transition:filter 320ms ease}
.topbar .nav-links a,.topbar .dd-btn,.topbar .nav-reg,.topbar .nav-burger{transition:color 320ms ease,border-color 320ms ease}
.topbar.mid-edge::before{border-bottom-color:transparent!important}
