/* ==========================================================================
   Tsukuru — shared styles
   ========================================================================== */

:root {
  --bg: #ffffff;
  --ink: #0e0e0d;
  --ink-2: #3a3a38;
  --muted: #8a8a86;
  --line: #ebebe8;
  --soft: #f6f6f4;
  --accent: #ff4a1c;

  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* ---------- Page loader curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 100; background: var(--ink);
  display: grid; place-items: center; color: #fff;
  transition: transform 1s var(--ease-in-out);
}
.curtain span {
  font-size: clamp(28px, 4vw, 44px); font-weight: 600; letter-spacing: -0.04em;
  overflow: hidden; display: inline-block;
}
.curtain span i { display: inline-block; font-style: normal; transform: translateY(110%); animation: rise .8s var(--ease) forwards; }
.curtain.done { transform: translateY(-100%); }
@keyframes rise { to { transform: translateY(0); } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: transform .5s var(--ease), background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav.hidden { transform: translateY(-100%); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.brand { font-size: 22px; font-weight: 700; letter-spacing: -0.05em; display: inline-flex; align-items: baseline; gap: 6px; }
.brand sup { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  position: relative; padding: 8px 14px; font-size: 14px; font-weight: 500; border-radius: 999px;
  transition: background .25s;
}
.nav-links a:hover { background: var(--soft); }

.nav-right { display: flex; align-items: center; gap: 20px; }
.clock { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.clock b { color: var(--ink); font-weight: 500; }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--ink); color: #fff; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(3px) rotate(-45deg); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { color: #fff; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--soft); position: relative; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-open .menu-toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: var(--bg);
  padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-in-out);
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.mobile-menu nav a { display: block; font-size: 44px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.2; padding: 4px 0; border-bottom: 1px solid var(--line); }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding: 168px 0 72px; position: relative; }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-kanji { font-size: 13px; color: var(--muted); }
.hero-kanji b { color: var(--ink); font-weight: 500; }

.hero h1 {
  margin: 0; font-weight: 600; letter-spacing: -0.055em; line-height: .98;
  font-size: clamp(46px, 8.6vw, 136px); max-width: 14ch;
}
.hero h1 .serif { font-weight: 400; letter-spacing: -0.03em; }

.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-loaded .split-line > span { transform: translateY(0); }

.hero-bottom {
  margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
}
.hero-bottom p { margin: 0; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 46ch; line-height: 1.5; }
.hero-cta { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

.scroll-hint { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.scroll-hint i { width: 1px; height: 36px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--ink); animation: drip 1.8s var(--ease-in-out) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.03em; white-space: nowrap; }
.marquee-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.marquee-item .serif { color: var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(88px, 12vw, 160px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: clamp(48px, 6vw, 80px); align-items: start; }
.section-head h2 { margin: 0; font-size: clamp(36px, 5.2vw, 76px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.section-head p { margin: 0; color: var(--ink-2); font-size: 17px; max-width: 46ch; }
.section-head .head-right { display: flex; flex-direction: column; gap: 24px; }

/* About statement */
.statement { font-size: clamp(26px, 3.4vw, 50px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.12; margin: 0; max-width: 24ch; }
.statement .w { color: #d6d6d2; transition: color .5s; }
.statement .w.on { color: var(--ink); }

.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.facts { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 28px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact b { display: block; font-size: clamp(36px, 4vw, 56px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.fact span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.work-card { display: block; grid-column: span 1; }
.work-card.wide { grid-column: span 2; }
.work-cover {
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft);
}
.work-card.wide .work-cover { aspect-ratio: 16 / 7.5; }
.work-cover .inner { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.work-card:hover .work-cover .inner { transform: scale(1.035); }
.work-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; align-items: baseline; }
.work-meta h3 { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.04em; display: inline-flex; align-items: center; gap: 10px; }
.work-meta h3 .arr { display: inline-block; opacity: 0; transform: translateX(-8px); transition: all .45s var(--ease); color: var(--accent); }
.work-card:hover .work-meta h3 .arr { opacity: 1; transform: translateX(0); }
.work-meta p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tag { font-size: 12px; font-weight: 500; padding: 6px 11px; border-radius: 999px; background: var(--soft); white-space: nowrap; }

/* Mock cover art: browser frame + abstract UI */
.mock { position: absolute; inset: 0; display: grid; place-items: center; padding: 7% 8% 0; }
.mock-frame {
  width: 100%; height: 100%; border-radius: 12px 12px 0 0; background: #fff; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .25), 0 0 0 1px rgba(0, 0, 0, .04);
  display: flex; flex-direction: column; align-self: end;
}
.mock-bar { height: 28px; flex: none; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #f0f0ee; }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: #e4e4e0; }
.mock-bar em { margin-left: 12px; font-style: normal; font-size: 10px; color: #a0a09c; background: #f5f5f3; padding: 2px 10px; border-radius: 6px; }
.mock-body { flex: 1; padding: 6% 7%; display: flex; flex-direction: column; gap: 10px; }
.mb-line { height: 9px; border-radius: 4px; background: #ececea; }
.mb-h { font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-size: clamp(16px, 2.4vw, 40px); }
.mb-row { display: flex; gap: 10px; }
.mb-card { flex: 1; border-radius: 8px; min-height: 54px; }
.mb-pill { display: inline-block; height: 22px; width: 84px; border-radius: 999px; }

/* project palettes */
.pal-pcp { background: #e7f1ec; }
.pal-pcp .mb-h { color: #0f4c3a; }
.pal-pcp .c1 { background: #0f4c3a; } .pal-pcp .c2 { background: #cfe5da; } .pal-pcp .c3 { background: #f2f7f4; }

.pal-asa { background: #f3ece2; }
.pal-asa .mb-h { color: #2a2420; }
.pal-asa .c1 { background: #c8643b; } .pal-asa .c2 { background: #eadfd1; } .pal-asa .c3 { background: #faf6f1; }

.pal-pd { background: #e8ecfb; }
.pal-pd .mb-h { color: #1b2559; }
.pal-pd .c1 { background: #3451d1; } .pal-pd .c2 { background: #d5dcf7; } .pal-pd .c3 { background: #f4f6fd; }

/* ---------- Services (accordion rows) ---------- */
.svc { border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc-head {
  width: 100%; display: grid; grid-template-columns: 80px 1fr auto 44px; gap: 20px; align-items: center;
  padding: 30px 0; text-align: left;
}
.svc-num { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.svc-title { font-size: clamp(26px, 3.4vw, 48px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; transition: transform .5s var(--ease), color .3s; }
.svc-head:hover .svc-title { transform: translateX(10px); }
.svc-time { font-size: 14px; color: var(--muted); }
.plus { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); position: relative; transition: background .3s, transform .5s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.open .plus { background: var(--ink); color: #fff; transform: rotate(180deg); }
.open .plus::after { transform: translate(-50%, -50%) rotate(0); }

.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.svc.open .svc-body { grid-template-rows: 1fr; }
.svc-body > div { overflow: hidden; }
.svc-inner { display: grid; grid-template-columns: 80px 1fr 1fr 44px; gap: 20px; padding-bottom: 36px; }
.svc-inner p { margin: 0; grid-column: 2; color: var(--ink-2); max-width: 44ch; font-size: 17px; }
.svc-inner ul { grid-column: 3; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.svc-inner li { font-size: 13px; padding: 7px 13px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  background: var(--soft); border-radius: 18px; padding: 28px; min-height: 320px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
}
.step:hover { background: var(--ink); color: #fff; transform: translateY(-6px); }
.step:hover p { color: rgba(255, 255, 255, .7); }
.step-num { font-size: 14px; font-variant-numeric: tabular-nums; display: flex; justify-content: space-between; }
.step-num span:last-child { color: var(--muted); }
.step h3 { margin: 0 0 12px; font-size: 26px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.step p { margin: 0; font-size: 15px; color: var(--ink-2); transition: color .5s; }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.principle { padding: 36px 36px 36px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 16px; }
.principle:nth-child(2n) { padding-left: 36px; border-left: 1px solid var(--line); }
.principle .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; transition: background .4s, color .4s, transform .6s var(--ease); }
.principle:hover .ico { background: var(--accent); color: #fff; transform: rotate(-8deg); }
.principle h3 { margin: 0 0 6px; font-size: 21px; font-weight: 600; letter-spacing: -0.03em; }
.principle p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 42ch; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; text-align: left; font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; letter-spacing: -0.02em; }
.faq-q .plus { flex: none; width: 36px; height: 36px; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 60px 28px 0; color: var(--ink-2); max-width: 64ch; }

/* ---------- CTA ---------- */
.cta { padding: clamp(100px, 14vw, 200px) 0; text-align: center; }
.cta h2 { margin: 0 auto; font-size: clamp(52px, 10vw, 168px); font-weight: 600; letter-spacing: -0.06em; line-height: .92; }
.cta p { margin: 28px auto 40px; color: var(--ink-2); font-size: 18px; max-width: 40ch; }
.cta .magnetic { display: inline-block; }
.cta .btn { padding: 22px 34px; font-size: 16px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; overflow: hidden; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-cols h4 { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--muted); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-cols a { font-size: 15px; position: relative; }
.ulink { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); padding-bottom: 1px; }
.ulink:hover { background-size: 100% 1px; }
.footer-cols p { margin: 0; color: var(--ink-2); max-width: 32ch; font-size: 15px; }

.wordmark {
  margin: clamp(48px, 7vw, 96px) 0 0; font-size: clamp(80px, 23vw, 360px); font-weight: 700;
  letter-spacing: -0.075em; line-height: .78; display: flex; justify-content: space-between;
  user-select: none;
}
.wordmark span { display: inline-block; transform: translateY(40%); opacity: 0; transition: transform 1.1s var(--ease), opacity 1.1s var(--ease); }
.wordmark.in span { transform: translateY(0); opacity: 1; }
.wordmark span:hover { color: var(--accent); transition: color .2s; }

.footer-base { margin-top: 36px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.to-top { display: inline-flex; gap: 8px; align-items: center; }
.to-top:hover { color: var(--ink); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(12% 6% 0 6% round 18px); transition: clip-path 1.3s var(--ease); }
.reveal-img.in { clip-path: inset(0 0 0 0 round 18px); }

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ink);
  display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 500;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, opacity .3s;
  opacity: 0;
}
.cursor.show { opacity: 1; }
.cursor span { opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease); white-space: nowrap; }
.cursor.hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(14, 14, 13, .08); }
.cursor.label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--accent); }
.cursor.label span { opacity: 1; transform: none; }

.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }

/* ==========================================================================
   Case study pages
   ========================================================================== */
.cs-hero { padding: 160px 0 56px; }
.back { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 40px; transition: color .3s; }
.back:hover { color: var(--ink); }
.back span { transition: transform .4s var(--ease); }
.back:hover span { transform: translateX(-4px); }
.cs-hero h1 { margin: 0; font-size: clamp(48px, 9vw, 144px); font-weight: 600; letter-spacing: -0.06em; line-height: .95; }
.cs-lede { margin: 32px 0 0; font-size: clamp(19px, 2vw, 26px); letter-spacing: -0.02em; color: var(--ink-2); max-width: 36ch; line-height: 1.35; }

.cs-meta { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.cs-meta div { padding: 22px 20px 0 0; }
.cs-meta div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.cs-meta h4 { margin: 0 0 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.cs-meta p { margin: 0; font-size: 15px; }

.cs-cover { margin-top: 24px; }
.cs-cover .work-cover { aspect-ratio: 16 / 8.5; }

.cs-block { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: clamp(64px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); }
.cs-block:last-of-type { border-bottom: 0; }
.cs-block h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; }
.cs-block .body { font-size: 18px; color: var(--ink-2); max-width: 60ch; }
.cs-block .body p { margin: 0 0 18px; }
.cs-block .body p:last-child { margin-bottom: 0; }

.cs-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cs-list li { background: var(--soft); border-radius: 14px; padding: 20px 22px; font-size: 15px; color: var(--ink-2); transition: transform .5s var(--ease), background .4s; }
.cs-list li:hover { transform: translateY(-4px); background: #efefec; }
.cs-list li b { display: block; color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }

.cs-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cs-figures div { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); padding: 24px; }
.cs-figures b { display: block; font-size: clamp(40px, 4.4vw, 64px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.cs-figures span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }

.stack { display: flex; flex-wrap: wrap; gap: 8px; }
.stack span { font-size: 14px; padding: 9px 15px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s, box-shadow .3s; }
.stack span:hover { background: var(--ink); color: #fff; box-shadow: none; }

.next-project { display: block; padding: clamp(80px, 11vw, 150px) 0; border-top: 1px solid var(--line); text-align: center; }
.next-project small { display: block; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.next-project strong { display: inline-block; font-size: clamp(48px, 9vw, 140px); font-weight: 600; letter-spacing: -0.06em; line-height: .95; transition: transform .6s var(--ease), color .3s; }
.next-project:hover strong { color: var(--accent); transform: translateY(-6px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .clock { display: none; }
}

@media (max-width: 820px) {
  .nav-links, .nav-right .btn { display: none; }
  .menu-toggle { display: block; }
  .hero { padding-top: 136px; }
  .hero-bottom, .section-head, .about-grid, .cs-block { grid-template-columns: 1fr; gap: 24px; }
  .hero-cta { justify-content: flex-start; }
  .facts, .cs-meta { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3), .cs-meta div:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact, .cs-meta div { padding-bottom: 24px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card.wide { grid-column: span 1; }
  .work-card.wide .work-cover { aspect-ratio: 4 / 3; }
  .work-meta { flex-direction: column; gap: 12px; }
  .tags { justify-content: flex-start; }
  .svc-head { grid-template-columns: 40px 1fr 44px; }
  .svc-time { display: none; }
  .svc-inner { grid-template-columns: 1fr; padding-left: 60px; }
  .svc-inner p, .svc-inner ul { grid-column: 1; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle:nth-child(2n) { padding: 28px 0; border-left: 0; }
  .cs-list, .cs-figures { grid-template-columns: 1fr; }
  .cs-cover .work-cover { aspect-ratio: 4 / 3; }
  .faq-a p { padding-right: 0; }
}

@media (max-width: 520px) {
  .process { grid-template-columns: 1fr; }
  .step { min-height: 240px; }
  .footer-cols { grid-template-columns: 1fr; }
  .svc-inner { padding-left: 0; }
}

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .split-line > span, .wordmark span { opacity: 1 !important; transform: none !important; }
  .reveal-img { clip-path: none !important; }
  .marquee-track { animation: none; }
}
