* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.home {
  margin: 0;
  overflow-x: clip;
  color: #f5ebd5;
  background: #0c0a08;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  line-height: 1.55;
}
.home img { display: block; max-width: 100%; }
.home a { color: inherit; }
.home-shell { width: min(1320px, calc(100% - 7vw)); margin-inline: auto; }
.home h1, .home h2, .home h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: -.035em; line-height: .96; }
.home h1 em, .home h2 em { color: #e5c77d; font-weight: 500; }
.home .eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 24px; color: #dbbd74; font-size: .77rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow-rule { display: inline-block; width: 26px; height: 1px; background: currentColor; }
.home-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 56px; padding: 12px 21px; border: 1px solid rgba(231,203,134,.4); border-radius: 10px; font-weight: 800; text-decoration: none; transition: transform .25s ease, background .25s ease, box-shadow .25s ease, border-color .25s ease; }
.home-button span { font-size: 1.25rem; font-weight: 400; }
.home-button:hover { transform: translateY(-3px); }
.home-button:focus-visible, .home a:focus-visible, .feature-tab:focus-visible { outline: 2px solid #f2d88d; outline-offset: 4px; }
.home-button-primary { color: #171109 !important; border-color: #e5c477; background: linear-gradient(135deg, #f6e2aa, #d7ae5e 70%, #b98940); box-shadow: 0 12px 32px rgba(196,144,60,.2), inset 0 1px rgba(255,255,255,.55); }
.home-button-primary:hover { box-shadow: 0 18px 38px rgba(196,144,60,.32); }
.home-button-secondary { color: #f4ead5; background: rgba(31,26,21,.64); }
.home-button-secondary:hover { background: rgba(68,50,29,.66); }
.home-hero { position: relative; isolation: isolate; display: grid; min-height: min(900px, calc(100svh - 73px)); overflow: hidden; background: radial-gradient(ellipse 68% 75% at 78% 43%, #342519 0, #17120d 52%, #0c0a08 92%); }
.home-hero::after { content:""; position: absolute; inset: auto 0 0; height: 130px; background: linear-gradient(transparent, #0c0a08); pointer-events: none; z-index: 0; }
.hero-atmosphere { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.depth-layer { position: absolute; inset: -14%; will-change: transform; }
.depth-halo { background: radial-gradient(ellipse 40% 48% at 73% 45%, rgba(218,162,73,.32), transparent 72%), radial-gradient(ellipse 38% 28% at 30% 96%, rgba(112,68,36,.25), transparent 70%); }
.depth-rays { background: repeating-conic-gradient(from 246deg at 78% 28%, transparent 0deg, rgba(255,233,176,.07) 2deg, transparent 7deg, transparent 16deg); mask-image: radial-gradient(ellipse 64% 72% at 78% 28%, #000 10%, transparent 78%); opacity: .8; animation: rays-breathe 15s ease-in-out infinite alternate; }
.depth-grain { opacity: .12; background-image: radial-gradient(#f4dfae .55px, transparent .7px); background-size: 6px 6px; mask-image: linear-gradient(90deg, transparent 15%, black 95%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(28px, 4vw, 80px); padding-block: clamp(85px, 12vh, 150px) 95px; }
.hero-content { position: relative; z-index: 4; max-width: 610px; }
.hero-content h1 { margin: 0; max-width: 9.5ch; font-size: clamp(4.2rem, 7.2vw, 7.6rem); }
.hero-lede { max-width: 490px; margin: 28px 0 0; color: #d1c1a7; font-size: clamp(1.06rem, 1.4vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-promises { display: flex; flex-wrap: wrap; gap: 9px 22px; margin-top: 30px; color: #b9a787; font-size: .85rem; }
.hero-promises span { display: inline-flex; align-items: center; gap: 8px; }
.hero-promises i { width: 5px; height: 5px; border-radius: 50%; background: #e8c06f; box-shadow: 0 0 8px #e8c06f; }
.hero-visual { position: relative; height: min(680px, 70vw); min-height: 530px; perspective: 1300px; transform-style: preserve-3d; }
.stage-glow { position: absolute; inset: 13% 1% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(184,120,52,.29), transparent 63%); filter: blur(18px); }
.stage-orbit { position: absolute; left: 50%; top: 49%; border: 1px solid rgba(221,177,99,.25); border-radius: 50%; transform: translate(-50%, -50%) rotateX(68deg) rotateZ(-17deg); pointer-events: none; }
.orbit-one { width: min(560px, 95%); height: min(560px, 95%); box-shadow: 0 0 60px rgba(211,155,65,.08); animation: orbit-turn 35s linear infinite; }
.orbit-two { width: min(430px, 73%); height: min(430px, 73%); border-style: dashed; opacity: .65; animation: orbit-turn-reverse 45s linear infinite; }
.stage-phone, .together-screen, .feature-phone { overflow: hidden; padding: 8px; border: 1px solid rgba(243,216,152,.48); border-radius: 31px; background: linear-gradient(145deg,#826744 0,#2c241c 14%,#0d0e12 55%,#7c6441 100%); box-shadow: 0 40px 60px rgba(0,0,0,.45), 0 0 0 4px #11100f, inset 0 1px rgba(255,255,255,.4); }
.stage-phone img, .together-screen img, .feature-phone img { display:block; width:100%; height:100%; object-fit:cover; object-position:top; border-radius:24px; }
.stage-phone { position:absolute; top:50%; left:50%; aspect-ratio: 9 / 19.4; width: clamp(230px, 24vw, 310px); transform-style:preserve-3d; will-change: transform; transition: transform .14s ease-out; }
.phone-front { z-index:3; transform:translate3d(-33%,-48%,85px) rotateY(-13deg) rotateZ(4deg); }
.phone-back { z-index:2; transform:translate3d(-98%,-51%,-60px) rotateY(21deg) rotateZ(-10deg) scale(.84); filter:brightness(.75); }
.floating-note { position:absolute; z-index:5; display:flex; align-items:center; gap:11px; color:#f2e5cc; border:1px solid rgba(237,202,132,.36); border-radius:14px; background:rgba(34,27,19,.85); box-shadow:0 18px 30px rgba(0,0,0,.31); backdrop-filter:blur(14px); will-change:transform; transition:transform .14s ease-out; }
.note-top { top:15%; right:0; padding:12px 17px; line-height:1.15; font-size:.8rem; }
@media (max-width:1400px) { .note-top { display:none; } }
.note-top strong { color:#e9ca84; font-size:.89rem; }
.note-icon { width:33px; height:33px; display:grid; place-items:center; border-radius:9px; background:#d9b66e; color:#1b140b; font-size:1.1rem; }
.note-bottom { left:0; bottom:10%; width:220px; padding:14px 16px; display:grid; gap:2px; line-height:1.25; }
.note-small { color:#b7a57f; font-size:.65rem; font-weight:800; letter-spacing:.15em; }
.note-progress { height:4px; margin-top:9px; border-radius:8px; background:#4a3b29; overflow:hidden; }
.note-progress i { display:block; width:68%; height:100%; background:#e2bd6b; border-radius:inherit; }
.scroll-cue { position:absolute; left:3.5vw; bottom:28px; z-index:5; display:flex; gap:20px; align-items:center; color:#aa977a !important; text-decoration:none; font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.scroll-cue span { font-size:1.25rem; }
.chapter-intro { padding:130px 0 140px; background:radial-gradient(ellipse 55% 40% at 90% 56%,rgba(97,65,31,.14),transparent 80%),#0c0a08; }
.chapter-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:60px; align-items:end; }
.section-heading h2, .together-copy h2, .study-heading h2, .closing h2 { margin:0; font-size:clamp(3.5rem,6vw,6.3rem); }
.chapter-copy { max-width:470px; margin:0 0 6px; color:#bbaa8d; font-size:1.18rem; line-height:1.65; }
.feature-deck { display:grid; grid-template-columns:minmax(230px,.66fr) minmax(0,1.34fr); min-height:550px; margin-top:67px; border:1px solid rgba(218,178,107,.2); border-radius:23px; background:linear-gradient(130deg,#1b1713,#10100f 65%,#1a1713); box-shadow:0 32px 80px rgba(0,0,0,.25); overflow:hidden; }
.feature-tabs { display:flex; flex-direction:column; justify-content:center; border-right:1px solid rgba(218,178,107,.2); }
.feature-tab { display:grid; grid-template-columns:38px 1fr auto; align-items:center; gap:12px; min-height:104px; padding:22px 27px; border:0; border-bottom:1px solid rgba(218,178,107,.14); background:transparent; color:#c1b198; text-align:left; font:700 1.08rem "Source Sans 3",sans-serif; cursor:pointer; transition:background .2s,color .2s; }
.feature-tab:last-child { border-bottom:0; }
.feature-tab:hover { background:rgba(223,181,103,.07); color:#f5e7ca; }
.feature-tab.is-active { color:#f6e6c3; background:linear-gradient(90deg,rgba(213,163,77,.18),transparent); box-shadow:inset 3px 0 #dfb968; }
.tab-index { color:#b69b64; font-size:.75rem; letter-spacing:.12em; }
.feature-panel { position:relative; display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:center; min-width:0; padding:48px 5% 48px 8%; overflow:hidden; }
.feature-panel::before { content:""; position:absolute; right:-80px; top:-110px; width:580px; height:580px; border:1px solid rgba(216,175,107,.15); border-radius:50%; transform:rotateX(65deg); pointer-events:none; }
.feature-copy { position:relative; z-index:2; }
.feature-copy h3 { margin:0; font-size:clamp(2.7rem,3.8vw,4.6rem); }
.feature-copy p:not(.eyebrow) { max-width:370px; margin:20px 0; color:#bba98d; }
.feature-copy a { display:inline-flex; gap:18px; align-items:center; color:#e4c47d; font-weight:800; text-decoration:none; border-bottom:1px solid rgba(226,190,117,.5); padding-bottom:5px; }
.feature-phone-wrap { position:relative; z-index:1; display:grid; place-items:center; height:450px; perspective:900px; transition:transform .18s ease-out; }
.feature-phone-wrap::after { content:""; position:absolute; width:250px; height:300px; border-radius:50%; background:rgba(208,141,51,.17); filter:blur(50px); z-index:-1; }
.feature-phone { width:205px; height:430px; transform:rotateY(-12deg) rotateZ(5deg); }
.feature-phone img { transition:opacity .22s ease; }
.feature-phone img.is-changing { opacity:.2; }
.together-story { position:relative; isolation:isolate; padding:130px 0; overflow:hidden; background:#16130f; }
.together-backdrop { position:absolute; inset:0; z-index:-1; background:radial-gradient(ellipse 50% 70% at 25% 55%,rgba(182,119,45,.22),transparent 72%),linear-gradient(120deg,#1a1714,#0d0c0b 77%); }
.together-grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(50px,8vw,120px); align-items:center; }
.together-visual { position:relative; min-height:620px; perspective:1200px; transform-style:preserve-3d; transition:transform .18s ease-out; }
.together-aura { position:absolute; inset:10%; border-radius:50%; border:1px solid rgba(224,178,92,.27); transform:rotateX(67deg); box-shadow:0 0 45px rgba(201,130,43,.16); }
.together-screen { position:absolute; width:245px; aspect-ratio:9/19.4; top:50%; left:50%; }
.together-screen-back { transform:translate(-97%,-47%) rotateY(18deg) rotateZ(-9deg) scale(.86); filter:brightness(.66); }
.together-screen-front { transform:translate(-24%,-53%) rotateY(-13deg) rotateZ(6deg); }
.together-float { position:absolute; left:1%; bottom:17%; display:flex; align-items:center; gap:12px; border:1px solid rgba(227,194,130,.35); border-radius:12px; background:rgba(26,24,20,.89); backdrop-filter:blur(14px); padding:12px 16px; box-shadow:0 18px 32px rgba(0,0,0,.3); font-weight:800; }
.together-float-mark { color:#d9b66e; font-size:1.3rem; }
.together-copy>p:not(.eyebrow) { max-width:500px; margin:27px 0 0; color:#beae94; font-size:1.12rem; }
.story-steps { margin-top:29px; border-top:1px solid rgba(222,179,100,.22); }
.story-steps>div { display:flex; gap:19px; align-items:start; border-bottom:1px solid rgba(222,179,100,.22); padding:16px 0; }
.story-steps>div>span { color:#d4b16d; font-size:.75rem; font-weight:800; letter-spacing:.14em; padding-top:5px; }
.story-steps p { margin:0; }
.story-steps strong,.story-steps small { display:block; }
.story-steps strong { color:#f2e7cf; }
.story-steps small { color:#a9987e; font-size:.9rem; }
.story-actions { display:flex; align-items:center; flex-wrap:wrap; gap:20px; margin-top:30px; }
.text-link { color:#dec17e !important; font-weight:800; text-decoration:none; }
.study-world { padding:130px 0 150px; background:#0c0a08; }
.study-heading { max-width:650px; }
.study-heading p:last-child { color:#b7a78d; font-size:1.12rem; }
.study-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:19px; margin-top:50px; perspective:1200px; }
.study-card { position:relative; isolation:isolate; display:flex; flex-direction:column; min-height:420px; padding:25px; overflow:hidden; border:1px solid rgba(225,184,108,.23); border-radius:17px; background:#181611; text-decoration:none; transform-style:preserve-3d; transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s; }
.study-card:hover { transform:translateY(-10px) rotateX(3deg); box-shadow:0 30px 65px rgba(0,0,0,.4); }
.study-card::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(0deg,#13110f 0%,rgba(19,17,15,.5) 50%,rgba(19,17,15,.12)); }
.study-card img { position:absolute; z-index:-2; right:8%; top:11%; width:56%; height:80%; object-fit:cover; object-position:top; transform:rotateY(-14deg) rotateZ(7deg) scale(.95); filter:brightness(.65); border-radius:17px; box-shadow:0 22px 45px rgba(0,0,0,.6); transition:transform .5s,filter .5s; }
.study-card:hover img { transform:rotateY(-7deg) rotateZ(3deg) scale(1); filter:brightness(.86); }
.study-number { color:#dfc17c; font-size:.72rem; font-weight:800; letter-spacing:.17em; }
.study-card-copy { display:grid; gap:2px; margin-top:auto; }
.study-card-copy strong { font-family:"Cormorant Garamond",Georgia,serif; font-size:2.15rem; line-height:1; }
.study-card-copy small { color:#b9a88c; font-size:.91rem; }
.study-arrow { position:absolute; right:24px; bottom:29px; color:#dfc17c; font-size:1.4rem; }
.closing { position:relative; isolation:isolate; overflow:hidden; padding:130px 0 150px; text-align:center; background:radial-gradient(ellipse 45% 100% at 50% 100%,#392819,#16120d 74%); }
.closing-light { position:absolute; z-index:-1; inset:-10%; background:repeating-conic-gradient(from 200deg at 50% 100%,transparent 0deg,rgba(239,207,139,.065) 3deg,transparent 8deg,transparent 18deg); mask-image:linear-gradient(transparent 10%,black); animation:rays-breathe 17s ease-in-out infinite alternate; }
.closing-inner { display:grid; justify-items:center; }
.closing h2 { max-width:820px; }
.closing p:not(.eyebrow) { margin:25px 0 0; color:#bfad8f; font-size:1.17rem; }
.closing .hero-actions { justify-content:center; }
.home-footer { padding:55px 0 34px; background:#0b0a08; border-top:1px solid rgba(222,178,103,.2); }
.footer-grid { display:flex; justify-content:space-between; gap:35px; }
.footer-grid strong { font-family:"Cormorant Garamond",Georgia,serif; font-size:1.75rem; }
.footer-grid p,.footer-fine { color:#aa9a81; }
.footer-grid p { margin:3px 0 0; }
.footer-grid nav { display:flex; flex-wrap:wrap; align-content:start; gap:9px 22px; }
.footer-grid a { color:#d6c39e; text-decoration:none; font-size:.92rem; }
.footer-grid a:hover { color:#f2db9c; }
.footer-fine { margin-top:60px; font-size:.8rem; }
.js-motion .reveal { opacity:0; transform:translateY(28px); transition:opacity .75s ease,transform .75s cubic-bezier(.2,.75,.2,1); }
.js-motion .reveal.is-visible { opacity:1; transform:translateY(0); }
@keyframes orbit-turn { from { transform:translate(-50%,-50%) rotateX(68deg) rotateZ(0); } to { transform:translate(-50%,-50%) rotateX(68deg) rotateZ(360deg); } }
@keyframes orbit-turn-reverse { from { transform:translate(-50%,-50%) rotateX(68deg) rotateZ(360deg); } to { transform:translate(-50%,-50%) rotateX(68deg) rotateZ(0); } }
@keyframes rays-breathe { from { opacity:.3; transform:scale(1) rotate(-4deg); } to { opacity:.8; transform:scale(1.06) rotate(4deg); } }
@media (max-width:1100px) {
  .hero-grid { grid-template-columns:1fr 1fr; gap:0; }
  .hero-content h1 { font-size:clamp(3.7rem,7.4vw,5.8rem); }
  .hero-visual { min-height:490px; height:55vw; }
  .stage-phone { width:clamp(200px,24vw,270px); }
  .note-top { right:-2%; }
  .note-bottom { bottom:5%; }
  .feature-deck { grid-template-columns:260px 1fr; }
  .feature-panel { padding:30px; }
}
@media (max-width:800px) {
  .home-shell { width:min(100% - 36px,620px); }
  .home-hero { min-height:auto; }
  .hero-grid { grid-template-columns:1fr; padding-block:80px 80px; }
  .hero-content { max-width:590px; }
  .hero-content h1 { max-width:10ch; font-size:clamp(3.75rem,12vw,6rem); }
  .hero-visual { height:520px; min-height:0; margin-top:22px; }
  .stage-phone { width:240px; }
  .note-top { right:2%; }
  .note-bottom { left:3%; }
  .scroll-cue { display:none; }
  .chapter-intro,.study-world,.together-story { padding:85px 0; }
  .chapter-grid,.together-grid { grid-template-columns:1fr; gap:22px; }
  .chapter-copy { max-width:600px; }
  .feature-deck { grid-template-columns:1fr; margin-top:40px; }
  .feature-tabs { flex-direction:row; border-right:0; border-bottom:1px solid rgba(218,178,107,.2); }
  .feature-tab { grid-template-columns:1fr; gap:3px; min-height:80px; padding:15px; border-bottom:0; border-right:1px solid rgba(218,178,107,.14); font-size:.9rem; }
  .feature-tab>span:last-child { display:none; }
  .feature-panel { min-height:470px; }
  .together-visual { min-height:530px; order:2; }
  .together-copy { order:1; }
  .study-grid { grid-template-columns:1fr; }
  .study-card { min-height:350px; }
  .study-card img { width:38%; right:15%; }
  .footer-grid { display:block; }
  .footer-grid nav { margin-top:26px; }
}
@media (max-width:520px) {
  .home-shell { width:calc(100% - 32px); }
  .home .eyebrow { font-size:.67rem; letter-spacing:.16em; }
  .hero-grid { padding-top:58px; }
  .hero-content h1 { font-size:clamp(3.3rem,13vw,4.55rem); }
  .hero-lede { font-size:1.05rem; margin-top:19px; }
  .hero-actions { gap:9px; }
  .home-button { width:100%; min-height:52px; }
  .hero-promises { font-size:.8rem; }
  .hero-visual { height:410px; margin-top:12px; }
  .stage-phone { width:190px; }
  .phone-front { transform:translate3d(-25%,-48%,85px) rotateY(-13deg) rotateZ(4deg); }
  .phone-back { transform:translate3d(-90%,-50%,-60px) rotateY(21deg) rotateZ(-10deg) scale(.84); }
  .floating-note { display:none; }
  .section-heading h2,.together-copy h2,.study-heading h2,.closing h2 { font-size:clamp(3.15rem,11vw,4.3rem); }
  .feature-tabs { overflow-x:auto; scrollbar-width:none; }
  .feature-tabs::-webkit-scrollbar { display:none; }
  .feature-tab { min-width:115px; }
  .feature-panel { grid-template-columns:1fr; padding:30px 25px 10px; }
  .feature-copy h3 { font-size:3rem; }
  .feature-phone-wrap { height:330px; }
  .feature-phone { width:140px; height:295px; }
  .together-visual { min-height:400px; }
  .together-screen { width:170px; }
  .together-float { left:0; bottom:9%; font-size:.83rem; }
  .study-card { min-height:340px; }
  .study-card img { width:55%; right:8%; }
  .closing { padding:90px 0 100px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .depth-layer,.stage-phone,.floating-note,.orbit-one,.orbit-two,.closing-light { animation:none!important; transition:none!important; }
  .study-card,.study-card img,.home-button,.feature-phone-wrap,.together-visual { transition:none; }
  .js-motion .reveal { opacity:1; transform:none; }
}
