:root { --header-height: 0px; --ember: #fb923c; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { overflow-x: clip; perspective: none; }
.site-header { position:absolute; top:16px; right:48px; left:48px; z-index:50; display:flex; justify-content:flex-end; pointer-events:none; }
/* Use CSS points here: 13pt = 17.333px, without the fan SVG's viewBox scaling. */
.hero-nav { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:20px clamp(24px,3vw,64px); width:max-content; max-width:100%; font-family:'Oxanium',sans-serif; font-size:11pt; font-weight:600; line-height:1.5; letter-spacing:.3em; text-transform:uppercase; background:linear-gradient(to right,#fff6d5ff,#00c0ffff); background-clip:text; -webkit-background-clip:text; color:transparent; }
.hero-nav a { position:relative; color:inherit; text-decoration:none; white-space:nowrap; pointer-events:auto; transition:opacity .2s; }
.hero-nav a::before { content:''; position:absolute; inset:-12px -10px; }
.hero-nav a.active,.hero-nav a:hover,.hero-nav a:focus-visible { color:var(--ember); }
.nav-slash { position:absolute; top:50%; width:1.5px; height:24px; margin-top:-12px; background:#fff6d5ff; opacity:0; transform:rotate(-45deg); pointer-events:none; }
.nav-slash--left { left:-14px; }
.nav-slash--right { right:calc(-14px + .3em); background:#00c0ffff; }
.hero-nav a.is-highlighted .nav-slash { opacity:1; }
@media(max-width:767px) { .site-header { top:28px; right:24px; left:24px; } .hero-nav { column-gap:24px; row-gap:28px; } }
a:focus-visible { outline:2px solid #38bdf8; outline-offset:6px; }
#hero { --hero-art-scale:.9; height:100svh; min-height:760px; padding:80px 48px 145px; justify-content:flex-end; isolation:isolate; }
#titan-overlay { position:absolute; left:0; top:0; z-index:9; pointer-events:none; transform-origin:0 0; visibility:hidden; }
#titan-composition { position:absolute; left:0; top:0; width:1000px; height:780px; transform-origin:0 0; transform:translate(-11px,47px); }
#family-fan-logo-glow { position:absolute; left:178px; top:43px; width:288px; height:216px; object-fit:contain; z-index:9; pointer-events:none; filter:url(#family-fan-blur); }
#family-fan-logo { position:absolute; left:172px; top:53px; width:288px; height:216px; object-fit:contain; z-index:10; pointer-events:none; }
#family-fan-wordmark { position:absolute; left:100px; top:60px; width:691px; height:518px; z-index:21; pointer-events:none; overflow:visible; }
#titan-hand { position:absolute; left:318px; top:105px; width:84px; height:133px; z-index:11; pointer-events:none; }
#hero > .relative { padding-top:0; margin-top:0; margin-bottom:0; }
#hero h1 { font-size:clamp(30px,2.6vw,42px); line-height:1.18; text-wrap:balance; }
#hero > .relative > p:first-child { letter-spacing:.25em; }
.hero-blurb { position:relative; top:-20px; max-width:none; margin:0; pointer-events:none; }
.hero-blurb-line { margin:0; font-family:'Oxanium',sans-serif; font-style:normal; font-weight:400; color:#c6b15f; opacity:.5; letter-spacing:.01em; background:linear-gradient(to top,#c6b15f,#ffe6a0); background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.hero-blurb-led { font-family:'Munro','Oxanium',sans-serif; font-size:1em; font-weight:400; letter-spacing:.015em; text-transform:none; color:#7fd4ff; -webkit-text-fill-color:#7fd4ff; }
.hero-blurb-line--sm { font-size:clamp(16px,2.1vw,31px); line-height:1.35; }
.hero-blurb-line--md { margin-top:2px; font-size:clamp(22px,3.1vw,46px); line-height:1.3; }
.hero-blurb-line--lg { margin-top:0px; font-size:clamp(28px,4.55vw,68px); font-weight:400; line-height:1.02; letter-spacing:.012em; text-wrap:nowrap; }
#hero .hero-blurb > p:first-child { letter-spacing:.01em; }
#hero .hero-blurb h1 { font-size:clamp(28px,4.55vw,68px); line-height:1.02; text-wrap:nowrap; }
.static-hero-bg,.parallax-layer { inset:-120px -32px -37%; pointer-events:none; }
.static-hero-bg img,.parallax-layer img { top:0; height:100%; object-position:center top; transform:translateX(-65px) scale(var(--hero-art-scale)); transform-origin:center top; }
/* Keep the hand's surroundings undimmed; fade to near-black outward. */
#hero .static-hero-bg img,#hero .parallax-layer img { filter:none; }
/* Previous version (brighthand2.png): */
#hero > .bg-gradient-to-t { pointer-events:none; background-image:radial-gradient(circle farthest-corner at var(--hand-x,20%) calc(var(--hand-y,20%) + var(--hero-art-drift,0px)), rgba(10,10,10,0) 0%, rgba(10,10,10,0) 7%, rgba(10,10,10,.4) 32%, rgba(10,10,10,.7) 65%, #0a0a0a 100%); } 
/* #hero > .bg-gradient-to-t { pointer-events:none; background-image:radial-gradient(circle farthest-corner at var(--hand-x,20%) calc(var(--hand-y,20%) + var(--hero-art-drift,0px)), rgba(10,10,10,0) 0%, rgba(10,10,10,0) 5%, rgba(10,10,10,.4) 24%, rgba(10,10,10,.7) 50%, #0a0a0a 100%); }*/
.recede-target { will-change:auto; transform-style:flat; }
.scene-anchor { position:relative; width:calc(100% - 96px); max-width:1152px; margin:80px auto; perspective:1500px; perspective-origin:50% 50%; }
.scene-anchor > section { width:100%; max-width:none; margin:0 !important; position:relative; isolation:isolate; transform-origin:50% 50%; border-radius:28px; }
.scene-anchor > section:not(#philosophy) { overflow:hidden; }
.scene-art { position:absolute; inset:-48px -32px; z-index:-1; pointer-events:none; background-repeat:no-repeat; }
#about > div:not(.scene-art), #focus > div:not(.scene-art) { padding:64px 36px; border-radius:inherit; }
#about h2,#focus h2,#horizons h2 { line-height:1.45; margin-bottom:12px; }
#about p,#focus p,#horizons p { line-height:1.8; padding-left:0; }
.section-label { font-size:11px; letter-spacing:.26em; margin-bottom:14px; }
#focus ul { display:grid; gap:12px; }
#focus li { margin-top:0; line-height:1.5; }
#horizons { align-items:center; }
#horizons > .scene-art { z-index:-2; }
#horizons::before { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none; background:linear-gradient(90deg,rgba(10,10,10,.86),rgba(10,10,10,.64) 42%,rgba(10,10,10,.15)); }
#horizons > [class~="w-1/2"]:not(:last-child) { background:none; }
#horizons > [class~="w-1/2"]:not(:last-child) { padding:56px 32px; }
#horizons > .w-1\/2:last-child { padding:28px; }
#horizons .grid { width:100%; gap:14px; align-items:stretch; }
.tile-slot { width:128px; max-width:100%; min-width:0; perspective:650px; aspect-ratio:1; }
.horizon-tile { width:100%; height:100%; min-width:0; padding:12px 6px; position:relative; overflow:hidden; transform-style:flat; transition:border-color .2s,background-color .2s; }
.horizon-tile > span { font-size:10px; letter-spacing:.07em; line-height:1.5; }
.horizon-tile::after { content:''; position:absolute; inset:0; pointer-events:none; opacity:0; background:radial-gradient(140px circle at var(--light-x,50%) var(--light-y,50%),rgba(125,211,252,.16),transparent 75%); transition:opacity .25s; }
.horizon-tile.hover-active { border-color:rgba(56,189,248,.65); }
.horizon-tile.hover-active::after { opacity:1; }
#philosophy > div { padding:72px 24px 80px; }
#philosophy p { line-height:1.85; }
#philosophy blockquote { margin-bottom:28px; line-height:1.4; text-wrap:balance; }
.scroll-cue { position:absolute; left:50%; bottom:30px; width:44px; height:66px; margin-left:-22px; border:1px solid rgba(186,230,253,.45); border-radius:999px; z-index:20; display:flex; align-items:center; justify-content:center; color:#bae6fd; background:linear-gradient(150deg,rgba(56,189,248,.09),rgba(10,10,10,.16)); box-shadow:0 0 22px rgba(14,165,233,.07),inset 0 0 12px rgba(255,255,255,.025); transition:border-color .25s,background-color .25s; }
#hero:has(.sector-marquee) { padding-bottom:86px; }
.sector-marquee { position:absolute; left:0; right:0; bottom:0; z-index:16; overflow:hidden; padding:0 0 18px; -webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); }
.sector-track { display:flex; width:max-content; animation:sector-trundle var(--sector-duration,64s) linear infinite; will-change:transform; }
.sector-track.is-driven { animation:none; }
.sector-marquee:hover .sector-track { animation-play-state:paused; }
.sector-set { --sector-gap:36px; flex:none; display:flex; gap:var(--sector-gap); margin:0; padding:6px var(--sector-gap) 0 0; list-style:none; }
.sector-card { flex:none; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; background:none; border:0; box-shadow:none; color:#7fd4ff; }
.sector-card svg { display:block; width:92px; height:92px; margin-bottom:-9px; }
.sector-card span { font-family:'Oxanium',sans-serif; font-style:normal; font-weight:400; font-size:15px; letter-spacing:.04em; line-height:1; color:#7fd4ff; white-space:nowrap; }
@keyframes sector-trundle { from { transform:translate3d(0,0,0); } to { transform:translate3d(var(--sector-distance,-50%),0,0); } }
.scroll-cue svg { width:18px; height:26px; animation:scroll-invitation 2.8s cubic-bezier(.45,0,.25,1) infinite; }
.scroll-cue:hover { border-color:#e0f2fe; background-color:rgba(56,189,248,.12); }
.scroll-cue::before { content:'SCROLL'; position:absolute; bottom:calc(100% + 12px); font:9px 'Inter',sans-serif; letter-spacing:.24em; color:rgba(186,230,253,.58); }
@keyframes scroll-invitation { 0%,100% { transform:translateY(-4px); opacity:.45; } 50% { transform:translateY(4px); opacity:1; } }
.spark-field { position:fixed; inset:0; width:100%; height:100%; pointer-events:none; z-index:30; }
/* A basic fallback only. Desktop choreography is not reduced for mobile layout. */
@media(max-width:767px) {
  :root { --header-height:0px; }
  #hero { min-height:700px; }
  #hero:has(.sector-marquee) { padding:64px 16px 64px; }
  .hero-blurb-line--sm { font-size:clamp(14px,3vw,18px); }
  .hero-blurb-line--md { font-size:clamp(18px,4.5vw,24px); }
  .hero-blurb-line--lg,#hero .hero-blurb h1 { font-size:clamp(20px,6.4vw,30px); text-wrap:balance; white-space:normal; }
  .sector-card svg { width:76px; height:76px; }
  .sector-card span { font-size:13px; }
  .sector-set { --sector-gap:28px; }
  .scene-anchor { width:calc(100% - 32px); margin:48px auto; }
  #about > div:not(.scene-art),#focus > div:not(.scene-art) { padding:40px 24px; background-color:rgba(10,10,10,.65); }
  #about > div > div,#focus > div > div { width:100% !important; }
  #horizons { display:block; }
  #horizons > .w-1\/2 { width:100%; }
  #horizons .grid { gap:8px; }
  .horizon-tile > span { font-size:8px; letter-spacing:0; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .recede-target,.static-hero-bg,.parallax-layer,.scene-art,.horizon-tile { transform:none !important; opacity:1 !important; }
  .scroll-cue svg { animation:none; }
  .sector-track { animation:none; will-change:auto; }
  .sector-set[aria-hidden="true"] { display:none; }
  .sector-marquee { overflow-x:auto; mask-image:none; -webkit-mask-image:none; }
  .spark-field { display:none; }
}
