/* OVERFEEL — www.overfeel.sg */
:root {
  --black: #000000;
  --black-2: #0d0d0d;
  --white: #f0f0ee;
  --white-2: #e3e3e0;
  --grey: #7a7a78;
  --grey-on-white: #5c5c5a;
  --line-dark: #2a2a2a;
  --line-light: #c9c9c6;

  --ease: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: clamp(16px, 2.2vw, 32px);
  --max: 1680px;

  --fs-body: clamp(16px, 1.05vw + 0.4rem, 19px);
  --fs-small: clamp(13px, 0.8vw + 0.3rem, 15px);
  --fs-h3: clamp(1.4rem, 1.6vw + 0.8rem, 2.4rem);
  --fs-h2: clamp(2.4rem, 5.2vw + 0.5rem, 6.4rem);
  --fs-hero: clamp(3.2rem, 9.6vw, 11.5rem);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
a, button, input, textarea, label { touch-action: manipulation; }
section[id] { scroll-margin-top: 72px; }
@media (pointer: fine) { html { overscroll-behavior: none; } }
.motion-toggle {
  background: none; border: 0; padding: 0; margin-left: auto; color: inherit; font-size: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; min-height: 24px;
}
@media (hover: hover) { .motion-toggle:hover { color: var(--white); } }
html:not(.motion) .motion-toggle { display: none; }
[hidden]:not([hidden="until-found" i]) { display: none !important; }
html.paused *, html.paused *::before, html.paused *::after { animation-play-state: paused !important; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.5;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--white); color: var(--black); }
.paper ::selection { background: var(--black); color: var(--white); }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--white); color: var(--black); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.h2 {
  font-size: var(--fs-h2);
  font-weight: 760;
  font-variation-settings: "wdth" 112;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h3 {
  font-size: var(--fs-h3);
  font-weight: 650;
  font-variation-settings: "wdth" 104;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.lede { max-width: 46ch; font-size: clamp(1.05rem, 0.7vw + 0.85rem, 1.4rem); line-height: 1.4; }
.muted { color: var(--grey); }
.paper .muted { color: var(--grey-on-white); }
.small { font-size: var(--fs-small); }

/* split-line masks */
.line-mask { overflow: clip; display: block; padding-bottom: 0.06em; margin-bottom: -0.06em; }

/* ---------- Sections ---------- */
.sec { position: relative; padding: clamp(96px, 14vh, 200px) var(--gutter); }
.ink { background: var(--black); color: var(--white); }
.paper { background: var(--white); color: var(--black); color-scheme: light; }
.wrap { max-width: var(--max); margin-inline: auto; }

.wave {
  position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px;
  transform: translateY(-99%); pointer-events: none; z-index: 2;
}
.ink .wave path { fill: var(--black); }
.paper .wave path { fill: var(--white); }
.mobile-shift-wave { display: none; }

@media (max-width: 760px), (max-width: 960px) and (hover: none) and (pointer: coarse) {
  #shift > .wave { display: none; }
  #shift > .mobile-shift-wave {
    display: block; position: absolute; inset: 0 0 auto;
    width: 100%; height: clamp(48px, 12vw, 64px);
    /* Overlap the paper so fractional scroll offsets cannot open a seam. */
    transform: translateY(calc(-100% + 2px));
    fill: var(--white); pointer-events: none; z-index: 2;
  }
}

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: var(--h); padding: 0 28px; border-radius: 999px;
  border: 1px solid currentColor; background: transparent;
  text-decoration: none; font-weight: 560; font-variation-settings: "wdth" 108;
  letter-spacing: -0.005em; cursor: pointer; white-space: nowrap;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.btn-label { display: inline-block; pointer-events: none; }
.btn--solid { background: var(--white); color: var(--black); border-color: var(--white); }
@media (hover: hover) { .btn--solid:hover { background: transparent; color: var(--white); } }
.paper .btn--solid { background: var(--black); color: var(--white); border-color: var(--black); }
@media (hover: hover) { .paper .btn--solid:hover { background: transparent; color: var(--black); } }
@media (hover: hover) { .btn--ghost:hover { background: var(--white); color: var(--black); } }
@media (hover: hover) { .paper .btn--ghost:hover { background: var(--black); color: var(--white); } }
.link {
  text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
@media (hover: hover) { .link:hover { background-size: 0% 1px; background-position: 100% 100%; } }

/* ---------- Header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: max(18px, env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) 18px max(var(--gutter), env(safe-area-inset-left));
  mix-blend-mode: difference; color: #fff;
}
.brand {
  font-weight: 820; font-variation-settings: "wdth" 125; letter-spacing: -0.02em;
  text-decoration: none; font-size: 1.15rem;
}
.site-nav { display: flex; gap: clamp(16px, 2.4vw, 40px); align-items: center; }
.site-nav a { text-decoration: none; font-size: var(--fs-small); }
@media (hover: hover) { .site-nav a:not(.nav-cta):hover { text-decoration: underline; text-underline-offset: 4px; } }
.nav-cta { border: 1px solid currentColor; border-radius: 999px; padding: 8px 16px; }
@media (max-width: 760px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

/* ---------- Rail (scroll progress) ---------- */
.rail {
  position: fixed; right: var(--gutter); top: 50%; z-index: 40; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  mix-blend-mode: difference; color: #fff; pointer-events: none;
}
.rail-track { width: 1px; height: 22vh; background: rgba(255,255,255,0.3); position: relative; }
.rail-fill { position: absolute; inset: 0; background: #fff; transform-origin: top; transform: scaleY(0); }
.rail-label { font-size: 12px; writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: 0.02em; }
@media (max-width: 760px) { .rail { display: none; } }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--black); color: var(--white);
  display: grid; place-items: end start; padding: var(--gutter);
}
.loader-count {
  font-size: clamp(5rem, 18vw, 16rem); font-weight: 800; font-variation-settings: "wdth" 62;
  line-height: 0.8; letter-spacing: -0.04em; font-feature-settings: "tnum";
}
.loader-word { position: absolute; top: var(--gutter); left: var(--gutter); font-weight: 820; font-variation-settings: "wdth" 125; }
html:not(.intro-active) .loader { display: none; }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  mix-blend-mode: difference; opacity: 0; display: none;
  place-items: center; will-change: transform;
}
.motion .cursor { display: grid; }
.cursor-dot { position: absolute; inset: 0; border-radius: 50%; background: #fff; transform: scale(0.16); will-change: transform; }
.cursor-label {
  position: relative; font-size: 12px; font-weight: 640; color: #000; opacity: 0; letter-spacing: 0.01em;
  transition: opacity 0.2s;
}
.cursor.has-label .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1.4 -0.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
html:not(.motion) .grain { animation: none; }

/* ---------- Hero ---------- */
.hero {
  --hero-art-top: calc(max(18px, env(safe-area-inset-top)) + 57px);
  --hero-art-size: clamp(98px, 32vw, 168px);
  position: relative; min-height: 100svh; padding: 0 var(--gutter) clamp(72px, 11vh, 120px);
  display: grid; grid-template-rows: 1fr auto; overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-fallback {
  position: absolute; z-index: 0; right: -8vw; top: 12vh; width: min(70vw, 820px); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0 4%, transparent 14%),
    radial-gradient(circle at 60% 75%, #888 0 10%, transparent 40%),
    conic-gradient(from 200deg at 50% 50%, #111, #eee, #222, #bbb, #050505, #ddd, #111);
  filter: blur(0.5px); opacity: 0.9;
}
.has-gl .hero-fallback { display: none; }
.has-hero-art .hero-fallback { display: none; }
.has-hero-art .hero-canvas {
  inset: var(--hero-art-top) var(--gutter) auto auto;
  width: var(--hero-art-size); height: var(--hero-art-size);
  pointer-events: none;
  mask-image: radial-gradient(closest-side, #000 86%, transparent 100%);
}
.has-hero-art.motion:not(.paused) .hero-canvas {
  z-index: 2; pointer-events: auto;
  /* Let a vertical swipe start on the sphere without taking over page scroll. */
  touch-action: pan-y pinch-zoom;
}
@media (hover: hover) {
  .has-hero-art.motion:not(.paused) .hero-canvas { cursor: grab; }
  .has-hero-art.motion:not(.paused) .hero-canvas:active { cursor: grabbing; }
}
.hero-main { position: relative; z-index: 1; align-self: end; padding-top: 120px; }
.hero-title {
  font-size: var(--fs-hero); font-weight: 800; font-stretch: 112.5%;
  line-height: 0.86; letter-spacing: -0.045em; max-width: 10.5ch;
}
.has-gl .hero-title { color: transparent; }
.hero-foot {
  position: relative; z-index: 1; margin-top: clamp(28px, 5vh, 56px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end;
}
.hero-sub { max-width: 40ch; font-size: clamp(1.05rem, 0.6vw + 0.85rem, 1.3rem); line-height: 1.4; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.hero-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.hero-meta span { font-feature-settings: "tnum"; }
@media (max-width: 760px), (max-width: 960px) and (hover: none) and (pointer: coarse) {
  .hero { padding-bottom: clamp(48px, 8svh, 76px); }
  .hero-main { padding-top: calc(var(--hero-art-top) + var(--hero-art-size) + 16px); }
  .hero-title, .has-gl .hero-title {
    color: var(--white); font-size: clamp(2.5rem, 11.5vw, 4.2rem);
    line-height: 0.94; max-width: 13ch; font-variation-settings: "wdth" 112.5;
  }
  /* If a desktop window narrows after boot, keep the title clean as well. */
  .has-gl .hero-canvas { visibility: hidden; }
  .hero-fallback, .has-gl .hero-fallback {
    display: block; inset: var(--hero-art-top) var(--gutter) auto auto;
    width: var(--hero-art-size); height: var(--hero-art-size);
    transform: scale(0.78); pointer-events: none;
  }
  .has-hero-art .hero-fallback { display: none; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
}

/* ---------- The shift (data story) ---------- */
.shift-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-bottom: clamp(48px, 8vh, 96px); }
.shift-head .h2 { grid-column: 1 / span 8; }
.shift-head .lede { grid-column: 9 / span 4; align-self: end; }
@media (max-width: 900px) { .shift-head .h2, .shift-head .lede { grid-column: 1 / -1; } }

.stats { display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.stat {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px 48px;
  padding: 32px 0; border-bottom: 1px solid var(--line-light); align-items: end;
}
.stat-num {
  font-size: clamp(4rem, 12vw, 13rem); font-weight: 800; font-variation-settings: "wdth" 70;
  line-height: 0.82; letter-spacing: -0.04em; font-feature-settings: "tnum";
}
.stat-text { font-size: clamp(1.15rem, 1vw + 0.8rem, 1.75rem); line-height: 1.32; font-weight: 500; max-width: 26ch; text-wrap: pretty; }
.stat-src { margin-top: 14px; font-size: var(--fs-small); color: var(--grey-on-white); font-style: normal; max-width: 44ch; }
.stat-src cite { font-style: normal; }
@media (max-width: 760px) { .stat { grid-template-columns: 1fr; } }

/* motion mode: pinned stage */
.motion .shift-stage { position: relative; height: 100svh; display: grid; align-items: center; }
.motion .stats { border: 0; position: relative; height: min(70svh, 640px); }
.motion .stat { position: absolute; inset: 0; border: 0; padding: 0; opacity: 0; pointer-events: none; align-content: center; }
.motion .stat.is-active { opacity: 1; pointer-events: auto; }
.shift-dither { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.55; }
html:not(.motion) .shift-dither, html:not(.motion) .shift-progress { display: none; }
.shift-progress { position: absolute; left: 0; bottom: 6vh; display: flex; gap: 8px; }
.shift-progress span { width: 28px; height: 2px; background: var(--line-light); transition: background-color 0.3s; }
.shift-progress span.on { background: var(--black); }

.shift-close { margin-top: clamp(80px, 14vh, 180px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.shift-close .h2 { grid-column: 1 / span 9; }
.quote { grid-column: 7 / span 6; margin-top: 40px; padding-left: 24px; border-left: 2px solid var(--black); }
.quote p { font-size: clamp(1.2rem, 1vw + 0.9rem, 1.8rem); line-height: 1.3; font-weight: 500; }
.quote footer { margin-top: 12px; }
@media (max-width: 900px) { .shift-close .h2, .quote { grid-column: 1 / -1; } }


/* ---------- Answers (SEO -> AI) ---------- */
.answers-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.answers-head .h2 { grid-column: 1 / span 9; }
.answers-head .lede { grid-column: 1 / span 6; margin-top: 28px; color: var(--grey); }
@media (max-width: 900px) { .answers-head .h2, .answers-head .lede { grid-column: 1 / -1; } }

.serp-stage { position: relative; margin-top: clamp(48px, 8vh, 96px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.motion .serp-stage { height: 100svh; grid-template-columns: 1fr; place-items: center; margin-top: 0; }
.mode-labels { grid-column: 1 / -1; display: flex; gap: 24px; justify-content: space-between; font-size: var(--fs-small); color: var(--grey); }
.motion .mode-labels { position: absolute; top: 12vh; left: 0; right: 0; display: block; text-align: center; font-size: clamp(1rem, 1vw + 0.6rem, 1.4rem); color: var(--white); }
.motion .mode-labels span { position: absolute; left: 0; right: 0; }
.motion .mode-labels span + span { opacity: 0; }

.serp { width: 100%; max-width: 640px; border: 1px solid var(--line-dark); padding: 20px; background: var(--black-2); }
.motion .serp { position: absolute; }
.serp-bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: var(--fs-small); color: var(--grey); margin-bottom: 18px; }
.serp-bar svg { width: 16px; height: 16px; flex: none; }
.serp-row { padding: 12px 0; border-top: 1px solid #1c1c1c; }
.serp-row .u { width: 34%; height: 7px; background: #2b2b2b; margin-bottom: 8px; }
.serp-row .t { width: 72%; height: 12px; background: #5a5a5a; margin-bottom: 8px; }
.serp-row .d { width: 92%; height: 7px; background: #262626; margin-bottom: 5px; }
.serp-row .d + .d { width: 64%; }

.answer-card { width: 100%; max-width: 640px; border: 1px solid #3a3a3a; background: var(--black-2); padding: clamp(20px, 3vw, 36px); }
.motion .answer-card { position: absolute; }
.answer-label { font-size: var(--fs-small); color: var(--grey); margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.answer-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--white); display: inline-block; }
.answer-text { font-size: clamp(1.1rem, 0.8vw + 0.85rem, 1.45rem); line-height: 1.4; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { font-size: var(--fs-small); border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 12px; color: var(--grey); }
.chip--own { color: var(--black); border-color: transparent; font-weight: 640;
  background: linear-gradient(110deg, #b4b4b4, #fafafa 30%, #a6a6a6 48%, #ececec 64%, #b8b8b8 82%, #fefefe);
  background-size: 220% 100%; animation: chip-shine 3s linear infinite;
}
@keyframes chip-shine { to { background-position: -220% 0; } }
@media (max-width: 760px) { .serp-stage { grid-template-columns: 1fr; } }

.demo { margin-top: clamp(64px, 10vh, 120px); border-top: 1px solid var(--line-dark); padding-top: 40px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.demo-intro { grid-column: 1 / span 4; }
.demo-intro .h3 { margin-bottom: 12px; }
.demo-body { grid-column: 6 / span 7; }
.demo-form { display: flex; gap: 10px; flex-wrap: wrap; }
.field-line {
  flex: 1 1 260px; height: 56px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-dark);
  background: transparent; outline: none; transition: border-color 0.2s;
}
.field-line:focus-visible { border-color: var(--white); box-shadow: 0 0 0 1px var(--white); }
.demo-out { margin-top: 24px; min-height: 7.5em; font-size: clamp(1.05rem, 0.6vw + 0.85rem, 1.3rem); line-height: 1.45; }
.demo-out .old { color: var(--grey); }
.demo-out .old.struck { text-decoration: line-through; text-decoration-thickness: 1px; }
.demo-out .new { display: block; margin-top: 12px; }
.demo-out .src-own { font-weight: 640; }
@media (max-width: 900px) { .demo-intro, .demo-body { grid-column: 1 / -1; } }

/* ---------- Why (stacked cards) ---------- */
.why-head { max-width: 18ch; margin-bottom: clamp(48px, 8vh, 96px); }
.why-cards { display: grid; gap: 24px; }
.why-card {
  position: sticky; top: calc(14vh + var(--i) * 18px);
  min-height: 58svh; background: var(--white-2); border: 1px solid var(--line-light);
  padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px;
  transform-origin: 50% 0;
}
.why-card .h2 { font-size: clamp(2.2rem, 5vw, 5.6rem); max-width: 12ch; }
.why-card p { margin-top: 24px; max-width: 42ch; font-size: clamp(1.05rem, 0.6vw + 0.85rem, 1.35rem); line-height: 1.4; }
.glyph { width: clamp(90px, 14vw, 220px); aspect-ratio: 1; perspective: 600px; align-self: start; }
.glyph-in {
  width: 100%; height: 100%; border-radius: 50%; transform-style: preserve-3d; will-change: transform;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.95) 0 6%, transparent 18%),
    conic-gradient(from var(--a, 0deg), #050505, #d9d9d9, #1a1a1a, #f7f7f7, #2c2c2c, #bdbdbd, #050505);
  box-shadow: inset -12px -18px 30px rgba(0,0,0,0.5), inset 10px 10px 24px rgba(255,255,255,0.3);
}
.why-card:nth-child(2) .glyph-in { border-radius: 0; }
.why-card:nth-child(3) .glyph-in { border-radius: 50% 50% 0 50%; }
.why-card:nth-child(4) .glyph-in { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
@media (max-width: 760px) { .why-card { grid-template-columns: 1fr; min-height: 0; } .glyph { order: -1; width: 72px; } }

/* ---------- Services ---------- */
.services-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-bottom: clamp(40px, 7vh, 80px); }
.services-head .h2 { grid-column: 1 / span 8; }
.services-head p { grid-column: 9 / span 4; align-self: end; color: var(--grey); }
@media (max-width: 900px) { .services-head .h2, .services-head p { grid-column: 1 / -1; } }
.svc-list { border-top: 1px solid var(--line-dark); }
.svc {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px 48px;
  padding: clamp(24px, 4vh, 44px) 0; border-bottom: 1px solid var(--line-dark); align-items: baseline;
}
.svc .h3 { font-size: clamp(2rem, 4.4vw, 5rem); font-weight: 720; font-variation-settings: "wdth" 110; letter-spacing: -0.035em; transition: transform 0.6s var(--ease-out), font-variation-settings 0.6s var(--ease-out); }
.svc p { color: var(--grey); max-width: 44ch; transition: color 0.4s; }
@media (hover: hover) {
  .svc:hover .h3 { transform: translateX(clamp(12px, 2vw, 32px)); font-variation-settings: "wdth" 125; }
  .svc:hover p { color: var(--white); }
}
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }
.svc-note { margin-top: 40px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.svc-preview {
  display: none;
  position: absolute; inset: 50% 0 auto auto;
  width: var(--svc-preview-width); height: min(164px, calc(100% - 20px));
  pointer-events: none; opacity: 0; transform: translateY(-50%) scale(0.85);
  overflow: hidden;
  mask-image: radial-gradient(ellipse closest-side, #000 70%, transparent 100%);
}
.svc-preview canvas { display: block; width: 100%; height: 100%; }
@media (min-width: 1200px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  /* Keep the decorative canvas in its own lane, never over the copy. */
  .svc-list.has-svc-preview { --svc-preview-width: clamp(148px, 14vw, 236px); }
  .has-svc-preview .svc {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) var(--svc-preview-width);
    column-gap: clamp(24px, 2.5vw, 44px);
  }
  .svc > .svc-preview { display: block; }
}

/* ---------- Work ---------- */
.work { overflow: hidden; }
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 7vh, 72px); }
.work-head p { max-width: 38ch; color: var(--grey-on-white); }
.work-track { display: flex; gap: clamp(16px, 2vw, 32px); width: max-content; }
html:not(.motion) .work-viewport { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.work-card { width: clamp(260px, min(36vw, 48svh), 620px); scroll-snap-align: start; flex: none; }
.motion .work-head { margin-bottom: clamp(24px, 4vh, 48px); }
.motion .work-pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.poster {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--black); color: var(--white);
  display: grid; padding: clamp(18px, 2vw, 28px); will-change: transform;
}
.poster.is-liquid { filter: url(#liquid); }
.work-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: var(--fs-small); }
.work-meta h3 { font-size: clamp(1.1rem, 0.8vw + 0.8rem, 1.5rem); font-weight: 640; letter-spacing: -0.01em; }
.work-meta p { color: var(--grey-on-white); text-align: right; }
.tag { position: absolute; top: clamp(14px, 1.6vw, 22px); right: clamp(14px, 1.6vw, 22px); font-size: 12px; border: 1px solid currentColor; border-radius: 999px; padding: 3px 10px; opacity: 0.8; }

/* poster 1: Kopi Lane */
.p-kopi { background: #000; align-content: space-between; }
.p-kopi .mk { font-size: clamp(4rem, 10vw, 9rem); font-weight: 900; font-variation-settings: "wdth" 62; line-height: 0.78; letter-spacing: -0.04em; }
.p-kopi .ring { position: absolute; right: -18%; bottom: -14%; width: 78%; aspect-ratio: 1; border-radius: 50%; border: clamp(14px, 2.4vw, 34px) solid var(--white); }
.p-kopi .sub { font-size: var(--fs-small); max-width: 18ch; position: relative; }
/* poster 2: Hale & Ward */
.p-hale { background: var(--white); color: var(--black); align-content: center; justify-items: center; text-align: center; }
.p-hale .mk { font-size: clamp(3rem, 7vw, 6.4rem); font-weight: 300; font-variation-settings: "wdth" 125; letter-spacing: 0.02em; line-height: 0.95; }
.p-hale .rule { width: 40%; height: 1px; background: currentColor; margin: 24px auto; }
.p-hale .sub { font-size: var(--fs-small); letter-spacing: 0.03em; }
/* poster 3: SKN/9 */
.p-skn { background: #111; align-content: end; }
.p-skn .grid { position: absolute; inset: 0; background-image: linear-gradient(#2a2a2a 1px, transparent 1px), linear-gradient(90deg, #2a2a2a 1px, transparent 1px); background-size: 12.5% 10%; }
.p-skn .mk { position: relative; font-size: clamp(5rem, 13vw, 12rem); font-weight: 200; font-variation-settings: "wdth" 62; line-height: 0.8; }
.p-skn .dot { position: absolute; top: 22%; left: 30%; width: 36%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #8a8a8a 45%, #1a1a1a 75%); }
/* poster 4: Monsoon Uniform */
.p-mon { background: var(--white); color: var(--black); align-content: space-between; }
.p-mon .mk { font-size: clamp(2.6rem, 6.4vw, 6rem); font-weight: 900; font-variation-settings: "wdth" 125; line-height: 0.86; letter-spacing: -0.03em; }
.p-mon .bars { display: grid; gap: 6px; }
.p-mon .bars i { display: block; height: clamp(6px, 0.9vw, 12px); background: currentColor; }
.p-mon .bars i:nth-child(2) { width: 82%; } .p-mon .bars i:nth-child(3) { width: 58%; } .p-mon .bars i:nth-child(4) { width: 30%; }

/* CMS cards reuse the original grid and motion. No WordPress images are applied. */
.svc.cms-svc .h3, .svc.cms-svc p, .cms-work-card .work-meta { overflow-wrap: anywhere; }
.work.is-single-project .work-pin { height: auto; }
.cms-work-card .poster .mk.cms-project-name {
  position: relative; overflow-wrap: anywhere; text-wrap: balance;
  font-size: clamp(1.9rem, 3.1vw, 3.9rem); line-height: 1.02;
}
.p-cms-neutral { background: #101010; color: var(--white); align-content: end; }

/* ---------- Process ---------- */
.process-head { margin-bottom: clamp(48px, 8vh, 96px); max-width: 16ch; }
.steps-wrap { position: relative; padding-left: clamp(40px, 6vw, 96px); }
.steps { position: relative; display: grid; gap: clamp(48px, 9vh, 110px); }
.steps-line .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion .steps-line .draw { stroke-dashoffset: 1; }
.steps-line { position: absolute; left: 6px; top: 0; height: 100%; width: 2px; overflow: visible; }
.steps-line line { stroke: var(--white); stroke-width: 2; }
.steps-line .base { stroke: var(--line-dark); }
.step { position: relative; display: grid; grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: baseline; }
.step::before {
  content: ""; position: absolute; left: calc(-1 * clamp(40px, 6vw, 96px) + 0px); top: 0.5em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--black); border: 2px solid var(--line-dark); transition: background 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.step.is-on::before { background: #fff; border-color: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,0.08); }
.step-n { font-size: clamp(2.6rem, 5vw, 5.4rem); font-weight: 800; font-variation-settings: "wdth" 62; line-height: 0.85; color: var(--grey); transition: color 0.5s; }
.step.is-on .step-n { color: var(--white); }
.step .h3 { font-size: clamp(1.8rem, 3.2vw, 3.6rem); }
.step p { color: var(--grey); max-width: 40ch; }
@media (max-width: 900px) { .step { grid-template-columns: 1fr; } }

/* ---------- Manifesto ---------- */
.manifesto { min-height: 100svh; display: grid; align-content: center; }
.press {
  font-size: clamp(2.6rem, 7.4vw, 9.6rem); font-weight: 400; line-height: 0.95; letter-spacing: -0.03em;
  max-width: 16ch; cursor: default;
}
.press .w { display: inline-block; white-space: nowrap; }
.press .c { display: inline-block; font-variation-settings: "wdth" 80, "wght" 300; will-change: font-variation-settings; }
.press .em { font-style: italic; }

/* ---------- Wear ---------- */
.wear { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; border-top: 1px solid var(--line-dark); padding-top: clamp(64px, 10vh, 120px); }
.wear .h2 { font-size: clamp(2.2rem, 4.6vw, 5.4rem); }
.wear p { margin-top: 20px; color: var(--grey); max-width: 40ch; }
.wear-form { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.tee { width: min(100%, 520px); justify-self: center; }
.tee path { fill: url(#chromeGrad); }
.tee-wrap { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
@media (max-width: 900px) { .wear { grid-template-columns: 1fr; } .tee { width: 70%; } }

/* ---------- Contact ---------- */
.contact-title { font-size: clamp(3rem, 10vw, 12rem); font-weight: 800; font-variation-settings: "wdth" 116; line-height: 0.86; letter-spacing: -0.045em; max-width: 12ch; }
.underline { width: 100%; height: 60px; margin-top: 8px; overflow: visible; }
.underline path { fill: none; stroke: url(#chromeStroke); stroke-width: 6; stroke-linecap: round; }
.contact-grid { margin-top: clamp(48px, 8vh, 96px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.contact-aside { grid-column: 1 / span 4; }
.contact-aside p + p { margin-top: 16px; }
.contact-form { grid-column: 6 / span 7; display: grid; gap: 28px; }
@media (max-width: 900px) { .contact-aside, .contact-form { grid-column: 1 / -1; } }
.f { display: grid; gap: 8px; }
.f label, .f legend { font-size: var(--fs-small); color: var(--grey-on-white); padding: 0; }
.f input, .f textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line-light); background: transparent;
  padding: 10px 0 12px; font-size: clamp(1.1rem, 0.6vw + 0.9rem, 1.4rem); outline: none; border-radius: 0;
  transition: border-color 0.3s;
}
.f input:focus-visible, .f textarea:focus-visible { border-bottom-color: var(--black); box-shadow: 0 2px 0 var(--black); }
.f textarea { resize: vertical; min-height: 120px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 640px) { .f-row { grid-template-columns: 1fr; } }
fieldset.f { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips-in { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.chip-in { position: relative; }
.chip-in input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-in span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 1px solid var(--line-light); border-radius: 999px; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.chip-in input:checked + span { background: var(--black); color: var(--white); border-color: var(--black); }
.chip-in input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 3px; }
.f-err { font-size: var(--fs-small); color: #000; font-weight: 600; min-height: 1.2em; }
.f input[aria-invalid="true"] { border-bottom-color: #000; border-bottom-width: 2px; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.submit { min-width: 200px; overflow: hidden; }
.form-status { font-size: var(--fs-small); }

/* ---------- Footer ---------- */
.site-foot { padding: clamp(64px, 10vh, 120px) var(--gutter) 24px; overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 8vh, 96px); }
.foot-top a { font-size: clamp(1.2rem, 1.4vw + 0.6rem, 2rem); }
.foot-top p { color: var(--grey); max-width: 42ch; font-size: var(--fs-small); }
.wordmark { position: relative; font-size: 15.4vw; font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -0.06em; line-height: 0.78; white-space: nowrap; user-select: none; margin-left: -0.04em; }
.wordmark .outline { color: transparent; -webkit-text-stroke: 1px #555; }
.wordmark .fill {
  position: absolute; inset: 0; color: transparent;
  background: linear-gradient(110deg, #3a3a3a, #fafafa 22%, #6b6b6b 40%, #e9e9e9 58%, #2a2a2a 76%, #d0d0d0);
  -webkit-background-clip: text; background-clip: text;
  -webkit-mask-image: radial-gradient(circle at var(--mx, -40%) var(--my, 50%), #000 0 var(--r0, 14%), transparent var(--r1, 34%));
  mask-image: radial-gradient(circle at var(--mx, -40%) var(--my, 50%), #000 0 var(--r0, 14%), transparent var(--r1, 34%));
}
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; font-size: 13px; color: var(--grey); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .grain { display: none; }
}

/* ================================================================== */
/* 2026-11-19 revision: clear offer in hero, services list, pricing    */
/* ================================================================== */

/* ---------- Hero: say what we do, keep the liquid clear of the copy ---------- */
.hero-title { font-size: clamp(3rem, 7.4vw, 9.4rem); max-width: 9ch; }
.hero-copy { display: grid; gap: 20px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags li {
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 14px;
  font-size: var(--fs-small); color: var(--white-2); white-space: nowrap;
}
.hero-actions { align-items: center; }
.hero-price { flex-basis: 100%; text-align: right; font-size: var(--fs-small); color: var(--grey); }
.hero-price strong { color: var(--white); font-weight: 700; font-size: 1.25em; }
@media (max-width: 760px), (max-width: 960px) and (hover: none) and (pointer: coarse) {
  .hero-title, .has-gl .hero-title { font-size: clamp(2.6rem, 12.4vw, 4.4rem); max-width: 11ch; }
  .hero-foot { margin-top: 22px; gap: 22px; }
  .hero-price { text-align: left; }
  .hero-actions .btn { flex: 1 1 140px; }
  .hero-tags li { padding: 5px 12px; }
  /* Solid bar once the page scrolls, so the header never sits on top of copy. */
  .site-head { transition: background-color 0.3s; }
  .site-head.is-stuck {
    mix-blend-mode: normal; background: rgba(0, 0, 0, 0.86);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    padding-bottom: 12px; padding-top: max(12px, env(safe-area-inset-top));
  }
}

/* ---------- Services (now on paper, ten rows) ---------- */
.svc { grid-template-columns: 3.2rem minmax(0, 1.2fr) minmax(0, 1fr); padding: clamp(18px, 2.6vh, 30px) 0; }
.svc .h3 { font-size: clamp(1.7rem, 3.2vw, 3.6rem); }
.svc-n { font-size: var(--fs-small); font-feature-settings: "tnum"; color: var(--grey); align-self: start; padding-top: 0.6em; }
.paper .svc-list, .paper .svc { border-color: var(--line-light); }
.paper .svc p, .paper .services-head p, .paper .svc-n { color: var(--grey-on-white); }
@media (hover: hover) { .paper .svc:hover p { color: var(--black); } }
@media (min-width: 1200px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .has-svc-preview .svc { grid-template-columns: 3.2rem minmax(0, 1.2fr) minmax(0, 1fr) var(--svc-preview-width); }
}
.paper .svc-preview { background: var(--black); border-radius: 50%; }
@media (max-width: 760px) {
  .svc { grid-template-columns: 1fr; gap: 8px; }
  .svc-n { padding-top: 0; }
}

/* ---------- Pricing ---------- */
.pricing-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-bottom: clamp(40px, 7vh, 80px); }
.pricing-head .h2 { grid-column: 1 / span 8; }
.pricing-head .lede { grid-column: 9 / span 4; align-self: end; color: var(--grey); }
@media (max-width: 900px) { .pricing-head .h2, .pricing-head .lede { grid-column: 1 / -1; } }

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1240px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .plans { grid-template-columns: 1fr; } }
.plan {
  display: flex; flex-direction: column; gap: 22px;
  padding: clamp(22px, 2vw, 32px); border: 1px solid var(--line-dark); border-radius: 22px;
  background: var(--black-2);
}
.plan--lead { background: var(--white); color: var(--black); border-color: var(--white); }
.plan-name { font-size: clamp(1.1rem, 0.6vw + 0.9rem, 1.4rem); font-weight: 680; font-variation-settings: "wdth" 108; letter-spacing: -0.01em; }
.plan-price {
  margin-top: 14px; font-size: clamp(3rem, 4.2vw, 4.6rem); font-weight: 800; font-variation-settings: "wdth" 72;
  line-height: 0.9; letter-spacing: -0.035em; font-feature-settings: "tnum"; display: flex; align-items: baseline; gap: 0.08em;
}
.plan-price--sm { font-size: clamp(2.2rem, 3vw, 3.2rem); margin-top: 0; }
.plan-cur { font-size: 0.42em; font-weight: 640; letter-spacing: 0; align-self: flex-start; margin-top: 0.25em; }
.plan-from { font-size: 0.26em; font-weight: 500; letter-spacing: 0; margin-right: 0.4em; font-variation-settings: "wdth" 100; }
.plan-per { font-size: 0.32em; font-weight: 500; letter-spacing: 0; margin-left: 0.15em; font-variation-settings: "wdth" 100; }
.plan-term { margin-top: 10px; font-size: var(--fs-small); color: var(--grey); }
.plan-fit { margin-top: 14px; line-height: 1.4; }
.plan--lead .plan-term, .plan--lead .plan-plus { color: var(--grey-on-white); }
.plan-plus { font-size: var(--fs-small); color: var(--grey); margin-bottom: -10px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.plan-list { display: grid; gap: 9px; font-size: var(--fs-small); line-height: 1.35; flex: 1; align-content: start; }
.plan-list li { position: relative; padding-left: 22px; }
.plan-list li::before {
  content: ""; position: absolute; left: 2px; top: 0.42em; width: 10px; height: 6px;
  border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg);
}
.plan-top + .plan-list { padding-top: 20px; border-top: 1px solid var(--line-dark); }
.plan--lead .plan-plus { border-color: var(--line-light); }
.plan-cta { width: 100%; }
.plan--lead .btn--solid { background: var(--black); color: var(--white); border-color: var(--black); }
@media (hover: hover) { .plan--lead .btn--solid:hover { background: transparent; color: var(--black); } }

.care { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 1fr)); gap: 16px; }
.care-intro { padding: clamp(22px, 2vw, 32px) clamp(22px, 2vw, 32px) clamp(22px, 2vw, 32px) 0; display: grid; gap: 14px; align-content: start; }
.care-intro .muted { max-width: 40ch; }
.care-plan { padding: clamp(22px, 2vw, 32px); border: 1px solid var(--line-dark); border-radius: 22px; display: grid; gap: 20px; align-content: start; }
.care-plan .plan-list { padding-top: 18px; border-top: 1px solid var(--line-dark); }
@media (max-width: 900px) { .care { grid-template-columns: 1fr; } .care-intro { padding: 24px 0 8px; } }

.own { margin-top: clamp(64px, 10vh, 120px); padding-top: clamp(32px, 5vh, 56px); border-top: 1px solid var(--line-dark); }
.own-title {
  font-size: clamp(2rem, 4.2vw, 4.8rem); font-weight: 760; font-variation-settings: "wdth" 112;
  line-height: 0.95; letter-spacing: -0.035em; max-width: 14ch; text-wrap: balance;
}
.own-points { margin-top: clamp(28px, 5vh, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.own-points h4 { font-size: var(--fs-h3); font-weight: 650; font-variation-settings: "wdth" 104; letter-spacing: -0.02em; line-height: 1.05; }
.own-points p { margin-top: 12px; color: var(--grey); max-width: 38ch; }
.own-note { margin-top: 32px; max-width: 70ch; }
@media (max-width: 900px) { .own-points { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Shift: no pinned slideshow on phones, just the list ---------- */
@media (max-width: 760px), (max-width: 960px) and (hover: none) and (pointer: coarse) {
  .motion .shift-stage { height: auto; display: block; }
  .motion .stats { height: auto; border-top: 1px solid var(--line-light); }
  .motion .stat { position: static; opacity: 1; pointer-events: auto; padding: 28px 0; border-bottom: 1px solid var(--line-light); }
  .motion .shift-progress, .motion .shift-dither { display: none; }
  .stat-num { font-size: clamp(3.4rem, 18vw, 5.4rem); }
}

/* ---------- Language switch (EN / 中文) ---------- */
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 36px; padding: 0 12px;
  border: 1px solid currentColor; border-radius: 999px;
  font-size: var(--fs-small); text-decoration: none; letter-spacing: 0;
}
@media (hover: hover) { .lang-switch:hover { background: #fff; color: #000; } }
@media (hover: hover) { .site-head.is-stuck .lang-switch:hover { background: var(--white); color: var(--black); } }
@media (max-width: 760px) {
  .site-nav a.lang-switch { display: inline-flex; }
  .site-nav { gap: 8px; }
}

/* ---------- Chinese page ---------- */
/* Archivo stays first so Latin text and numbers keep the brand face; CJK falls through to Noto Sans SC. */
html:lang(zh) body {
  font-family: "Archivo", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  line-break: strict;
}
:lang(zh) .hero-title, :lang(zh) .h2, :lang(zh) .h3, :lang(zh) .contact-title, :lang(zh) .own-title,
:lang(zh) .press, :lang(zh) .svc .h3, :lang(zh) .plan-name, :lang(zh) .own-points h4 { letter-spacing: 0; }
:lang(zh) .hero-title { line-height: 1.1; max-width: 6.2em; font-weight: 800; }
:lang(zh) .h2 { line-height: 1.12; }
:lang(zh) .h3, :lang(zh) .svc .h3 { line-height: 1.2; }
:lang(zh) .contact-title { line-height: 1.08; max-width: 9em; }
:lang(zh) .own-title { line-height: 1.15; max-width: 10em; }
:lang(zh) .press { line-height: 1.25; }
:lang(zh) .stat-text, :lang(zh) .lede, :lang(zh) .hero-sub { line-height: 1.6; }
:lang(zh) p, :lang(zh) li { line-height: 1.65; }
:lang(zh) .plan-list { line-height: 1.5; }
.plan-from--after { margin: 0 0 0 0.35em; }
@media (max-width: 760px), (max-width: 960px) and (hover: none) and (pointer: coarse) {
  /* Two lines on phones: 让官网 / 成为答案。 sized so the longer line (5 characters) always fits. */
  :lang(zh) .hero-title, :lang(zh).has-gl .hero-title { line-height: 1.1; max-width: none; font-size: min(calc((100vw - 2 * var(--gutter)) / 5.6), 4.6rem); }
}
:lang(zh) .press { max-width: 12em; }


/* ====================================================================== */
/* Search demo: readable result rows instead of grey bars                  */
/* ====================================================================== */
.serp-row { display: grid; gap: 4px; padding: 14px 0; }
.serp-row .u, .serp-row .t, .serp-row .d {
  width: auto; height: auto; background: none; margin: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.serp-row .u { font-size: 12px; color: #8c8c8c; }
.serp-row .t { font-size: clamp(0.95rem, 0.3vw + 0.85rem, 1.08rem); font-weight: 560; color: #d8d8d8; }
.serp-row .d, .serp-row .d + .d { width: auto; font-size: 13px; color: #6e6e6e; }
.serp-row .u b {
  display: inline-block; margin-right: 6px; padding: 0 6px; border: 1px solid #555; border-radius: 4px;
  font-size: 11px; font-weight: 600; color: #bdbdbd;
}
.serp-row--own { opacity: 0.6; }
.serp-row--own .u b { margin: 0 0 0 6px; border-style: dashed; }

/* Work note: privacy */
.work-head .work-note { max-width: 34ch; font-size: var(--fs-small); line-height: 1.5; }

/* ====================================================================== */
/* FAQ (pricing section)                                                   */
/* ====================================================================== */
.faq { margin-top: clamp(64px, 10vh, 120px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.faq-title { grid-column: 1 / span 4; }
.faq-list { grid-column: 5 / span 8; border-bottom: 1px solid var(--line-dark); }
.faq-item { border-top: 1px solid var(--line-dark); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform 0.35s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
.faq-item h4 { font-size: clamp(1.02rem, 0.5vw + 0.9rem, 1.3rem); font-weight: 560; line-height: 1.35; }
.faq-item p { padding: 0 0 24px; max-width: 62ch; color: var(--grey); }
@media (hover: hover) { .faq-item summary:hover h4 { text-decoration: underline; text-underline-offset: 4px; } }
@media (max-width: 900px) { .faq-title, .faq-list { grid-column: 1 / -1; } }

/* Folded plan lists on phones */
.plan-list.is-folded li:nth-child(n+7) { display: none; }
.plan-more {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; padding: 0;
  background: none; border: 0; color: inherit; font: inherit; font-size: var(--fs-small);
  text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}
.plan-more:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* ====================================================================== */
/* Touch screens (phones + tablets)                                       */
/* ====================================================================== */
/* Tap feedback replaces hover: a quick press instead of a state that sticks. */
.touch .btn, .touch .nav-cta, .touch .lang-switch, .touch .chip-in span, .touch .plan-more, .touch .faq-item summary {
  transition: transform 0.18s var(--ease-out), background-color 0.25s, color 0.25s;
}
.touch .btn:active, .touch .nav-cta:active, .touch .lang-switch:active, .touch .chip-in:active span { transform: scale(0.96); }
.touch .faq-item summary:active, .touch .plan-more:active { opacity: 0.6; }
@media (min-width: 761px) { .touch .site-nav a:not(.nav-cta):not(.lang-switch) { padding-block: 12px; } }
.touch .lang-switch, .touch .nav-cta { min-height: 40px; }
/* iOS zooms into inputs smaller than 16px. */
.touch input, .touch textarea { font-size: max(16px, 1em); }

/* Search demo: stacked, no pinning */
.motion .serp-stage.is-flow {
  height: auto; display: grid; grid-template-columns: 1fr; gap: 14px 32px;
  place-items: stretch; margin-top: clamp(40px, 6vh, 72px);
}
.serp-stage.is-flow .mode-labels { display: contents; }
.serp-stage.is-flow .mode-labels span {
  position: static; opacity: 1; transform: none; text-align: left;
  font-size: var(--fs-small); color: var(--grey);
}
.serp-stage.is-flow .mode-labels span:first-child { order: 0; }
.serp-stage.is-flow .serp { order: 1; position: static; max-width: none; }
.serp-stage.is-flow .mode-labels span + span { order: 2; margin-top: 24px; }
.serp-stage.is-flow .answer-card { order: 3; position: static; max-width: none; }
@media (min-width: 761px) {
  .motion .serp-stage.is-flow { grid-template-columns: 1fr 1fr; }
  .serp-stage.is-flow .mode-labels span + span { order: 1; margin-top: 0; }
  .serp-stage.is-flow .serp, .serp-stage.is-flow .answer-card { order: 2; }
}

/* Work: native horizontal swipe with snap points */
.motion .work.is-swipe .work-pin { height: auto; display: block; }
.work.is-swipe .work-viewport {
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.work.is-swipe .work-viewport::-webkit-scrollbar { display: none; }
.work.is-swipe .work-track { padding-right: var(--gutter); }
.work.is-swipe .work-card { width: min(78vw, 420px); }
.work.is-swipe .poster { will-change: auto; }
.work-progress { position: relative; height: 2px; margin: 24px var(--gutter) 0; background: var(--line-light); overflow: hidden; }
.work-progress i { position: absolute; inset: 0 auto 0 0; background: var(--black); transition: transform 0.1s linear; }
@media (min-width: 761px) { .work.is-swipe .work-card { width: min(44vw, 460px); } }

/* Shift on touch tablets wider than the compact breakpoint: same list as phones */
.touch.motion .shift-stage { height: auto; display: block; }
.touch.motion .stats { height: auto; border-top: 1px solid var(--line-light); }
.touch.motion .stat { position: static; opacity: 1; pointer-events: auto; padding: 32px 0; border-bottom: 1px solid var(--line-light); }
.touch.motion .shift-progress, .touch.motion .shift-dither { display: none; }

/* ====================================================================== */
/* Phones: remove dead space                                              */
/* ====================================================================== */
@media (max-width: 760px), (max-width: 960px) and (hover: none) and (pointer: coarse) {
  .sec { padding-top: clamp(64px, 9svh, 88px); padding-bottom: clamp(64px, 9svh, 88px); }
  .shift-head, .why-head, .process-head { margin-bottom: 36px; }
  .shift-close { margin-top: 56px; }
  .quote { margin-top: 24px; }
  .stat { padding: 24px 0; gap: 12px; }
  .demo { margin-top: 56px; padding-top: 32px; }
  .demo-out { min-height: 5.5em; }
  .why-card { min-height: 0; top: calc(12svh + var(--i) * 12px); }
  .steps { gap: 40px; }
  .work-head { margin-bottom: 28px; }
  .manifesto { min-height: 0; padding-block: 24px; }
  .wear { padding-top: 40px; gap: 24px; }
  .tee { width: 52%; }
  .contact-grid { margin-top: 32px; }
  .faq { margin-top: 56px; gap: 16px; }
  .own { margin-top: 48px; }

}
/* Comfortable tap targets for the logo and motion toggle. */
.touch .brand { display: inline-block; padding-block: 8px; }
.touch .motion-toggle { min-height: 44px; }

/* ====================================================================== */
/* 2026-11-19 (2): intro, headline wrapping, footer, touch                */
/* ====================================================================== */
/* The loader is visible from the first paint; nothing scrolls under it. */
html.intro-active, html.intro-active body { overflow: hidden; }
html.intro-pending .loader-count { opacity: 1; }

/* Title reveal units and Chinese line groups */
.hero-title .ti { display: inline-block; will-change: transform; }
.hero-title .hl { display: inline-block; }

/* Headings never leave a single word or character alone on the last line. */
.hero-title, .h2, .h3, .contact-title, .own-title, .why-card .h2, .plan-name, .faq-item h4, .stat-text, .press { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* Footer: email + WhatsApp */
.foot-contact { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.foot-top .btn--wa { --h: 48px; gap: 10px; padding: 0 22px; font-size: 1rem; color: var(--white); }
.btn--wa .wa-icon { width: 20px; height: 20px; flex: none; }

/* Footer wordmark on touch: liquid metal after the light sweep */
@property --wm-a { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --wm-b { syntax: '<percentage>'; inherits: false; initial-value: 100%; }
.wordmark.is-flowing .fill {
  background:
    radial-gradient(ellipse 22% 90% at var(--wm-a) 35%, rgba(255, 255, 255, 0.95), transparent 70%),
    radial-gradient(ellipse 16% 80% at var(--wm-b) 70%, rgba(20, 20, 20, 0.9), transparent 70%),
    linear-gradient(100deg, #262626, #f4f4f4 12%, #5a5a5a 26%, #e6e6e6 40%, #1c1c1c 54%, #d2d2d2 68%, #3a3a3a 82%, #f2f2f2);
  background-size: 100% 100%, 100% 100%, 320% 100%;
  -webkit-background-clip: text; background-clip: text;
  filter: url(#wm-liquid);
  animation: wm-flow 7s ease-in-out infinite alternate, wm-a 5.3s ease-in-out infinite alternate, wm-b 6.7s ease-in-out infinite alternate;
}
@keyframes wm-flow { from { background-position: 0 0, 0 0, 0% 50%; } to { background-position: 0 0, 0 0, 100% 50%; } }
@keyframes wm-a { from { --wm-a: -10%; } to { --wm-a: 110%; } }
@keyframes wm-b { from { --wm-b: 110%; } to { --wm-b: -10%; } }
.paused .wordmark.is-flowing .fill { animation-play-state: paused; }

/* Services on touch: the row in the middle of the screen takes the hover look */
.touch .svc.is-active .h3 { transform: translateX(14px); font-variation-settings: "wdth" 125; }
.touch .paper .svc.is-active p, .touch .svc.is-active p { color: var(--black); }
.touch .svc .svc-n { transition: color 0.4s; }
.touch .svc.is-active .svc-n { color: var(--black); }

/* Chinese headings break at punctuation or marked word boundaries, never inside a word. */
:lang(zh) .hero-title, :lang(zh) .h2, :lang(zh) .h3, :lang(zh) .contact-title, :lang(zh) .own-title, :lang(zh) .press, :lang(zh) .faq-item h4 {
  word-break: keep-all; overflow-wrap: anywhere;
}

/* ====================================================================== */
/* Yellow triangle: one flat colour block at the top-right of a heading   */
/* ====================================================================== */
/* Placed by script just past the end of the heading's first line. It sits outside the text flow,
   so the heading's own layout never changes. */
:root { --accent: #ffd400; }
.accent-host { position: relative; }
.tri-accent {
  position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none;
  width: var(--tri-w, 40px); height: calc(var(--tri-w, 40px) * 1.12);
  background: var(--accent);
  clip-path: polygon(0 0, 100% 6%, 84% 100%);
  transform-origin: 30% 20%;
}
.motion .tri-accent { opacity: 0; transform: scale(0.4) rotate(-18deg); transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s linear; }
.motion .tri-accent.is-in { opacity: 1; transform: none; }
.tri-accent[hidden] { display: none; }
@media print { .tri-accent { display: none; } }
/* Right-angle triangle: horizontal top edge, vertical right edge, 90° corner top-right. Never rotated. */
.tri-accent {
  height: var(--tri-w, 40px);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transform-origin: 100% 0;
}
.motion .tri-accent { transform: scale(0); transition: transform 0.55s var(--ease-out), opacity 0.2s linear; }
.motion .tri-accent.is-in { transform: none; }
