:root{
  --rust:#9B2F10;--saff:#E8832A;--gold:#C9940E;
  --teal:#125A51;--plum:#5C2D6E;--cream:#FAF3E0;
  --cream2:#F2EAD3;--ink:#0D0B08;--ink2:#111008;
  --green:#50A05F;--dust:rgba(245,237,216,.58);
  /* Logo width/height are NOT custom properties — Safari has shown itself
     unreliable resolving min()/calc() values stored in custom properties
     (confirmed: caused the hero logo to render at a fraction of its size).
     width:min(360px,50vw) is written out directly wherever it's needed
     instead, duplicated across breakpoints. Verbose, but nothing left for
     any engine to mis-resolve. --heroAnchor stays a variable since it's a
     plain percentage with no function involved. */
  --heroAnchor:42%;
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
body{background:var(--ink);color:var(--cream);font-family:'Syne',sans-serif;font-size:16px}
/* overflow-x:clip (not hidden) on this wrapper — body/html stay fully default
   so position:sticky attaches to the real viewport scroller. Any non-visible
   overflow-x paired with a default overflow-y normally auto-upgrades that y
   to 'auto', turning the element into a scroll container and breaking sticky
   for everything inside it. */
#pageRoot{overflow-x:clip}

/* GRAIN */
#grain{position:fixed;inset:0;z-index:9990;pointer-events:none;opacity:.028;
background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
background-size:180px}

/* ═══════════════════════════════
   LOADER (Home) — logo grows in place from 200px → hero size.
═══════════════════════════════ */
#loader{
  position:fixed;inset:0;z-index:8000;
  background:var(--ink);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  transition:opacity .6s ease, visibility .6s ease;
}
/* The loader fades out as one unit (background, rings, text, bar and
   morph-logo together) instead of being yanked away with display:none —
   that hard cut is what read as a jump/flicker. hero-logo sits pixel-
   identical to the fully-grown morph-logo underneath, so as the loader
   dissolves it's a true crossfade with zero visible movement, not a
   swap. .hidden is added only after the fade finishes, purely to take
   the loader out of layout/interaction. */
#loader.gone{opacity:0;pointer-events:none}
#loader.hidden{display:none !important}

.lr{position:absolute;border-radius:50%;border:1px solid;opacity:0;animation:lrA 2s ease-out forwards}
.lr:nth-child(1){width:110px;height:110px;border-color:rgba(155,47,16,.5);animation-delay:.05s}
.lr:nth-child(2){width:200px;height:200px;border-color:rgba(232,131,42,.25);animation-delay:.2s}
.lr:nth-child(3){width:310px;height:310px;border-color:rgba(212,160,23,.1);animation-delay:.35s}
@keyframes lrA{0%{opacity:0;transform:scale(.5)}60%{opacity:1}100%{opacity:.2;transform:scale(1)}}

#morph-logo{
  position:absolute;top:var(--heroAnchor);left:50%;
  width:min(360px,50vw);
  transform-origin:center center;
  animation:morphGrow 2.2s cubic-bezier(.18,.85,.28,1) .35s both;
}
@keyframes morphGrow{
  0%{opacity:0;transform:translate(-50%,-50%) scale(.444)}
  20%{opacity:1;transform:translate(-50%,-50%) scale(.444)}
  100%{opacity:1;transform:translate(-50%,-50%) scale(1)}
}
.loader-sub{
  position:absolute;left:50%;
  top:calc(var(--heroAnchor) + (min(360px,50vw) * .265) + 1.5rem);
  transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;
}
.ltxt{
  position:relative;z-index:2;
  font-size:.75rem;letter-spacing:.4em;text-transform:uppercase;
  color:rgba(245,237,216,.4);
  font-family:'Cormorant Garamond',serif;font-style:italic;
  animation:ltxtAnim 2s .8s both;
}
@keyframes ltxtAnim{0%{opacity:0;transform:translateY(8px)}20%{opacity:1;transform:none}80%{opacity:1}100%{opacity:0}}
.lbar{position:relative;z-index:2;width:110px;height:1px;background:rgba(255,255,255,.06);margin-top:1.6rem;overflow:hidden;animation:lbarFade 2s .8s both}
@keyframes lbarFade{0%{opacity:0}20%{opacity:1}80%{opacity:1}100%{opacity:0}}
.lbar-fill{position:absolute;left:0;top:0;height:100%;background:linear-gradient(90deg,var(--rust),var(--saff));animation:lbarA 1.6s .5s both}
@keyframes lbarA{from{width:0}to{width:100%}}

/* Light fade loader used on About/Portfolio/Case-study — no logo-morph
   moment, just a quick fade so the page doesn't flash unstyled content. */
#loaderLite{position:fixed;inset:0;z-index:8000;background:var(--ink);transition:opacity .5s ease;pointer-events:none}
#loaderLite.gone{opacity:0}

/* ═══════════════════════════════
   NAV
═══════════════════════════════ */
nav{position:fixed;top:0;left:0;right:0;z-index:500;padding:1.4rem 4rem;display:flex;justify-content:space-between;align-items:center;transition:all .5s}
nav.stuck{background:rgba(13,11,8,.93);backdrop-filter:blur(20px);padding:1rem 4rem;border-bottom:1px solid rgba(255,255,255,.04)}
/* Pages whose top section isn't dark (About's Philosophy hero, unlike
   Home's dark canvas) need the nav to start solid instead of transparent
   — otherwise the light/warm text underneath makes the cream nav text
   unreadable until the user scrolls past 60px and nav.stuck kicks in. */
nav.nav-solid{background:rgba(13,11,8,.93);backdrop-filter:blur(20px);border-bottom:1px solid rgba(255,255,255,.04)}
.nlogo{display:flex;align-items:center;gap:1rem;text-decoration:none}
.nlogo-img{height:38px;width:auto}
.nlogo-text{
  font-family:'Inter',sans-serif;
  font-weight:700;
  font-size:1rem;
  letter-spacing:.02em;
  text-transform:none;
  color:rgba(245,237,216,.82);
  line-height:1.2;
}
.nlogo-sub{
  font-family:'Cormorant Garamond',serif;
  font-size:.68rem;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:rgba(245,237,216,.58);
  display:block;
  margin-top:.25rem;
}
.ncta{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--cream);text-decoration:none;padding:.7rem 1.5rem;border:1px solid rgba(245,237,216,.18);transition:all .35s}
.ncta:hover{background:var(--rust);border-color:var(--rust)}

.nav-right{display:flex;align-items:center;gap:2.5rem}
.nav-links{display:flex;align-items:center;gap:2rem}
.nav-links a{font-size:.68rem;letter-spacing:.13em;text-transform:uppercase;color:rgba(245,237,216,.6);text-decoration:none;transition:color .3s}
.nav-links a:hover,.nav-links a.active{color:var(--cream)}
.nav-links-cta{display:none}
.nav-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;width:26px;height:26px;background:none;border:none;cursor:pointer;padding:0}
.nav-toggle span{display:block;width:100%;height:2px;background:var(--cream);transition:transform .3s,opacity .3s}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ═══════════════════════════════
   HERO (Home only)
   #heroZone is the scroll runway; #heroSticky pins the actual hero in
   place while the runway scrolls underneath — overflow-x:clip, never
   :hidden, so nothing here upgrades an ancestor's overflow-y to auto and
   silently breaks the sticky pin.
═══════════════════════════════ */
#heroZone{position:relative;height:340vh;overflow-x:clip}
#heroSticky{position:sticky;top:0;height:100vh}
#hero{position:relative;height:100%;overflow:hidden}
.hvig{position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse at center,rgba(13,11,8,.02) 0%,rgba(13,11,8,.42) 52%,rgba(13,11,8,.95) 100%)}
#hcv{position:absolute;inset:0;width:100%;height:100%;z-index:2}
.hcnt{position:absolute;inset:0;z-index:3;text-align:center;pointer-events:none}

#hero-logo{
  position:absolute;top:var(--heroAnchor);left:50%;transform:translate(-50%,-50%);
  width:min(360px,50vw);
  opacity:0;
  transition:opacity .05s;
}
#hero-logo.show{opacity:1}

.hero-sub{
  position:absolute;left:50%;
  top:calc(var(--heroAnchor) + (min(360px,50vw) * .265) + 1.75rem);
  transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;
}

.htag{font-family:'Cormorant Garamond',serif;font-size:clamp(1.3rem,2.6vw,2.1rem);font-weight:300;color:rgba(255,255,255,.96);letter-spacing:.07em;line-height:1.3;padding-bottom:.1em;opacity:0;transform:translateY(10px);transition:opacity .8s,transform .8s}
.htag.show{opacity:1;transform:none}
.htag em{font-style:italic;color:var(--gold)}
.hpills{display:flex;align-items:center;margin-top:2rem;opacity:0;transform:translateY(10px);transition:opacity .8s .18s,transform .8s .18s}
.hpills.show{opacity:1;transform:none}
.hpill{display:flex;flex-direction:column;align-items:center;gap:.4rem;padding:0 clamp(.7rem,3.2vw,2rem)}
.hpill-d{font-size:clamp(1.05rem,4.2vw,1.5rem);font-family:serif;line-height:1.25}
.hpill:nth-child(1) .hpill-d{color:var(--rust)}.hpill:nth-child(3) .hpill-d{color:var(--saff)}.hpill:nth-child(5) .hpill-d{color:var(--gold)}
.hpill-e{font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;color:rgba(245,237,216,.6)}
.hdiv{width:1px;height:28px;background:linear-gradient(to bottom,transparent,rgba(245,237,216,.18),transparent)}
.hscroll{position:absolute;top:calc(84% + 68px);left:50%;transform:translateX(-50%);z-index:3;display:flex;flex-direction:column;align-items:center;gap:.4rem;opacity:0;transition:opacity .8s .35s;pointer-events:none}
.hscroll.show{opacity:1}
.hscroll-lbl{font-size:.7rem;letter-spacing:.3em;text-transform:uppercase;color:rgba(245,237,216,.6)}
.hscroll-line{width:1px;height:30px;background:rgba(255,255,255,.07);position:relative;overflow:hidden}
.hscroll-line::after{content:'';position:absolute;top:-100%;left:0;width:100%;height:40%;background:linear-gradient(to bottom,transparent,rgba(232,131,42,.65));animation:scrolldn 2.5s ease-in-out infinite}
@keyframes scrolldn{0%{top:-100%}100%{top:200%}}

/* ═══════════════════════════════
   CASE CARDS — compact preview card, shared by Home's showcase strip
   and Portfolio's full grid (rendered from assets/cases-data.js so the
   markup exists in exactly one place: assets/main.js).
═══════════════════════════════ */
.ccard-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(255,255,255,.05)}
.ccard{background:var(--ink);padding:2rem;text-decoration:none;display:flex;flex-direction:column;transition:background .4s;position:relative}
.ccard:hover{background:rgba(255,255,255,.02)}
.ccard-thumb{width:100%;aspect-ratio:16/10;background:#090806;overflow:hidden;margin-bottom:1.4rem;position:relative}
.ccard-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.ccard:hover .ccard-thumb img{transform:scale(1.04)}
.ccard-idx{position:absolute;top:.7rem;right:.7rem;font-family:'Cormorant Garamond',serif;font-size:.85rem;color:rgba(255,255,255,.55);background:rgba(13,11,8,.55);padding:.15rem .55rem;letter-spacing:.06em}
.ccard-logo{height:28px;width:auto;max-width:120px;object-fit:contain;opacity:.92;margin-bottom:.8rem}
.ccard-client{font-family:'Cormorant Garamond',serif;font-size:1.5rem;font-weight:300;color:var(--cream);line-height:1.15}
.ccard-project{font-family:'Cormorant Garamond',serif;font-size:.9rem;font-style:italic;color:rgba(245,237,216,.55);margin-top:.25rem}
.ccard-summary{font-size:.82rem;line-height:1.55;color:rgba(245,237,216,.6);margin-top:.7rem}
.ccard-arr{position:absolute;bottom:1.6rem;right:2rem;font-size:.7rem;color:rgba(245,237,216,.35);transition:transform .35s,color .35s}
.ccard:hover .ccard-arr{transform:translateX(4px);color:var(--saff)}

.showcase-foot{display:flex;justify-content:center;padding:2.5rem 0 1rem}
.viewall{display:inline-flex;align-items:center;gap:.8rem;font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--cream);text-decoration:none;padding:1.1rem 2.4rem;border:1px solid rgba(245,237,216,.22);transition:all .35s}
.viewall:hover{background:var(--rust);border-color:var(--rust)}
.viewall-sm{padding:.7rem 1.6rem;font-size:.66rem}
/* Dark-text variant for light-background sections (Founder's cream2 bg)
   — the default .viewall is cream-on-transparent, made for dark
   sections, and reads as invisible on a light one. */
.viewall-dark{color:var(--ink);border-color:rgba(13,11,8,.18)}
.viewall-dark:hover{background:var(--rust);border-color:var(--rust);color:var(--cream)}

/* ═══════════════════════════════
   OUR CLIENTS — rotating logo marquee (Home). Same infinite-track
   technique as the old text ticker (duplicate the content once, slide
   -50%), just sized and coloured for logo images instead of text.
═══════════════════════════════ */
/* ═══════════════════════════════
   BTS COLLAGE BANNER — a purely visual break between Services and the
   client marquee, humanizing the page with real production moments.
═══════════════════════════════ */
#bts-banner{background:var(--ink);padding:5rem 5rem 4.5rem}
.bts-collage{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(6,1fr);grid-auto-rows:130px;gap:6px}
.bts-tile{overflow:hidden;position:relative}
.bts-tile img{width:100%;height:100%;object-fit:cover;display:block;filter:grayscale(.2) brightness(.9);transition:filter .4s,transform .6s}
.bts-tile:hover img{filter:none;transform:scale(1.05)}
.bts-tile.big{grid-column:span 2;grid-row:span 2}
.bts-caption{text-align:center;margin-top:2.2rem;font-family:'Cormorant Garamond',serif;font-style:italic;font-size:1.05rem;color:rgba(245,237,216,.55)}

#clients{background:var(--ink);padding:5rem 0 2.5rem;overflow:hidden}
.clients-label{text-align:center;font-size:.7rem;letter-spacing:.3em;text-transform:uppercase;color:rgba(245,237,216,.45);margin-bottom:2.5rem}
.mqc{overflow:hidden;white-space:nowrap;display:flex}
.mqc-track{display:inline-flex;align-items:center;gap:5rem;animation:mqcrun 34s linear infinite;will-change:transform}
.mqc-track img{height:36px;width:auto;max-width:140px;object-fit:contain;opacity:.82;transition:opacity .4s,transform .4s}
.mqc-track img:hover{opacity:1;transform:scale(1.06)}
@keyframes mqcrun{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* REVEAL */
.rv{opacity:0;transform:translateY(44px);transition:opacity .95s cubic-bezier(.16,1,.3,1),transform .95s cubic-bezier(.16,1,.3,1)}
.rv.on{opacity:1;transform:none}
.d1{transition-delay:.1s!important}.d2{transition-delay:.22s!important}.d3{transition-delay:.34s!important}.d4{transition-delay:.46s!important}
.slbl{font-size:.68rem;letter-spacing:.28em;text-transform:uppercase;display:flex;align-items:center;gap:.9rem;margin-bottom:2rem}
.slbl::before{content:'';width:1.4rem;height:1px;background:currentColor;display:block;opacity:.55}

/* Warm glow wash used on the otherwise-dark inner pages (About, Portfolio,
   Case Study) so they pick up the hero's orange/gold warmth instead of
   sitting flat — same blurred-blob technique as .tk-blob, just factored
   out so any section can drop a couple of these in. */
.pageglow{position:absolute;border-radius:50%;filter:blur(110px);pointer-events:none;z-index:0}
.pageglow.rust{background:rgba(155,47,16,.16)}
.pageglow.saff{background:rgba(232,131,42,.14)}
.pageglow.gold{background:rgba(201,148,14,.13)}

/* ═══════════════════════════════
   PHILOSOPHY (About)
═══════════════════════════════ */
/* Rust — the Kaaran color from the hero's Kaaran/Khaaka/Goonj pills —
   instead of the old flat cream, so this reads as a bold, warm section
   like #svc/#cta instead of the odd light-bg-dark-text page out. Accent
   colors below are flipped for readability against a dark warm bg: the
   column-1 accent moves off rust (which would vanish on a rust bg) to a
   light cream tint, columns 2/3 keep saff/gold since both still read
   clearly against rust. */
#phil{background:var(--rust);color:var(--cream);padding:10rem 5rem;position:relative;overflow:hidden}
.tk-blob{position:absolute;border-radius:50%;filter:blur(80px);pointer-events:none}
.tk-blob.a{width:300px;height:300px;background:rgba(0,0,0,.18);top:-60px;right:-30px}
.tk-blob.b{width:220px;height:220px;background:rgba(255,220,150,.14);bottom:-30px;left:6%}
.tkwrap{max-width:1100px;margin:0 auto;position:relative;z-index:2}
.about-title{font-family:'Syne',sans-serif;font-weight:700;font-size:clamp(1rem,2vw,1.3rem);letter-spacing:.1em;text-transform:uppercase;color:var(--cream);opacity:.85;margin-bottom:1.6rem}
.tk-headline{font-family:'Cormorant Garamond',serif;font-size:clamp(3rem,6vw,5.2rem);font-weight:300;line-height:1.18;padding-bottom:.06em;color:var(--cream);margin-bottom:1.1rem}
.tk-headline em{font-style:italic;color:var(--gold)}
.tk-sub{font-size:.98rem;line-height:1.8;color:rgba(250,243,224,.82);max-width:500px;margin-bottom:5rem}
.tk-steps{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(255,255,255,.18)}
.tk-step{padding:3rem 2.5rem 3rem 0;border-right:1px solid rgba(255,255,255,.14);position:relative;overflow:hidden}
.tk-step:nth-child(2){padding-left:2.5rem}
.tk-step:last-child{border-right:none;padding-left:2.5rem;padding-right:0}
.tk-step::after{content:'';position:absolute;bottom:0;left:0;height:2px;width:0;transition:width .6s cubic-bezier(.16,1,.3,1)}
.tk-step:nth-child(1)::after{background:var(--cream)}.tk-step:nth-child(2)::after{background:var(--saff)}.tk-step:nth-child(3)::after{background:var(--gold)}
.tk-step:hover::after{width:calc(100% - 2.5rem)}
.tk-num{font-size:.68rem;letter-spacing:.26em;font-weight:600;display:block;margin-bottom:.9rem}
.tk-step:nth-child(1) .tk-num{color:var(--cream)}.tk-step:nth-child(2) .tk-num{color:var(--saff)}.tk-step:nth-child(3) .tk-num{color:var(--gold)}
.tk-dev{font-size:2.4rem;font-family:serif;line-height:1.25;margin-bottom:.4rem}
.tk-step:nth-child(1) .tk-dev{color:var(--cream)}.tk-step:nth-child(2) .tk-dev{color:var(--saff)}.tk-step:nth-child(3) .tk-dev{color:var(--gold)}
.tk-name{font-family:'Cormorant Garamond',serif;font-size:1.75rem;font-weight:400;color:var(--cream);margin-bottom:.3rem}
.tk-role{font-size:.85rem;color:rgba(250,243,224,.7);margin-bottom:1rem;font-style:italic;font-family:'Cormorant Garamond',serif}
.tk-body{font-size:.95rem;line-height:1.75;color:rgba(250,243,224,.82)}

/* ═══════════════════════════════
   SERVICES — teal, NO vertical dividers (Home)
═══════════════════════════════ */
/* ═══════════════════════════════
   TRUST — minimal credibility strip right after the hero. No cards, no
   logos here (the fuller logo marquee still exists further down) — just
   quiet confidence: a label and a list of names.
═══════════════════════════════ */
#trust{background:var(--ink);padding:3.2rem 5rem;text-align:center;border-bottom:1px solid rgba(255,255,255,.05);position:relative;z-index:2}
.trust-label{font-size:.66rem;letter-spacing:.32em;text-transform:uppercase;color:rgba(245,237,216,.4);margin-bottom:1.5rem}
.trust-names{display:flex;flex-wrap:wrap;justify-content:center}
.trust-names span{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:1.1rem;color:rgba(245,237,216,.6);padding:.3rem 1.5rem;position:relative}
.trust-names span:not(:last-child)::after{content:'';position:absolute;right:0;top:50%;transform:translateY(-50%);width:3px;height:3px;border-radius:50%;background:rgba(245,237,216,.22)}

#svc{background:var(--teal);padding:10rem 5rem;position:relative;overflow:hidden}
.svc-glare{position:absolute;inset:0;background:radial-gradient(ellipse at 80% 15%,rgba(255,255,255,.08),transparent 55%)}
.svcwrap{max-width:1100px;margin:0 auto;position:relative;z-index:2}
/* "Our Services" is now the dominant chapter-heading text itself — the
   kicker above it ("What We Do") is deliberately small/quiet so there's
   no ambiguity about which one the eye should land on first. */
.svch{font-family:'Cormorant Garamond',serif;font-size:clamp(3.2rem,7vw,6.2rem);font-weight:300;color:var(--cream);line-height:1.15;padding-bottom:.06em;margin-bottom:1.3rem}
.svch em{font-style:italic;color:rgba(250,243,224,.6)}
.svc-intro{font-size:.95rem;color:rgba(250,243,224,.85);line-height:1.8;max-width:440px;margin-bottom:5rem}
.svc-cats{display:grid;grid-template-columns:repeat(2,1fr);gap:3.2rem 3.6rem;margin-top:1rem}
.svc-more{margin-top:3.5rem;display:flex}
.svc-cat{padding:0}
.svc-cat-img{position:relative;width:100%;aspect-ratio:16/10;overflow:hidden;margin-bottom:1.6rem;background:#090806}
.svc-cat-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.svc-cat:hover .svc-cat-img img{transform:scale(1.05)}
.svc-cat-idx{position:absolute;bottom:.8rem;left:.8rem;font-family:'Cormorant Garamond',serif;font-size:.95rem;color:var(--cream);background:rgba(13,11,8,.6);padding:.2rem .7rem;letter-spacing:.06em}
.svc-cat-title{font-family:'Cormorant Garamond',serif;font-size:1.6rem;font-weight:400;color:var(--cream);margin-bottom:1.3rem;line-height:1.2;padding-bottom:1rem;border-bottom:1px solid rgba(255,255,255,.14)}
.svc-cat-list{list-style:none;display:flex;flex-direction:column;gap:.6rem}
.svc-cat-list li{font-size:.85rem;color:rgba(250,243,224,.85);line-height:1.5;padding-left:.9rem;position:relative}

/* Practical, scannable service list — one heading, one sentence each, no
   sub-lists or images to slow down "what do they actually offer". */
.svc-list{display:grid;grid-template-columns:repeat(3,1fr);gap:2.6rem 3rem;margin-top:1rem}
.svc-item h3{font-family:'Cormorant Garamond',serif;font-size:1.35rem;font-weight:500;color:var(--cream);margin-bottom:.6rem;line-height:1.25;padding-bottom:.05em}
.svc-item p{font-size:.88rem;line-height:1.6;color:rgba(250,243,224,.72)}

/* Services detail page (services.html) — the same four disciplines as
   Home's compact grid, expanded into full alternating rows with a
   description paragraph, for the "more detailed" services page. */
#svc-detail{background:var(--teal);padding:1rem 5rem 8rem;position:relative}
.svcdwrap{max-width:1100px;margin:0 auto;display:flex;flex-direction:column;gap:5rem}
.svc-detail-lead{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:1.15rem;color:rgba(250,243,224,.65);margin-bottom:-2.5rem}
.svcd-row{display:grid;grid-template-columns:1fr 1fr;gap:3.5rem;align-items:center}
.svcd-row:nth-child(even) .svcd-img{order:2}
.svcd-img{position:relative;width:100%;aspect-ratio:16/11;overflow:hidden;background:#090806}
.svcd-img img{width:100%;height:100%;object-fit:cover;display:block}
.svcd-title{font-family:'Cormorant Garamond',serif;font-size:clamp(1.7rem,3vw,2.3rem);font-weight:400;color:var(--cream);margin-bottom:1.1rem}
.svcd-desc{font-size:.95rem;line-height:1.75;color:rgba(250,243,224,.82);margin-bottom:1.8rem;max-width:440px}

#svc-cta{background:var(--ink);padding:6rem 5rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:2rem}
.svc-cta-line{font-family:'Cormorant Garamond',serif;font-size:clamp(1.3rem,2.4vw,1.8rem);font-weight:300;font-style:italic;color:rgba(250,243,224,.85);max-width:560px}
.svc-cat-list li::before{content:'';position:absolute;left:0;top:.52em;width:4px;height:1px;background:rgba(250,243,224,.45)}

/* ═══════════════════════════════
   CASE-STUDY SHOWCASE heading (Home) / PORTFOLIO heading
═══════════════════════════════ */
.workhd{padding:0 5rem 3rem;position:relative;z-index:1}
.workh{font-family:'Cormorant Garamond',serif;font-size:clamp(2.6rem,5.5vw,4.8rem);font-weight:300;color:var(--cream);line-height:1.2;padding-bottom:.06em}
.workh em{font-style:italic;color:var(--saff)}
.worksub{font-size:.85rem;color:var(--dust);margin-top:1.2rem}
.worksub em{color:rgba(232,131,42,.75);font-style:normal}
#work-showcase{background:var(--ink);padding:3.5rem 0 2rem}
#portfolio-grid{padding:9rem 0 2rem;position:relative;overflow:hidden}
#portfolio-grid .ccard-grid{position:relative;z-index:1}

/* Other Work placeholder */
.otherwork{padding:6rem 5rem;position:relative;z-index:1;border-top:1px solid rgba(255,255,255,.06)}
.otherwork-box{max-width:1100px;margin:0 auto;border:1px dashed rgba(245,237,216,.18);padding:4rem 3rem;text-align:center}
.otherwork-box h3{font-family:'Cormorant Garamond',serif;font-weight:300;font-size:1.8rem;color:var(--cream);margin-bottom:.8rem}
.otherwork-box p{font-size:.88rem;color:rgba(245,237,216,.5);max-width:480px;margin:0 auto}

/* ═══════════════════════════════
   OUTCOME / CHANGES (Portfolio)
═══════════════════════════════ */
#changes{background:var(--plum);padding:10rem 5rem;position:relative;overflow:hidden}
.ch-glow{position:absolute;inset:0;background:radial-gradient(ellipse at 30% 50%,rgba(255,255,255,.05),transparent 60%)}
.chwrap{max-width:1100px;margin:0 auto;position:relative;z-index:2}
.chh{font-family:'Cormorant Garamond',serif;font-size:clamp(2.8rem,5.5vw,5rem);font-weight:300;color:var(--cream);margin-bottom:5.9rem;line-height:1.2;padding-bottom:.06em}
.chh em{font-style:italic;color:rgba(250,243,224,.52)}
.ch-cols{display:grid;grid-template-columns:repeat(3,1fr)}
.ch-col{padding:3.5rem;border-right:1px solid rgba(255,255,255,.1);position:relative;overflow:hidden}
.ch-col:last-child{border-right:none}
.ch-col::before{content:'';position:absolute;bottom:0;left:0;right:0;height:0;transition:height .55s cubic-bezier(.16,1,.3,1)}
.ch-col:nth-child(1)::before{background:rgba(155,47,16,.14)}.ch-col:nth-child(2)::before{background:rgba(232,131,42,.14)}.ch-col:nth-child(3)::before{background:rgba(80,160,95,.14)}
.ch-col:hover::before{height:100%}
.ch-icon{display:block;font-size:1.8rem;margin-bottom:1.4rem;position:relative;z-index:1}
.ch-head{font-family:'Cormorant Garamond',serif;font-size:clamp(3rem,5vw,4.2rem);font-weight:300;color:var(--cream);line-height:1.2;padding-bottom:.08em;margin-bottom:1.7rem;position:relative;z-index:1;transition:transform .3s}
.ch-col:hover .ch-head{transform:translateY(-3px)}
.ch-pts{list-style:none;display:flex;flex-direction:column;gap:.75rem;position:relative;z-index:1}
.ch-pts li{font-size:.86rem;color:rgba(250,243,224,.68);line-height:1.65;display:flex;gap:.7rem}
.ch-pts li::before{content:'—';opacity:.32;flex-shrink:0}

/* ═══════════════════════════════
   TEAM (About) — sits between Philosophy and Founder. Photo placeholders
   (gradient circle + initials) until real headshots are supplied.
═══════════════════════════════ */
#team{background:var(--ink);padding:8rem 5rem}
.teamwrap{max-width:1100px;margin:0 auto}
.team-headline{font-family:'Cormorant Garamond',serif;font-size:clamp(2.4rem,4.5vw,3.6rem);font-weight:300;line-height:1.2;padding-bottom:.06em;color:var(--cream);margin-bottom:3.4rem}
.team-headline em{font-style:italic;color:var(--saff)}
.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2.5rem}
.team-card{display:flex;flex-direction:column;align-items:flex-start}
.team-photo{width:100%;aspect-ratio:1;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:1.3rem;font-family:'Cormorant Garamond',serif;font-size:2.2rem;color:rgba(255,255,255,.9)}
.team-name{font-family:'Cormorant Garamond',serif;font-size:1.25rem;color:var(--cream);margin-bottom:.2rem}
.team-role{font-size:.78rem;color:rgba(245,237,216,.6);line-height:1.4}

/* ═══════════════════════════════
   FOUNDER — with actual photo (About)
═══════════════════════════════ */
#founder{background:var(--cream2);color:var(--ink);padding:10rem 5rem}
.fowrap{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:8rem;align-items:start}
.fo-label{font-size:.68rem;letter-spacing:.26em;text-transform:uppercase;color:var(--rust);margin-bottom:2rem;display:flex;align-items:center;gap:.9rem}
.fo-label::before{content:'';width:1.3rem;height:1px;background:var(--rust);display:block}
.fo-head{font-family:'Cormorant Garamond',serif;font-size:clamp(2.4rem,4.5vw,3.8rem);font-weight:300;line-height:1.2;padding-bottom:.06em;color:var(--ink);margin-bottom:2.4rem}
.fo-head em{font-style:italic;color:var(--rust)}
.fo-body{display:flex;flex-direction:column;gap:1.4rem}
.fo-body p{font-family:'Cormorant Garamond',serif;font-size:1.12rem;font-weight:300;line-height:1.82;color:#4a3f32}
.fo-body p strong{color:var(--ink);font-weight:500}
.fo-name{margin-top:3rem;padding-top:2rem;border-top:1px solid rgba(13,11,8,.1)}
.fo-name strong{display:block;font-family:'Cormorant Garamond',serif;font-size:1.3rem;color:var(--ink);font-weight:400}
.fo-name span{font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;color:#73675b}
.fo-portrait{position:relative}
.fo-portrait-img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center top;display:block}
.fo-portrait-caption{margin-top:1.2rem}
.fo-portrait-caption p{font-family:'Cormorant Garamond',serif;font-size:.9rem;font-style:italic;color:#73675b}

/* Magazine-profile layout — a single readable column instead of the old
   text/portrait 2-up split, so it reads top-to-bottom like a print
   profile: portrait, headline, then sequential sections. */
.fowrap-mag{max-width:640px;margin:0 auto;position:relative;z-index:1}
.fo-portrait-mag{max-width:280px;margin:0 auto 3rem}
.fo-portrait-img-mag{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center top;display:block}
.fo-section{margin-top:3rem;padding-top:2.2rem;border-top:1px solid rgba(13,11,8,.1)}
.fo-sub-label{font-size:.66rem;letter-spacing:.24em;text-transform:uppercase;color:var(--rust);margin-bottom:1.2rem}
.fo-brands{display:flex;flex-wrap:wrap;gap:.4rem 0}
.fo-brands span{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:1.05rem;color:#4a3f32;padding:0 1rem;position:relative}
.fo-brands span:first-child{padding-left:0}
.fo-brands span:not(:last-child)::after{content:'';position:absolute;right:0;top:50%;transform:translateY(-50%);width:3px;height:3px;border-radius:50%;background:rgba(74,63,50,.35)}
.fo-talk{margin-top:3rem;padding-top:2.2rem;border-top:1px solid rgba(13,11,8,.1);text-align:center}
.fo-talk p{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:1.2rem;color:#4a3f32;margin-bottom:1.6rem;line-height:1.6}

/* ═══════════════════════════════
   PORTAL — the in-page "Behind the Frame" popup, opened by clicking a
   bloomed hero node (Home only; Portfolio's grid still links to the full
   case-study.html page). Shares the pe-/pt-/pa-/po-/pv- content classes
   below with the full-page version so the two stay visually identical.
═══════════════════════════════ */
#portal{position:fixed;inset:0;z-index:7000;display:flex;align-items:center;justify-content:center;background:rgba(13,11,8,0);pointer-events:none;transition:background .5s}
#portal.open{background:rgba(13,11,8,.97);pointer-events:all}
#pbox{position:relative;width:min(920px,94vw);background:#0e0c09;border:1px solid rgba(255,255,255,.07);transform:scale(.9) translateY(16px);opacity:0;transition:transform .55s cubic-bezier(.16,1,.3,1),opacity .55s;max-height:92vh;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(155,47,16,.3) transparent}
#portal.open #pbox{transform:none;opacity:1}
#pclose{position:absolute;top:-2.8rem;right:0;background:none;border:none;color:rgba(245,237,216,.45);font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;cursor:pointer;font-family:'Syne',sans-serif;transition:color .25s}
#pclose:hover{color:rgba(245,237,216,.8)}
#pbox #pvideo-area{max-width:none;margin:0}
#pbox #peditorial,#pbox #pthinking,#pbox #partefact,#pbox #poutcome{max-width:none;padding-left:3rem;padding-right:3rem}
#pbox #peditorial{padding-top:2rem}
#pbox #poutcome{padding-bottom:2.5rem}

/* ═══════════════════════════════
   INDIVIDUAL CASE STUDY PAGES (case-<slug>.html) — a real, dedicated
   page per project instead of one query-string template, laid out as an
   editorial: Hero Film → Challenge → Approach → The Film → Behind the
   Frame → Creative Process → Outcome. Sections are opt-in per project
   (a page simply omits the .cs-section markup it doesn't need) so no
   two case studies have to feel identical.
═══════════════════════════════ */
.cs-hero-media{width:100%;aspect-ratio:21/9;background:#070503;overflow:hidden;position:relative}
.cs-hero-media video,.cs-hero-media img{width:100%;height:100%;object-fit:cover;display:block}
.cs-hero-meta{max-width:920px;margin:0 auto;padding:2.5rem 5rem 1rem;display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap;position:relative}
.cs-hero-logo{max-height:40px;max-width:130px;object-fit:contain}
.cs-hero-client{font-family:'Cormorant Garamond',serif;font-size:clamp(2.2rem,4.5vw,3.4rem);font-weight:300;color:var(--cream);line-height:1.25;padding-bottom:.15em}
.cs-hero-project{width:100%;font-family:'Cormorant Garamond',serif;font-size:1.1rem;font-style:italic;color:rgba(245,237,216,.55)}

.cs-section{max-width:820px;margin:0 auto;padding:4.5rem 5rem;border-top:1px solid rgba(255,255,255,.06)}
.cs-label{font-size:.68rem;letter-spacing:.24em;text-transform:uppercase;color:var(--saff);margin-bottom:1.4rem;display:flex;align-items:center;gap:.9rem}
.cs-label::before{content:'';width:1.4rem;height:1px;background:currentColor;display:block;opacity:.6}
.cs-head{font-family:'Cormorant Garamond',serif;font-size:clamp(1.7rem,3vw,2.3rem);font-weight:300;color:var(--cream);line-height:1.35;padding-bottom:.12em;margin-bottom:1.3rem}
.cs-body{font-size:1rem;line-height:1.85;color:rgba(245,237,216,.75);max-width:640px}

.cs-film{max-width:920px;margin:0 auto;padding:0 5rem}

.cs-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.2rem;margin-top:2rem}
.cs-placeholder{aspect-ratio:4/3;border:1px dashed rgba(255,255,255,.16);border-radius:2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.7rem;background:rgba(255,255,255,.015);text-align:center;padding:1.5rem;transition:border-color .35s,background .35s}
.cs-placeholder:hover{border-color:rgba(255,255,255,.3);background:rgba(255,255,255,.03)}
.cs-placeholder-icon{width:24px;height:24px;opacity:.4;stroke:currentColor;color:rgba(245,237,216,.7)}
.cs-placeholder-label{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:rgba(245,237,216,.6)}
.cs-placeholder-note{font-size:.66rem;color:rgba(245,237,216,.32);font-style:italic}

.cs-quote{background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06);padding:1.8rem 2rem;font-family:'Cormorant Garamond',serif;font-size:1.12rem;font-style:italic;color:rgba(245,237,216,.6);line-height:1.85;position:relative;margin-top:2rem}
.cs-quote::before{content:'';position:absolute;left:0;top:0;bottom:0;width:2px;background:var(--rust);opacity:.5}

.cs-outcome{background:var(--ink2)}
.cs-outcome .cs-label{color:rgba(96,190,112,.9)}
.cs-outcome .cs-label::before{content:'↑';background:none;width:auto;opacity:1}
.cs-outcome-result{font-family:'Cormorant Garamond',serif;font-size:clamp(1.6rem,3vw,2.2rem);font-weight:300;color:var(--cream);line-height:1.45;padding-bottom:.1em;margin-bottom:2rem;max-width:640px}

.cs-nextwrap{max-width:820px;margin:0 auto;padding:0 5rem 5rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1.5rem}
.cs-next{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:rgba(245,237,216,.55);text-decoration:none;display:inline-flex;align-items:center;gap:.6rem;transition:color .3s}
.cs-next:hover{color:var(--cream)}
.cs-next .cs-next-name{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:1.05rem;letter-spacing:0;text-transform:none;color:var(--cream)}

/* ═══════════════════════════════
   OLD CASE-STUDY DETAIL PAGE TEMPLATE — the same pe-/pt-/pa-/po- content
   classes, plus pv-* for the video display, laid out as a full page
   instead of a popup (reached from Portfolio's grid).
═══════════════════════════════ */
#caseHero{padding:11rem 5rem 3rem;position:relative;overflow:hidden}
#pvideo-area{max-width:920px;margin:0 auto 3rem}
.pv-single{width:100%;aspect-ratio:16/9;background:#070503;overflow:hidden}
.pv-single.vertical{aspect-ratio:9/16;max-width:340px;margin:0 auto}
.pv-single video{width:100%;height:100%;display:block;object-fit:cover;background:#070503}
.pv-single.vertical video{object-fit:contain}
.pv-row{display:flex;gap:2px;background:#070503}
.pv-cell{flex:1 1 0;min-width:0;position:relative;overflow:hidden}
.pv-cell::before{content:'';display:block;padding-top:177.78%}
.pv-cell video{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:contain;background:#070503}
.pv-cell .pv-label{position:absolute;left:0;right:0;bottom:0;padding:.6rem .6rem .5rem;font-family:'Syne',sans-serif;font-size:.56rem;letter-spacing:.08em;text-transform:uppercase;color:rgba(245,237,216,.75);background:linear-gradient(to top,rgba(0,0,0,.75),transparent);pointer-events:none}
#peditorial{max-width:920px;margin:0 auto;padding:2rem 0;border-bottom:1px solid rgba(255,255,255,.05);position:relative;z-index:1}
.pe-heading{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap}
.pe-logo{max-height:40px;max-width:130px;object-fit:contain}
.pe-client{font-family:'Cormorant Garamond',serif;font-size:3rem;font-weight:300;color:var(--cream);line-height:1.25;padding-bottom:.08em}
.pe-project{font-family:'Cormorant Garamond',serif;font-size:1.1rem;font-style:italic;color:rgba(245,237,216,.55);margin-top:.3rem;margin-bottom:1.5rem}
.pe-story{font-family:'Cormorant Garamond',serif;font-size:1.22rem;font-weight:300;color:rgba(245,237,216,.68);line-height:1.8;max-width:580px}
#pthinking{max-width:920px;margin:0 auto;padding:2.5rem 0;display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;border-bottom:1px solid rgba(255,255,255,.05)}
.pt-label{font-size:.64rem;letter-spacing:.2em;text-transform:uppercase;margin-bottom:.65rem;display:flex;align-items:center;gap:.45rem}
.pt-dev{font-size:.95rem;font-family:serif}
.pt-label.ka{color:rgba(155,47,16,.8)}.pt-label.kh{color:rgba(201,148,14,.8)}.pt-label.ga{color:rgba(80,160,95,.8)}
.pt-body{font-size:.92rem;line-height:1.7;color:rgba(245,237,216,.65)}
#partefact{max-width:920px;margin:0 auto;padding:2.5rem 0;border-bottom:1px solid rgba(255,255,255,.05)}
.pa-label{font-size:.68rem;letter-spacing:.24em;text-transform:uppercase;color:rgba(245,237,216,.5);margin-bottom:1.2rem}
.pa-content{background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06);padding:1.8rem 2rem;font-family:'Cormorant Garamond',serif;font-size:1.12rem;font-style:italic;color:rgba(245,237,216,.6);line-height:1.8;position:relative}
.pa-content::before{content:'';position:absolute;left:0;top:0;bottom:0;width:2px;background:var(--rust);opacity:.45}
#poutcome{max-width:920px;margin:0 auto;padding:2rem 0 5rem}
.po-label{font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;color:rgba(96,190,112,.9);margin-bottom:.65rem;display:flex;align-items:center;gap:.5rem}
.po-label::before{content:'↑'}
.po-result{font-family:'Cormorant Garamond',serif;font-size:1.55rem;font-weight:300;color:rgba(245,237,216,.78);line-height:1.4}
.po-back{display:inline-flex;margin-top:2.5rem}
#caseNotFound{padding:14rem 5rem 8rem;text-align:center}
#caseNotFound h1{font-family:'Cormorant Garamond',serif;font-weight:300;font-size:2.4rem;color:var(--cream);margin-bottom:1.5rem}

/* ═══════════════════════════════
   CTA — brighter glow origin (Home)
═══════════════════════════════ */
#cta{min-height:100vh;background:var(--ink2);display:flex;align-items:center;padding:10rem 5rem;position:relative;overflow:hidden;--cta-glow-x:calc(320px + 50vw)}
/* Compact version used on Home — the full rings/form/person experience
   now lives on its own page (kaaran.html); here it's just the question
   and two buttons, so it doesn't need a full viewport of height. */
#cta.cta-compact{min-height:auto;padding:7rem 5rem;justify-content:center;text-align:center}
.cta-compact .ctawrap{max-width:720px;margin:0 auto}
.cta-compact .ctabtns{justify-content:center;margin-bottom:0}
.cta-origin{position:absolute;left:var(--cta-glow-x);top:50%;transform:translate(-50%,-50%);width:clamp(280px,34vw,460px);height:clamp(280px,34vw,460px);pointer-events:none;z-index:1}
.cta-origin-dot{
  width:12px;height:12px;border-radius:50%;background:var(--rust);
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  box-shadow:0 0 22px 5px rgba(155,47,16,.7),0 0 70px 18px rgba(155,47,16,.35),0 0 150px 40px rgba(232,131,42,.16);
  animation:dotP 3s ease-in-out infinite;
}
@keyframes dotP{
  0%,100%{box-shadow:0 0 22px 5px rgba(155,47,16,.7),0 0 70px 18px rgba(155,47,16,.35),0 0 150px 40px rgba(232,131,42,.16)}
  50%{box-shadow:0 0 34px 8px rgba(155,47,16,.95),0 0 95px 25px rgba(155,47,16,.5),0 0 200px 55px rgba(232,131,42,.22)}
}
.cta-rings{position:absolute;left:var(--cta-glow-x);top:50%;transform:translate(-50%,-50%);width:clamp(280px,34vw,460px);height:clamp(280px,34vw,460px);pointer-events:none}
.cta-ring{position:absolute;border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%);border:1px solid;animation:rngp 6.5s ease-in-out infinite}
.cta-ring:nth-child(1){width:8%;height:8%;border-color:rgba(155,47,16,.45)}
.cta-ring:nth-child(2){width:22%;height:22%;border-color:rgba(155,47,16,.22);animation-delay:.7s}
.cta-ring:nth-child(3){width:40%;height:40%;border-color:rgba(232,131,42,.12);animation-delay:1.4s}
.cta-ring:nth-child(4){width:60%;height:60%;border-color:rgba(201,148,14,.07);animation-delay:2.1s}
.cta-ring:nth-child(5){width:80%;height:80%;border-color:rgba(255,255,255,.04);animation-delay:2.8s}
.cta-ring:nth-child(6){width:100%;height:100%;border-color:rgba(255,255,255,.02);animation-delay:3.5s}
@keyframes rngp{0%,100%{opacity:.3;transform:translate(-50%,-50%) scale(1)}50%{opacity:.7;transform:translate(-50%,-50%) scale(1.025)}}
.ctawrap{max-width:640px;position:relative;z-index:2}
.cta-bridge{font-family:'Cormorant Garamond',serif;font-size:clamp(1.2rem,2.1vw,1.6rem);font-weight:300;color:rgba(245,237,216,.72);line-height:1.75;margin-bottom:3.5rem;font-style:italic}
.ctaq{font-family:'Cormorant Garamond',serif;font-size:clamp(3.2rem,7.5vw,6.5rem);font-weight:300;color:var(--cream);line-height:1.15;padding-bottom:.06em;margin-bottom:1.4rem}
.ctaq em{font-style:italic;color:var(--gold)}
.cta-sub{font-family:'Cormorant Garamond',serif;font-size:clamp(1.1rem,1.9vw,1.5rem);font-weight:300;color:rgba(245,237,216,.78);line-height:1.7;margin-bottom:4rem}
.ctabtns{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:5rem}
.btn{display:inline-flex;align-items:center;gap:.7rem;padding:1.1rem 2rem;font-family:'Syne',sans-serif;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;text-decoration:none;border:none;transition:all .35s;cursor:pointer}
.btnwa{background:var(--rust);color:#fff}.btnwa:hover{background:var(--saff)}
.btnem{background:transparent;color:var(--cream);border:1px solid rgba(255,255,255,.15)}.btnem:hover{border-color:rgba(245,237,216,.45)}
.ctaform{border-top:1px solid rgba(255,255,255,.06);padding-top:4rem}
.fgrid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem 2rem}
.ffield{display:flex;flex-direction:column;gap:.5rem}
.ffield.full{grid-column:1/-1}
.flabel{font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:rgba(245,237,216,.7)}
.fin,.fta{background:transparent;border:none;border-bottom:1px solid rgba(255,255,255,.14);color:var(--cream);padding:.9rem 0;font-family:'Syne',sans-serif;font-size:1rem;outline:none;resize:none;transition:border-color .3s;width:100%}
.fin:focus,.fta:focus{border-bottom-color:rgba(232,131,42,.55)}
.fin::placeholder,.fta::placeholder{color:rgba(255,255,255,.18)}
.fin.err,.fta.err{border-bottom-color:rgba(200,80,50,.7)!important}
.ferr{font-size:.64rem;letter-spacing:.06em;color:#e0785a;margin-top:.3rem;display:none}
.ferr.show{display:block}
.fsub{margin-top:2.5rem;background:none;border:1px solid rgba(255,255,255,.18);color:var(--cream);padding:1.1rem 2.5rem;font-family:'Syne',sans-serif;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;cursor:pointer;transition:all .4s;display:inline-flex;align-items:center;gap:.8rem}
.fsub:hover{background:var(--rust);border-color:var(--rust)}
.fsub.sent{border-color:rgba(80,160,95,.6);color:rgba(80,160,95,.9);cursor:default}
.cta-person{margin-top:4rem;padding-top:3.5rem;border-top:1px solid rgba(255,255,255,.05);display:flex;align-items:center;gap:1.8rem}
.p-av{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,var(--rust),var(--saff));display:flex;align-items:center;justify-content:center;font-family:serif;font-size:1.1rem;color:#fff;flex-shrink:0}
.p-name{font-family:'Cormorant Garamond',serif;font-size:1.1rem;color:var(--cream);margin-bottom:.3rem}
.p-links{display:flex;flex-direction:column;gap:.3rem}
.p-links a{font-size:.78rem;color:rgba(245,237,216,.7);text-decoration:none;transition:color .3s}
.p-links a:hover{color:rgba(232,131,42,.75)}

footer{background:#070504;padding:2.5rem 5rem;display:flex;justify-content:space-between;align-items:center;border-top:1px solid rgba(255,255,255,.03);position:relative;z-index:1}
.ft-logo{height:24px;width:auto;opacity:.65}
.ft-copy{font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:rgba(245,237,216,.55)}
.ft-links{display:flex;gap:2rem}
.ft-links a{font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:rgba(245,237,216,.6);text-decoration:none;transition:color .3s}
.ft-links a:hover{color:rgba(232,131,42,.65)}

@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes fadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

@media(max-width:1000px){
  nav,nav.stuck{padding:1.2rem 1.5rem}
  .ncta{display:none}
  .nav-toggle{display:flex}
  .nav-links{
    display:none;position:absolute;top:100%;left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;
    background:rgba(13,11,8,.98);backdrop-filter:blur(20px);
    border-top:1px solid rgba(255,255,255,.06);
    padding:.5rem 1.5rem 1.5rem;
  }
  .nav-links.open{display:flex}
  .nav-links a{width:100%;padding:1.1rem 0;border-bottom:1px solid rgba(255,255,255,.06);font-size:.8rem;letter-spacing:.08em}
  .nav-links-cta{display:block;color:var(--saff)}
  #phil,#svc,#founder,#team,#trust,#bts-banner,#cta,#changes,#caseHero,#peditorial,#pthinking,#partefact,#poutcome{padding-left:1.5rem;padding-right:1.5rem}
  .bts-collage{grid-template-columns:repeat(3,1fr);grid-auto-rows:90px}
  .trust-names span{padding:.25rem 1rem;font-size:1rem}
  .workhd{padding-left:1.5rem;padding-right:1.5rem}
  .otherwork{padding-left:1.5rem;padding-right:1.5rem}
  .tk-steps,.svc-cats,.svc-list,.ch-cols{grid-template-columns:1fr}
  .ccard-grid{grid-template-columns:repeat(2,1fr)}
  .team-grid{grid-template-columns:repeat(2,1fr);gap:2rem}
  .svcd-row{grid-template-columns:1fr;gap:1.6rem}
  .svcd-row:nth-child(even) .svcd-img{order:0}
  #svc-detail{padding-left:1.5rem;padding-right:1.5rem}
  #svc-cta{padding-left:1.5rem;padding-right:1.5rem}
  .tk-step{border-right:none;padding-left:0!important;padding-right:0!important;border-bottom:1px solid rgba(255,255,255,.14)}
  .svc-cats{gap:3rem}
  .ch-col{border-right:none;border-bottom:1px solid rgba(255,255,255,.08);padding:2.5rem 0}
  .ch-col:last-child{border-bottom:none}
  .fowrap{grid-template-columns:1fr;gap:4rem}
  .fo-portrait-img{max-width:340px}
  .fgrid{grid-template-columns:1fr}
  .cta-rings,.cta-origin{display:none}
  footer{flex-direction:column;gap:1.5rem;text-align:center}
  #pthinking{grid-template-columns:1fr}
  .hpills{flex-wrap:wrap;justify-content:center}
}

@media(max-height:760px){
  #morph-logo,#hero-logo{width:min(260px,42vw)}
  .htag{font-size:clamp(1.1rem,2.2vw,1.5rem)}
  .hero-sub,.loader-sub{top:calc(var(--heroAnchor) + (min(260px,42vw) * .265) + 1.1rem)}
  .hpills{margin-top:1.4rem}
  .hscroll{top:calc(84% + 58px)}
  .hscroll-line{height:20px}
}

@media(max-width:600px){
  /* Centered again (was pushed to 24% last round to make picture-screen
     room) — the hero-at-rest screen should look centralised like it did
     before. The picture-screen circles still get their clear room from
     the larger scroll-driven shift below (SHIFT_MOBILE), not from
     moving the resting anchor itself. */
  :root{--heroAnchor:40%}
  /* Logo (and its dependent tagline offset) shrunk from 300px/58vw —
     both the hero-nodes-not-behind-the-logo fix and this explicit
     request needed more clear vertical room on phones. */
  #morph-logo,#hero-logo{width:min(230px,44vw)}
  .hero-sub{top:calc(var(--heroAnchor) + (min(230px,44vw) * .265) + 1.2rem)}
  .loader-sub{top:calc(var(--heroAnchor) + (min(230px,44vw) * .265) + 1rem)}
  .htag{font-size:1.4rem}
  .hscroll-lbl{font-size:.6rem}
  .ccard-grid{grid-template-columns:1fr}
}

@media(max-width:480px){
  nav,nav.stuck{padding:.9rem 1rem}
  .nlogo{gap:.6rem}
  .nlogo-img{height:28px}
  .nlogo-text{font-size:.85rem}
  .nlogo-sub{display:none}
  .ncta{font-size:.58rem;letter-spacing:.06em;padding:.55rem .8rem;white-space:nowrap}
  .hpills{gap:0}
  .hpill{padding:0 .5rem}
  .hpill-d{font-size:1rem}
  .hpill-e{font-size:.58rem;letter-spacing:.14em}
  .hdiv{height:22px}
  .pe-heading{gap:.9rem}
  .cs-hero-meta,.cs-section,.cs-film,.cs-nextwrap{padding-left:1.5rem;padding-right:1.5rem}
  .cs-hero-media{aspect-ratio:4/5}
  .cs-section{padding-top:3rem;padding-bottom:3rem}
  .cs-gallery{grid-template-columns:repeat(2,1fr);gap:.8rem}
  .cs-nextwrap{flex-direction:column;align-items:flex-start}
}
