/* ============================================================
   undressed.socials — FX + new page systems
   cursor · magnetic · parallax · wipe-reveal · hover-undress ·
   service detail · process · lang toggle
   ============================================================ */
:root { --gap-6: clamp(72px, 9vw, 132px); }

/* ---------------- SCROLL TRACKING ---------------- */
/* top progress rail — hairline in the active text colour, scrubbed by scroll */
.scroll-rail {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90;
  background: var(--text); transform: scaleX(0); transform-origin: left center;
  will-change: transform; pointer-events: none;
}
/* continuous scroll-scrubbed reveal: --sp goes 0→1 as the element crosses the
   viewport. base state (sp unset) is the resting/visible end-state so print &
   reduced-motion never get stuck hidden. */
[data-scroll] { --sp: 1; }
.s-rise { opacity: clamp(0, calc(var(--sp) * 3 - 0.3), 1); transform: translateY(calc((1 - clamp(0, calc(var(--sp) * 2.2), 1)) * 40px)); will-change: transform, opacity; }
.s-drift-l { transform: translateX(calc((1 - var(--sp)) * -7vw)); will-change: transform; }
.s-drift-r { transform: translateX(calc((1 - var(--sp)) * 7vw)); will-change: transform; }
.anim-off .scroll-rail { display: none; }
.anim-off [data-scroll] { opacity: 1 !important; }
.anim-off .s-rise, .anim-off .s-drift-l, .anim-off .s-drift-r { transform: none !important; }
[data-scroll-skew] { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .scroll-rail { display: none; }
  .s-rise, .s-drift-l, .s-drift-r { opacity: 1 !important; transform: none !important; }
  [data-scroll-skew] { transform: none !important; }
}

/* global scroll fade-in — uniform content reveal across the whole site */
.r-up { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.r-up.r-seen { opacity: 1; transform: none; }
.anim-off .r-up { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .r-up { opacity: 1 !important; transform: none !important; } }

/* ---------------- HEADER ---------------- */

/* ---------------- MINI INTRO (return-to-home splash) ---------------- */
.mini-intro {
  position: fixed; inset: 0; z-index: 80;
  background: var(--surface); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .5s ease;
}
.mini-intro.in { opacity: 1; }
.mini-intro.out { opacity: 0; pointer-events: none; }
.mini-lockup { display: flex; align-items: center; gap: 0; transform: scale(.94); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.mini-intro.in .mini-lockup { transform: scale(1); }
.mini-cherry { height: clamp(46px, 8vh, 88px); width: auto; display: block; }
.mini-word { height: auto; width: clamp(230px, 42vw, 600px); display: block; margin-left: clamp(5px, .7vw, 12px); }
@media (prefers-reduced-motion: reduce) { .mini-intro { display: none; } }

/* ---------------- INTRO LOADER (home only) ---------------- */
.intro-stage { position: relative; height: 150vh; }
.intro-sticky { position: sticky; top: 0; height: 100vh; background: var(--surface); color: var(--text); overflow: clip; }

/* cherry + wordmark as separate layers so they can be choreographed apart.
   flex row, gap 0, so the group reads centred at rest; the cherry is tightly
   cropped (no padding) so the wordmark tucks straight against the “u”. */
.intro-lockup { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; gap: 0; transform: translate(-50%, -50%); transform-origin: center center; will-change: transform; }
.intro-cherry { height: clamp(62px, 10.5vh, 128px); width: auto; display: block; will-change: height, opacity; }
.intro-word { height: auto; width: clamp(300px, 58vw, 880px); display: block; margin-left: clamp(6px, 0.8vw, 14px); will-change: opacity; }

.intro-subline { position: absolute; left: 0; right: 0; bottom: 84px; margin: 0; text-align: center; padding: 0 max(28px,7vw); font-family: var(--font-body); font-weight: 500; font-size: clamp(15px, 1.7vw, 20px); letter-spacing: .01em; opacity: 0; transition: opacity .6s ease; will-change: opacity; }
.intro-subline em { font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 1.16em; }

.intro-load { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 max(28px, 7vw) 30px; display: flex; flex-direction: column; gap: 14px; transition: opacity .5s ease; }
.intro-load.done { opacity: 0; pointer-events: none; }
.intro-toprow { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.intro-mark-sm { height: 18px; width: auto; display: block; opacity: .92; }
.intro-track { height: 2px; background: color-mix(in srgb, currentColor 26%, transparent); position: relative; overflow: hidden; }
.intro-fill { position: absolute; inset: 0; background: currentColor; transform-origin: left center; transform: scaleX(0); }

/* chrome fades in once the loader finishes */
.nav { transition: opacity .5s ease, transform .5s ease, background .3s ease, box-shadow .3s ease; }
body.intro-on .nav { opacity: 0; transform: translateY(-8px); pointer-events: none; }

.anim-off .intro-stage { height: auto; }
.anim-off .intro-sticky { position: static; height: auto; min-height: 70vh; }
.anim-off .intro-lockup { position: static; transform: none !important; display: flex; align-items: center; gap: 0; padding: var(--gap-6) max(28px,7vw); }
.anim-off .intro-cherry { height: clamp(56px, 9vh, 110px); }
.anim-off .intro-word { width: clamp(280px, 56vw, 760px); }
.anim-off .intro-subline { position: static; opacity: 1; margin-top: var(--gap-3); }
@media (prefers-reduced-motion: reduce) {
  .intro-stage { height: auto; }
  .intro-sticky { position: static; height: auto; min-height: 70vh; }
  .intro-lockup { position: static; transform: none !important; display: flex; align-items: center; gap: 0; padding: var(--gap-6) max(28px,7vw); }
  .intro-word { position: static; transform: none; margin-left: clamp(10px,1.4vw,20px); width: clamp(200px, 28vw, 380px); }
  .intro-subline { position: static; opacity: 1; margin-top: var(--gap-3); }
}

/* ---------------- IMAGE GALLERY + HOVER ZOOM ---------------- */
.plate img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.plate:hover img { transform: scale(1.045); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: var(--gap-6); }
.gallery .plate:nth-child(even) { transform: translateY(36px); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery .plate:nth-child(even) { transform: none; } }

/* scroll-driven word-by-word opacity reveal (olivier-larose gradient scroll v2) */
.sft-w { display: inline-block; opacity: .16; transition: opacity .1s linear; will-change: opacity; }
.anim-off .sft-w { opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) { .sft-w { opacity: 1 !important; } }

/* ---------------- TEXT DISPERSE (lets-talk headline) ---------------- */
.disperse { display: inline; }
.disperse .dt-ch { display: inline-block; will-change: transform; }
.disperse-head { display: block; }
@media (prefers-reduced-motion: reduce) { .disperse .dt-ch { transform: none !important; } }

/* ---------------- TEXT MASK REVEAL (UspBig statement) ---------------- */
.mask-st .mw { display: inline-block; overflow: hidden; vertical-align: -0.17em; line-height: 1.1; }
.mask-st .mw-in { display: inline-block; transform: translateY(110%); transition: transform .72s cubic-bezier(.22,.72,.18,1); }
.mask-st.in .mw-in { transform: translateY(0); }
.mask-st .mask-body { display: inline; opacity: 0; filter: blur(2px); transition: opacity .7s ease, filter .7s ease; }
.mask-st.in .mask-body { opacity: 1; filter: none; }
.anim-off .mask-st .mw-in { transform: none !important; }
.anim-off .mask-st .mask-body { opacity: 1 !important; filter: none !important; }
@media (prefers-reduced-motion: reduce) {
  .mask-st .mw-in { transform: none !important; }
  .mask-st .mask-body { opacity: 1 !important; filter: none !important; }
}

/* ---------------- CHANNEL DETAIL (process page) — soft panels, invert on hover ---------------- */
.ch-cards { margin-top: var(--gap-5); display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 26px); }
.ch-card {
  background: color-mix(in srgb, var(--text) 7%, transparent); padding: clamp(30px, 3.2vw, 50px);
  display: flex; flex-direction: column; gap: var(--gap-3); scroll-margin-top: 96px;
  min-height: clamp(300px, 34vh, 400px);
  transition: background .4s ease, color .4s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.ch-card:hover { background: var(--text); color: var(--surface); transform: translateY(-4px); }
.ch-card-top { display: flex; align-items: baseline; gap: var(--gap-3); }
.ch-card-num { font-family: var(--font-body); font-weight: 500; font-variant-numeric: tabular-nums; font-size: clamp(12px,1vw,14px); letter-spacing: .14em; opacity: .5; }
.ch-card-name { font-family: var(--font-body); font-weight: 700; text-transform: lowercase; letter-spacing: -.01em; line-height: 1.04; font-size: clamp(22px, 2.2vw, 32px); margin: 0; }
.ch-card-desc { margin: 0; font-size: clamp(15px,1.4vw,18px); line-height: 1.55; opacity: .92; max-width: 44ch; }
.ch-card-meta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-4); margin-top: auto; padding-top: var(--gap-5); }
.ch-card-meta .sd-label { margin-bottom: 6px; }
.ch-card-meta p { margin: 0; font-size: clamp(13px,1.3vw,15px); line-height: 1.5; opacity: .9; }
.ch-card.flash { animation: chFlash 1.1s ease; }
@keyframes chFlash { 0%,100% { background: color-mix(in srgb, var(--text) 7%, transparent); } 30% { background: var(--text); } }
@media (max-width: 760px) { .ch-cards { grid-template-columns: 1fr; } }

/* ---------------- CHANNELS (magnetic app-icon tiles) ---------------- */
.ch-apps { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 56px); margin-top: var(--gap-4); }
.ch-app { display: flex; flex-direction: column; align-items: center; gap: var(--gap-3); cursor: pointer; will-change: transform; }
.ch-app-tile {
  width: clamp(76px, 9vw, 116px); height: clamp(76px, 9vw, 116px);
  border-radius: 24px; border: 2px solid var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, color .25s ease;
}
.ch-app-glyph { width: 52%; height: 52%; display: block; will-change: transform; }
.ch-app-glyph svg { width: 100%; height: 100%; display: block; }
.ch-app-name {
  font-family: var(--font-body); font-weight: 600; text-transform: lowercase;
  letter-spacing: -.005em; font-size: clamp(14px, 1.3vw, 18px);
}
.ch-app:hover .ch-app-tile { background: var(--text); color: var(--surface); }
@media (hover: none) { .ch-apps { gap: 28px; } }

/* ---------------- CHANNELS (curved text-along-path) ---------------- */
.chpath { width: 100vw; margin-left: calc(50% - 50vw); overflow: clip; }
.chpath-svg { width: 100%; height: auto; display: block; overflow: visible; }
.chpath-text {
  font-family: var(--font-accent); font-style: italic; font-weight: 400;
  text-transform: lowercase; letter-spacing: 0; fill: var(--text); font-size: 52px;
}
@media (max-width: 760px) { .chpath-text { font-size: 72px; } }

/* ---------------- CHANNELS (stacked rows, like the other sections) ---------------- */
.channels { margin-top: var(--gap-5); display: flex; flex-direction: column; gap: clamp(28px, 4vw, 52px); }
.channel { display: grid; grid-template-columns: clamp(34px,4vw,56px) minmax(120px, 0.24fr) 1fr; gap: clamp(16px, 3vw, 56px); align-items: baseline; }
.ch-idx { font-family: var(--font-body); font-weight: 500; font-variant-numeric: tabular-nums; font-size: clamp(12px,1vw,14px); letter-spacing: .14em; opacity: .5; }
.channel .cn { font-family: var(--font-body); font-weight: 700; text-transform: lowercase; letter-spacing: -.005em; font-size: clamp(22px,2.4vw,32px); }
.channel p { margin: 0; font-size: clamp(15px,1.5vw,19px); line-height: 1.55; opacity: .9; max-width: 54ch; }
@media (max-width: 640px) { .channel { grid-template-columns: 28px 1fr; gap: 6px 16px; } .channel p { grid-column: 2; } }

/* ---------------- REFERENCES (text wordmarks) ---------------- */
.refs { display: flex; flex-wrap: wrap; gap: 28px 52px; align-items: center; margin-top: var(--gap-4); }
.ref { font-family: var(--font-display); font-weight: 900; text-transform: lowercase; letter-spacing: -.01em; font-size: clamp(20px,2.4vw,32px); opacity: .55; transition: opacity .2s ease; }
.ref:hover { opacity: 1; }

/* ---------------- EDGY GLUTEN STATEMENTS + FULL-BLEED IMAGERY ---------------- */
/* generous space ABOVE (separates from prior block), tight BELOW so the
   headline sits close to the paragraph / elements it introduces */
.h-sec.freeline { margin: var(--gap-4) 0 var(--gap-3); max-width: 20ch; }

/* ---------------- BIG STATEMENT (home, piranha-style intro paragraph) ---------------- */
.bigstate { padding-top: clamp(120px, 16vh, 220px); }
.bigstatement {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(24px, 3vw, 36px); line-height: 1.32; letter-spacing: -.01em;
  margin: 0; max-width: 40ch; text-wrap: pretty;
  transition: color .28s ease; cursor: default;
}
/* per-letter hover — only the glyphs under the cursor tint, to the page accent */
/* per-page accent: a different brand colour that pops on each surface */
.site.pair-1 { --accent: var(--sky); }    /* lets-talk · blood → sky */
.site.pair-2 { --accent: var(--flame); }  /* the process · sky → flame */
.site.pair-3 { --accent: var(--blood); }  /* candy → blood */
.site.pair-4 { --accent: var(--sun); }    /* home · olive → sun */
.site.pair-5 { --accent: var(--candy); }  /* meet linda · teal → candy */
.splithover .w { display: inline; }
.splithover .ch { transition: color .14s ease; }
.splithover .ch:hover { color: var(--accent); }
.splithover .ch.lit { color: var(--accent); }
/* slightly smaller sub-page variant — sits as a lead under the page's Gluten H1 */
.bigstatement.flow { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; max-width: 46ch; }
/* hero statement — the full studio paragraph, revealed on the pin */
.bigstate .bigstatement { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.26; max-width: 34ch; letter-spacing: -.015em; }
.hero-pin .bigstatement .sft-w { opacity: .16; }
.anim-off .hero-pin .bigstatement .sft-w { opacity: 1 !important; }
/* tighten the gap between the hero and the "what we do" section */
.hero.bigstate { padding-bottom: clamp(40px, 5vw, 72px); }

/* signature hover threads through every page — per-letter on big type */
.pullquote.splithover .ch { transition: color .14s ease; }
.pullquote.splithover .ch:hover,
.pullquote.splithover .ch.lit { color: var(--accent); }
/* mask-reveal pullquote: bigger display type needs its own slot metrics */
.mask-head.pullquote .mw { line-height: 1.04; vertical-align: -0.1em; }
/* scroll-velocity reactive heading — skews + stretches with scroll speed */
[data-scroll-velo] { transform-origin: 0% 50%; will-change: transform; }
.anim-off [data-scroll-velo] { transform: none !important; }
@media (prefers-reduced-motion: reduce) { [data-scroll-velo] { transform: none !important; } }
.bigstatement .bs-open { font-family: var(--font-accent); font-style: italic; font-weight: 400; }
.bigstatement .accent { font-size: 1.05em; }
@media (max-width: 600px) { .bigstatement { font-size: clamp(24px, 6.5vw, 32px); } }
.statement-block { margin-top: var(--gap-6); margin-bottom: var(--gap-6); padding: clamp(40px,7vw,96px) 0; text-align: left; }
.statement-block .hl { max-width: 18ch; margin: 0; }
.bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.imgband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: var(--gap-5) 0; }
.imgband .plate { border: 0; }
.imgband-cap { text-align: center; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; opacity: .5; margin-top: 16px; }
@media (max-width: 760px) { .imgband { grid-template-columns: repeat(2, 1fr); } }

/* ---------------- SCROLL-ZOOM STAGE (image grows to full screen) ---------------- */
.zoom-stage { position: relative; height: 240vh; margin-top: var(--gap-6); margin-bottom: var(--gap-6); }
.zoom-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: clip; }
.zoom-frame { position: relative; width: min(58vw, 800px); height: min(64vh, 600px); overflow: clip; transform-origin: center center; will-change: transform; }
.zoom-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zoom-dark { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.zoom-intro { position: absolute; left: 0; right: 0; bottom: 8vh; z-index: 3; text-align: left; padding: 0 max(28px, 7vw); opacity: 0; color: var(--text); pointer-events: none; --mark-stroke: var(--text); }
.zoom-intro .hl { margin: 12px 0 0; }
.zoom-cap { position: absolute; left: 0; right: 0; top: 10%; text-align: center; z-index: 2; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; opacity: .6; pointer-events: none; mix-blend-mode: difference; color: #fff; }
.anim-off .zoom-stage { height: auto; }
.anim-off .zoom-sticky { position: static; height: auto; }
.anim-off .zoom-frame { transform: none !important; }
.anim-off .zoom-dark { display: none; }
.anim-off .zoom-cap { display: none; }
.anim-off .zoom-intro { position: static; opacity: 1 !important; transform: none !important; text-align: left; padding: 0; bottom: auto; margin-top: var(--gap-5); }
@media (prefers-reduced-motion: reduce) {
  .zoom-stage { height: auto; }
  .zoom-sticky { position: static; height: auto; }
  .zoom-frame { transform: none !important; }
  .zoom-dark, .zoom-cap { display: none; }
  .zoom-intro { position: static; opacity: 1; transform: none; text-align: left; padding: 0; bottom: auto; margin-top: var(--gap-5); }
}

/* ---------------- KINETIC HEADLINE (home) ---------------- */
.kinetic .kline { display: block; }
.kinetic .w { display: inline-block; opacity: 0; transform: translateY(.5em); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.2,1); }
.kinetic.play .w { opacity: 1; transform: none; }
.anim-off .kinetic .w { opacity: 1 !important; transform: none !important; transition: none; }
@media (prefers-reduced-motion: reduce) { .kinetic .w { opacity: 1 !important; transform: none !important; transition: none; } }

/* ---------------- CHERRY CURSOR (desktop only) ---------------- */
.cherry-cursor {
  position: fixed; left: 0; top: 0; width: 30px; height: 30px;
  margin: -15px 0 0 -15px; z-index: 9000; pointer-events: none;
  color: var(--text); opacity: 0;
  transition: opacity .25s ease;
  will-change: transform;
}
.cherry-cursor.live { opacity: 1; }
.cherry-cursor.hidden { opacity: 0; }
body.cur-on,
body.cur-on a, body.cur-on button, body.cur-on input,
body.cur-on textarea, body.cur-on .svc-card, body.cur-on .svc-link,
body.cur-on .work-card, body.cur-on summary { cursor: none; }
body.cur-on [data-omelette-chrome], body.cur-on [data-omelette-chrome] * { cursor: auto !important; }
@media (hover: none), (max-width: 900px) {
  .cherry-cursor { display: none !important; }
  body.cur-on, body.cur-on * { cursor: auto; }
}

/* magnetic buttons set their own transform in JS — keep the easing here */
.btn { transition: background .16s ease, color .16s ease, transform .18s cubic-bezier(.3,.7,.4,1); }

/* ---------------- PARALLAX ---------------- */
.parallax { will-change: transform; }

/* ---------------- IMAGE PLATE + WIPE REVEAL ---------------- */
.plate {
  position: relative; overflow: hidden;
  background: color-mix(in srgb, var(--text) 9%, var(--surface));
  border: 2px solid currentColor;
}
.plate img { width: 100%; height: 100%; object-fit: cover; display: block; }
.plate .plate-tag {
  position: absolute; left: 16px; bottom: 14px; z-index: 3;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; opacity: .85;
}
.plate .plate-mid {
  position: absolute; inset: 0; z-index: 1; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 10px; opacity: .42;
}
.plate .plate-mid .label-caps { font-size: 11px; letter-spacing: .3em; }

/* flat square bullets replace the cherry as list marker */
.svc-deliv li, .sd-deliv li, .proc-points li, .linda-bullets li { align-items: flex-start; }
.svc-deliv li::before, .sd-deliv li::before, .proc-points li::before, .linda-bullets li::before {
  content: ''; flex: none; width: 6px; height: 6px; border-radius: 1px;
  background: currentColor; margin-top: .52em;
}
.linda-bullets li::before { width: 7px; height: 7px; margin-top: .5em; }
/* wipe cover — a panel that retracts left→right on reveal */
.plate::after {
  content: ''; position: absolute; inset: 0; background: var(--surface);
  transform-origin: right center; z-index: 4;
  transition: transform .8s cubic-bezier(.76,0,.24,1);
}
.plate.in::after { transform: scaleX(0); }
.anim-off .plate::after { display: none; }
.plate.nowipe::after { display: none; }

/* plate uses inside existing layouts */
.plate-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: var(--gap-4); }
.work-card .plate.work-thumb { border: 0; }
.linda-photo-wrap { width: 100%; }
.linda-plate { width: 100%; }
@media (max-width: 900px) { .plate-row { grid-template-columns: repeat(2, 1fr); } .linda-photo-wrap { max-width: 420px; } }

/* ---------------- HOVER-TO-UNDRESS SERVICE CARDS ---------------- */
/* no outline box: the resting card IS a solid text-colour block (the cover);
   it peels up to reveal a soft-tinted panel beneath. order via colour, not lines. */
.svc-link { display: block; position: relative; min-height: 320px; overflow: hidden; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.svc-link:hover { transform: translateY(-4px); }
/* mask scroll-reveal: cards wipe up from behind a mask as they enter (staggered
   by Reveal's per-card delay). overrides the default translate/opacity reveal. */
.svc-grid .svc-link.reveal { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path .85s cubic-bezier(.76,0,.24,1); }
.svc-grid .svc-link.reveal.in { clip-path: inset(0 0 0 0); }
.anim-off .svc-grid .svc-link.reveal { clip-path: none !important; }
@media (prefers-reduced-motion: reduce) { .svc-grid .svc-link.reveal { clip-path: none !important; } }
.svc-under {
  position: absolute; inset: 0; padding: clamp(22px,2.6vw,34px);
  display: flex; flex-direction: column; z-index: 1;
  background: color-mix(in srgb, var(--text) 7%, transparent);
}
.svc-under .svc-desc { margin-top: 6px; transform: translateY(14px); opacity: 0; transition: transform .5s cubic-bezier(.2,.7,.2,1) .08s, opacity .5s ease .08s; }
.svc-under .svc-deliv { margin: 18px 0 0; transform: translateY(14px); opacity: 0; transition: transform .5s cubic-bezier(.2,.7,.2,1) .14s, opacity .5s ease .14s; }
.svc-link:hover .svc-under .svc-desc, .svc-link:focus-visible .svc-under .svc-desc,
.svc-link:hover .svc-under .svc-deliv, .svc-link:focus-visible .svc-under .svc-deliv { transform: none; opacity: 1; }
.svc-under .svc-more {
  margin-top: auto; display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
}
.svc-cover {
  position: absolute; inset: 0; z-index: 2; background: var(--text); color: var(--surface);
  padding: clamp(22px,2.6vw,34px); display: flex; flex-direction: column; justify-content: space-between;
  transition: clip-path .6s cubic-bezier(.76,0,.24,1), transform .6s cubic-bezier(.76,0,.24,1);
  clip-path: inset(0 0 0 0);
}
.svc-cover .svc-name { color: var(--surface); transition: transform .6s cubic-bezier(.76,0,.24,1); }
.svc-link:hover .svc-cover .svc-name, .svc-link:focus-visible .svc-cover .svc-name { transform: translateY(-12px); }
.svc-cover .svc-tag  { color: var(--surface); opacity: .8; }
.svc-cover .svc-peek { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .7; display: inline-flex; gap: .5em; align-items: center; }
.svc-link:hover .svc-cover, .svc-link:focus-visible .svc-cover { transform: translateY(-101%); clip-path: inset(0 0 100% 0); }
.svc-cover .cc { position: absolute; right: -14px; bottom: -14px; opacity: .16; color: var(--surface); }
@media (hover: none) {
  .svc-cover { position: static; transform: none !important; background: var(--text); }
  .svc-under { position: static; }
  .svc-link { min-height: 0; }
  .svc-cover .svc-peek { display: none; }
}
.anim-off .svc-cover { transition: none; }
.anim-off .svc-under .svc-desc, .anim-off .svc-under .svc-deliv { transform: none; opacity: 1; transition: none; }

/* ---------------- EXTRA HELPING HANDS (meet linda) ---------------- */
.hands-row { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; margin-top: var(--gap-6); }
.hands-photo { width: 100%; max-width: 460px; }
.placeholder-copy {
  border-left: 2px dashed currentColor; padding: 10px 0 10px 18px;
  font-style: italic; opacity: .72;
}
@media (max-width: 860px) { .hands-row { grid-template-columns: 1fr; } .hands-photo { max-width: 360px; } }

/* ---------------- MEET LINDA · HORIZONTAL SCROLL ---------------- */
.lh-stage { position: relative; margin-top: var(--gap-4); }
.lh-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.lh-track { display: flex; align-items: stretch; gap: clamp(56px, 9vw, 160px); will-change: transform; transition: transform .7s cubic-bezier(.76,0,.24,1); }
.lh-panel { flex: 0 0 auto; width: 100%; display: grid; align-content: center; }
.lh-linda { grid-template-columns: .82fr 1fr; gap: clamp(40px,6vw,88px); align-items: center; }
.lh-portrait { width: 100%; max-width: 440px; }
.lh-portrait .cap { margin-top: 14px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .65; }
.lh-linda-copy .about-hi { font-family: var(--font-display); font-weight: 900; text-transform: lowercase; letter-spacing: -.025em; line-height: .9; font-size: clamp(34px,4.6vw,60px); margin: 0 0 var(--gap-4); }
.lh-linda-copy .lead { max-width: 46ch; }
.lh-quote { justify-items: start; }
.lh-quote .hl { max-width: 15ch; font-size: clamp(48px, 9vw, 132px); }
.lh-hands { grid-template-columns: 1fr .78fr; gap: clamp(40px,6vw,88px); align-items: center; }
.lh-hands-photo { width: 100%; max-width: 440px; }
.lh-hint { position: absolute; left: 0; bottom: clamp(20px,5vh,52px); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; opacity: .5; }
/* fallback — stack vertically when there is no horizontal scroll */
.lh-fallback .lh-sticky, .anim-off .lh-sticky { position: static; height: auto; overflow: visible; display: block; }
.lh-fallback .lh-track, .anim-off .lh-track { flex-direction: column; gap: var(--gap-6); transform: none !important; transition: none; }
.lh-fallback .lh-linda, .lh-fallback .lh-hands, .anim-off .lh-linda, .anim-off .lh-hands { grid-template-columns: 1fr; }
.lh-fallback .lh-hint, .anim-off .lh-hint { display: none; }
@media (max-width: 860px) {
  .lh-stage { height: auto !important; margin-top: var(--gap-5); }
  .lh-sticky { position: static; height: auto; overflow: visible; display: block; }
  .lh-track { flex-direction: column; gap: var(--gap-6); transform: none !important; }
  .lh-panel { flex: none; }
  .lh-linda, .lh-hands { grid-template-columns: 1fr; }
  .lh-portrait, .lh-hands-photo { max-width: 360px; }
  .lh-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lh-stage { height: auto !important; }
  .lh-sticky { position: static; height: auto; overflow: visible; display: block; }
  .lh-track { flex-direction: column; gap: var(--gap-6); transform: none !important; }
  .lh-linda, .lh-hands { grid-template-columns: 1fr; }
  .lh-hint { display: none; }
}

/* staggered deliverables inside an open package panel */
.pkg-panel .sd-deliv li { animation: pkgLi .5s cubic-bezier(.2,.7,.2,1) both; }
.pkg-panel .sd-deliv li:nth-child(1) { animation-delay: .06s; }
.pkg-panel .sd-deliv li:nth-child(2) { animation-delay: .12s; }
.pkg-panel .sd-deliv li:nth-child(3) { animation-delay: .18s; }
.pkg-panel .sd-deliv li:nth-child(4) { animation-delay: .24s; }
@keyframes pkgLi { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.anim-off .pkg-panel .sd-deliv li { animation: none; }

/* ---------------- SERVICE DETAIL PAGE ---------------- */
.sd-head { display: grid; grid-template-columns: 1fr; gap: var(--gap-3); }
.sd-tagrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--gap-4); }
.sd-tagrow .pill { border: 1.5px solid currentColor; border-radius: 999px; padding: 6px 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.sd-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px,5vw,72px); margin-top: var(--gap-5); align-items: start; }
.sd-block + .sd-block { margin-top: var(--gap-5); }
.sd-label { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; opacity: .7; margin-bottom: var(--gap-3); display: block; }
.sd-deliv { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.sd-deliv li { display: flex; gap: 10px; align-items: baseline; font-size: clamp(15px,1.4vw,18px); line-height: 1.35; }
.sd-deliv li .cherry-mark { width: .7em; height: .7em; transform: translateY(1px); flex: none; }
.sd-faq { border-top: 2px solid currentColor; }
.sd-faq details { border-bottom: 2px solid currentColor; padding: 18px 0; }
.sd-faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: clamp(17px,1.7vw,21px); display: flex; justify-content: space-between; gap: 16px; }
.sd-faq summary::-webkit-details-marker { display: none; }
.sd-faq summary::after { content: '+'; font-family: var(--font-display); font-weight: 900; }
.sd-faq details[open] summary::after { content: '–'; }
.sd-faq details p { margin: 14px 0 0; font-size: clamp(15px,1.4vw,18px); line-height: 1.55; opacity: .92; max-width: 60ch; }
.sd-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: var(--gap-5); padding-top: var(--gap-4); border-top: 2px solid currentColor; flex-wrap: wrap; }
.sd-nav a { font-weight: 600; display: inline-flex; gap: .5em; align-items: center; }
.sd-aside { border: 2px solid currentColor; padding: clamp(24px,3vw,40px); position: relative; overflow: hidden; }
.sd-aside .cc { position: absolute; right: -18px; top: -18px; opacity: .14; }
@media (max-width: 900px) { .sd-grid { grid-template-columns: 1fr; } .sd-deliv { grid-template-columns: 1fr; } }

/* ---------------- PACKAGE ACCORDION (on the process page) ---------------- */
.pkg-acc { border-top: 2px solid currentColor; margin-top: var(--gap-4); }
.pkg-item { border-bottom: 2px solid currentColor; scroll-margin-top: 96px; }
.pkg-row {
  width: 100%; display: flex; align-items: baseline; gap: clamp(14px,2.4vw,32px);
  padding: clamp(16px,2.2vw,28px) 0; cursor: pointer;
  background: none; border: 0; color: inherit; text-align: left;
}
.pkg-num {
  font-family: var(--font-body); font-weight: 500; font-variant-numeric: tabular-nums;
  font-size: clamp(12px,1vw,14px); letter-spacing: .14em; opacity: .5;
  width: clamp(28px,3vw,48px); flex: none; align-self: center;
}
.pkg-name {
  font-family: var(--font-display); font-weight: 900; text-transform: lowercase;
  letter-spacing: -.02em; line-height: 1; flex: 1;
  font-size: clamp(26px, 3.6vw, 50px);
  transition: opacity .2s ease;
}
.pkg-item:not(.open) .pkg-name { opacity: .62; }
.pkg-item:hover .pkg-name { opacity: 1; }
.pkg-row .pkg-tag { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .7; white-space: nowrap; align-self: center; }
.pkg-ind { position: relative; width: 16px; height: 16px; flex: none; align-self: center; }
.pkg-ind::before, .pkg-ind::after { content: ''; position: absolute; background: currentColor; transition: transform .3s ease, opacity .3s ease; }
.pkg-ind::before { top: 7px; left: 0; right: 0; height: 2px; }
.pkg-ind::after { left: 7px; top: 0; bottom: 0; width: 2px; }
.pkg-item.open .pkg-ind::after { transform: scaleY(0); opacity: 0; }
.pkg-panel { animation: pkgIn .4s cubic-bezier(.2,.7,.2,1); }
@keyframes pkgIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.anim-off .pkg-panel { animation: none; }
.pkg-panel-inner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px,5vw,64px);
  padding: 4px 0 clamp(28px,4vw,48px); align-items: start;
  margin-left: clamp(28px,3vw,48px);
}
.pkg-panel-aside { border-left: 2px solid currentColor; padding-left: clamp(20px,2.4vw,36px); }
@media (max-width: 820px) {
  .pkg-row .pkg-tag { display: none; }
  .pkg-panel-inner { grid-template-columns: 1fr; margin-left: 0; }
  .pkg-panel-aside { border-left: 0; padding-left: 0; }
}

/* ---------------- PACKAGE TABS (alt process style) ---------------- */
.pkg-tabs { display: grid; grid-template-columns: clamp(220px, 32%, 360px) 1fr; gap: clamp(32px,5vw,80px); margin-top: var(--gap-5); align-items: start; }
.pkg-tablist { display: flex; flex-direction: column; gap: clamp(4px,0.8vw,10px); }
.pkg-tab { display: flex; align-items: baseline; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; color: inherit;
  padding: clamp(6px,0.8vw,10px) 0; transition: padding-left .25s cubic-bezier(.2,.7,.2,1); opacity: 1; }
.pkg-tab.on { padding-left: clamp(10px,1.6vw,20px); }
.pkg-tab-n { font-family: var(--font-body); font-weight: 500; font-variant-numeric: tabular-nums; font-size: 12px; letter-spacing: .14em; opacity: .5; align-self: center; }
.pkg-tab-nm { font-family: var(--font-display); font-weight: 900; text-transform: lowercase; letter-spacing: -.02em; line-height: 1.02; font-size: clamp(18px,1.9vw,26px); color: color-mix(in srgb, var(--text) 50%, var(--surface)); transition: color .25s ease; }
.pkg-tab.on .pkg-tab-nm, .pkg-tab:hover .pkg-tab-nm { color: var(--text); }
.pkg-tabpanel { animation: pkgIn .4s cubic-bezier(.2,.7,.2,1); }
.anim-off .pkg-tabpanel { animation: none; }
.pkg-tab-head { font-family: var(--font-display); font-weight: 900; text-transform: lowercase; letter-spacing: -.025em; line-height: .95; font-size: clamp(30px,4vw,56px); margin: 10px 0 var(--gap-3); }
.pkg-tab-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,48px); margin-top: var(--gap-4); align-items: start; }
@media (max-width: 820px) {
  .pkg-tabs { grid-template-columns: 1fr; }
  .pkg-tab-cols { grid-template-columns: 1fr; }
}

/* ---------------- PACKAGE CAROUSEL (scroll-driven, right→left) ---------------- */
.pkg-carousel { position: relative; margin-top: var(--gap-3); }
.pkg-carousel-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.pkg-track { display: flex; gap: clamp(28px,3.4vw,64px); padding: 0 2px; will-change: transform; }
.pkg-card {
  flex: 0 0 clamp(380px, 56vw, 680px); background: color-mix(in srgb, var(--text) 6%, transparent);
  padding: clamp(40px,4.4vw,72px); display: flex; flex-direction: column; gap: var(--gap-4);
  min-height: min(80vh, 760px); transition: background .4s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.pkg-card:hover { background: color-mix(in srgb, var(--text) 11%, transparent); transform: translateY(-4px); }
.pkg-card-top { display: flex; align-items: baseline; gap: var(--gap-3); }
.pkg-card-n { font-family: var(--font-body); font-weight: 500; font-variant-numeric: tabular-nums; font-size: clamp(12px,1vw,14px); letter-spacing: .14em; opacity: .5; }
.pkg-card-name { font-family: var(--font-body); font-weight: 700; text-transform: lowercase; letter-spacing: -.015em; line-height: 1.02; font-size: clamp(30px,3.2vw,52px); margin: 4px 0 0; max-width: 16ch; }
.pkg-card-desc { margin: 0; font-size: clamp(16px,1.45vw,19px); line-height: 1.6; opacity: .88; max-width: 42ch; }
.pkg-card-foot { margin-top: auto; display: flex; flex-direction: column; gap: var(--gap-4); }
.pkg-card-foot .sd-deliv { margin: 0; }
.pkg-card-foot .btn { align-self: flex-start; }
.anim-off .pkg-carousel { height: auto !important; }
.anim-off .pkg-carousel-sticky { position: static; height: auto; overflow-x: auto; }
.anim-off .pkg-track { transform: none !important; }
@media (max-width: 820px) {
  .pkg-carousel { height: auto !important; }
  .pkg-carousel-sticky { position: static; height: auto; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 12px; }
  .pkg-track { transform: none !important; }
  .pkg-card { flex-basis: 80vw; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pkg-carousel { height: auto !important; }
  .pkg-carousel-sticky { position: static; height: auto; overflow-x: auto; }
  .pkg-track { transform: none !important; }
}

/* ---------------- PROCESS PAGE (no rules — big numerals carry the order) ---------------- */
.proc { margin-top: var(--gap-6); display: flex; flex-direction: column; gap: var(--gap-5); }
.proc-step { padding: 0; display: grid; grid-template-columns: clamp(64px,9vw,128px) 1fr; gap: clamp(20px,4vw,64px); position: relative; align-items: start; }
/* scroll focus: only the step nearest the focus line is full-size & full-colour;
   the others dim and shrink back, so exactly one is in focus at a time. */
.proc .reveal { opacity: 1; }
.proc .proc-step {
  transform-origin: left center;
  transform: scale(.9); opacity: .34;
  transition: transform .55s cubic-bezier(.2,.72,.2,1), opacity .55s ease;
  will-change: transform, opacity;
}
.proc .proc-step.is-focus { transform: scale(1); opacity: 1; }
.anim-off .proc .proc-step { transform: none !important; opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) { .proc .proc-step { transform: none !important; opacity: 1 !important; transition: none; } }
.proc-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px,6vw,88px); line-height: .82; letter-spacing: -.03em; opacity: .9; }
.proc-step h3 { font-family: var(--font-body); font-weight: 700; text-transform: lowercase; letter-spacing: -.005em; font-size: clamp(24px,2.6vw,36px); margin: 0 0 var(--gap-3); }
.proc-step .lead { margin-bottom: var(--gap-3); }
.proc-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--gap-2); }
.proc-points li { display: flex; gap: 12px; align-items: baseline; font-size: clamp(15px,1.4vw,18px); line-height: 1.4; }
.proc-points li .cherry-mark { width: .8em; height: .8em; transform: translateY(2px); flex: none; }
@media (max-width: 760px) { .proc-step { grid-template-columns: 1fr; gap: 8px; } }

/* ---------------- VALUES (no rules — spacing + big names carry the order) ---------------- */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap-4) clamp(16px,2vw,28px); margin-top: var(--gap-3); }
.value { padding: 0; display: flex; flex-direction: column; gap: 10px; }
.value .vn { font-family: var(--font-body); font-weight: 700; text-transform: lowercase; letter-spacing: -.01em; font-size: clamp(18px,1.7vw,23px); }
.value .vn-en { font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; opacity: .55; margin-top: -4px; }
.value p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; opacity: .85; }
@media (max-width: 980px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------------- ABOUT / MEET LINDA (new layout) ---------------- */
.about-row { display: grid; grid-template-columns: .82fr 1fr; gap: clamp(40px,6vw,88px); align-items: start; margin-top: var(--gap-6); }
.about-bio .about-hi { font-family: var(--font-display); font-weight: 900; text-transform: lowercase; letter-spacing: -.025em; line-height: .9; font-size: clamp(34px,4.6vw,64px); margin: 0 0 var(--gap-4); }
.about-portrait { width: 100%; }
.about-portrait .cap { margin-top: 14px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .65; }
.pullquote { font-family: var(--font-display); font-weight: 900; text-transform: lowercase; letter-spacing: -.02em; line-height: 1.02; font-size: clamp(32px,5.4vw,72px); margin: var(--gap-6) 0; max-width: 16ch; }
.about-bio .lead + .lead { margin-top: var(--gap-4); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.team-card .tc-role { font-family: var(--font-body); font-weight: 700; text-transform: lowercase; font-size: clamp(18px,1.8vw,23px); margin-top: 16px; }
.team-card .tc-name { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; opacity: .65; margin-top: 6px; }
.team-card p { margin: 10px 0 0; font-size: 15px; line-height: 1.55; opacity: .9; }
@media (max-width: 900px) { .about-row { grid-template-columns: 1fr; } .team { grid-template-columns: 1fr; } }

/* ---------------- LANG TOGGLE + nav extras ---------------- */
.lang-toggle { display: inline-flex; border: 1.5px solid currentColor; border-radius: 999px; overflow: hidden; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.lang-toggle button { background: transparent; color: inherit; border: 0; padding: 6px 11px; cursor: pointer; opacity: .55; }
.lang-toggle button.on { background: currentColor; opacity: 1; }
.lang-toggle button.on span { color: var(--surface); mix-blend-mode: normal; }
.drawer .lang-toggle { align-self: flex-start; font-size: 15px; }

/* ---------------- MARQUEE STRIP (section divider) ---------------- */
.strip-marquee { border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; overflow: hidden; white-space: nowrap; padding: 12px 0; margin-top: var(--gap-5); }
.strip-marquee .track { display: inline-flex; gap: 40px; animation: marq 22s linear infinite; }
.strip-marquee span { font-family: var(--font-display); font-weight: 900; text-transform: lowercase; font-size: clamp(20px,2.4vw,30px); letter-spacing: -.01em; }
.strip-marquee .cherry-mark { width: .8em; height: .8em; align-self: center; }
@keyframes marq { to { transform: translateX(-50%); } }
.anim-off .strip-marquee .track { animation: none; }
@media (prefers-reduced-motion: reduce) { .strip-marquee .track { animation: none; } }
