/* /start-b + /work/<slug>: dark editorial redesign (Wei: "professional and clean", like the Floria reference).
   taste-skill: design-taste-frontend (brief, dials 7/5/3, anti-slop rules), high-end-visual-design (spring motion,
   button-in-button arrows), minimalist-ui (restraint, hairlines, document-style case pages), imagegen-frontend-web
   (image-led sections, varied anchors). Imagery: Seedream 5.0 Pro (img/gen) + HeySheep's own screenshots (img/hs).
   Palette: near-black + white type; colour comes only from photos and screenshots. Primary action = white pill.
   Contrast (checked): body 18:1, muted 7.7:1, placeholder 6:1, button text 19:1, field outline >= 3:1. */

@font-face { font-family: "Geist"; src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0A0A0B; --bg-2: #0F0F11; --card: #131316; --input: #0C0C0E;
  --fg: #F4F4F5; --ink-2: #D4D4D8; --muted: #A1A1AA; --dim: #8E8E96;
  --hair: rgba(255, 255, 255, .09); --hair-2: rgba(255, 255, 255, .16); --field: #787882;
  --btn: #FAFAFA; --btn-2: #D4D4D8; --on-btn: #0A0A0B;
  --err: #FCA5A5; --ok: #86EFAC;
  --r: 22px; --r-sm: 14px;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --spring: cubic-bezier(.32, .72, 0, 1);
}
/* Light mode (toggle in the nav, js/theme.js). Contrast: body 18:1, muted 7.2:1, dim 4.9:1, field outline 3.4:1. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F7F7F8; --bg-2: #EFEFF1; --card: #FFFFFF; --input: #FFFFFF;
  --fg: #0A0A0B; --ink-2: #27272A; --muted: #52525B; --dim: #6B6B74;
  --hair: rgba(10, 10, 11, .1); --hair-2: rgba(10, 10, 11, .18); --field: #8A8A94;
  --btn: #0A0A0B; --btn-2: #27272A; --on-btn: #FAFAFA;
  --err: #B91C1C; --ok: #15803D;
}
/* Text that sits on a dark photo keeps the dark tokens in both modes. */
:root[data-theme="light"] :is(.problem, .how-art, .ways-band) {
  color-scheme: dark; color: #F4F4F5;
  --bg: #0A0A0B; --fg: #F4F4F5; --ink-2: #D4D4D8; --muted: #A1A1AA; --dim: #8E8E96;
  --hair: rgba(255, 255, 255, .09); --hair-2: rgba(255, 255, 255, .16);
}
:root[data-theme="light"] .brand-logo { filter: none; }
:root[data-theme="light"] .mvp picture img { filter: none; }
/* Light: fade the hero photo itself (mask) instead of washing it with a colour layer, so no grey haze. */
:root[data-theme="light"] .hero-art::after { display: none; }
:root[data-theme="light"] .hero-art img {
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 72%), linear-gradient(0deg, transparent 2%, #000 34%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 30%, #000 72%), linear-gradient(0deg, transparent 2%, #000 34%); mask-composite: intersect; }
/* Light: white screenshots need an edge against the light page. */
:root[data-theme="light"] :is(.wimg, .shot, .svc-img, .cs-hero img, .cs-quote blockquote, .form-card, .mvp, .next-card) { box-shadow: 0 0 0 1px var(--hair-2), 0 8px 24px rgba(10, 10, 11, .05); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--bg); }
body { margin: 0; color: var(--fg); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fg); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.035em; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.04; max-width: 18ch; }
h2 em, h1 em { font-style: normal; font-weight: 300; color: var(--dim); }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 40; background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }
.wrap { width: min(1280px, 100% - 80px); margin-inline: auto; }
.sub { color: var(--muted); font-size: 18px; max-width: 46ch; }

/* Buttons and links: white pill = the action; arrow sits in its own circle */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--btn); color: var(--on-btn); font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .4s var(--spring), transform .5s var(--spring); }
.btn:hover { background: var(--btn-2); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .7; cursor: progress; }
.btn:has(.i-dot) { padding-right: 8px; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-wide { width: 100%; margin-top: 8px; }
.btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--hair-2); }
.btn-ghost:hover { background: color-mix(in srgb, var(--fg) 6%, transparent); }
.l-short { display: none; }
.i-dot { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--on-btn) 20%, transparent); flex: none; transition: transform .5s var(--spring); }
.btn-ghost .i-dot, .ask .i-dot, .link .i-dot { background: color-mix(in srgb, var(--fg) 10%, transparent); }
.i-dot svg { width: 15px; height: 15px; fill: currentColor; }
a:hover > .i-dot { transform: translateX(3px); }
.link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--hair-2); text-underline-offset: 6px;
  transition: text-decoration-color .3s var(--spring); }
.link:hover { text-decoration-color: var(--fg); }
.ask { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; font-weight: 600; text-decoration: none; }
.tag { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-2);
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }

/* Nav: solid, one line */
.nav { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .4s; }
.nav.is-scrolled { border-color: var(--hair); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; margin-right: auto; }
.brand b { font-size: 20px; letter-spacing: -0.02em; }
.brand > span { font-size: 14px; color: var(--muted); }
.brand-logo { display: inline-block; height: 1.25em; width: auto; vertical-align: -0.29em; margin-left: 2px; filter: invert(1); }
.links { display: flex; gap: 28px; }
.links a { font-size: 15px; color: var(--muted); text-decoration: none; transition: color .3s; }
.links a:hover { color: var(--fg); }
.theme-btn { display: grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--hair-2); cursor: pointer; transition: transform .4s var(--spring), background-color .3s; }
.theme-btn:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); transform: translateY(-2px); }
.theme-btn:active { transform: scale(.94); }
.theme-btn svg { width: 19px; height: 19px; }
.i-moon, :root[data-theme="light"] .i-sun { display: none; }
:root[data-theme="light"] .i-moon { display: block; }
/* Theme switch: the new snapshot is revealed by a growing circle (theme.js drives the clip-path). */
html.theme-vt::view-transition-old(root), html.theme-vt::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* Hero: statement on the left, still life bleeding off the right */
.hero { position: relative; overflow: hidden; padding: 72px 0 0; }
.hero-art { position: absolute; inset: 0 0 auto auto; width: min(1500px, 100%); height: 100%; pointer-events: none; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 18%, color-mix(in srgb, var(--bg) 78%, transparent) 46%, transparent 72%), linear-gradient(0deg, var(--bg) 2%, transparent 34%); }
.hero-in { position: relative; padding: 48px 0 88px; }
.hero h1 { margin-top: 26px; font-size: clamp(42px, 5.4vw, 80px); line-height: 1.0; letter-spacing: -0.045em; max-width: 15ch; }
.hero .lede { margin-top: 28px; font-size: 19px; color: var(--muted); max-width: 40ch; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: 38px; }
.proof { position: relative; border-top: 1px solid var(--hair); padding: 30px 0 34px; }
.proof dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.proof dt { font: 400 clamp(30px, 3.2vw, 44px)/1 var(--mono); letter-spacing: -0.04em; }
.proof dd { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

.section { padding: clamp(104px, 12vw, 168px) 0 0; }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 56px; }
.head .sub { margin-top: 18px; }
.head > div { display: grid; }

/* Enquiry: copy left (sticky), form right */
.enquiry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, 560px); gap: clamp(40px, 6vw, 104px); align-items: start; padding-top: clamp(88px, 10vw, 136px); }
.enq-copy { position: sticky; top: 112px; display: grid; gap: 22px; }
.next { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.next li { display: flex; gap: 16px; align-items: baseline; color: var(--ink-2); }
.next span { font: 13px/1 var(--mono); color: var(--dim); }
.mail { color: var(--muted); font-size: 15px; margin-top: 8px; }
.form-card { background: var(--card); border-radius: var(--r); padding: 32px; box-shadow: inset 0 0 0 1px var(--hair), inset 0 1px 0 rgba(255, 255, 255, .05); }
.form { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
input, textarea { width: 100%; min-height: 48px; padding: 12px 16px; border: 0; border-radius: var(--r-sm); background: var(--input); color: var(--fg); font: 400 16px/1.4 var(--sans);
  box-shadow: inset 0 0 0 1px var(--field); transition: box-shadow .35s var(--spring); }
textarea { min-height: 124px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--dim); }
input:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--fg), 0 0 0 4px color-mix(in srgb, var(--fg) 10%, transparent); }
[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--err); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip-opt { position: relative; }
.chip-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; width: 100%; height: 100%; min-height: 0; cursor: pointer; }
.chip-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--field);
  transition: background-color .3s var(--spring), color .3s var(--spring); }
.chip-opt:hover span { box-shadow: inset 0 0 0 1px var(--fg); }
.chip-opt input:checked + span { background: var(--btn); color: var(--on-btn); box-shadow: none; }
.chip-opt input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.consent input { width: 20px; height: 20px; min-height: 0; margin: 1px 0 0; padding: 0; flex: none; box-shadow: none; accent-color: var(--fg); }
.field-err { margin: 2px 0 0; font-size: 13.5px; color: var(--err); }
.consent + .field-err { margin-top: -8px; }
.form-status { min-height: 1em; font-size: 14.5px; }
.form-status a { color: var(--fg); }
.form-status.err { color: var(--err); }
.form-status.ok { color: var(--ok); font-weight: 600; }

/* Problem: picture as canvas, copy over its lower left */
.problem { position: relative; margin-top: clamp(104px, 12vw, 168px); border-radius: var(--r); overflow: hidden; min-height: 560px; display: grid; align-items: end; }
.problem-art { position: absolute; inset: 0; }
.problem-art img { width: 100%; height: 100%; object-fit: cover; }
.problem-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 10, 11, .96) 18%, rgba(10, 10, 11, .55) 52%, rgba(10, 10, 11, .15) 100%); }
.problem-copy { position: relative; padding: clamp(32px, 5vw, 64px); display: grid; gap: 22px; max-width: 760px; }
.problem-copy p { color: var(--ink-2); font-size: 18px; max-width: 54ch; }

/* Services: three staggered image cards, then one wide banner */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.svc { display: grid; gap: 12px; }
.svc-low { margin-top: 72px; }
.svc-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 14px; background: var(--card); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--spring); }
.svc:hover .svc-img img { transform: scale(1.03); }
.svc p { color: var(--muted); }
.mvp { margin-top: 56px; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding: 10px; border-radius: calc(var(--r) + 10px); background: var(--card); box-shadow: inset 0 0 0 1px var(--hair); }
.mvp picture, .mvp picture img { border-radius: var(--r); overflow: hidden; height: 100%; }
.mvp picture img { width: 100%; object-fit: cover; aspect-ratio: 16 / 9; filter: brightness(.78) contrast(1.05); }
.mvp-copy { display: grid; gap: 12px; padding: 24px 32px 24px 0; }
.mvp-copy h3 { font-size: 30px; letter-spacing: -0.03em; }
.mvp-copy p { color: var(--muted); }

/* Work: filters + grid of all projects */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.flt { position: relative; }
.flt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.flt span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair-2); transition: background-color .3s var(--spring), color .3s var(--spring); }
.flt span i { font: normal 12px/1 var(--mono); color: var(--dim); }
.flt:hover span { box-shadow: inset 0 0 0 1px var(--fg); }
.flt input:checked + span { background: var(--btn); color: var(--on-btn); box-shadow: none; }
.flt input:checked + span i { color: color-mix(in srgb, var(--on-btn) 60%, var(--btn)); }
.flt input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
/* Sideways loop: full-bleed native scroller, js/start-b.js moves it and clones cards to make it endless. */
.wbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.wbar .filters { margin-bottom: 0; }
.i-play, [data-loop-btn][aria-pressed="true"] .i-pause { display: none; }
[data-loop-btn][aria-pressed="true"] .i-play { display: block; }
.wloop { --gut: max(40px, calc((100vw - 1280px) / 2)); position: relative; margin-inline: calc(50% - 50vw); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.wloop.is-loop { scrollbar-width: none; cursor: grab; }
.wloop.is-loop::-webkit-scrollbar { display: none; }
.wloop.is-drag { cursor: grabbing; user-select: none; }
.wtrack { display: flex; gap: 28px; width: max-content; padding: 2px var(--gut) 12px; }
.wcard { flex: 0 0 clamp(280px, 30vw, 420px); display: grid; align-content: start; gap: 6px; text-decoration: none; }
.wcard[hidden] { display: none; }
.wcard img { -webkit-user-drag: none; }
.wimg { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--card); margin-bottom: 14px; box-shadow: inset 0 0 0 1px var(--hair); }
.wimg img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--spring); }
.wcard:hover .wimg img, .next-card:hover .wimg img { transform: scale(1.03); }
.wmeta { font-size: 13.5px; color: var(--dim); }
.wtitle { font-size: 21px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; }
.wsum { color: var(--muted); font-size: 16px; }
.more { margin-top: 56px; }

/* How: picture with the heading, zig-zag steps */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.how-art { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.how-art img { width: 100%; height: 100%; object-fit: cover; }
.how-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 10, 11, .92) 12%, rgba(10, 10, 11, 0) 55%); }
.how-art h2 { position: absolute; left: 36px; right: 36px; bottom: 36px; z-index: 1; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; row-gap: 6px; position: relative; }
.steps span { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--hair-2); font: 13px/1 var(--mono); color: var(--ink-2); }
.steps b { font-size: 21px; letter-spacing: -0.02em; }
.steps p { color: var(--muted); }

/* Ways: full-bleed Singapore band */
.ways-band { position: relative; margin-top: clamp(104px, 12vw, 168px); padding: clamp(96px, 11vw, 160px) 0 clamp(56px, 6vw, 80px); overflow: hidden; }
.ways-art { position: absolute; inset: 0; }
.ways-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.ways-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 10, 11, .35) 30%, rgba(10, 10, 11, .55) 62%, var(--bg) 100%); }
.ways-in { position: relative; display: grid; gap: clamp(140px, 18vw, 260px); }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; }
.ways div { padding: 26px; border-radius: var(--r); background: rgba(10, 10, 11, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--hair); }
.ways dt { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.ways dd { margin: 8px 0 0; color: var(--ink-2); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-wrap .sub { margin-top: 18px; }
.faq-wrap .sub a { color: var(--fg); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq details:first-child { border-top: 1px solid var(--hair); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--hair-2); font: 400 20px/1 var(--sans); color: var(--ink-2); transition: transform .5s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 60ch; }

.closing { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px; margin-top: clamp(104px, 12vw, 168px); padding: 56px 0 72px; border-top: 1px solid var(--hair); }
.closing h2 { font-size: clamp(30px, 3.8vw, 52px); max-width: 20ch; }
.closing p { margin-top: 14px; color: var(--muted); }
.closing-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 28px 0 44px; border-top: 1px solid var(--hair); font-size: 14px; color: var(--muted); }
.footer a { color: var(--muted); }
.wa { white-space: nowrap; }
.wa-i { display: inline-block; width: 1.1em; height: 1.1em; margin-right: .3em; vertical-align: -0.2em; fill: currentColor; }

/* Case-study pages */
.cs-head { padding-top: 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--dim); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.cs-title { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; margin-top: 44px; }
.cs-logo { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; background: #FFF; box-shadow: inset 0 0 0 1px var(--hair); }
.cs-title h1 { margin-top: 20px; font-size: clamp(40px, 6vw, 84px); line-height: .98; letter-spacing: -0.045em; }
.cs-title .lede { margin-top: 18px; font-size: 20px; color: var(--muted); max-width: 46ch; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 52px 0 0; padding-top: 28px; border-top: 1px solid var(--hair); }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.facts dd { margin: 8px 0 0; font-weight: 600; }
.cs-hero { margin-top: 48px; margin-bottom: 0; }
.cs-hero img { width: 100%; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--hair); background: var(--card); }
.cs-story { display: grid; grid-template-columns: 280px 1fr; gap: clamp(40px, 6vw, 96px); padding-top: clamp(72px, 8vw, 112px); }
.cs-aside { position: sticky; top: 104px; align-self: start; display: grid; gap: 14px; }
.cs-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); max-width: none; line-height: 1.4; }
.cs-aside .cs-label + * { margin-bottom: 18px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; padding: 7px 13px; border-radius: 999px; font-size: 14px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair-2); }
.live { display: flex; flex-wrap: wrap; gap: 10px; }
.cs-body { display: grid; gap: 48px; max-width: 760px; }
.cs-block { display: grid; gap: 16px; }
.cs-block p { font-size: 19px; color: var(--ink-2); line-height: 1.65; }
.cs-block ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.cs-block li { position: relative; padding-left: 28px; font-size: 18px; color: var(--ink-2); }
.cs-block li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 12px; height: 1px; background: var(--dim); }
.cs-quote { padding-top: clamp(72px, 8vw, 112px); }
.cs-quote blockquote { margin: 0; padding: clamp(36px, 5vw, 64px); border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--hair); }
.cs-quote p { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; max-width: 34ch; }
.cs-quote footer { margin-top: 28px; display: grid; gap: 4px; color: var(--muted); }
.cs-quote b { color: var(--fg); }
.cs-screens { padding-top: clamp(72px, 8vw, 112px); }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(560px, 82vw); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 0 16px; scrollbar-color: var(--hair-2) transparent; }
.shot { scroll-snap-align: start; border-radius: var(--r-sm); overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--hair); }
.shot img { width: 100%; height: 340px; object-fit: cover; object-position: top center; transition: transform 1s var(--spring); }
.shot:hover img { transform: scale(1.02); }
.cs-next { padding-top: clamp(72px, 8vw, 112px); }
.next-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; text-decoration: none; padding: 10px; border-radius: calc(var(--r) + 10px); background: var(--card); box-shadow: inset 0 0 0 1px var(--hair); }
.next-card .wimg { margin: 0; }
.next-card > span:last-child { display: grid; gap: 8px; padding-right: 24px; }
.next-card .wtitle { font-size: 30px; }
.source { padding: 28px 0 0; font-size: 14px; color: var(--dim); }
.source a { color: var(--muted); }

/* Motion: blur-fade-up reveals; visible without JS (html.rv set by start-b.js); off under reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-in > * { animation: rise 1s var(--spring) both; }
  .hero-in > :nth-child(2) { animation-delay: .06s; }
  .hero-in > :nth-child(3) { animation-delay: .12s; }
  .hero-in > :nth-child(4) { animation-delay: .18s; }
  .hero-art { animation: fade 1.6s var(--spring) both; }
  .rv .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--spring), transform 1s var(--spring); }
  .rv .reveal.is-in { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Tablet */
@media (max-width: 1099px) {
  .links { display: none; }
  .enquiry { grid-template-columns: 1fr; }
  .enq-copy { position: static; }
  .services { grid-template-columns: 1fr 1fr; }
  .svc-low { margin-top: 0; }
  .services .svc:last-child { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; column-gap: 28px; align-items: center; }
  .services .svc:last-child .svc-img { grid-row: span 3; aspect-ratio: 4 / 3; margin: 0; }
  .mvp { grid-template-columns: 1fr; }
  .mvp-copy { padding: 8px 20px 20px; }
  .how { grid-template-columns: 1fr; }
  .how-art { aspect-ratio: 16 / 10; }
  .ways { grid-template-columns: 1fr; }
  .ways-in { gap: 96px; }
  .faq-wrap { grid-template-columns: 1fr; }
  .cs-story { grid-template-columns: 1fr; }
  .cs-aside { position: static; }
  .facts { grid-template-columns: 1fr 1fr; }
}
/* Phone */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav-in { height: 64px; gap: 12px; }
  .brand .bb-long { display: none; }
  .brand > span { font-size: 13px; }
  .btn-sm { padding: 0 16px; font-size: 14px; }
  .l-long { display: none; } .l-short { display: inline; }
  .hero { padding-top: 0; display: flex; flex-direction: column; }
  .hero-art { position: relative; inset: auto; width: 100%; height: auto; order: -1; aspect-ratio: 16 / 9; }
  .hero-art img { object-position: 82% 50%; }
  .hero-art::after { background: linear-gradient(0deg, var(--bg) 4%, transparent 50%); }
  :root[data-theme="light"] .hero-art img { -webkit-mask-image: linear-gradient(0deg, transparent 4%, #000 50%); mask-image: linear-gradient(0deg, transparent 4%, #000 50%); }
  .cs-title .tag { border-radius: 12px; line-height: 1.4; }
  .hero-in { padding: 0 0 56px; margin-top: -24px; }
  .hero h1 { font-size: 36px; margin-top: 18px; }
  .hero .lede { font-size: 17px; margin-top: 18px; }
  .cta-row { margin-top: 28px; }
  .cta-row .btn { width: 100%; justify-content: space-between; padding-left: 24px; }
  .proof dl { grid-template-columns: 1fr; gap: 16px; }
  .proof div { display: flex; align-items: baseline; gap: 14px; }
  .proof dd { margin: 0; }
  .section { padding-top: 88px; }
  .head { margin-bottom: 36px; }
  .form-card { padding: 22px 18px; }
  .row { grid-template-columns: 1fr; }
  .problem { min-height: 520px; margin-top: 88px; }
  .services { grid-template-columns: 1fr; gap: 44px; }
  .services .svc:last-child { grid-template-columns: 1fr; }
  .services .svc:last-child .svc-img { grid-row: auto; }
  .svc-img { aspect-ratio: 4 / 3; }
  .wloop { --gut: 16px; }
  .wcard { flex-basis: 78vw; }
  .wbar { margin-bottom: 24px; }
  .wbar .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; padding-left: 16px; }
  .wbar .filters::-webkit-scrollbar { display: none; }
  .flt { flex: none; }
  .how-art { aspect-ratio: 4 / 5; }
  .how-art h2 { left: 22px; right: 22px; bottom: 24px; }
  .ways-band { margin-top: 88px; }
  .closing { flex-direction: column; align-items: stretch; margin-top: 88px; }
  .closing .btn { width: 100%; justify-content: space-between; padding-left: 24px; }
  .footer { flex-direction: column; }
  .cs-title { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
  .cs-logo { width: 56px; height: 56px; border-radius: 14px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 20px; }
  .next-card { grid-template-columns: 1fr; }
  .next-card > span:last-child { padding: 6px 12px 16px; }
  .shot img { height: 220px; }
}
@media (max-width: 380px) { .btn-sm { font-size: 13px; padding: 0 12px; } .theme-btn { width: 40px; height: 40px; } }
