/* 216 Media Services · dark cinematic system, lime from the logo. */

@font-face {
  font-family: "Commissioner";
  src: url("assets/fonts/Commissioner-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Commissioner";
  src: url("assets/fonts/Commissioner-latin-ext-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0b0b0a;
  --bg-2: #121210;
  --surface: #171715;
  --line: rgba(242, 241, 234, 0.1);
  --line-2: rgba(242, 241, 234, 0.18);
  --text: #f2f1ea;
  --muted: #9b998f;
  --dim: #5f5d56;
  --lime: #d4f01e;
  --lime-ink: #10120a;
  --radius: 22px;
  --pad: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "tnum" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, figure, ol, ul, dl, dd, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.ico { width: 1.1em; height: 1.1em; flex: none; }
.lime { color: var(--lime); }
.muted { color: var(--dim); }
em { font-style: normal; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--lime); color: var(--lime-ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }

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

/* ------------------------------------------------------------------ type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.04em; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(212, 240, 30, 0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212, 240, 30, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(212, 240, 30, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 240, 30, 0); } }

.h2 {
  font-size: clamp(36px, 5.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
  max-width: 16ch;
  margin-top: 18px;
  text-wrap: balance;
}
.lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: #c9c7bd; max-width: 46ch; }

.section-head { margin-bottom: clamp(40px, 6vw, 88px); }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head__aside { max-width: 38ch; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; position: relative; padding-bottom: 4px; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform 0.6s var(--ease); }
.link-arrow:hover::after { transform: scaleX(0); }
.link-arrow .ico { transition: transform 0.5s var(--ease); }
.link-arrow:hover .ico, a:hover > .link-arrow .ico, a:hover .link-arrow .ico { transform: translate(3px, -3px) rotate(0deg); }

/* split-text reveal */
/* The mask box is padded past the glyphs (then cancelled with negative margins) so accents, descenders
   and overhanging letters are never clipped once the word has slid in. */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.18em 0.08em 0.2em; margin: -0.18em -0.08em -0.2em; }
.sw > span { display: inline-block; transform: translateY(140%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.is-in .sw > span { transform: none; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------- buttons */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s;
  will-change: transform;
}
.btn--sm { --h: 44px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform 0.55s var(--ease); }
.btn:hover::before { transform: none; }
.btn--lime { background: var(--lime); color: var(--lime-ink); }
.btn--lime::before { background: var(--text); }
.btn--ghost { border: 1px solid var(--line-2); }
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover { color: var(--bg); border-color: var(--text); }
.btn .ico { transition: transform 0.5s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }

.round {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2);
  display: inline-grid; place-items: center; transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.35s var(--ease);
}
.round:hover { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.round:active { transform: scale(0.94); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 12px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: #d8d6cc; }

/* ---------------------------------------------------------------- loader */
.loader {
  position: fixed; inset: 0; z-index: 150; background: var(--bg);
  display: grid; place-items: center; align-content: center; gap: 28px;
  transition: clip-path 1.1s var(--ease-in-out);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__count { font-size: clamp(64px, 12vw, 160px); font-weight: 300; letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.loader__count sup { font-size: 0.3em; color: var(--lime); margin-left: 6px; }
.loader__logo { width: 168px; height: auto; animation: logo-in 1.2s var(--ease) both; }
@keyframes logo-in { from { clip-path: inset(0 100% 0 0); transform: translateX(-12px); } to { clip-path: inset(0 0 0 0); transform: none; } }
.loader__bar { width: min(280px, 60vw); height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--lime); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* -------------------------------------------------------------- chrome */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(var(--sp, 0)); }

.grain {
  position: fixed; inset: -50%; z-index: 110; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 7s steps(8) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-6%,4%); } 40% { transform: translate(5%,-7%); } 60% { transform: translate(-4%,8%); } 80% { transform: translate(7%,-3%); } }

.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 140; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--lime); }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(242, 241, 234, 0.35);
  display: grid; place-items: center; transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background 0.35s, border-color 0.35s;
}
.cursor__ring em { font-size: 13px; font-weight: 600; color: var(--lime-ink); opacity: 0; transition: opacity 0.25s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--lime); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--lime); border-color: var(--lime); }
.cursor.is-label .cursor__ring em { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }

/* -------------------------------------------------------------- header */
.header {
  position: fixed; top: 14px; left: 50%; z-index: 100;
  width: min(calc(100% - 28px), 1240px); transform: translate(-50%, 0);
  display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(18, 18, 16, 0.55); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  transition: transform 0.6s var(--ease), background 0.4s;
}
.header.is-hidden { transform: translate(-50%, calc(-100% - 24px)); }
.header__logo { display: block; flex: none; }
.header__logo img { height: 40px; width: auto; transition: transform 0.5s var(--ease); }
.header__logo:hover img { transform: rotate(-4deg) scale(1.06); }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { position: relative; padding: 10px 14px; font-size: 14px; color: #cfcdc3; border-radius: 999px; transition: color 0.3s, background 0.3s; }
.nav a:hover, .nav a.is-active { color: var(--text); background: rgba(242, 241, 234, 0.07); }
.nav a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--lime); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); position: relative; margin-left: auto; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--lime-ink); transition: transform 0.45s var(--ease), top 0.45s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--pad) 40px;
  clip-path: circle(0% at calc(100% - 44px) 36px);
  transition: clip-path 0.8s var(--ease-in-out);
}
.menu[hidden] { display: flex; visibility: hidden; }
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(34px, 9vw, 56px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1;
  opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), color 0.3s;
}
.menu__nav a i { font-style: normal; font-size: 13px; color: var(--lime); font-weight: 500; letter-spacing: 0; }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: 0.20s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: 0.25s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: 0.30s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: 0.35s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: 0.40s; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: 0.45s; }
.menu__foot { display: flex; flex-direction: column; gap: 6px; color: var(--muted); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; padding: 150px 0 0; overflow: hidden; }
.hero__orb {
  position: absolute; width: 60vmax; height: 60vmax; left: 50%; top: 40%;
  translate: calc(-50% + var(--ox, 0px)) calc(-50% + var(--oy, 0px));
  background: radial-gradient(circle, rgba(212, 240, 30, 0.2) 0%, rgba(212, 240, 30, 0.05) 35%, transparent 65%);
  filter: blur(20px); pointer-events: none; transition: translate 1.2s var(--ease);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 50% { scale: 1.12; opacity: 0.75; } }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__title {
  margin-top: 28px;
  font-size: clamp(54px, 13.6vw, 214px);
  line-height: 0.86; letter-spacing: -0.065em; font-weight: 600;
}
.hero__title .line { display: flex; align-items: center; overflow: hidden; padding: 0.16em 0.08em 0.2em; margin: -0.16em -0.08em -0.2em; }
.hero__title .line--indent { gap: 0.12em; }
.hero__title .line--indent .hero__chip { margin-left: 6vw; }
.word { display: inline-block; transform: translateY(140%) rotate(4deg); transform-origin: left bottom; transition: transform 1.4s var(--ease); }
.word--lime { color: var(--lime); }
.word--dot { color: var(--text); }
.is-ready .word { transform: none; }
.is-ready .line--indent .word { transition-delay: 0.12s; }
.hero__chip {
  display: inline-block; width: 1.5em; height: 0.72em; border-radius: 999px; overflow: hidden; flex: none;
  transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease) 0.35s;
}
.hero__chip img { width: 100%; height: 100%; object-fit: cover; scale: 1.4; transition: scale 1.6s var(--ease) 0.35s; }
.is-ready .hero__chip { transform: none; }
.is-ready .hero__chip img { scale: 1; }

.hero__row { display: grid; grid-template-columns: 1.2fr auto auto; align-items: end; gap: 40px; margin-top: clamp(32px, 5vw, 64px); }
.hero__lead { font-size: clamp(17px, 1.4vw, 20px); color: #c9c7bd; max-width: 40ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__badge { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.hero__ring { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.hero__ring text { fill: var(--muted); font-size: 10.5px; letter-spacing: 0.24em; font-weight: 500; }
.hero__badge strong { font-size: 30px; font-weight: 600; letter-spacing: -0.04em; color: var(--lime); }
@keyframes spin { to { rotate: 360deg; } }

.hero__media {
  position: relative; z-index: 1; height: clamp(320px, 62vw, 860px); margin-top: clamp(48px, 7vw, 100px);
  perspective: 1400px;
}
.hero__frame {
  position: absolute; overflow: hidden; border-radius: var(--radius); background: var(--surface);
  will-change: transform; transition: clip-path 1.6s var(--ease);
  clip-path: inset(100% 0 0 0 round var(--radius));
}
.is-ready .hero__frame { clip-path: inset(0 0 0 0 round var(--radius)); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame--a { left: var(--pad); top: 12%; width: 22%; aspect-ratio: 3/4; transition-delay: 0.45s; }
.hero__frame--b { left: 50%; top: 0; width: 52%; aspect-ratio: 3/2; translate: -50% 0; transition-delay: 0.3s; z-index: 2; }
.hero__frame--c { right: var(--pad); top: 34%; width: 20%; aspect-ratio: 1; transition-delay: 0.6s; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; z-index: 3; width: 26px; height: 42px; margin-left: -13px; border: 1px solid var(--line-2); border-radius: 999px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--lime); animation: scrolly 1.8s var(--ease) infinite; }
@keyframes scrolly { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* -------------------------------------------------------------- clients */
.clients { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.clients__label { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 36px; }
/* Edge fades are overlays, not a mask: a mask isolates the group and breaks the logos' screen blend. */
.marquee { position: relative; overflow: hidden; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 14%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
/* The animated track is its own layer, so it carries the page colour for the logos to screen-blend against. */
.marquee__track { background: var(--bg); display: flex; align-items: center; gap: clamp(40px, 6vw, 96px); width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img {
  height: clamp(54px, 6vw, 84px); width: auto; flex: none;
  filter: grayscale(1) invert(1) brightness(1.15) contrast(3); mix-blend-mode: screen; opacity: 0.6; transition: opacity 0.4s;
}
.marquee__track img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- engine */
.engine { padding: clamp(80px, 10vw, 150px) 0 clamp(64px, 8vw, 120px); }
.engine__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.engine__body { display: grid; gap: 28px; justify-items: start; }
.engine__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21/9; clip-path: inset(18% 8% 18% 8% round 40px); transition: clip-path 1.6s var(--ease); }
.engine__media.is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.engine__media img { width: 100%; height: 130%; object-fit: cover; margin-top: -15%; will-change: transform; }
.engine__tag {
  position: absolute; left: 20px; bottom: 20px; max-width: 360px; padding: 16px 20px; border-radius: 16px;
  background: rgba(11, 11, 10, 0.6); border: 1px solid var(--line); font-size: 15px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; border-right: 1px solid var(--line); padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat dt { font-size: 14px; color: var(--muted); }
.stat dd { font-size: clamp(48px, 6.5vw, 104px); font-weight: 500; letter-spacing: -0.06em; line-height: 1; margin-top: 18px; font-variant-numeric: tabular-nums; }
.stat dd i { font-style: normal; color: var(--lime); }

/* ------------------------------------------------------------ manifesto */
.manifesto { height: 220vh; position: relative; }
.manifesto__sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; padding: 0 var(--pad); }
.manifesto__text {
  max-width: 1200px; font-size: clamp(34px, 5.2vw, 82px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 600;
  text-wrap: balance;
}
.manifesto__text .mw { opacity: 0.12; transition: opacity 0.25s linear; }
.manifesto__text .mw.on { opacity: 1; }

/* ------------------------------------------------------------- services */
.services { padding: clamp(96px, 12vw, 180px) 0; position: relative; }
.svc { border-top: 1px solid var(--line); counter-reset: s; }
.svc__item { border-bottom: 1px solid var(--line); position: relative; }
.svc__item::before { content: ""; position: absolute; inset: 0; background: var(--lime); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); z-index: -1; }
.svc__head {
  width: 100%; display: grid; grid-template-columns: 80px 1fr 56px; align-items: center; gap: 16px;
  padding: clamp(22px, 2.6vw, 36px) 0; text-align: left; transition: padding 0.5s var(--ease), color 0.4s;
}
.svc__num { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; transition: color 0.4s; }
.svc__name { font-size: clamp(26px, 3.8vw, 58px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; transition: transform 0.6s var(--ease); }
.svc__toggle { position: relative; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); transition: background 0.4s, border-color 0.4s, transform 0.6s var(--ease); }
.svc__toggle::before, .svc__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; margin: -0.75px 0 0 -8px; background: currentColor; transition: transform 0.5s var(--ease); }
.svc__toggle::after { transform: rotate(90deg); }
.svc__item.is-open .svc__toggle { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); transform: rotate(180deg); }
.svc__item.is-open .svc__toggle::after { transform: rotate(0deg); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.75s cubic-bezier(0.4, 0, 0.2, 1); }
.svc__body > div > * { opacity: 0; transform: translateY(-12px); transition: opacity 0.3s ease, transform 0.5s var(--ease); }
.svc__item.is-open .svc__body > div > * { opacity: 1; transform: none; transition: opacity 0.5s ease 0.2s, transform 0.7s var(--ease) 0.15s; }
.svc__body > div { overflow: hidden; }
.svc__body p { padding: 0 0 36px 96px; max-width: 72ch; color: #c9c7bd; font-size: clamp(16px, 1.3vw, 19px); }
.svc__item.is-open .svc__body { grid-template-rows: 1fr; }
@media (hover: hover) and (pointer: fine) {
  .svc__head:hover .svc__name { transform: translateX(16px); }
  .svc__head:hover .svc__num { color: var(--lime); }
}
.svc-preview {
  position: fixed; left: 0; top: 0; z-index: 60; width: 340px; aspect-ratio: 800/496; border-radius: 18px; overflow: hidden;
  pointer-events: none; opacity: 0; scale: 0.6; transition: opacity 0.35s var(--ease), scale 0.5s var(--ease);
  will-change: transform; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.svc-preview.is-on { opacity: 1; scale: 1; }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ----------------------------------------------------------------- work */
.work { padding: clamp(64px, 8vw, 120px) 0 clamp(96px, 12vw, 160px); }
.work__stack { display: grid; gap: 0; padding: 0 var(--pad); max-width: var(--max); margin: 0 auto; }
.case { position: sticky; top: 90px; height: calc(100vh - 120px); min-height: 520px; padding-bottom: 24px; }
.case + .case { margin-top: 12vh; }
.case__card {
  display: grid; grid-template-columns: 1.5fr 1fr; height: 100%; border-radius: 28px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transform-origin: center top; will-change: transform; transform: scale(var(--s, 1)); filter: brightness(var(--b, 1));
}
.case__media { overflow: hidden; }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--ease); }
.case__card:hover .case__media img { scale: 1.05; }
.case__info { display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; padding: clamp(28px, 3.5vw, 56px); }
.case__idx { margin-bottom: auto; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.case__title { font-size: clamp(28px, 3.2vw, 52px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; }

/* ---------------------------------------------------------------- bento */
.diff { padding: clamp(64px, 8vw, 120px) 0 clamp(96px, 12vw, 160px); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(260px, auto); gap: 14px; }
.tile {
  position: relative; border-radius: var(--radius); padding: clamp(24px, 2.6vw, 36px); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; isolation: isolate;
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgba(212, 240, 30, 0.13), transparent 45%);
}
.tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(300px circle at var(--x, 50%) var(--y, 50%), rgba(212, 240, 30, 0.8), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.bento:hover .tile::before, .bento:hover .tile::after { opacity: 1; }
.tile--wide { grid-column: span 2; }
.tile--img { grid-row: span 2; padding: 0; }
.tile--img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--ease); }
.tile--img:hover img { scale: 1.06; }
.tile--lime { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.tile--lime p { color: rgba(16, 18, 10, 0.75) !important; }
.tile--lime .tile__num { color: var(--lime-ink) !important; border-color: rgba(16, 18, 10, 0.3) !important; }
.tile--lime::before, .tile--lime::after { display: none; }
.tile__num { align-self: flex-start; margin-bottom: auto; font-size: 13px; color: var(--lime); border: 1px solid var(--line-2); padding: 4px 10px; border-radius: 999px; }
.tile h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; max-width: 18ch; }
.tile p { color: var(--muted); max-width: 44ch; }

/* ----------------------------------------------------------------- team */
.team { padding: clamp(64px, 8vw, 120px) 0 clamp(96px, 12vw, 160px); }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 16px; }
.member { perspective: 900px; }
.member figure {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 1068/1272; background: var(--surface);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.5s var(--ease); will-change: transform;
}
.member img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.85) contrast(1.05); scale: 1.02; transition: filter 0.6s var(--ease), scale 0.9s var(--ease); }
.member:hover img { filter: none; scale: 1.07; }
.member h3 { margin-top: 18px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.member p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.team__grid .member:nth-child(4n+2) { --d: 80ms; }
.team__grid .member:nth-child(4n+3) { --d: 160ms; }
.team__grid .member:nth-child(4n+4) { --d: 240ms; }

/* --------------------------------------------------------------- voices */
.voices { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.voices__nav { display: flex; align-items: center; gap: 16px; }
.voices__count { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }
.voices__count b { color: var(--text); font-weight: 600; }
.voices__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(640px, 86%); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; cursor: grab;
}
.voices__track::-webkit-scrollbar { display: none; }
.voices__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.quote {
  scroll-snap-align: start; border-radius: var(--radius); padding: clamp(28px, 3vw, 44px); min-height: 360px;
  background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 36px;
  transition: border-color 0.4s, background 0.4s;
}
.quote:hover { border-color: var(--line-2); background: var(--surface); }
.quote p { font-size: clamp(19px, 1.7vw, 25px); line-height: 1.35; letter-spacing: -0.02em; }
.quote footer { display: flex; align-items: center; gap: 14px; }
.quote footer span:last-child { display: flex; flex-direction: column; }
.quote small { color: var(--muted); font-size: 14px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); font-weight: 700; font-size: 14px; flex: none; }

/* ----------------------------------------------------------------- blog */
.blog { padding: clamp(64px, 8vw, 120px) 0; }
.post { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); transition: border-color 0.4s; }
.post:hover { border-color: var(--line-2); }
.post__media { overflow: hidden; aspect-ratio: 16/10; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--ease); }
.post:hover .post__media img { scale: 1.05; }
.post__info { display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; padding: clamp(28px, 3.5vw, 56px); }
.post h3 { font-size: clamp(26px, 2.8vw, 44px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 600; }

/* -------------------------------------------------------------- contact */
.contact { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 180px) 0; border-top: 1px solid var(--line); }
.contact__orb { position: absolute; right: -20vmax; bottom: -30vmax; width: 70vmax; height: 70vmax; border-radius: 50%; background: radial-gradient(circle, rgba(212, 240, 30, 0.16), transparent 60%); pointer-events: none; animation: orb-glow 8s ease-in-out infinite; will-change: opacity; }
@keyframes orb-glow { 50% { opacity: 0.55; } }
.contact__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__title { margin-top: 18px; font-size: clamp(44px, 7vw, 112px); line-height: 0.94; letter-spacing: -0.055em; font-weight: 600; }
.contact__lines { margin-top: 48px; display: grid; gap: 14px; }
.contact__lines li { display: flex; align-items: center; gap: 14px; font-size: clamp(18px, 1.6vw, 22px); }
.contact__lines .ico { color: var(--lime); }
.contact__lines a { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size 0.5s var(--ease); }
.contact__lines a:hover { background-size: 100% 1px; }

.chips { border: 0; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 12px; color: var(--muted); font-size: 14px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.chips input:checked + span { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.chips input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 3px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 26px 0 10px; background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  color: var(--text); font: inherit; font-size: 17px; resize: vertical; outline: none; transition: border-color 0.3s;
}
.field label { position: absolute; left: 0; top: 24px; color: var(--muted); pointer-events: none; transition: transform 0.35s var(--ease), color 0.3s; transform-origin: left; }
.field input:focus, .field textarea:focus { border-color: var(--lime); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-20px) scale(0.78); color: var(--lime); }

/* --------------------------------------------------------------- footer */
.socials { display: flex; gap: 10px; }

/* ------------------------------------------------------- home additions */
.section-head--services { align-items: flex-end; }
.svc__more {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 36px 96px; padding: 10px 18px; border-radius: 999px;
  background: rgba(212, 240, 30, 0.1); color: var(--lime); font-weight: 600; font-size: 15px; transition: background 0.3s, color 0.3s;
}
.svc__more:hover { background: var(--lime); color: var(--lime-ink); }
.svc__more .ico { transition: transform 0.4s var(--ease); }
.svc__more:hover .ico { transform: translate(3px, -3px); }
.svc__body p { padding-bottom: 20px; }

/* ----------------------------------------------------------- breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 36px; }
.crumbs a { transition: color 0.3s; }
.crumbs a:hover { color: var(--lime); }
.crumbs [aria-current] { color: var(--text); }
.crumbs__sep { color: var(--dim); }

/* -------------------------------------------------------- service hero */
.phero { position: relative; overflow: hidden; padding: 150px 0 clamp(64px, 8vw, 120px); }
.phero .wrap { position: relative; z-index: 2; }
.phero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.phero__copy { display: grid; gap: 26px; justify-items: start; }
.phero__title { font-size: clamp(46px, 7vw, 112px); line-height: 0.95; letter-spacing: -0.055em; font-weight: 600; text-wrap: balance; }
.phero__title em { display: block; }
.phero__title--hub { max-width: 14ch; margin: 18px 0 28px; }
.phero__media {
  border-radius: 28px; overflow: hidden; aspect-ratio: 800 / 496; background: #e8f3d9;
  clip-path: inset(10% 10% 10% 10% round 40px); transition: clip-path 1.5s var(--ease);
  box-shadow: 0 40px 120px rgba(212, 240, 30, 0.08);
}
.phero__media.is-in { clip-path: inset(0 0 0 0 round 28px); }
.phero__media img { width: 100%; height: 100%; object-fit: cover; scale: 1.12; transition: scale 1.8s var(--ease); }
.phero__media.is-in img { scale: 1; }

/* --------------------------------------------------------------- intro */
.sintro { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.sintro__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.sintro .h2 { margin-top: 0; }
.sintro__text { display: grid; gap: 24px; }
.sintro__text .lead { max-width: 54ch; }

/* --------------------------------------------------------- deliverables */
.deliv { padding: clamp(64px, 8vw, 120px) 0; }
.deliv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.deliv__grid .tile { min-height: 240px; }

/* --------------------------------------------------------------- method */
.method { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; padding-top: 34px; }
.steps::before, .steps::after { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; border-radius: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: var(--lime); transform: scaleX(var(--sp, 0)); transform-origin: left; transition: transform 0.2s linear; }
.step { position: relative; display: grid; gap: 12px; align-content: start; }
.step::before {
  content: ""; position: absolute; top: -34px; left: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line-2); transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.step.is-lit::before { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 0 6px rgba(212, 240, 30, 0.15); }
.step__num { font-size: clamp(44px, 5vw, 76px); font-weight: 500; letter-spacing: -0.06em; line-height: 1; color: var(--dim); transition: color 0.4s; font-variant-numeric: tabular-nums; }
.step.is-lit .step__num { color: var(--lime); }
.step h3 { font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.03em; font-weight: 600; }
.step p { color: var(--muted); }

/* ---------------------------------------------------------- quote, work */
.solo-quote { padding: clamp(48px, 6vw, 96px) 0; }
.quote--big { min-height: 0; padding: clamp(32px, 5vw, 72px); background: var(--bg-2); }
.quote--big p { font-size: clamp(22px, 2.6vw, 38px); line-height: 1.25; max-width: 40ch; }
.solo-work { padding: clamp(48px, 6vw, 96px) 0; }
.case__card--solo { min-height: clamp(380px, 46vw, 620px); }

/* ------------------------------------------------------------------ FAQ */
.faq { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); overflow: hidden; }
.qa.is-closing .qa__toggle { background: transparent; border-color: var(--line-2); color: var(--text); transform: none; }
.qa.is-closing .qa__toggle::after { transform: rotate(90deg); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -0.02em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--lime); }
.qa__toggle { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: background 0.35s, border-color 0.35s, transform 0.5s var(--ease); color: var(--text); }
.qa__toggle::before, .qa__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: currentColor; transition: transform 0.4s var(--ease); }
.qa__toggle::after { transform: rotate(90deg); }
.qa[open] .qa__toggle { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); transform: rotate(180deg); }
.qa[open] .qa__toggle::after { transform: rotate(0deg); }
.qa__body p { padding: 0 60px 28px 0; color: #c9c7bd; max-width: 64ch; }

/* -------------------------------------------------------- service cards */
.others { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.hub { padding: 0 0 clamp(64px, 8vw, 120px); }
.scards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scard a {
  display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line); transition: border-color 0.4s, transform 0.6s var(--ease);
}
.scard a:hover { border-color: rgba(212, 240, 30, 0.5); transform: translateY(-6px); }
.scard__media { aspect-ratio: 800 / 496; overflow: hidden; background: #e8f3d9; }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.scard a:hover .scard__media img { scale: 1.06; }
.scard__body { position: relative; display: grid; gap: 10px; padding: 24px 24px 28px; flex: 1; align-content: start; }
.scard__num { font-size: 13px; color: var(--lime); font-variant-numeric: tabular-nums; }
.scard__title { font-size: clamp(21px, 1.8vw, 26px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; padding-right: 52px; }
.scard__body p { color: var(--muted); }
.scard__go {
  position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.5s var(--ease);
}
.scard a:hover .scard__go, .bcard a:hover .scard__go { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); transform: rotate(45deg); }


/* ----------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .phero__grid, .sintro__grid, .faq__grid { grid-template-columns: 1fr; }
  .deliv__grid, .scards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before, .steps::after { display: none; }
  .step::before { top: -30px; }
}
@media (max-width: 760px) {
  .phero { padding-top: 120px; }
  .deliv__grid, .scards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; padding-top: 0; gap: 0; }
  .step { padding: 0 0 32px 40px; }
  .step::before { top: 4px; }
  .step:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 30px; bottom: 4px; width: 2px; background: var(--line); }
  .qa__body p { padding-right: 0; }
  .svc__more { margin-left: 48px; }
  .section-head--services .section-head__btn { width: 100%; }
}

/* ====================================================== v3: pages + motion */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h1.eyebrow { font-weight: 400; }

/* letter roll on hover (built by main.js; the readable text stays in .sr-only) */
.roll { display: inline-flex; white-space: pre; }
.roll .ch { display: inline-flex; flex-direction: column; height: 1.25em; line-height: 1.25em; overflow: hidden; }
.roll .ch > span { display: block; transition: transform 0.55s var(--ease); transition-delay: calc(var(--i) * 14ms); }
[data-roll-host]:hover .roll .ch > span, [data-roll-host]:focus-visible .roll .ch > span { transform: translateY(-100%); }

/* odometer digits */
.odo { display: inline-flex; }
.odo__col { display: inline-block; height: 1em; overflow: hidden; }
.odo__strip { display: flex; flex-direction: column; transition: transform 2s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.odo__strip span { display: block; height: 1em; line-height: 1; }

/* text decode */
[data-decode] .dc { color: var(--lime); }

/* hero media: real zoom on scroll is driven by main.js */
.hero__frame--b { transform-origin: center top; }

/* team teaser on the home page */
.teaser { padding: clamp(80px, 10vw, 160px) 0; border-top: 1px solid var(--line); overflow: hidden; }
.teaser__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.teaser__copy { display: grid; gap: 24px; justify-items: start; }
.teaser__copy .h2 { margin-top: 0; }
.teaser__faces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-bottom: 48px; }
.face { border-radius: 999px 999px 24px 24px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface); animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.75s); }
.face:nth-child(even) { margin-top: 48px; }
.face img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.9); transition: filter 0.5s, scale 0.8s var(--ease); }
.face:hover img { filter: none; scale: 1.08; }
@keyframes bob { 50% { translate: 0 -12px; } }

/* contact form additions */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__note { font-size: 13px; color: var(--muted); text-align: center; }
.contact__lines li { align-items: flex-start; }
.contact__lines .ico { margin-top: 0.2em; }


/* back to top with scroll progress ring */
.totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 95; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: var(--text); background: rgba(18, 18, 16, 0.72); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; translate: 0 20px; pointer-events: none; transition: opacity 0.4s, translate 0.5s var(--ease), background 0.3s, color 0.3s;
}
.totop.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }
.totop:hover { background: var(--lime); color: var(--lime-ink); }
.totop__ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); rotate: -90deg; }
.totop__ring circle { fill: none; stroke: var(--line); stroke-width: 2; }
.totop__ring .totop__bar { stroke: var(--lime); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--sp, 0) * 100); stroke-linecap: round; }
.totop:hover .totop__bar { stroke: var(--lime-ink); }

/* service pages */
.sintro__tldr { border-left: 2px solid var(--lime); padding-left: 18px; color: var(--text) !important; }
.qa__q { font: inherit; margin: 0; }
[data-float] img { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -10px; } }

/* ---------------------------------------------------------- about page */
.phero--about { padding-bottom: 0; }
.phero__title--about { max-width: 12ch; margin: 18px 0 32px; font-size: clamp(52px, 9vw, 150px); }
.phero__title--about em { display: inline; }
.about__intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.about__intro .lead { max-width: 48ch; }
.about__media {
  margin-top: clamp(48px, 6vw, 88px); border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 9;
  clip-path: inset(12% 6% 0 6% round 40px); transition: clip-path 1.6s var(--ease);
}
.about__media.is-in { clip-path: inset(0 0 0 0 round 28px); }
.about__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1.15)); will-change: transform; }

.facts { padding: clamp(80px, 10vw, 150px) 0; }
.facts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.facts__def { margin-top: 28px; }
.facts__def strong { color: var(--text); }
.facts__list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.fact { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); }
.fact dt { font-size: 13px; color: var(--muted); }
.fact dd { margin-top: 6px; font-size: 17px; font-weight: 500; }

.story { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.story__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.story__text { display: grid; gap: 24px; padding-top: 40px; }

/* pinned horizontal scroll */
.pillars { position: relative; height: 320vh; border-top: 1px solid var(--line); }
.pillars__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 32px; }
.pillars__head { display: flex; justify-content: space-between; align-items: center; }
.pillars__count { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.pillars__count b { color: var(--text); font-weight: 600; }
.pillars__track { display: flex; gap: 4vw; padding: 0 var(--pad); width: max-content; will-change: transform; transform: translate3d(var(--hx, 0px), 0, 0); }
.pillar {
  width: min(78vw, 1000px); flex: none; display: grid; grid-template-columns: auto 1fr; column-gap: 32px; row-gap: 20px; align-content: center;
  padding: clamp(28px, 4vw, 56px); border-radius: 32px; border: 1px solid var(--line); background: var(--bg-2); min-height: 56vh;
  opacity: 0.35; scale: 0.94; transition: opacity 0.5s, scale 0.7s var(--ease), border-color 0.5s;
}
.pillar.is-current { opacity: 1; scale: 1; border-color: rgba(212, 240, 30, 0.35); }
.pillar > :not(.pillar__num) { grid-column: 2; }
.pillar__num { grid-row: 1 / span 3; font-size: 14px; color: var(--lime); padding-top: 1.4em; }
.pillar__word { font-size: clamp(64px, 12vw, 200px); line-height: 0.9; letter-spacing: -0.06em; font-weight: 600; }
.pillar__text { font-size: clamp(18px, 1.6vw, 24px); color: #c9c7bd; max-width: 46ch; }
.pillar__links { display: flex; flex-wrap: wrap; gap: 10px; }
.pillar__links a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.pillar__links a:hover { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.pillars__bar { margin: 0 var(--pad); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.pillars__bar span { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(var(--hp, 0)); }

.engine--about { padding: clamp(40px, 6vw, 80px) 0; }
.engine--about .stats { margin-top: 0; }

.sectors { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.sectors__list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.sector { position: relative; display: grid; gap: 8px; padding: 32px 24px 32px 0; border-bottom: 1px solid var(--line); }
.sector::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease); }
.sector:hover::after { transform: scaleX(1); }
.sector__num { font-size: 13px; color: var(--lime); }
.sector h3 { font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -0.03em; font-weight: 600; line-height: 1.1; }
.sector p { color: var(--muted); }

.locate { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.locate__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.locate__addr { font-style: normal; margin: 28px 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; color: #c9c7bd; }
.locate__addr strong { color: var(--text); }
.radar {
  position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(212, 240, 30, 0.08), transparent 70%), var(--bg-2); border: 1px solid var(--line); isolation: isolate;
}
.radar__grid {
  position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px;
  mask-image: radial-gradient(circle, #000 35%, transparent 72%); -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 72%);
}
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(212, 240, 30, 0.3), transparent 22%); animation: spin 5s linear infinite; }
.radar__ring { position: absolute; inset: 32%; border: 1px solid rgba(212, 240, 30, 0.4); border-radius: 50%; animation: ping 3.6s var(--ease) infinite; }
.radar__ring--2 { animation-delay: 1.2s; }
.radar__ring--3 { animation-delay: 2.4s; }
@keyframes ping { from { transform: scale(0.2); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.radar__pin {
  position: relative; z-index: 2; width: 60px; height: 60px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(212, 240, 30, 0.15), 0 0 60px rgba(212, 240, 30, 0.5); transition: transform 0.5s var(--ease);
}
.radar__pin .ico { width: 26px; height: 26px; }
.radar:hover .radar__pin { transform: scale(1.12); }
.radar__label { position: absolute; left: 50%; top: calc(50% + 52px); translate: -50% 0; z-index: 2; display: grid; text-align: center; }
.radar__label b { font-size: 22px; letter-spacing: -0.02em; }
.radar__label small { color: var(--muted); font-variant-numeric: tabular-nums; }

/* service card tilt + glare */
.scard, .bcard, .jfeat, .jrow { perspective: 1000px; }
a[data-tilt-card] { position: relative; transform: rotateY(var(--tx, 0deg)) rotateX(var(--ty, 0deg)); transition: border-color 0.4s, transform 0.5s var(--ease); }
a[data-tilt-card]:hover { transform: translateY(-6px) rotateY(var(--tx, 0deg)) rotateX(var(--ty, 0deg)); }
a[data-tilt-card]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 50%), rgba(212, 240, 30, 0.12), transparent 45%);
}
a[data-tilt-card]:hover::after { opacity: 1; }


/* shared image: the hovered service image (or clicked card image) flies into the service page hero */
::view-transition-group(svc-media) { z-index: 50; animation-duration: 0.95s; animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
::view-transition-old(svc-media), ::view-transition-new(svc-media) { height: 100%; object-fit: cover; animation-duration: 0.6s; }
.vt-arrive .phero__media { view-transition-name: svc-media; clip-path: inset(0 0 0 0 round 28px); transition: none; }
.vt-arrive .phero__media img { scale: 1; transition: none; }

/* ------------------------------------------------- project brief (contact form) */
.contact__lead { margin-top: 24px; max-width: 40ch; }
.brief {
  position: relative; display: grid; gap: 22px; padding: clamp(24px, 3vw, 40px); border-radius: 28px; isolation: isolate;
  background: linear-gradient(180deg, #191917, #121210); border: 1px solid var(--line); /* no big blurred shadow: it cost an 80 ms frame when the card scrolled in */
}
/* thin lime edge light; no backdrop blur (it popped in late while the card faded in) */
.brief::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: -1;
  background: linear-gradient(140deg, rgba(212, 240, 30, 0.55), transparent 32%, transparent 70%, rgba(212, 240, 30, 0.22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.brief__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brief__steps { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--dim); }
.brief__steps li { display: flex; align-items: center; gap: 8px; transition: color 0.4s; }
.brief__steps b {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2);
  font-size: 11px; font-weight: 600; transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.brief__steps li.is-current { color: var(--text); }
.brief__steps li.is-current b { border-color: var(--lime); color: var(--lime); }
.brief__steps li.is-done { color: var(--muted); }
.brief__steps li.is-done b { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.brief__bar { margin-top: 14px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.brief__bar span { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(var(--bp, 0.25)); transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.brief__viewport { position: relative; margin: -6px; padding: 6px; overflow: hidden; }
.brief__step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 14px; align-content: start; }
.js .brief__step:not(.is-active) { display: none; }
html:not(.js) .brief__step + .brief__step { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.brief__q { padding: 0; margin-bottom: 4px; font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.brief__hint, .brief__label { color: var(--muted); font-size: 14px; }
.brief__label { margin-top: 8px; }
.chips span:hover { border-color: rgba(212, 240, 30, 0.5); }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.opt { position: relative; }
.opt input, .seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt span {
  display: flex; align-items: center; gap: 10px; height: 100%; padding: 14px; border: 1px solid var(--line-2); border-radius: 14px;
  font-size: 14px; cursor: pointer; transition: border-color 0.3s, background 0.3s;
}
.opt span:hover { border-color: rgba(212, 240, 30, 0.5); }
.opt__dot { position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: border-color 0.3s; }
.opt__dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--lime); transform: scale(0); transition: transform 0.35s var(--ease); }
.opt input:checked + span { border-color: var(--lime); background: rgba(212, 240, 30, 0.08); }
.opt input:checked + span .opt__dot { border-color: var(--lime); }
.opt input:checked + span .opt__dot::after { transform: scale(1); }
.opt input:focus-visible + span, .seg input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; justify-self: start; border: 1px solid var(--line-2); border-radius: 999px; }
.seg label { position: relative; }
.seg span { display: block; padding: 10px 18px; border-radius: 999px; font-size: 14px; cursor: pointer; transition: background 0.3s, color 0.3s; }
.seg input:checked + span { background: var(--lime); color: var(--lime-ink); font-weight: 600; }
.brief__err { margin-top: 6px; color: #ff9b8a; font-size: 13px; }
.field input[aria-invalid="true"] { border-color: #ff9b8a; }
.field--area textarea { min-height: 140px; }
.field__count { position: absolute; right: 0; bottom: -22px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.brief__recap { padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-2); background: rgba(242, 241, 234, 0.03); color: var(--muted); font-size: 14px; }
.brief__recap b { color: var(--text); font-weight: 500; }
.brief__privacy { margin-top: 18px; color: var(--dim); font-size: 12px; }
.brief__alert { padding: 12px 16px; border-radius: 12px; background: rgba(255, 155, 138, 0.1); color: #ffb3a6; font-size: 14px; }
.brief__alert a { text-decoration: underline; }
.brief__nav { display: flex; align-items: center; gap: 12px; }
.brief__count { margin: 0 auto; color: var(--muted); font-size: 13px; }
.brief__count b { color: var(--text); }
.brief__back[disabled] { visibility: hidden; }
html:not(.js) .brief__back, html:not(.js) .brief__next, html:not(.js) .brief__count { display: none; }
.js .brief__send { display: none; }
.js .brief.is-last .brief__send { display: inline-flex; }
.js .brief.is-last .brief__next { display: none; }
.brief.is-busy .brief__send { pointer-events: none; opacity: 0.75; }
.brief.is-busy .brief__send .ico { animation: nudge 0.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.brief.is-shake .brief__viewport { animation: shake 0.45s ease; }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.brief.is-sent > :not(.brief__done) { display: none; }
.brief__done { display: grid; justify-items: center; gap: 14px; padding: 36px 8px; text-align: center; }
.brief__done[hidden] { display: none; }
.brief__done-title { font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.03em; }
.brief__done p { max-width: 40ch; color: #c9c7bd; }
.brief__done-alt a { color: var(--lime); }
.brief__check { width: 88px; height: 88px; }
.brief__check circle { fill: rgba(212, 240, 30, 0.1); stroke: var(--lime); stroke-width: 2; stroke-dasharray: 227; stroke-dashoffset: 227; }
.brief__check path { fill: none; stroke: var(--lime); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.brief__check.is-on circle { animation: dash 0.8s var(--ease) forwards; }
.brief__check.is-on path { animation: dash 0.5s var(--ease) 0.5s forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.brief__check--big { width: 110px; height: 110px; }
.phero--merci { min-height: 85vh; display: flex; align-items: center; }
.merci { display: grid; justify-items: start; gap: 24px; }
@media (max-width: 760px) {
  .brief__steps li { font-size: 0; gap: 0; }
  .brief__steps li b { font-size: 11px; }
  .brief__steps li.is-current { font-size: 13px; gap: 8px; }
  .opts { grid-template-columns: 1fr 1fr; }
  .seg { display: grid; grid-template-columns: repeat(3, 1fr); justify-self: stretch; border-radius: 16px; }
  .seg span { padding: 10px 6px; text-align: center; border-radius: 12px; }
  .brief__nav { flex-wrap: wrap; }
  .brief__count { order: -1; width: 100%; text-align: center; }
  .brief__nav .btn { flex: 1 1 100%; }
  .brief__next, .brief__send { order: 1; }
  .brief__back { order: 2; }
  .brief__back[disabled] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .brief__check circle, .brief__check path { stroke-dashoffset: 0; }
}

/* ======================================================================= blog */
.chip { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; background: rgba(212, 240, 30, 0.12); color: var(--lime); font-size: 12px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
a.chip:hover { background: var(--lime); color: var(--lime-ink); }
.bcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

/* --- home: featured article + list --- */
.journal { position: relative; padding: clamp(80px, 10vw, 150px) 0 0; border-top: 1px solid var(--line); overflow: hidden; }
.journal__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.jfeat a { display: grid; gap: 22px; }
.jfeat__media { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); }
.jfeat__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1.12)); transition: transform 1.2s var(--ease); will-change: transform; }
.jfeat a:hover .jfeat__media img { transform: scale(calc(var(--z, 1) * 1.06)); }
.jfeat__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(212, 240, 30, 0.22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 1.1s var(--ease);
}
.jfeat a:hover .jfeat__media::after { transform: translateX(120%); }
.jfeat__badge { position: absolute; left: 18px; top: 18px; z-index: 1; padding: 8px 14px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.jfeat__body { display: grid; gap: 14px; justify-items: start; }
.jfeat__title { font-size: clamp(26px, 2.8vw, 42px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 600; text-wrap: balance; transition: color 0.3s; }
.jfeat a:hover .jfeat__title { color: var(--lime); }
.jfeat__excerpt { color: #c9c7bd; max-width: 56ch; }

.jlist { border-top: 1px solid var(--line); }
.jrow { border-bottom: 1px solid var(--line); }
.jrow a { position: relative; display: grid; grid-template-columns: 44px 1fr 150px 44px; align-items: center; gap: 16px; padding: 26px 0; isolation: isolate; }
.jrow a::before { content: ""; position: absolute; inset: 0 -16px; z-index: -1; border-radius: 18px; background: linear-gradient(90deg, rgba(212, 240, 30, 0.08), transparent 80%); opacity: 0; transform: scaleX(0.94); transform-origin: left; transition: opacity 0.4s, transform 0.6s var(--ease); }
.jrow a:hover::before { opacity: 1; transform: none; }
.jrow__num { font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; transition: color 0.3s; }
.jrow a:hover .jrow__num { color: var(--lime); }
.jrow__text { display: grid; gap: 10px; min-width: 0; }
.jrow__title { font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; transition: transform 0.6s var(--ease); }
.jrow a:hover .jrow__title { transform: translateX(6px); }
.jrow__thumb { width: 150px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--surface); clip-path: inset(0 0 0 100% round 14px); transition: clip-path 0.7s var(--ease); }
.jrow__thumb img { width: 150px; height: 100%; max-width: none; object-fit: cover; scale: 1.25; transition: scale 0.9s var(--ease); }
.jrow a:hover .jrow__thumb, .jrow a:focus-visible .jrow__thumb { clip-path: inset(0 0 0 0 round 14px); }
.jrow a:hover .jrow__thumb img { scale: 1; }
.jrow__go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.5s var(--ease); }
.jrow a:hover .jrow__go { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); transform: rotate(45deg); }

.journal__ticker { position: relative; margin-top: clamp(64px, 8vw, 110px); padding: clamp(18px, 2.4vw, 30px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.journal__ticker::before, .journal__ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 10%; z-index: 1; pointer-events: none; }
.journal__ticker::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.journal__ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.journal__track { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 40px); width: max-content; background: transparent; animation: marquee 40s linear infinite; }
.tk { font-size: clamp(34px, 5.2vw, 84px); font-weight: 800; line-height: 1; letter-spacing: -0.035em; text-transform: uppercase; white-space: nowrap; transition: color 0.4s, -webkit-text-stroke-color 0.4s; }
.tk--solid { color: var(--text); }
/* outline drawn under an opaque fill, so the variable font's overlapping contours never show */
.tk--outline { color: var(--bg); -webkit-text-stroke: 3px var(--lime); paint-order: stroke fill; }
.tk:hover { color: var(--lime); -webkit-text-stroke-color: var(--lime); }
.tk-star { flex: none; width: clamp(22px, 2.6vw, 40px); height: auto; fill: var(--lime); animation: spin 8s linear infinite; }
.journal__ticker:hover .journal__track { animation-play-state: paused; }

/* --- cards and listing page --- */
.blogx { padding: 0 0 clamp(64px, 8vw, 120px); }
.bfilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }
.bfilter__btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.bfilter__btn b { font-size: 11px; font-weight: 600; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: rgba(242, 241, 234, 0.08); }
.bfilter__btn:hover { border-color: rgba(212, 240, 30, 0.5); }
.bfilter__btn[aria-pressed="true"] { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.bfilter__btn[aria-pressed="true"] b { background: rgba(16, 18, 10, 0.15); }
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bgrid--2 { grid-template-columns: repeat(2, 1fr); }
.bgrid__empty { color: var(--muted); padding: 40px 0; }
.bcard[hidden] { display: none; }
.bcard a { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transition: border-color 0.4s, transform 0.6s var(--ease); }
.bcard a:hover { border-color: rgba(212, 240, 30, 0.5); }
.bcard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.bcard a:hover .bcard__media img { scale: 1.06; }
.bcard__body { position: relative; display: grid; gap: 14px; align-content: start; justify-items: start; padding: 24px 24px 28px; flex: 1; }
.bcard__title { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
.bcard__excerpt { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bcard__foot { margin-top: auto; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bcard .scard__go { position: static; flex: none; }
.bcard--wide { grid-column: 1 / -1; }
.bcard--wide a { display: grid; grid-template-columns: 1.15fr 1fr; }
.bcard--wide .bcard__media { aspect-ratio: auto; min-height: 100%; }
.bcard--wide .bcard__body { align-content: center; padding: clamp(28px, 3vw, 44px); }
.bcard--wide .bcard__title { font-size: clamp(26px, 2.4vw, 36px); }

/* --- article page --- */
.ahero { position: relative; overflow: hidden; padding: 150px 0 0; }
.ahero .wrap { position: relative; z-index: 2; }
.ahero__head { display: grid; gap: 22px; justify-items: start; max-width: calc(980px + 2 * var(--pad)); }
.ahero .crumbs { margin-bottom: 0; }
.ahero__title { font-size: clamp(36px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -0.05em; font-weight: 600; text-wrap: balance; }
.ahero__lead { max-width: 60ch; }
.ahero__by { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.ahero__by img { width: 40px; height: 40px; border-radius: 10px; }
.ahero__by span { display: grid; }
.ahero__by a { color: var(--text); font-weight: 600; }
.ahero__by a:hover { color: var(--lime); }
.ahero__by small { font-size: 13px; }
.ahero__media { margin-top: clamp(40px, 5vw, 72px); border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--surface); clip-path: inset(8% 4% 0 4% round 36px); transition: clip-path 1.5s var(--ease); }
.ahero__media.is-in { clip-path: inset(0 0 0 0 round 28px); }
.ahero__media img { width: 100%; height: 100%; object-fit: cover; }

.art__grid { display: grid; grid-template-columns: 260px minmax(0, 720px); justify-content: space-between; gap: clamp(32px, 6vw, 96px); padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }
.toc { position: relative; }
.toc__inner { position: sticky; top: 110px; display: grid; gap: 28px; }
.toc__h { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.toc__list { position: relative; display: grid; gap: 2px; border-left: 1px solid var(--line); counter-reset: toc; }
.toc__list a { position: relative; display: block; padding: 7px 0 7px 16px; font-size: 14px; color: var(--muted); line-height: 1.35; transition: color 0.3s; }
.toc__list a::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--lime); transform: scaleY(0); transition: transform 0.4s var(--ease); }
.toc__list a:hover { color: var(--text); }
.toc__list a.is-active { color: var(--text); }
.toc__list a.is-active::before { transform: scaleY(1); }
.toc__copied { margin-top: 10px; font-size: 13px; color: var(--lime); }

.prose { font-size: 18px; line-height: 1.75; color: #d6d4ca; min-width: 0; }
.prose__sec { scroll-margin-top: 100px; }
.prose__sec + .prose__sec, .inline-cta + .prose__sec { margin-top: 48px; }
.prose h2 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 600; color: var(--text); margin-bottom: 18px; text-wrap: balance; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p { margin-top: 16px; }
.prose ul, .prose ol { display: grid; gap: 10px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 40px; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0.2em; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(212, 240, 30, 0.12); color: var(--lime); font-size: 13px; font-weight: 700; line-height: 1; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--lime); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-thickness 0.2s; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose a[target="_blank"]::after { content: "↗"; display: inline-block; margin-left: 2px; font-size: 0.8em; text-decoration: none; }
.tldr { margin-bottom: 48px; padding: 24px 26px; border-radius: 20px; background: linear-gradient(140deg, rgba(212, 240, 30, 0.1), rgba(212, 240, 30, 0.02)); border: 1px solid rgba(212, 240, 30, 0.25); }
.tldr__h { font-size: 13px; font-weight: 700; color: var(--lime); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.tldr ul { font-size: 16px; line-height: 1.55; color: var(--text); }
.inline-cta { display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: center; margin: 48px 0; padding: 18px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); font-size: 15px; line-height: 1.55; }
.inline-cta img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.inline-cta__k { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.inline-cta__t { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); margin: 4px 0 6px !important; }
.inline-cta .link-arrow { margin-top: 10px; color: var(--lime); text-decoration: none; }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.author-box img { width: 64px; height: 64px; border-radius: 16px; flex: none; }
.author-box__k { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }

/* shared image: blog card -> article hero */
::view-transition-group(post-media) { z-index: 50; animation-duration: 0.95s; animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
::view-transition-old(post-media), ::view-transition-new(post-media) { height: 100%; object-fit: cover; animation-duration: 0.6s; }
.vt-arrive-post .ahero__media { view-transition-name: post-media; clip-path: inset(0 0 0 0 round 28px); transition: none; }

@media (max-width: 1100px) {
  .journal__grid { grid-template-columns: 1fr; }
  .bgrid { grid-template-columns: repeat(2, 1fr); }
  .art__grid { grid-template-columns: 1fr; }
  .toc__inner { position: static; }
  .toc__list, .toc__inner > .toc__h { display: none; }
}
@media (max-width: 760px) {
  .jrow a { grid-template-columns: 1fr 96px; gap: 14px; padding: 20px 0; }
  .jrow__num, .jrow__go { display: none; }
  .jrow__thumb, .jrow a:hover .jrow__thumb { width: 96px; height: 72px; clip-path: inset(0 0 0 0 round 12px); }
  .jrow__thumb img { width: 100%; scale: 1; }
  .bgrid, .bgrid--2 { grid-template-columns: 1fr; }
  .bcard--wide { grid-column: auto; }
  .bcard--wide a { display: flex; }
  .bcard--wide .bcard__media { aspect-ratio: 16 / 10; }
  .ahero { padding-top: 120px; }
  .ahero__media { aspect-ratio: 4 / 3; }
  .prose { font-size: 17px; }
  .inline-cta { grid-template-columns: 1fr; }
  .inline-cta img { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  .journal__track { animation: none; }
}

/* ------------------------------------------- cross-page view transitions */
@view-transition { navigation: auto; }
.header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out 0.45s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in 0.85s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-40px) scale(0.98); } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0); transform: translateY(80px); } to { clip-path: inset(0 0 0 0); transform: none; } }

/* ---------------------------------- native scroll-driven image zooms */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .scard__media img, .post__media img, .case__media img, .tile--img img, .member figure img {
      animation: sd-zoom linear both; animation-timeline: view(); animation-range: entry 0% cover 55%;
    }
    .quote--big, .sector, .fact { animation: sd-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  }
}
@keyframes sd-zoom { from { transform: scale(1.22); } to { transform: scale(1); } }
@keyframes sd-rise { from { opacity: 0.15; transform: translateY(50px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .teaser__grid, .facts__grid, .story__grid, .locate__grid { grid-template-columns: 1fr; }
  .sectors__list { grid-template-columns: repeat(2, 1fr); }
  .story__text { padding-top: 0; }
}
@media (max-width: 760px) {
  .field-row { grid-template-columns: 1fr; }
  .facts__list, .sectors__list { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 4 / 5; }
  .teaser__faces { gap: 8px; }
  .face:nth-child(even) { margin-top: 28px; }
  .pillars { height: auto; }
  .pillars__sticky { position: static; height: auto; overflow: visible; padding: 64px 0; }
  .pillars__track { flex-direction: column; width: auto; transform: none !important; gap: 14px; }
  .pillar { width: 100%; min-height: 0; opacity: 1; scale: 1; grid-template-columns: 1fr; }
  .pillar > :not(.pillar__num) { grid-column: 1; }
  .pillar__num { grid-row: auto; padding-top: 0; }
  .pillars__bar, .pillars__count { display: none; }
  .totop { right: 14px; bottom: 14px; width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .pillars { height: auto; }
  .pillars__sticky { position: static; height: auto; overflow: visible; padding: 64px 0; }
  .pillars__track { flex-direction: column; width: auto; transform: none !important; gap: 14px; }
  .pillar { width: 100%; opacity: 1; scale: 1; }
  .face, [data-float] img { animation: none; }
}

/* ------------------------------------------------- original breakpoints */
@media (max-width: 1100px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .header { padding: 8px 8px 8px 20px; }
  .hero__row { grid-template-columns: 1fr auto; }
  .hero__lead { grid-column: 1 / -1; }
  .engine__grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--img { grid-row: span 1; min-height: 300px; }
  .team__grid { grid-template-columns: repeat(3, 1fr); }
  .case__card { grid-template-columns: 1fr; grid-template-rows: 1.4fr auto; }
  .case__info { gap: 16px; }
  .case__idx { position: absolute; top: 20px; right: 24px; margin: 0; background: rgba(11,11,10,0.6); padding: 4px 12px; border-radius: 999px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .case__card { position: relative; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero { padding-top: 120px; }
  .hero__title .line--indent .hero__chip { margin-left: 0; }
  .hero__row { grid-template-columns: 1fr; gap: 28px; }
  .hero__badge { position: absolute; right: var(--pad); top: -8px; width: 92px; height: 92px; display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__media { height: auto; padding: 0 var(--pad); margin-top: 40px; }
  .hero__frame--a, .hero__frame--c, .hero__scroll { display: none; }
  .hero__frame--b { position: relative; left: 0; width: 100%; aspect-ratio: 4/5; translate: none; }
  .clients { padding-top: 56px; }
  .engine__media { aspect-ratio: 4/5; }
  .engine__tag { right: 16px; left: 16px; bottom: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 16px 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(even) { padding-left: 20px; }
  .stat:first-child { padding-left: 0; }
  .manifesto { height: 180vh; }
  .svc__head { grid-template-columns: 36px 1fr 44px; gap: 12px; }
  .svc__toggle { width: 44px; height: 44px; }
  .svc__body p { padding-left: 48px; }
  .case { top: 80px; height: auto; min-height: 0; padding-bottom: 16px; }
  .case + .case { margin-top: 14vh; }
  .work__stack::after { content: ""; height: 16vh; } /* room for the last card to stay pinned a moment */
  .case__card { transform-origin: center top; }
  .case__media { aspect-ratio: 4/3; }
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .tile { min-height: 240px; }
  .team__grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .member h3 { font-size: 16px; }
  .member p { font-size: 13px; }
  .post { grid-template-columns: 1fr; }
  .quote { min-height: 320px; }
}

/* ------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .grain { display: none; }
  .manifesto { height: auto; }
  .manifesto__sticky { position: static; height: auto; padding: 120px var(--pad); }
  .manifesto__text .mw { opacity: 1; }
  .case { position: relative; top: 0; height: auto; }
  .case + .case { margin-top: 16px; }
}

/* blog rows: same tilt and light as the cards, without the lift */
.jrow a[data-tilt-card]:hover { transform: rotateY(var(--tx, 0deg)) rotateX(var(--ty, 0deg)); }
.jrow a[data-tilt-card]::after { inset: 0 -16px; border-radius: 18px; }
.jfeat a[data-tilt-card]::after { border-radius: 26px; }

/* =================================================================== footer */
.footer {
  position: relative; overflow: hidden; isolation: isolate; margin-top: -1px; padding: clamp(72px, 9vw, 130px) 0 28px;
  background: linear-gradient(180deg, #0e0e0c, #090908 60%); border-top: 1px solid var(--line);
  border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
}
.footer::before { /* lime hairline along the top edge */
  content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(212, 240, 30, 0.7), transparent);
}
.footer__glow { /* soft light that follows the pointer: a plain gradient, no blur filter */
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px circle at var(--fx, 70%) var(--fy, 20%), rgba(212, 240, 30, 0.09), transparent 60%);
}
.footer__inner { transform: translate3d(0, calc((1 - var(--fr, 1)) * 90px), 0); opacity: calc(0.25 + var(--fr, 1) * 0.75); }

/* call to action */
.fcta { padding-bottom: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.fcta__status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.fcta__status time { color: var(--text); font-variant-numeric: tabular-nums; }
.fcta__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--dim); }
.fcta__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 28px; }
.fcta__big { display: block; font-size: clamp(48px, 9vw, 150px); line-height: 0.92; letter-spacing: -0.06em; font-weight: 600; transition: transform 0.6s var(--ease); }
.fcta__row:hover .fcta__big { transform: translateX(14px); }
.fcta__line { display: block; padding-bottom: 0.04em; }
/* outline layer + a solid lime copy on top, revealed left to right by scroll (--cf, set by main.js; full when motion is reduced) */
.fcta__big em {
  position: relative; display: inline-block; padding-bottom: 0.14em; margin-bottom: -0.14em;
  color: #0e0e0c; -webkit-text-stroke: 3px var(--lime); paint-order: stroke fill;
}
.fcta__big em::after {
  content: attr(data-text); position: absolute; inset: 0; color: var(--lime); -webkit-text-stroke: 0;
  clip-path: inset(0 calc(100% - var(--cf, 100%)) 0 0);
}
.fcta__btn {
  flex: none; width: clamp(110px, 12vw, 180px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime); color: var(--lime-ink); transition: transform 0.5s var(--ease);
}
.fcta__btn .ico { width: 34%; height: 34%; transition: transform 0.6s var(--ease); }
.fcta__row:hover .fcta__btn .ico { transform: rotate(45deg); }
.fcta__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.fcta__pills a {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 15px; transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.fcta__pills .ico { color: var(--lime); transition: color 0.3s; }
.fcta__pills a:hover { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.fcta__pills a:hover .ico { color: var(--lime-ink); }

/* columns */
.footer__top { display: grid; grid-template-columns: 0.9fr 2fr; gap: clamp(32px, 5vw, 80px); padding-top: clamp(48px, 6vw, 80px); }
.footer__brand { display: grid; gap: 22px; align-content: start; justify-items: start; }
.footer__logo img { height: 64px; width: auto; transition: transform 0.6s var(--ease); }
.footer__logo:hover img { transform: rotate(-4deg) scale(1.05); }
.footer__claim { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.footer__addr { font-style: normal; color: #c9c7bd; line-height: 1.7; font-size: 15px; }
.footer__addr strong { color: var(--text); }
.footer__cols { display: grid; grid-template-columns: 1fr 0.7fr 1.3fr; gap: 32px; }
.footer__h { font-size: 12px; color: var(--muted); font-weight: 500; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer__cols a:not(.fpost) { display: block; padding: 4px 0; width: fit-content; font-size: 15px; transition: color 0.3s; }
.footer__cols a:not(.fpost):hover { color: var(--lime); }
.fpost { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 8px; margin: 0 -8px 6px; border-radius: 14px; transition: background 0.3s; }
.fpost img { width: 72px; height: 54px; object-fit: cover; border-radius: 10px; transition: transform 0.6s var(--ease); }
.fpost span { display: grid; gap: 4px; min-width: 0; }
.fpost b { font-size: 14px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.3s; }
.fpost small { font-size: 12px; color: var(--muted); }
.fpost:hover { background: rgba(242, 241, 234, 0.05); }
.fpost:hover img { transform: scale(1.06) rotate(-2deg); }
.fpost:hover b { color: var(--lime); }

/* social buttons with a fill that rises from the bottom */
.fsocial { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: clamp(40px, 5vw, 64px); }
.fsocial__btn {
  position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 12px;
  padding: 22px 24px; border-radius: 20px; border: 1px solid var(--line-2); font-size: 18px; font-weight: 600; letter-spacing: -0.02em;
  transition: color 0.4s, border-color 0.4s;
}
.fsocial__btn > .ico:last-child { margin-left: auto; transition: transform 0.5s var(--ease); }
.fsocial__fill { position: absolute; inset: 0; z-index: -1; background: var(--lime); transform: translateY(101%); border-radius: 50% 50% 0 0 / 30% 30% 0 0; transition: transform 0.6s var(--ease), border-radius 0.6s var(--ease); }
.fsocial__btn:hover { color: var(--lime-ink); border-color: var(--lime); }
.fsocial__btn:hover .fsocial__fill { transform: none; border-radius: 0; }
.fsocial__btn:hover > .ico:last-child { transform: rotate(45deg); }

/* giant logo: outline, lime fill by scroll, plus a spotlight that follows the pointer */
.footer__mark { position: relative; width: min(980px, 88vw); margin: clamp(56px, 7vw, 100px) auto 0; aspect-ratio: 381 / 231; }
.footer__mark img { position: absolute; inset: 0; width: 100%; height: 100%; }
.footer__mark-fill { clip-path: inset(0 calc(100% - var(--fill, 0%)) 0 0); }

.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer__up { display: inline-flex; align-items: center; gap: 10px; transition: color 0.3s; }
.footer__up-ico { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.5s var(--ease); }
.footer__up:hover { color: var(--lime); }
.footer__up:hover .footer__up-ico { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); transform: translateY(-4px); }

@media (max-width: 1100px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__posts { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .fcta__row { flex-direction: column; align-items: flex-start; }
  .fcta__btn { width: 96px; }
  .fsocial { grid-template-columns: 1fr; }
  .footer__made { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .footer__inner { transform: none; opacity: 1; }
}

/* home hero: interactive dot field (drawn by main.js on pointer devices) */
.hero__field {
  position: absolute; left: 0; top: 0; width: 100%; z-index: 1; pointer-events: none; display: none;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.has-cursor .hero__field { display: block; }
.has-cursor .hero .hero__grid { opacity: 0.25; }
.hero__title { transform-style: preserve-3d; will-change: transform; }
.hero__frame img { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .hero__field { display: none !important; } }

/* ============================================================ case studies */
.chero { position: relative; overflow: hidden; padding: 150px 0 0; }
.chero .wrap { position: relative; z-index: 2; }
.chero__head { display: grid; gap: 26px; }
.chero .crumbs { margin-bottom: 0; }
.chero__title { font-size: clamp(44px, 7.4vw, 124px); line-height: 0.94; letter-spacing: -0.055em; font-weight: 600; max-width: 15ch; text-wrap: balance; }
.chero__client { display: block; font-size: 0.32em; letter-spacing: -0.02em; color: var(--muted); margin-bottom: 0.25em; }
.chero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.chero__row .lead { max-width: 56ch; }
.cmeta { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); margin-top: 12px; }
.cmeta > div { padding: 20px 20px 4px 0; }
.cmeta > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.cmeta dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.cmeta dd { margin-top: 8px; font-size: 15px; font-weight: 500; line-height: 1.4; }
.cmeta__links a { display: block; width: fit-content; transition: color 0.3s; }
.cmeta__links a:hover { color: var(--lime); }
.chero__media { margin-top: clamp(48px, 6vw, 88px); border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--surface); clip-path: inset(10% 5% 0 5% round 40px); transition: clip-path 1.6s var(--ease); }
.chero__media.is-in { clip-path: inset(0 0 0 0 round 28px); }
.chero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1.15)); will-change: transform; }

.cfig { padding: clamp(56px, 7vw, 100px) 0; }
.cstats__list { margin-top: 0; }
.cfacts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.cfact { padding: 28px 20px 0 0; }
.cfact + .cfact { padding-left: 20px; border-left: 1px solid var(--line); }
.cfact dt { font-size: 13px; color: var(--muted); }
.cfact dd { margin-top: 12px; font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }

.cchal { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.cchal__grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.cchal__text { font-size: clamp(28px, 3.6vw, 56px); line-height: 1.1; letter-spacing: -0.04em; font-weight: 600; text-wrap: balance; }

/* scrollytelling: the stage stays pinned while the steps scroll past */
.cstory { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.cstory__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.cstory__sticky { position: sticky; top: 100px; height: calc(100vh - 140px); min-height: 460px; }
.stage { position: relative; height: 100%; border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 50% 40%, rgba(212, 240, 30, 0.08), transparent 60%), var(--bg-2); border: 1px solid var(--line); }
.stage__layer { position: absolute; inset: 0; display: grid; place-items: center; padding: 6%; opacity: 0; transform: translateY(40px) scale(0.96); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); pointer-events: none; }
.stage__layer.is-on { opacity: 1; transform: none; }
.stage__layer--browser .browser { width: 100%; }
.stage__layer--phone .phone { height: 100%; width: auto; }
.stage__layer--phone .phone img { height: 100%; width: auto; }
.stage__layer--photo { padding: 0; overflow: hidden; }
.stage__layer--photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(var(--zoom, 1) * 1.04)); transition: transform 1.4s var(--ease); }
.stage__layer--photo.is-on img { transform: scale(var(--zoom, 1)); }
.stage__count { position: absolute; left: 20px; bottom: 18px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(11, 11, 10, 0.7); color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.stage__count b { color: var(--lime); font-weight: 600; }
.cstory__steps { display: grid; }
.cstep { min-height: 62vh; display: grid; align-content: center; gap: 14px; padding: 24px 0; opacity: 0.28; transition: opacity 0.5s var(--ease); }
.cstep.is-active { opacity: 1; }
.cstep__num { font-size: clamp(48px, 6vw, 88px); font-weight: 500; letter-spacing: -0.06em; line-height: 1; color: var(--dim); transition: color 0.5s; }
.cstep.is-active .cstep__num { color: var(--lime); }
.cstep h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.03em; font-weight: 600; }
.cstep p { color: #c9c7bd; font-size: 17px; max-width: 46ch; }

/* device frames */
.browser { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.06); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #1b1b19; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a36; }
.browser__bar i:first-child { background: #ff5f57; } .browser__bar i:nth-child(2) { background: #febc2e; } .browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span { margin: 0 auto; padding: 3px 16px; border-radius: 999px; background: #2a2a27; color: #9b998f; font-size: 12px; }
.browser img { display: block; width: 100%; height: auto; }
.phone { border-radius: 40px; padding: 10px; background: #0f0f0e; border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.phone img { display: block; border-radius: 30px; width: 100%; height: auto; }

/* showcase */
.cshow { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.cshow__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.cshow__item figcaption { margin-top: 14px; color: var(--muted); font-size: 14px; }
.cshow__item--phone .phone { max-width: 320px; margin: 0 auto; }
.cshow__item--phone figcaption { text-align: center; }
.cshow__grid .cshow__item:nth-child(3) { order: 4; }
.cshow__grid .cshow__item:nth-child(4) { order: 3; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cshow__item--phone { animation: cshow-rise linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@keyframes cshow-rise { from { transform: translateY(80px); } to { transform: translateY(-80px); } }

.palette { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.swatch { display: grid; gap: 6px; }
.swatch__chip { aspect-ratio: 4 / 5; border-radius: 22px; background: var(--sw); border: 1px solid var(--line); transition: transform 0.6s var(--ease), border-radius 0.6s var(--ease); }
.swatch:hover .swatch__chip { transform: translateY(-8px); border-radius: 40px; }
.swatch b { margin-top: 10px; font-size: 18px; font-weight: 600; }
.swatch code { color: var(--muted); font-size: 13px; font-family: inherit; letter-spacing: 0.04em; }
.cdetails { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(32px, 4vw, 56px); }
.cdetail { border-radius: 22px; overflow: hidden; aspect-ratio: 1; position: relative; background: var(--surface); }
.cdetail img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1)); transition: transform 1.2s var(--ease); }
.cdetail:hover img { transform: scale(calc(var(--zoom, 1) * 1.08)); }
.cdetail figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; padding: 10px 14px; border-radius: 14px; background: rgba(11, 11, 10, 0.72); font-size: 14px; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

.cresult { padding: clamp(80px, 10vw, 160px) 0; border-top: 1px solid var(--line); }
.cresult__inner { display: grid; gap: 30px; justify-items: start; }
.cresult__text { font-size: clamp(30px, 4.2vw, 64px); line-height: 1.08; letter-spacing: -0.045em; font-weight: 600; max-width: 24ch; text-wrap: balance; }

/* next project */
.cnext { border-top: 1px solid var(--line); }
.cnext__link { position: relative; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: clamp(20px, 4vw, 56px); padding: clamp(48px, 7vw, 110px) var(--pad); max-width: var(--max); margin: 0 auto; isolation: isolate; }
.cnext__label { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.cnext__title { font-size: clamp(56px, 11vw, 190px); font-weight: 600; letter-spacing: -0.065em; line-height: 0.9; transition: transform 0.7s var(--ease), color 0.4s; }
.cnext__link:hover .cnext__title { transform: translateX(16px); color: var(--lime); }
.cnext__media { width: clamp(120px, 18vw, 280px); aspect-ratio: 4 / 3; border-radius: 999px; overflow: hidden; background: var(--surface); transition: border-radius 0.8s var(--ease), width 0.8s var(--ease); }
.cnext__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cnext__link:hover .cnext__media { border-radius: 24px; width: clamp(150px, 22vw, 340px); }
.cnext__link:hover .cnext__media img { transform: scale(1.08); }
.cnext__go { width: clamp(64px, 7vw, 100px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); transition: transform 0.6s var(--ease); }
.cnext__go .ico { width: 36%; height: 36%; }
.cnext__link:hover .cnext__go { transform: rotate(45deg); }

/* shared image: case card -> case hero */
::view-transition-group(case-media) { z-index: 50; animation-duration: 0.95s; animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
::view-transition-old(case-media), ::view-transition-new(case-media) { height: 100%; object-fit: cover; animation-duration: 0.6s; }
.vt-arrive-case .chero__media { view-transition-name: case-media; clip-path: inset(0 0 0 0 round 28px); transition: none; }

@media (max-width: 1100px) {
  .cmeta { grid-template-columns: repeat(2, 1fr); }
  .cmeta > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .cmeta > div { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .cfacts { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .cfact:nth-child(3) { padding-left: 0; border-left: 0; }
  .cchal__grid { grid-template-columns: 1fr; }
  .cstory__grid { grid-template-columns: 1fr; }
  .cstory__sticky { top: 76px; height: 46vh; min-height: 300px; z-index: 2; }
  .cstep { min-height: 52vh; }
  .cshow__grid { grid-template-columns: 1fr 1fr; }
  .cshow__grid .cshow__item--browser { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .chero { padding-top: 120px; }
  .chero__media { aspect-ratio: 4 / 3; }
  .cmeta { grid-template-columns: 1fr; }
  .cmeta > div, .cmeta > div + div { padding-left: 0; border-left: 0; }
  .cstory__sticky { height: 42vh; }
  .stage__layer { padding: 5%; }
  .cstep { min-height: 46vh; }
  .cshow__grid { grid-template-columns: 1fr; }
  .cshow__item--phone .phone { max-width: 240px; }
  .palette { grid-template-columns: repeat(2, 1fr); }
  .cdetails { grid-template-columns: 1fr; }
  .cnext__link { grid-template-columns: 1fr auto; }
  .cnext__media { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .stage__layer { transition: none; }
}
.cstats__list dd { font-size: clamp(44px, 5.4vw, 88px); white-space: nowrap; }
.cstats__list dd i { font-size: 0.55em; margin-left: 0.08em; }
/* phone-sized screens: the pinned stage gets a solid backing so the steps scroll cleanly behind it */
@media (max-width: 1100px) {
  .cstory__sticky { padding-bottom: 14px; background: var(--bg); box-shadow: 0 -40px 0 var(--bg); }
  .cstory__sticky::after { content: ""; position: absolute; left: 0; right: 0; bottom: -40px; height: 40px; background: linear-gradient(var(--bg), transparent); pointer-events: none; }
  .stage__layer--phone { padding: 4% 0 0; align-items: start; }
  .stage__layer--phone .phone { width: 62%; height: auto; }
  .stage__layer--phone .phone img { width: 100%; height: auto; }
}

/* case study: drawn design artifacts (Bruschetta) */
.stage__layer--art { padding: 4%; }
.stage__layer--art svg { width: 100%; height: 100%; max-height: 100%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45)); }
.stage__layer--art .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) var(--dl, 0s); }
.stage__layer--art .draw-text { stroke-dasharray: 1400; stroke-dashoffset: 1400; fill-opacity: 0; transition: stroke-dashoffset 2.2s var(--ease) var(--dl, 0s), fill-opacity 0.8s ease calc(var(--dl, 0s) + 1.6s); }
.stage__layer--art .pop { opacity: 0; transform: translateY(14px); transform-box: fill-box; transition: opacity 0.6s ease var(--dl, 0s), transform 0.8s var(--ease) var(--dl, 0s); }
.stage__layer--art.is-on .draw, .stage__layer--art.is-on .draw-text { stroke-dashoffset: 0; }
.stage__layer--art.is-on .draw-text { fill-opacity: 0.18; }
.stage__layer--art.is-on .pop { opacity: 1; transform: none; }

.typespec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(32px, 4vw, 56px); }
.typespec__card { display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: 22px; background: #2b1510; border: 1px solid rgba(201, 164, 138, 0.25); }
.typespec__k { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #c9a48a; }
.typespec__s { min-height: 96px; display: flex; align-items: center; color: #efe4d6; line-height: 1; }
.typespec__s--script { font-family: 'Segoe Script', 'Snell Roundhand', 'Brush Script MT', cursive; font-size: clamp(34px, 3.4vw, 50px); }
.typespec__s--didot { font-family: Didot, 'Bodoni 72', 'Bodoni MT', 'Playfair Display', Georgia, serif; font-style: italic; font-size: 96px; color: #c9a48a; }
.typespec__s--sans { font-size: clamp(34px, 3.4vw, 48px); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.typespec__card p { color: #c9b8a8; font-size: 15px; }
@media (max-width: 760px) { .typespec { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .stage__layer--art .draw, .stage__layer--art .draw-text { stroke-dashoffset: 0; transition: none; }
  .stage__layer--art .pop { opacity: 1; transform: none; transition: none; }
}

/* LifePara showcase: wide browser on top, the two phones side by side */
.cshow__grid { grid-template-columns: 1fr 1fr; align-items: start; }
.cshow__grid .cshow__item--browser { grid-column: 1 / -1; }
.cshow__grid .cshow__item:nth-child(3), .cshow__grid .cshow__item:nth-child(4) { order: 0; }
.cshow__item--phone .phone { max-width: 300px; }
@media (max-width: 760px) { .cshow__grid { grid-template-columns: 1fr 1fr; gap: 14px; } .cshow__item--phone .phone { max-width: 100%; border-radius: 26px; padding: 6px; } .cshow__item--phone .phone img { border-radius: 20px; } .cshow__item figcaption { font-size: 12px; } }
