/* WeDo Studio theme styles.
   Tokens first, then base, layout, components and pages. Dark first; "paper" sections are light. */

:root {
  --ink: #0a0a0a;
  --ink-2: #141414;
  --ink-3: #1d1d1d;
  --text: #f3f0ea;
  --muted: #a9a49c;
  --line: rgba(255, 255, 255, 0.13);
  --paper: #f3efe8;
  --paper-2: #e8e2d8;
  --paper-text: #0a0a0a;
  --paper-muted: #55514b;
  --o: #f97316;
  --o-text: #ff8a3d;
  --y: #ffd23f;
  --r: #e2470f;
  --grad: linear-gradient(120deg, #ffd23f 0%, #f97316 55%, #e2470f 100%);
  --f: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --m: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gut: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 var(--f);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; }
a:hover { color: var(--o-text); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 0.5em; font-weight: 800; }
h2 { font-size: clamp(2rem, 4.6vw, 4.1rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--o); color: var(--ink); }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--m); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.screen-reader-text, .hp {
  position: absolute !important; 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(--y); color: var(--ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top 0.2s;
}
.skip:focus { top: 12px; color: var(--ink); }
main { position: relative; z-index: 1; outline: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.section { position: relative; padding: clamp(80px, 12vw, 170px) 0; }
.section-head { max-width: 900px; margin-bottom: clamp(36px, 6vw, 72px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 500 0.78rem/1 var(--m); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--grad); }
.eyebrow:has(.live-dot)::before { display: none; }
.live-dot { width: 9px; height: 9px; border-radius: 3px; background: var(--grad); box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(249, 115, 22, 0); } 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); } }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 46ch; }
.display { font-size: clamp(2.7rem, 8.4vw, 8.2rem); line-height: 0.95; letter-spacing: -0.045em; }
.display-s { font-size: clamp(2.2rem, 5.4vw, 5rem); line-height: 0.98; letter-spacing: -0.04em; }

/* paper sections hide the particles behind them */
.paper { background: var(--paper); color: var(--paper-text); --muted: var(--paper-muted); --line: rgba(0, 0, 0, 0.14); color-scheme: light; }
.paper a:hover { color: #b8460a; }
.paper .eyebrow { color: var(--paper-muted); }

/* ---------- fx layers ---------- */
.fx-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.fx-live .fx-canvas { opacity: 1; }
.fx-glow {
  position: fixed; z-index: 0; pointer-events: none; width: 70vmax; height: 70vmax; right: -25vmax; top: -20vmax;
  background: radial-gradient(closest-side, rgba(249, 115, 22, 0.16), rgba(249, 115, 22, 0) 70%);
}
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gut);
  transition: transform 0.45s var(--ease), background 0.3s, backdrop-filter 0.3s;
}
.site-header.is-scrolled { background: rgba(10, 10, 10, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: block; width: 116px; flex: none; transition: transform 0.3s var(--ease); }
.brand img { width: 100%; }
.main-nav { margin-left: auto; }
.main-nav .menu { display: flex; gap: 6px; }
.main-nav .menu a {
  display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.95rem;
  position: relative;
}
.main-nav .menu a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease);
}
.main-nav .menu a:hover { color: var(--text); }
.main-nav .menu a:hover::after, .main-nav .current-menu-item > a::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-extra { display: none; }
.menu-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent;
  position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 1.5px solid var(--line); background: var(--bg);
  overflow: hidden; isolation: isolate; transition: transform 0.35s var(--ease), color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn > * { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0; background: var(--grad); border-radius: inherit;
  transform: translateY(101%); transition: transform 0.5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--ink); border-color: transparent; }
.btn .ico { transition: transform 0.35s var(--ease); }
.btn:hover .ico { transform: translateX(4px) rotate(-45deg); }
.btn-dot { background: var(--text); color: var(--ink); border-color: var(--text); }
.btn-dot:hover { color: var(--ink); }
.btn-ghost { color: var(--text); }
.btn-xl { padding: 22px 38px; font-size: 1.15rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.paper .btn-ghost { color: var(--paper-text); }
.header-cta { padding: 11px 20px; font-size: 0.92rem; }

/* ---------- split words ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; }
.js:not(.is-still) .split .w > span { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.js:not(.is-still) .split.in .w > span { transform: none; }
.js:not(.is-still) .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js:not(.is-still) .reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--header-h) + 20px) 0 clamp(36px, 6vh, 70px); }
.hero-stage { position: absolute; inset: var(--header-h) var(--gut) auto; height: 52svh; display: grid; place-items: center; pointer-events: none; }
.hero-mark { width: min(86vw, 1000px); transition: opacity 0.8s var(--ease); }
.fx-live .hero-mark { opacity: 0; }
.hero-hint { position: absolute; bottom: -6px; margin: 0; color: var(--muted); opacity: 0; transition: opacity 1s 1.5s; }
.fx-live .hero-hint { opacity: 1; }
.hint-touch { display: none; }
.is-touch .hint-fine { display: none; }
.is-touch .hint-touch { display: inline; }
.hero-copy { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; position: relative; }
.hero-title { font-size: clamp(2.3rem, 5.6vw, 5.4rem); line-height: 0.98; letter-spacing: -0.045em; margin: 0; text-shadow: 0 2px 30px rgba(10, 10, 10, 0.6); }
.hero-side .lead { margin-bottom: 26px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none; color: var(--muted);
}
.scroll-cue span { width: 1px; height: 38px; background: linear-gradient(var(--o), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 1; overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: rgba(10, 10, 10, 0.5); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 36px; animation: marquee 32s linear infinite; }
.marquee span { font-size: clamp(1.6rem, 3.6vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.2px var(--text); }
.marquee i { width: 16px; height: 15px; border-radius: 5px; background: var(--grad); flex: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- statement ---------- */
.statement { font-size: clamp(1.9rem, 4.6vw, 4.4rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; max-width: 22ch; margin: 0; }
.statement-s { font-size: clamp(1.4rem, 2.6vw, 2.3rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
[data-highlight] span { color: rgba(243, 240, 234, 0.2); transition: color 0.4s; }
[data-highlight] span.lit { color: var(--text); }
.paper [data-highlight] span { color: rgba(10, 10, 10, 0.2); }
.paper [data-highlight] span.lit { color: var(--paper-text); }
.intro { padding-bottom: 40px; }

/* ---------- services list (home) ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc a {
  display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr) 48px; gap: 24px; align-items: center;
  padding: clamp(22px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative;
}
.svc a::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gut)); background: var(--grad); transform: scaleY(0); transform-origin: bottom; transition: transform 0.55s var(--ease); z-index: -1; }
.svc a:hover, .svc a:focus-visible { color: var(--ink); }
.svc a:hover::before, .svc a:focus-visible::before { transform: scaleY(1); }
.svc a:hover .svc-text, .svc a:focus-visible .svc-text { color: rgba(10, 10, 10, 0.8); }
.svc-no { color: var(--muted); }
.svc a:hover .svc-no { color: var(--ink); }
.svc-name { font-size: clamp(1.7rem, 4vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; transition: transform 0.5s var(--ease); }
.svc a:hover .svc-name { transform: translateX(14px); }
.svc-text { color: var(--muted); font-size: 0.98rem; transition: color 0.3s; }
.svc-go { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; transition: transform 0.4s var(--ease); }
.svc a:hover .svc-go { transform: rotate(-45deg); }
.svc-preview {
  position: fixed; left: 0; top: 0; z-index: 50; width: 300px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; pointer-events: none;
  opacity: 0; scale: 0.6; transition: opacity 0.3s, scale 0.45s var(--ease); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.svc-preview.on { opacity: 1; scale: 1; }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }
.svc-web { display: none; position: absolute; inset: 0; background: var(--ink-3); padding: 14px; }
.svc-web span { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #444; margin-right: 5px; }
.svc-web b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 4rem/1 var(--m); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc-preview.is-web .svc-web { display: block; }

/* ---------- why / stats ---------- */
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.one-mark { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.one-mark .mono { color: var(--paper-muted); }
.sizes { display: flex; align-items: baseline; gap: 22px; margin-top: 14px; }
.sizes b { font-weight: 800; letter-spacing: -0.06em; line-height: 1; }
.sizes b:nth-child(1) { font-size: 5rem; } .sizes b:nth-child(2) { font-size: 3rem; } .sizes b:nth-child(3) { font-size: 1.8rem; } .sizes b:nth-child(4) { font-size: 1rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin: clamp(50px, 8vw, 100px) 0 0; }
.stat { padding: 30px 20px 0 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 24px; }
.stat dd { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.stat-value { font-size: clamp(2.4rem, 5vw, 4.6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); font-size: 0.95rem; }

/* ---------- concept lab: horizontal strip ---------- */
.lab-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; max-width: var(--max); }
.lab-head .lead { margin: 0; }
.hscroll { position: relative; }
.hscroll-rail { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gut) 20px; scroll-padding-left: var(--gut); scrollbar-width: thin; }
.hscroll-track { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; }
.brand-card { width: min(78vw, 520px); scroll-snap-align: start; flex: none; }
.brand-card a { display: block; text-decoration: none; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.3s; transform-style: preserve-3d; }
.brand-card a:hover { color: var(--text); border-color: rgba(249, 115, 22, 0.6); }
.brand-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.brand-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.brand-card a:hover .brand-img img { transform: scale(1.07); }
.brand-meta { display: grid; gap: 8px; padding: 22px 24px 26px; }
.brand-name { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }
.brand-text { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.brand-count { color: var(--o-text); }
.brand-all a { height: 100%; min-height: 300px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; font-size: 1.6rem; font-weight: 800; background: transparent; border-style: dashed; }
.brand-all a .ico { width: 40px; height: 40px; }
.lab { padding-bottom: 60px; }
.hscroll.is-pinned .hscroll-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }
.hscroll.is-pinned .lab-head { margin-bottom: clamp(24px, 4vh, 48px); width: 100%; }
.hscroll.is-pinned .hscroll-rail { overflow: visible; padding-bottom: 0; }
.hscroll.is-pinned .brand-card { width: min(36vw, 46vh, 520px); }
.hscroll.is-pinned .hscroll-track { padding-right: var(--gut); will-change: transform; }
.hscroll.is-pinned::after {
  content: ""; position: absolute; left: var(--gut); right: var(--gut); bottom: 0; height: 2px; background: var(--line);
}

/* ---------- collage ---------- */
.collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 26px); padding: 0 var(--gut); max-width: 1500px; margin: 0 auto; overflow: hidden; padding-block: 80px; }
.collage-col { display: grid; gap: clamp(12px, 2vw, 26px); will-change: transform; }
.collage-col:nth-child(2) { margin-top: 90px; }
.tile { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tile figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(10, 10, 10, 0.75); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 8px; font-size: 0.68rem; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; padding-top: 34px; --fill: 0; }
.steps::before, .steps::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; }
.steps::before { right: 0; background: var(--line); }
.steps::after { width: calc(var(--fill) * 100%); background: var(--grad); box-shadow: 0 0 18px rgba(249, 115, 22, 0.7); }
.step { position: relative; padding: 28px 24px 30px; border-radius: var(--radius); background: rgba(20, 20, 20, 0.72); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.step::before { content: ""; position: absolute; top: -41px; left: 24px; width: 14px; height: 14px; border-radius: 5px; background: var(--ink); border: 2px solid var(--o); }
.step-no { color: var(--o-text); display: block; margin-bottom: 30px; }
.step p { color: var(--muted); }
.step-out { border-top: 1px dashed var(--line); padding-top: 14px; margin: 18px 0 0; font-size: 0.7rem; line-height: 1.6; }

/* ---------- reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; padding: 30px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; transition: transform 0.4s var(--ease); }
.review blockquote { margin: 0; font-size: 1.15rem; line-height: 1.5; }
.review figcaption { display: grid; gap: 2px; }
.review figcaption span { color: var(--muted); font-size: 0.9rem; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 6vw, 100px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 700; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--o-text); }
.plus { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; flex: none; transition: transform 0.4s var(--ease), background 0.3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease); }
details[open] .plus { background: var(--grad); border-color: transparent; color: var(--ink); transform: rotate(180deg); }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 60px 26px 0; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--line); overflow: hidden; }
.footer-cta { text-align: left; padding: clamp(90px, 14vw, 200px) var(--gut); max-width: var(--max); margin: 0 auto; }
.footer-cta .display { max-width: 14ch; margin-bottom: 44px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; max-width: var(--max); margin: 0 auto; padding: 60px var(--gut); border-top: 1px solid var(--line); background: rgba(10, 10, 10, 0.75); }
.footer-brand img { width: 150px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); max-width: 32ch; }
.f-title { font: 500 0.75rem/1 var(--m); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a { text-decoration: none; }
.footer-base { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; max-width: var(--max); margin: 0 auto; padding: 20px var(--gut) 30px; color: var(--muted); font-size: 0.88rem; }
.footer-base p { margin: 0; }
.to-top { text-decoration: none; }
.footer-word {
  font-size: clamp(6rem, 27vw, 26rem); font-weight: 800; letter-spacing: -0.07em; line-height: 0.75; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(243, 240, 234, 0.16); user-select: none; margin-bottom: -0.06em;
}
.footer-word span { color: var(--o); -webkit-text-stroke: 0; }

/* ---------- cursor ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor label { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: text; }
.has-cursor select { cursor: pointer; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity 0.3s; }
.cursor.on .cursor-dot, .cursor.on .cursor-ring { opacity: 1; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--o); }
.cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid rgba(243, 240, 234, 0.6);
  display: grid; place-items: center; transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background 0.3s, border-color 0.3s, opacity 0.3s;
  mix-blend-mode: difference;
}
.cursor.hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: #fff; border-color: #fff; }
.cursor.label .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--grad); border-color: transparent; mix-blend-mode: normal; }
.cursor.text .cursor-ring { width: 4px; height: 30px; margin: -15px 0 0 -2px; border-radius: 2px; }
.cursor.down .cursor-ring { scale: 0.85; }
.cursor-label { font: 700 0.75rem/1 var(--f); color: var(--ink); text-transform: uppercase; letter-spacing: 0.06em; text-align: center; }

/* ---------- extra effects (added by site.js, so plain HTML stays untouched) ---------- */
.scr { font-variant-numeric: tabular-nums; }
.spot { position: relative; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 170, 60, 0.22), rgba(249, 115, 22, 0.06) 45%, transparent 70%);
  mix-blend-mode: screen;
}
.paper .spot::after { mix-blend-mode: multiply; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(249, 115, 22, 0.18), transparent 70%); }
.spot:hover::after { opacity: 1; }
.curtain { clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.1s var(--ease) var(--cd, 0ms); }
.curtain img { scale: 1.25; transition: scale 1.4s var(--ease) var(--cd, 0ms), transform 0.9s var(--ease), filter 0.5s; }
.curtain.shown { clip-path: inset(0 0 0 0 round var(--radius)); }
.curtain.shown img { scale: 1; }
.mq-js .marquee-track { animation: none; will-change: transform; }
.footer-word.lit-js {
  background: radial-gradient(340px circle at var(--mx, -999px) var(--my, -999px), #ffd23f, #f97316 40%, rgba(226, 71, 15, 0) 70%);
  -webkit-background-clip: text; background-clip: text;
}
.comet { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 299; pointer-events: none; }

/* ---------- page wipe ---------- */
.wipe { --x: 50%; --y: 50%; display: none; position: fixed; inset: 0; z-index: 400; pointer-events: none; background: var(--grad); clip-path: circle(0px at var(--x) var(--y)); }
.js .wipe { display: block; }
.wipe-out .wipe { clip-path: circle(150% at var(--x) var(--y)); transition: clip-path 0.55s cubic-bezier(0.7, 0, 0.3, 1); }
.wipe-in .wipe { clip-path: circle(150% at 50% 50%); transition: none; }
html:not(.wipe-in):not(.wipe-out) .wipe { transition: clip-path 0.6s cubic-bezier(0.7, 0, 0.3, 1); }

/* ---------- inner pages ---------- */
.page-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 80px) 0 clamp(50px, 8vw, 100px); }
.page-hero .display { max-width: 12ch; }
.page-hero .lead { margin-top: 26px; }
.chip-nav { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: rgba(20, 20, 20, 0.6); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.chip:hover { border-color: var(--o); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--grad); color: var(--ink); border-color: transparent; }
.chip .mono { font-size: 0.7rem; opacity: 0.7; }
.chip-s { padding: 7px 14px; font-size: 0.85rem; }

.svc-detail { padding: clamp(70px, 10vw, 140px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 40px; }
.svc-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.svc-detail:nth-child(even) .svc-detail-media { order: -1; }
.svc-detail .svc-no { display: block; color: var(--o-text); margin-bottom: 20px; }
.svc-detail-copy > p:not(.lead) { color: var(--muted); max-width: 52ch; }
.svc-detail-copy { background: linear-gradient(90deg, rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0.4)); border-radius: var(--radius); }
.gets-title { color: var(--muted); margin: 30px 0 14px; font-weight: 500; }
.gets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 34px; }
.gets li { display: flex; gap: 10px; align-items: baseline; }
.gets li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--grad); flex: none; transform: translateY(-2px); }
.svc-detail-media { border-radius: var(--radius); overflow: hidden; transition: transform 0.4s var(--ease); }
.svc-detail-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.browser { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4 / 3; display: flex; flex-direction: column; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.browser-bar b { margin-left: 14px; font: 400 0.75rem var(--m); color: var(--muted); background: var(--ink); padding: 5px 12px; border-radius: 6px; }
.browser-body { flex: 1; padding: 6%; display: grid; grid-template-rows: 1.3fr 1fr; gap: 6%; }
.bb-hero { border-radius: 12px; background: radial-gradient(circle at 80% 30%, rgba(249, 115, 22, 0.6), transparent 45%), var(--ink-2); padding: 6%; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.bb-hero i { display: block; height: 12px; width: 60%; border-radius: 6px; background: rgba(255, 255, 255, 0.75); }
.bb-hero i:nth-child(2) { width: 40%; background: rgba(255, 255, 255, 0.3); }
.bb-hero .bb-btn { width: 22%; height: 22px; border-radius: 99px; background: var(--grad); margin-top: 8px; }
.bb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; }
.bb-cards i { border-radius: 10px; background: var(--ink-2); border: 1px solid var(--line); }

/* work */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.brands-filter { margin-bottom: 10px; }
.filter-status { color: var(--muted); min-height: 1.4em; margin-bottom: 26px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); }
.work-item[hidden] { display: none; }
.work-open { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; border-radius: var(--radius); }
.work-img { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-2); }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.5s; }
.work-open:hover .work-img img, .work-open:focus-visible .work-img img { transform: scale(1.06); }
.work-meta { display: grid; gap: 4px; padding: 14px 4px 0; }
.work-brand { color: var(--o-text); font-size: 0.7rem; }
.work-title { font-weight: 700; font-size: 1.08rem; }
.viewer { width: min(1200px, 94vw); max-height: 94vh; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); color: var(--text); }
.viewer::backdrop { background: rgba(5, 5, 5, 0.86); backdrop-filter: blur(6px); }
.viewer-inner { position: relative; }
.viewer figure { margin: 0; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.viewer img { width: 100%; height: 100%; max-height: 90vh; object-fit: contain; background: #000; }
.viewer figcaption { padding: 70px 30px 30px; }
.viewer-brand { color: var(--o-text); }
.viewer h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.viewer-text { color: var(--muted); }
.viewer-note { color: var(--muted); font-size: 0.68rem; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 24px; }
.viewer button { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(10, 10, 10, 0.8); display: grid; place-items: center; }
.viewer button:hover { background: var(--grad); color: var(--ink); }
.viewer-close { top: 14px; right: 14px; }
.viewer-prev { top: 50%; left: 14px; transform: translateY(-50%); }
.viewer-next { top: 50%; left: calc(66.6% - 60px); transform: translateY(-50%); }
.viewer-open { overflow: hidden; }

/* about */
.story-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 6vw, 100px); }
.story-copy { background: rgba(10, 10, 10, 0.6); border-radius: var(--radius); }
.story-copy > p:not(.statement-s) { color: var(--muted); font-size: 1.08rem; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform 0.4s var(--ease); }
.value .mono { color: #b8460a; display: block; margin-bottom: 40px; }
.value p { color: var(--paper-muted); margin: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.contact-info { display: grid; gap: 26px; position: sticky; top: 110px; }
.big-link { display: grid; gap: 6px; font-size: clamp(1.2rem, 2.2vw, 1.8rem); font-weight: 700; letter-spacing: -0.02em; text-decoration: none; margin: 0; word-break: break-word; }
.big-link .mono { color: var(--muted); font-weight: 500; letter-spacing: 0.1em; }
.form-wrap { background: rgba(20, 20, 20, 0.82); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(22px, 4vw, 48px); backdrop-filter: blur(10px); }
.enquiry { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0; padding: 26px 0 10px; font-size: 1.08rem; outline: none; transition: border-color 0.3s;
}
.field select { padding-top: 10px; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23a9a49c' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field select option { background: var(--ink-2); }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--o); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; box-shadow: 0 2px 0 var(--o); }
.field label:not(.static) { position: absolute; left: 0; top: 24px; color: var(--muted); pointer-events: none; transition: transform 0.3s var(--ease), color 0.3s, font-size 0.3s; transform-origin: left; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(0.78); color: var(--o-text); }
.field label.static { display: block; font: 500 0.72rem/1 var(--m); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field [aria-invalid="true"] { border-color: #ff6b5b; }
.err { color: #ff8e80; font-size: 0.88rem; margin: 6px 0 0; }
.choice { border: 0; padding: 0; margin: 0; }
.choice legend { font: 500 0.72rem/1 var(--m); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.pill { display: inline-block; margin: 0 8px 10px 0; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 0.95rem; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.pill:hover span { border-color: var(--o); }
.pill input:checked + span { background: var(--grad); color: var(--ink); border-color: transparent; }
.pill input:focus-visible + span { outline: 3px solid var(--y); outline-offset: 3px; }
.notice { border-radius: var(--radius); padding: 22px 24px; margin-bottom: 22px; }
.notice-ok { background: var(--grad); color: var(--ink); }
.notice-ok h2 { font-size: 2rem; }
.notice-error { border: 1.5px solid #ff6b5b; color: #ffb0a6; }
.notice p:last-child { margin: 0; }

/* blog and prose */
.prose { max-width: 760px; }
.prose p, .prose li { color: #d9d4cc; font-size: 1.1rem; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.post-thumb { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; }
.post-list li a { display: grid; grid-template-columns: 160px 1fr 30px; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.post-title { font-size: 1.5rem; font-weight: 700; }
.hero-404 { min-height: 100svh; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .header-cta { display: none; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .menu-toggle {
    display: grid; place-items: center; margin-left: auto; width: 48px; height: 48px; border-radius: 50%;
    border: 1.5px solid var(--line); background: rgba(10, 10, 10, 0.6); position: relative; z-index: 2;
  }
  .menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.4s var(--ease), background 0.2s; position: relative; }
  .menu-toggle-lines::before, .menu-toggle-lines::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-lines::before { top: -6px; }
  .menu-toggle-lines::after { top: 6px; }
  .menu-open .menu-toggle-lines { background: transparent; }
  .menu-open .menu-toggle-lines::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-toggle-lines::after { transform: translateY(-6px) rotate(-45deg); }
  .brand { position: relative; z-index: 2; width: 100px; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1; background: var(--ink); padding: calc(var(--header-h) + 40px) var(--gut) 40px;
    display: flex; flex-direction: column; justify-content: space-between; visibility: hidden;
    clip-path: circle(0 at calc(100% - 40px) 33px); transition: clip-path 0.6s cubic-bezier(0.7, 0, 0.3, 1), visibility 0s 0.6s;
  }
  .js .main-nav { margin: 0; }
  .menu-open .main-nav { visibility: visible; clip-path: circle(150% at calc(100% - 40px) 33px); transition: clip-path 0.7s cubic-bezier(0.7, 0, 0.3, 1); }
  .main-nav .menu { flex-direction: column; gap: 0; }
  .main-nav .menu a { font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 800; letter-spacing: -0.04em; padding: 6px 0; border-radius: 0; }
  .main-nav .menu a::after { left: 0; right: auto; width: 60px; bottom: 4px; }
  .nav-extra { display: grid; gap: 8px; color: var(--muted); }
  .nav-extra a { text-decoration: none; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { transform: none; background: transparent; backdrop-filter: none; }
  html:not(.js) .main-nav { position: static; visibility: visible; clip-path: none; padding: 0; background: none; }
  html:not(.js) .main-nav .menu { flex-direction: row; flex-wrap: wrap; }
  html:not(.js) .main-nav .menu a { font-size: 1rem; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .nav-extra { display: none; }
  .hero-copy, .why-grid, .faq-grid, .story-grid, .contact-grid, .svc-detail-grid { grid-template-columns: 1fr; }
  .hero-stage { height: 38svh; }
  .hero-hint { display: none; }
  .svc a { grid-template-columns: 44px 1fr 40px; gap: 14px; }
  .svc-text { grid-column: 2 / 3; grid-row: 2; }
  .svc-go { width: 40px; height: 40px; grid-row: 1; grid-column: 3; }
  .lab-head { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before, .steps::after { display: none; }
  .step::before { display: none; }
  .review-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .svc-detail:nth-child(even) .svc-detail-media { order: 0; }
  .contact-info { position: static; }
  .viewer figure { grid-template-columns: 1fr; }
  .viewer img { max-height: 60vh; }
  .viewer figcaption { padding: 22px; }
  .viewer-prev, .viewer-next { top: 30vh; }
  .viewer-next { left: auto; right: 14px; }
  .collage { grid-template-columns: 1fr 1fr; }
  .collage-col:nth-child(3) { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .work-grid, .value-grid, .footer-grid, .field-row, .gets { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .btn-xl { padding: 18px 28px; font-size: 1.05rem; }
  .faq-a { padding-right: 0; }
  .post-list li a { grid-template-columns: 1fr 24px; }
  .post-list .mono { grid-column: 1 / -1; }
  .hero { padding-bottom: 28px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 901px) { .scroll-cue { display: flex; } }

/* ---------- effects off (Customizer) ---------- */
.is-still .marquee-track, .is-still .grain, .is-still .live-dot, .is-still .scroll-cue span { animation: none; }
.is-still .grain { display: none; }
