/* REACHU inner pages (services, about, contact, privacy, 404). Scroll motion is pure CSS on view timelines:
   transform and opacity only, nothing driven by script. */
.inner{background:var(--sand)}

/* page hero */
.phero{position:relative;min-height:80svh;display:flex;align-items:flex-end;background:var(--night);color:#F5EFE6;overflow:hidden;padding:20vh 0 11vh}
.ph-bg{position:absolute;inset:-6% 0;display:block}
.ph-bg img{width:100%;height:100%;object-fit:cover}
.ph-tint{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,15,20,.55),rgba(10,15,20,.25) 40%,rgba(10,15,20,.82))}
.ph-in{position:relative}
.phero .kicker{color:#F2A15F}
.phero h1{font-size:clamp(44px,7vw,112px);max-width:14ch;font-weight:500;line-height:1.02}
.phero h1 em{color:#F2A15F}
.ph-lead{font-size:clamp(17px,1.5vw,21px);max-width:560px;margin:26px 0 0;color:#DDE9EA}
.ph-in>*{opacity:0;transform:translate3d(0,26px,0);animation:phIn 1.2s var(--ease) forwards}
.ph-in>*:nth-child(2){animation-delay:.12s}.ph-in>*:nth-child(3){animation-delay:.24s}.ph-in>*:nth-child(4){animation-delay:.36s}
@keyframes phIn{to{opacity:1;transform:none}}
.ph-btns{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.phero .btn.ghost{color:#F5EFE6}
.svc-jump{display:flex;gap:10px;flex-wrap:wrap;margin-top:32px}
.svc-jump a{font-size:13px;font-weight:600;text-decoration:none;padding:10px 16px;border-radius:999px;border:1px solid rgba(245,239,230,.4);background:rgba(10,15,20,.25);transition:background .3s,border-color .3s}
.svc-jump a:hover{background:var(--copper);border-color:var(--copper)}

/* service chapters */
.svx{position:relative;overflow:hidden;padding:15vh 0}
.svx.c1{background:var(--rust);color:var(--cream)}
.svx.c2{background:var(--dune)}
.svx.c3{background:var(--sage-l)}
.svx.c4{background:var(--peach)}
.svx-ghost{position:absolute;left:0;top:50%;font-size:clamp(130px,24vw,380px);font-weight:700;letter-spacing:-.04em;line-height:.8;white-space:nowrap;opacity:.07;pointer-events:none;transform:translate3d(-4%,-50%,0)}
.svx-in{position:relative;display:grid;grid-template-columns:1.05fr 1fr;gap:6vw;align-items:center}
.svx.flip .svx-media{order:2}
.svx-media{position:relative;aspect-ratio:4/5;border-radius:26px;overflow:hidden;outline:1px solid rgba(255,255,255,.4);outline-offset:-12px;box-shadow:0 30px 60px -40px rgba(10,15,20,.6)}
.svx-media picture{position:absolute;inset:-8% 0;display:block}
.svx-media img{width:100%;height:100%;object-fit:cover}
.svx-num{position:absolute;left:22px;bottom:12px;font-family:var(--serif);font-style:italic;font-size:clamp(70px,8vw,120px);line-height:1;color:#F5EFE6;text-shadow:0 4px 24px rgba(10,15,20,.4)}
.svx h2{font-size:clamp(38px,4.6vw,72px);margin-bottom:22px}
.svx.c1 h2 em{color:#F2A15F}
.svx-copy>p:not(.kicker){font-size:18px;max-width:520px;margin:0 0 26px;opacity:.92}
.svx-list{list-style:none;padding:0;margin:0 0 32px;display:grid;gap:12px;max-width:520px}
.svx-list li{display:flex;gap:14px;align-items:flex-start;padding-bottom:12px;border-bottom:1px solid currentColor;border-color:rgba(16,38,42,.14);font-weight:500}
.svx.c1 .svx-list li{border-color:rgba(245,239,230,.2)}
.svx-list li::before{content:"";flex:none;width:9px;height:9px;margin-top:8px;border-radius:50%;background:var(--copper)}
.svx-btns{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.svx-note{font-size:13px;opacity:.7}
@media(max-width:860px){.svx{padding:11vh 0}.svx-in{grid-template-columns:1fr}.svx.flip .svx-media{order:0}.svx-media{aspect-ratio:4/3}}

/* how it works list */
.flow{background:var(--sand);padding:14vh 0}
.flow h2{font-size:clamp(36px,4.6vw,70px);margin-bottom:7vh}
.flow-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(6,1fr);gap:16px;counter-reset:f}
.flow-list li{background:#FFFCF7;border-radius:22px;padding:24px 20px;box-shadow:0 18px 36px -30px rgba(16,38,42,.45);border-top:3px solid var(--clay)}
.flow-list li:nth-child(even){border-top-color:var(--copper)}
.flow-list b{font-family:var(--serif);font-style:italic;font-weight:400;font-size:40px;line-height:1;color:var(--copper)}
.flow-list h3{font-size:20px;margin:12px 0 8px}
.flow-list p{margin:0;font-size:14.5px;color:var(--cocoa)}
@media(max-width:1000px){.flow-list{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.flow-list{grid-template-columns:1fr 1fr;gap:12px}.flow-list li{padding:18px 16px}}

/* call to action band */
.cta-band{background:linear-gradient(120deg,var(--peach),var(--blush) 55%,var(--sage-l));color:var(--ink);padding:13vh 0}
.cta-band .wrap{display:flex;justify-content:space-between;align-items:end;gap:40px;flex-wrap:wrap}
.cta-band .kicker{color:var(--copper)}
.cta-band h2{font-size:clamp(36px,5vw,78px);max-width:16ch}
.cta-band h2 em{color:var(--copper)}
.cta-band .btn.ghost{color:var(--ink)}
.cta-btns{display:flex;gap:12px;flex-wrap:wrap}
.cta-band.slim{padding:10vh 0}

/* about */
.story{position:relative;overflow:hidden;background:var(--sand);padding:15vh 0}
.story .svx-ghost{opacity:.05}
.story-in{position:relative;display:grid;grid-template-columns:1fr 1.1fr;gap:6vw}
.story h2{font-size:clamp(38px,4.8vw,74px)}
.story-copy p{font-size:clamp(18px,1.5vw,21px);margin:0 0 22px;color:var(--cocoa)}
.story-copy p:first-child::first-letter{font-family:var(--serif);font-style:italic;font-size:3.4em;float:left;line-height:.8;margin:6px 10px 0 0;color:var(--copper)}
.how-we{background:var(--sage-l);padding:14vh 0}
.how-in{display:grid;grid-template-columns:1fr 1fr;gap:6vw;align-items:center}
.how-img{margin:0;border-radius:26px;overflow:hidden;aspect-ratio:5/4;outline:1px solid rgba(255,255,255,.5);outline-offset:-12px}
.how-img img{width:100%;height:100%;object-fit:cover}
.how-we h2{font-size:clamp(36px,4.4vw,66px);margin-bottom:22px}
.how-we p:not(.kicker){font-size:18px;color:var(--cocoa);margin:0 0 18px;max-width:520px}
.facts{list-style:none;padding:0;margin:28px 0 0;display:flex;gap:28px;flex-wrap:wrap}
.facts li{font-size:13px;color:var(--cocoa)}
.facts b{display:block;font-family:var(--serif);font-style:italic;font-weight:400;font-size:36px;line-height:1.1;color:var(--copper)}
.vgrid{background:linear-gradient(180deg,var(--peach),var(--blush));padding:14vh 0}
.vgrid h2{font-size:clamp(36px,4.6vw,70px);margin-bottom:7vh}
.vcards{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.vcard{border-radius:22px;overflow:hidden;background:#FFFCF7;box-shadow:0 20px 40px -32px rgba(16,38,42,.5)}
.vc-img{aspect-ratio:3/4;overflow:hidden}
.vc-img img{width:100%;height:100%;object-fit:cover}
.vc-bd{padding:18px 18px 22px}
.vc-bd small{font-size:12px;letter-spacing:.2em;font-weight:700;color:var(--copper)}
.vc-bd h3{font-family:var(--serif);font-style:italic;font-weight:400;font-size:32px;margin:6px 0 8px}
.vc-bd p{margin:0;font-size:14px;color:var(--cocoa)}
.v0 .vc-bd{background:#FFF7EF}.v1 .vc-bd{background:#EEF6F6}.v2 .vc-bd{background:#FCEBDD}.v3 .vc-bd{background:#E2EEEF}.v4 .vc-bd{background:#F6EEE3}
@media(max-width:1000px){.vcards{grid-template-columns:repeat(2,1fr)}.vcard:last-child{grid-column:1/-1}.vcard:last-child .vc-img{aspect-ratio:16/9}}
.where{position:relative;min-height:78svh;display:flex;align-items:center;overflow:hidden;color:#F5EFE6;background:var(--night)}
.where-img{position:absolute;inset:-8% 0;width:100%;height:116%;object-fit:cover}
.where::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,15,20,.7),rgba(10,15,20,.2))}
.where-in{position:relative;z-index:1}
.where h2{font-size:clamp(38px,5.4vw,86px);max-width:15ch}
.where h2 em{color:#F2A15F}
.where p{font-size:19px;max-width:480px;margin:22px 0 0;color:#E6EFF0}
@media(max-width:860px){.story-in,.how-in{grid-template-columns:1fr}.facts{gap:20px}}

/* contact page */
.c-list{list-style:none;padding:0;margin:0;display:grid;gap:18px}
.c-list small{display:block;font-size:11px;letter-spacing:.24em;text-transform:uppercase;opacity:.7;margin-bottom:4px}
.c-list a,.c-list span{font-size:18px;color:var(--cream)}

/* privacy */
.doc{background:var(--sand);padding:18vh 0 14vh}
.doc-in{max-width:760px}
.doc h1{font-size:clamp(42px,6vw,80px);margin-bottom:10px}
.doc-date{color:var(--cocoa);font-size:14px;margin:0 0 6vh}
.doc h2{font-size:26px;margin:44px 0 12px}
.doc p,.doc li{color:var(--cocoa);font-size:17px}
.doc ul{padding-left:20px;display:grid;gap:10px}

/* scroll-linked depth, compositor only */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    .ph-bg{animation:phPar linear both;animation-timeline:view();animation-range:exit 0% exit 100%}
    @keyframes phPar{to{transform:translate3d(0,14%,0) scale(1.06)}}
    .svx-ghost{animation:ghostX linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
    @keyframes ghostX{from{transform:translate3d(12%,-50%,0)}to{transform:translate3d(-34%,-50%,0)}}
    .svx-media picture,.where-img{animation:imgPar linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
    @keyframes imgPar{from{transform:translate3d(0,-6%,0)}to{transform:translate3d(0,6%,0)}}
  }
}
@media (prefers-reduced-motion:reduce){.ph-in>*{animation:none;opacity:1;transform:none}}

/* portfolio page */
.pf-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.pf-filter button { font: inherit; font-size: 13px; font-weight: 600; color: #F5EFE6; background: rgba(10,15,20,.3); border: 1px solid rgba(245,239,230,.4); border-radius: 999px; padding: 9px 16px; cursor: pointer; transition: background .3s, border-color .3s; }
.pf-filter button[aria-pressed="true"] { background: var(--copper); border-color: var(--copper); }
.pfw { background: linear-gradient(180deg, var(--sand), var(--sage-l)); padding: 10vh 0 14vh; }
.pfw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .pfw-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.pfw-item { position: relative; display: block; padding: 0; border: 0; cursor: pointer; aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; background: var(--night); box-shadow: 0 22px 44px -32px rgba(10,15,20,.6); text-align: left; }
.pfw-item:nth-child(3n+2) { aspect-ratio: 4/5.6; }
.pfw-item img, .pfw-item video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pfw-item:hover img, .pfw-item:hover video { transform: scale(1.04); }
.pfw-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(180deg, transparent, rgba(10,15,20,.78)); color: #F5EFE6; display: grid; gap: 2px; }
.pfw-cap b { font-size: 15px; }
.pfw-cap small { font-size: 12px; color: #F2A15F; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.pfw-play { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: rgba(245,239,230,.9); color: var(--rust); display: grid; place-items: center; font-size: 12px; }
.pfw-load, .pfw-empty { grid-column: 1 / -1; text-align: center; color: var(--cocoa); padding: 6vh 0; display: grid; gap: 6px; font-size: 17px; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(10,15,20,.94); display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; padding: 20px 8px; }
.lb[hidden] { display: none; }
.lb-f { margin: 0; display: grid; gap: 12px; justify-items: center; max-height: 100%; }
.lb-f img, .lb-f video { max-width: 100%; max-height: 78vh; border-radius: 16px; object-fit: contain; }
.lb-f figcaption { color: #F5EFE6; text-align: center; display: grid; gap: 4px; max-width: 640px; }
.lb-f figcaption span { color: #C9D9DA; font-size: 14px; }
.lb button { font: inherit; background: rgba(245,239,230,.12); color: #F5EFE6; border: 0; border-radius: 50%; width: 46px; height: 46px; font-size: 26px; cursor: pointer; justify-self: center; }
.lb-x { position: absolute; top: 16px; right: 16px; }
@media (max-width: 600px) { .lb { grid-template-columns: 40px 1fr 40px; } .lb button { width: 38px; height: 38px; font-size: 22px; } }
