:root{color-scheme:dark;--ink:#101010;--paper:#dedbd5;--silver:#a7a5a0}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ink);color:var(--paper);font-family:"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit}a:focus-visible,button:focus-visible{outline:2px solid var(--paper);outline-offset:6px}
.hero{position:relative;isolation:isolate;height:100svh;min-height:720px;overflow:hidden;background:#101010}.ambient,.light-field,.grain{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.ambient{z-index:-4;background:radial-gradient(ellipse at 50% 51%,#272726 0%,#1a1a1a 34%,#101010 68%)}.light-field{z-index:-2;overflow:visible}.grain{z-index:3;opacity:.032;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23n)' opacity='.8' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}
.masthead{position:absolute;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:34px 5.6%;z-index:4}.wordmark{font-family:Georgia,"Times New Roman",serif;font-size:15px;letter-spacing:.21em;white-space:nowrap}.masthead-note{font-size:9px;letter-spacing:.23em;color:#8e8d89}
.signature{position:absolute;top:42%;left:50%;width:min(67vw,940px);margin:0;transform:translate(-50%,-50%);line-height:0;isolation:isolate}.signature img{display:block;width:100%;height:auto;opacity:.97;filter:drop-shadow(0 0 12px #b7b4ad0b)}.signature-shine{position:absolute;inset:0;background:linear-gradient(105deg,transparent 36%,#fffdfa 49%,transparent 62%);opacity:0;background-size:300% 100%;background-position:100% 0;mask-image:url('assets/noah-script.svg');mask-repeat:no-repeat;mask-size:100% 100%;-webkit-mask-image:url('assets/noah-script.svg');-webkit-mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mix-blend-mode:screen;pointer-events:none}
.hero-copy{position:absolute;bottom:17.5%;left:7%;right:7%;text-align:center}.generation{font-size:15px;font-weight:400;letter-spacing:.38em;color:#a8a6a1;margin:0 0 15px;padding-left:.38em}.generation span{color:#b8b5af}.catch{font-family:"Yu Mincho","Hiragino Mincho ProN",Georgia,serif;font-size:24px;font-weight:400;letter-spacing:.2em;line-height:1.6;margin:0}
.hero-foot{position:absolute;left:5.6%;right:5.6%;bottom:28px;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:end;z-index:4}.company-name{font-size:10px;letter-spacing:.1em;color:#91908b}.scroll-link{justify-self:center;display:flex;flex-direction:column;align-items:center;gap:16px;font-size:8px;letter-spacing:.23em;color:#96948f}.scroll-line{display:block;width:1px;height:28px;background:linear-gradient(#b7b3aa,transparent)}.replay{justify-self:end;display:flex;align-items:center;gap:9px;border:0;background:transparent;color:#96948f;font-size:9px;letter-spacing:.19em;padding:12px 0 12px 12px;cursor:pointer}.replay-arrow{font-size:16px;letter-spacing:0}
.light-pass{opacity:0}.light-pass use{stroke-dasharray:230 1000;stroke-dashoffset:230}.resting-paths{opacity:.9}.resting-bloom{opacity:.46}
.hero.is-playing .light-pass{animation:pass-opacity 3.2s .2s both}.hero.is-playing .light-pass use{animation:light-travel 3.2s cubic-bezier(.45,.02,.19,1) .2s both}.hero.is-playing .light-aura{opacity:.64}.hero.is-playing .light-halo{opacity:.9}.hero.is-playing .resting-paths{animation:resting-paths 5.4s both}.hero.is-playing .signature img{animation:signature-flow 3.85s cubic-bezier(.24,.36,.305,1) 2.4s both}.hero.is-playing .signature-shine{animation:signature-shine 2.2s ease-out 4.4s both}.hero.is-playing .hero-copy{animation:copy-arrive 1.55s 6.2s both}.hero.is-playing .masthead,.hero.is-playing .hero-foot{animation:quiet-arrive 1.3s .3s both}
@keyframes light-travel{0%{stroke-dashoffset:230}100%{stroke-dashoffset:-1100}}@keyframes pass-opacity{0%{opacity:0}14%{opacity:1}69%{opacity:1}100%{opacity:0}}@keyframes resting-paths{0%,15%{opacity:0}60%{opacity:.8}100%{opacity:.75}}@keyframes signature-flow{0%{opacity:0;clip-path:polygon(-18% 0,-18% 0,-18% 100%,-18% 100%);transform:translateX(-40px);filter:blur(3px)}35%{opacity:.75}100%{opacity:.97;clip-path:polygon(-18% 0,118% 0,118% 100%,-18% 100%);transform:translateX(0);filter:blur(0)}}@keyframes signature-shine{0%{opacity:0;background-position:100% 0}30%{opacity:.55}100%{opacity:0;background-position:0% 0}}@keyframes copy-arrive{0%{opacity:0;transform:translateY(14px);filter:blur(3px)}100%{opacity:1;transform:translateY(0);filter:blur(0)}}@keyframes quiet-arrive{from{opacity:0}to{opacity:1}}
.next-chapter{padding:105px 7.2% 110px;background:#e6e3dd;color:#252525;position:relative}.chapter-label{font-size:10px;letter-spacing:.25em;margin:0 0 28px;color:#777571}.next-chapter h2{margin:0;font-family:Georgia,"Yu Mincho",serif;font-size:clamp(28px,3vw,46px);font-weight:400;line-height:1.7;letter-spacing:.1em}.chapter-line{position:absolute;right:7.2%;bottom:110px;width:26%;height:1px;background:#b8b5b0}
@media(min-aspect-ratio:2/1){.signature{width:min(58vw,800px);top:41%}.hero-copy{bottom:14%}}
@media(max-width:760px){.hero{min-height:660px}.masthead{padding:28px 7%}.wordmark{font-size:11px;letter-spacing:.17em}.masthead-note{display:none}.signature{width:91%;top:42%}.hero-copy{bottom:24%;left:5%;right:5%}.generation{font-size:10px;letter-spacing:.28em;margin-bottom:19px}.catch{font-size:18px;letter-spacing:.10em}.hero-foot{left:7%;right:7%;bottom:23px;grid-template-columns:1fr 1fr;row-gap:26px}.company-name{font-size:8px;letter-spacing:.06em;grid-row:2}.scroll-link{grid-column:1/-1;grid-row:1;font-size:7px;gap:12px}.replay{grid-row:2;font-size:8px}.next-chapter{padding:72px 7% 78px}.chapter-line{width:20%;bottom:85px}.resting-paths{opacity:.55}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.light-pass{display:none}.signature img{opacity:.97;clip-path:none;transform:none;filter:none}.signature-shine{display:none}.hero-copy,.masthead,.hero-foot{opacity:1;transform:none}.replay{display:none}}

/* Artwork is clipped to the OUTSIDE of the original light paths. */
.outer-art{position:absolute;inset:0;z-index:-3;--art-opacity:.88;opacity:0;visibility:hidden;pointer-events:none}.hero[data-design="color"] .outer-art{opacity:var(--art-opacity);visibility:visible}.hero[data-design="color"].is-playing .outer-art{animation:outer-art-arrive 5s cubic-bezier(.2,.65,.2,1) .7s both}.hero[data-design="color"] .ambient{background:radial-gradient(ellipse at 50% 51%,#272726 0%,#171718 38%,#0b0c10 75%)}
@keyframes outer-art-arrive{0%{opacity:0;filter:blur(8px)}32%{opacity:.4}100%{opacity:var(--art-opacity);filter:blur(0)}}
.masthead-tools{display:flex;align-items:center;gap:28px}.design-switch{display:flex;gap:3px;padding:4px;border:1px solid #ffffff26;border-radius:30px;background:#1111119e;backdrop-filter:blur(14px)}.design-switch button{display:flex;align-items:center;gap:7px;padding:8px 12px;border:0;border-radius:22px;background:transparent;color:#9d9b96;font-size:10px;letter-spacing:.09em;cursor:pointer;min-height:32px;transition:background .2s,color .2s}.design-switch button[aria-pressed="true"]{background:#ffffff16;color:#ece9e2}.design-switch button:hover{color:#fff}.design-dot{width:6px;height:6px;flex:0 0 6px;border-radius:50%}.design-dot-chic{background:#c1beb8}.design-dot-color{background:linear-gradient(120deg,#00caff,#7657e7 44%,#f6c954 76%)}
@media(max-width:760px){.masthead-tools{gap:0}.design-switch{padding:3px}.design-switch button{font-size:9px;padding:7px 9px;gap:5px}.design-dot{width:5px;height:5px;flex-basis:5px}.masthead{padding:24px 6%}.resting-paths{opacity:.75}.hero[data-design="color"] .outer-art{--art-opacity:.78;opacity:var(--art-opacity)}}
@media(prefers-reduced-motion:reduce){.hero[data-design="color"] .outer-art{opacity:var(--art-opacity);filter:none;visibility:visible}}

.outer-panel{position:absolute;inset:0;background-image:url('assets/noah-themepark-outer-v1.png');background-repeat:no-repeat;background-size:auto 100%}.outer-left{clip-path:url(#outer-left);background-position:left center}.outer-right{clip-path:url(#outer-right);background-position:right center}.hero.is-playing .resting-bloom{animation:resting-bloom-arrive 5.4s both}@keyframes resting-bloom-arrive{0%,15%{opacity:0}60%{opacity:.5}100%{opacity:.46}}

/* v9 mobile: bounded Canvas strokes and compositor-only script reveal.
   Desktop retains the original SVG sequence. Curves and all timing are shared. */
.signature-reveal{display:block}
.mobile-glow-static,.mobile-glow-pass{position:absolute;inset:0;width:100%;height:100%;z-index:-2;pointer-events:none}
.mobile-glow-static{opacity:.46}
.mobile-glow-pass{opacity:0}
.hero[data-renderer="canvas"] .resting-bloom,.hero[data-renderer="canvas"] .light-pass{display:none}
.hero[data-renderer="canvas"] .grain{display:none}
.hero[data-renderer="canvas"] .signature-reveal{overflow:hidden}
.hero[data-renderer="canvas"] .signature img{filter:none;opacity:.97}
.hero[data-renderer="canvas"] .signature-shine{background:#fffdfa;mix-blend-mode:normal;mask-image:url('assets/noah-script-mobile.png');-webkit-mask-image:url('assets/noah-script-mobile.png')}
.hero[data-renderer="canvas"].is-playing .mobile-glow-static{animation:resting-bloom-arrive 5.4s both}
.hero[data-renderer="canvas"].is-playing .mobile-glow-pass{animation:pass-opacity 3.2s .2s both}
.hero[data-renderer="canvas"].is-playing .signature-reveal{will-change:transform,opacity;animation:mobile-signature-reveal 3.85s cubic-bezier(.24,.36,.305,1) 2.4s both}
.hero[data-renderer="canvas"].is-playing .signature img{will-change:transform;animation:mobile-signature-counterflow 3.85s cubic-bezier(.24,.36,.305,1) 2.4s both;opacity:1}
.hero[data-renderer="canvas"].is-playing .signature-shine{will-change:opacity;animation:mobile-signature-afterglow 2.2s ease-out 4.4s both}
.hero[data-renderer="canvas"].is-playing .hero-copy{animation:mobile-copy-arrive 1.55s 6.2s both}
.hero[data-renderer="canvas"][data-design="color"].is-playing .outer-art{animation:mobile-art-arrive 5s cubic-bezier(.2,.65,.2,1) .7s both}
body[data-mobile-intro="true"] .site-header{backdrop-filter:none;-webkit-backdrop-filter:none;background:#111}
@keyframes mobile-signature-reveal{0%{opacity:0;transform:translateX(-118%)}35%{opacity:.75}100%{opacity:.97;transform:translateX(0)}}
@keyframes mobile-signature-counterflow{from{transform:translateX(calc(118% - 40px))}to{transform:translateX(0)}}
@keyframes mobile-signature-afterglow{0%{opacity:0}30%{opacity:.22}100%{opacity:0}}
@keyframes mobile-copy-arrive{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes mobile-art-arrive{0%{opacity:0}32%{opacity:.4}100%{opacity:var(--art-opacity)}}
