/* ========= Design tokens ========= */
:root {
  --bg: #F7F5F2;
  --bg-elev: #FFFFFF;
  --bg-soft: #EFEBE4;
  --ink: #111111;
  --ink-2: #2A2A2A;
  --ink-3: #5B5B5B;
  --ink-4: #8A8A8A;
  --line: rgba(0,0,0,0.08);
  --line-2: rgba(0,0,0,0.14);
  --accent: oklch(0.55 0.19 255);
  --accent-ink: #ffffff;
  --accent-soft: oklch(0.55 0.19 255 / 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.04);
  --shadow-lift: 0 2px 4px rgba(0,0,0,0.06), 0 20px 50px rgba(0,0,0,0.08);

  --font-display: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif;
  --font-sans: 'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;

  --container: 1240px;
  --nav-h: 68px;
}

[data-theme="dark"] {
  --bg: #0C0C0D;
  --bg-elev: #141416;
  --bg-soft: #18181B;
  --ink: #F4F4F2;
  --ink-2: #E4E4E2;
  --ink-3: #A7A7A4;
  --ink-4: #6E6E6C;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.16);
  --accent: oklch(0.72 0.17 255);
  --accent-soft: oklch(0.72 0.17 255 / 0.12);
  --shadow-soft: 0 1px 2px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lift: 0 2px 4px rgba(0,0,0,0.5), 0 20px 50px rgba(0,0,0,0.6);
}

/* ========= Reset ========= */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .35s ease, color .35s ease;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ========= Layout ========= */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 120px 0; position: relative; }
.section-sm { padding: 80px 0; }

/* ========= Type ========= */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px; background: var(--ink-4);
}
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.04;
  font-size: clamp(44px, 7vw, 104px);
  margin: 0;
  font-feature-settings: "liga", "kern";
}
.display em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
  font-size: clamp(34px, 4.4vw, 62px);
  margin: 0;
}
.h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: clamp(20px, 1.4vw, 22px);
  margin: 0;
}
.lede {
  font-size: clamp(17px, 1.2vw, 19px);
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 62ch;
}
.muted { color: var(--ink-3); }

/* ========= Nav ========= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand-mark::after {
  content: "DC";
}
/* When a logo file is set in brand.js, shell.js renders
   <span class="brand-mark brand-mark-img"> containing two <img>s —
   one for light mode and one for dark. CSS toggles them by theme. */
.brand-mark-img {
  /* Let the inner <img> drive sizing; don't constrain to 30×30. */
  display: inline-flex;
  align-items: center;
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
}
.brand-mark-img::after { content: none; }
.brand-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.footer .brand-logo {
  height: 48px;
  max-width: 240px;
}
[data-theme="light"] .brand-logo-dark,
[data-theme="dark"]  .brand-logo-light {
  display: none;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-left: 2px;
  border-left: 1px solid var(--line-2);
  padding-left: 10px;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  transition: background .2s, color .2s;
  position: relative;
}
.nav-links a:hover { background: var(--bg-soft); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
}
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background .2s, border-color .2s, transform .2s;
}
.theme-toggle:hover { background: var(--bg-soft); border-color: var(--line-2); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-dark { display: none; }
[data-theme="dark"] .theme-toggle .icon-light { display: none; }
[data-theme="dark"] .theme-toggle .icon-dark { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .15s ease, background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--bg-soft); }
.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn .arrow {
  transition: transform .25s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

.mobile-toggle { display: none; background: transparent; color: inherit; cursor: pointer; }
.mobile-toggle .icon-close { display: none; }
body.menu-open .mobile-toggle .icon-open { display: none; }
body.menu-open .mobile-toggle .icon-close { display: block; }

.mobile-drawer {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  display: flex;
  flex-direction: column;
  padding: 8px 24px 48px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  overflow-y: auto;
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .28s ease, transform .4s cubic-bezier(.2,.8,.2,1), visibility 0s linear .3s;
}
body.menu-open .mobile-drawer {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .3s ease, transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s linear 0s;
}
/* Staggered entry for each block */
.mobile-drawer > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .5s cubic-bezier(.2,.8,.2,1);
}
body.menu-open .mobile-drawer > * {
  opacity: 1;
  transform: translateY(0);
}
body.menu-open .mobile-drawer > *:nth-child(1) { transition-delay: .08s; }
body.menu-open .mobile-drawer > *:nth-child(2) { transition-delay: .12s; }
body.menu-open .mobile-drawer > *:nth-child(3) { transition-delay: .20s; }
body.menu-open .mobile-drawer > *:nth-child(4) { transition-delay: .28s; }
body.menu-open .mobile-drawer > *:nth-child(5) { transition-delay: .36s; }
body.menu-open .mobile-drawer > *:nth-child(6) { transition-delay: .44s; }
.md-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding: 24px 0 12px;
}
.md-primary { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.md-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: color .2s, padding-left .25s ease;
}
.md-link .md-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-4);
  transition: color .2s;
}
.md-link .md-label {
  font-family: var(--font-serif, var(--font-sans));
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.md-link .md-arrow {
  opacity: 0;
  transform: translateX(-6px);
  color: var(--accent);
  transition: opacity .25s ease, transform .25s ease;
}
.md-link:hover,
.md-link.active { padding-left: 10px; }
.md-link:hover .md-num,
.md-link.active .md-num { color: var(--accent); }
.md-link.active .md-label { color: var(--accent); font-style: italic; }
.md-link:hover .md-arrow,
.md-link.active .md-arrow { opacity: 1; transform: translateX(0); }

.md-secondary { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.md-sub-link {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: color .2s;
}
.md-sub-link .md-sub-code {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-4);
}
.md-sub-link:hover { color: var(--accent); }
.md-sub-link:hover .md-sub-code { color: var(--accent); }

.md-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform .2s;
}
.md-cta em {
  font-style: italic;
  color: var(--accent);
}
.md-cta:hover { transform: translateY(-1px); }
[data-theme="dark"] .md-cta { background: var(--ink); color: var(--bg); }

.md-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.md-foot span { display: inline-flex; align-items: center; gap: 8px; }
.md-foot .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(0.7 0.18 140);
  box-shadow: 0 0 0 4px oklch(0.7 0.18 140 / 0.15);
  animation: pulse 2s ease-in-out infinite;
}

body.menu-open { overflow: hidden; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .mobile-toggle { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 999px; }
}
@media (min-width: 861px) {
  .mobile-drawer { display: none !important; }
  body.menu-open { overflow: auto; }
}

/* ========= Hero ========= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 100%);
  opacity: .8;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  animation: float 14s ease-in-out infinite;
}
.hero-orb.a {
  width: 520px; height: 520px;
  background: oklch(0.72 0.17 255 / 0.5);
  top: -140px; left: -120px;
}
.hero-orb.b {
  width: 460px; height: 460px;
  background: oklch(0.78 0.14 190 / 0.45);
  bottom: -160px; right: -100px;
  animation-delay: -5s;
}
.hero-orb.c {
  width: 320px; height: 320px;
  background: oklch(0.82 0.12 50 / 0.35);
  top: 40%; left: 60%;
  animation-delay: -9s;
}
[data-theme="dark"] .hero-orb { opacity: .45; }
[data-theme="dark"] .hero-orb.a { background: oklch(0.58 0.22 255 / 0.6); }
[data-theme="dark"] .hero-orb.b { background: oklch(0.62 0.18 190 / 0.45); }
[data-theme="dark"] .hero-orb.c { background: oklch(0.68 0.15 50 / 0.4); }
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.06); }
  66% { transform: translate(-30px, 40px) scale(0.96); }
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
@media (max-width: 860px) {
  .hero-meta {
    font-size: 10px;
    gap: 12px;
    padding-bottom: 32px;
    margin-bottom: 32px;
  }
  .hero-meta .hide-mobile { display: none !important; }
}
.hero-meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(0.7 0.18 140);
  box-shadow: 0 0 0 4px oklch(0.7 0.18 140 / 0.15);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .5; }
}
.hero-title {
  max-width: 20ch;
}
.hero-sub {
  margin-top: 64px;
  max-width: 54ch;
  font-size: clamp(17px, 1.25vw, 19px);
  color: var(--ink-3);
  line-height: 1.55;
}
.hero-actions {
  margin-top: 44px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll .line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--ink-4));
  animation: drop 2s ease-in-out infinite;
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========= Reveal animations ========= */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal-delay="4"] { transition-delay: 320ms; }
[data-reveal-delay="5"] { transition-delay: 400ms; }

.split-line {
  display: block;
  overflow: hidden;
}
.split-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
}
.in .split-line > span { transform: translateY(0); }
.split-line:nth-child(2) > span { transition-delay: 80ms; }
.split-line:nth-child(3) > span { transition-delay: 160ms; }
.split-line:nth-child(4) > span { transition-delay: 240ms; }

/* ========= Section header ========= */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 64px;
  align-items: end;
}
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ========= Services ========= */
.service-list {
  border-top: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr auto;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: padding .3s ease;
  position: relative;
}
.service-row:hover { padding-left: 12px; padding-right: 12px; }
.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-soft);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: -1;
  border-radius: 8px;
}
.service-row:hover::before { opacity: 1; }
.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.05em;
}
.service-title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.service-desc {
  font-size: 15px;
  color: var(--ink-3);
  max-width: 46ch;
}
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}
.service-row:hover .service-cta { color: var(--accent); }
.service-row .arrow {
  transition: transform .25s ease;
}
.service-row:hover .arrow {
  transform: translate(4px, -4px) rotate(-45deg);
}
@media (max-width: 860px) {
  .service-row { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .service-num { font-size: 11px; }
}

/* ========= Values / Why us ========= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.value {
  background: var(--bg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  position: relative;
}
.value-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.1em;
}
.value-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.value-desc {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.6;
}
.value-mark {
  margin-top: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--accent);
}
@media (max-width: 860px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ========= Stats ========= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-num {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.stat-num sup {
  font-size: .4em;
  color: var(--accent);
  vertical-align: top;
  top: .5em;
}
.stat-label {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ========= Process ========= */
.process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.process-sticky {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}
.process-img {
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 120% 80% at 50% 110%, color-mix(in oklab, var(--accent) 6%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

/* Engagement-log schematic in the Process section */
.engagement-card { display: block; width: 100%; height: 100%; }
.engagement-card .ec-dot { fill: color-mix(in oklab, var(--ink) 16%, transparent); }
.engagement-card .ec-frame {
  fill: color-mix(in oklab, var(--bg) 70%, transparent);
  stroke: var(--line-2);
  stroke-width: 1;
}
.engagement-card .ec-badge {
  fill: var(--ink);
}
.engagement-card .ec-badge-text {
  fill: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.engagement-card .ec-title {
  fill: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.engagement-card .ec-sub,
.engagement-card .ec-key {
  fill: var(--ink-4);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.engagement-card .ec-code {
  fill: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
}
.engagement-card .ec-live-dot {
  fill: oklch(0.7 0.18 140);
  animation: pulse 2s ease-in-out infinite;
}
.engagement-card .ec-line {
  stroke: var(--line-2);
  stroke-width: 1;
}
.engagement-card .ec-line-faint {
  stroke: var(--line);
  stroke-width: 1;
}
.engagement-card .ec-section {
  fill: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.engagement-card .ec-phase-done { fill: var(--ink); }
.engagement-card .ec-phase-active { fill: var(--accent); }
.engagement-card .ec-phase-todo { fill: color-mix(in oklab, var(--ink) 12%, transparent); }
.engagement-card .ec-tiny {
  fill: var(--ink-4);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}
.engagement-card .ec-now { fill: var(--accent); }
.engagement-card .ec-val {
  fill: var(--ink);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: -0.005em;
}
.engagement-card .ec-item {
  fill: color-mix(in oklab, var(--bg) 82%, transparent);
  stroke: var(--ink-3);
  stroke-width: 0.8;
}
.engagement-card .ec-tag {
  fill: var(--ink);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
}
.engagement-card .ec-strip {
  fill: color-mix(in oklab, var(--ink) 6%, transparent);
}
.engagement-card .ec-pin { fill: var(--accent); }
.engagement-card .ec-conn {
  stroke: var(--ink-4);
  stroke-width: 0.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.engagement-card .ec-sig {
  fill: var(--ink);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: -0.005em;
  font-style: italic;
}
.engagement-card .ec-seal {
  fill: color-mix(in oklab, var(--accent) 10%, transparent);
  stroke: var(--accent);
  stroke-width: 1;
}
.engagement-card .ec-check {
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.process-steps { display: flex; flex-direction: column; }
.process-step {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}
.process-step:first-child { border-top: 1px solid var(--line); }
.process-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-4);
  padding-top: 6px;
  letter-spacing: 0.1em;
}
.process-step h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.process-step p {
  margin: 0;
  color: var(--ink-3);
  font-size: 15px;
  max-width: 46ch;
}
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 40px; }
  .process-sticky { position: static; }
}

/* ========= FAQ ========= */
.faq {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  padding: 28px 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(19px, 1.5vw, 22px);
  letter-spacing: -0.015em;
  gap: 24px;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-plus {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  flex-shrink: 0;
  display: grid; place-items: center;
  transition: background .2s, transform .3s;
  position: relative;
}
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.faq-plus::before { width: 12px; height: 1px; }
.faq-plus::after { width: 1px; height: 12px; transition: transform .3s; }
.faq-item.open .faq-plus { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faq-item.open .faq-plus::after { transform: rotate(90deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.2,.7,.2,1);
}
.faq-a-inner {
  padding: 0 0 32px;
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.7;
  max-width: 70ch;
}

/* ========= CTA banner ========= */
.cta {
  border-radius: 24px;
  padding: 80px 56px;
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .cta { background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); }
.cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, var(--accent) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 100%, oklch(0.68 0.17 190) 0%, transparent 60%);
  opacity: .3;
}
.cta-inner { position: relative; display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: end; }
.cta h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.02em; line-height: 1; margin: 0; }
.cta p { color: rgba(255,255,255,.7); max-width: 40ch; margin: 24px 0 0; }
[data-theme="dark"] .cta p { color: var(--ink-3); }
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  background: var(--bg);
  color: var(--ink);
  border-radius: 999px;
  font-size: 15px;
  transition: transform .2s;
}
.cta-btn:hover { transform: translateY(-2px); }
@media (max-width: 860px) {
  .cta { padding: 48px 28px; }
  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ========= Footer ========= */
.footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 20px;
  font-weight: 400;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer li a { color: var(--ink-2); font-size: 14.5px; transition: color .2s; }
.footer li a:hover { color: var(--accent); }
.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 220px);
  line-height: 0.8;
  letter-spacing: -0.03em;
  padding: 40px 0;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  text-transform: uppercase;
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  /* Brand block takes the full width on its own row;
     Services / Company / Visit line up cleanly below. */
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > :first-child { grid-column: auto; }
}

/* ========= Placeholder imagery ========= */
.placeholder {
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 10px,
      rgba(0,0,0,0.04) 10px 11px
    ),
    linear-gradient(180deg, var(--bg-soft), color-mix(in oklab, var(--bg-soft) 70%, var(--accent) 10%));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .placeholder {
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 10px,
      rgba(255,255,255,0.03) 10px 11px
    ),
    linear-gradient(180deg, var(--bg-soft), color-mix(in oklab, var(--bg-soft) 70%, var(--accent) 14%));
}
.placeholder-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.placeholder-corner {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: 0.1em;
}
.placeholder-corner.br { top: auto; left: auto; bottom: 16px; right: 16px; }

/* ========= Page header (inner pages) =========
   Tightened to read as a business page header — the home page still
   gets the big editorial hero. */
.page-head {
  padding: calc(var(--nav-h) + 56px) 0 56px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-head .kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  max-width: 22ch;
}
.page-head .meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-top: 36px;
}
.page-head .meta-row p {
  max-width: 58ch;
  font-size: 16px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.55;
}
.page-head .meta-row .meta {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
  line-height: 1.8;
}

/* ========= Team / leadership ========= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.leader {
  display: flex; flex-direction: column; gap: 18px;
}
/* ---- About · milestones timeline ---- */
.milestones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.milestone {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
}
.milestone:first-child { padding-left: 0; }
.milestone:last-child { padding-right: 0; border-right: none; }
.milestone-code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-4);
  letter-spacing: 0.1em;
}
.milestone-title {
  font-family: var(--font-sans);
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 12px 0 10px;
  font-weight: 500;
}
.milestone-desc {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: var(--ink-3);
}

@media (max-width: 860px) {
  .milestones-grid { grid-template-columns: repeat(2, 1fr); }
  .milestone {
    padding: 28px 20px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  /* left column items — no left padding */
  .milestone:nth-child(2n+1) { padding-left: 0; }
  /* right column items — no right padding, no right border */
  .milestone:nth-child(2n) { padding-right: 0; border-right: none; }
  /* bottom row (items 3 & 4) — no bottom border */
  .milestone:nth-child(n+3) { border-bottom: none; padding-bottom: 0; }
}
@media (max-width: 560px) {
  .milestones-grid { grid-template-columns: 1fr; }
  .milestone {
    padding: 24px 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .milestone:first-child { padding-top: 24px; }
  .milestone:last-child { border-bottom: none; padding-bottom: 0; }
}

/* ---- About · story section ---- */
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .story-grid .story-graphic {
    max-width: 440px;
    width: 100%;
    justify-self: start;
  }
}
@media (max-width: 560px) {
  .story-grid { gap: 36px; }
}

.story-graphic {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 80% at 50% 110%, color-mix(in oklab, var(--accent) 7%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  aspect-ratio: 4/5;
  position: relative;
}
.workshop-schematic {
  display: block;
  width: 100%;
  height: 100%;
}
.workshop-schematic .ws-grid-dot { fill: color-mix(in oklab, var(--ink) 18%, transparent); }
.workshop-schematic .ws-wall {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.workshop-schematic .ws-conn line {
  stroke: var(--ink-4);
  stroke-width: 0.7;
  stroke-dasharray: 2 2;
}
.workshop-schematic .ws-room {
  fill: color-mix(in oklab, var(--bg) 70%, transparent);
  stroke: var(--ink-3);
  stroke-width: 0.9;
}
.workshop-schematic .ws-counter {
  fill: color-mix(in oklab, var(--accent) 6%, transparent);
  stroke: var(--accent);
  stroke-width: 1;
}
.workshop-schematic .ws-label {
  fill: var(--ink-4);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.workshop-schematic .ws-code {
  fill: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.workshop-schematic .ws-room-label {
  fill: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.workshop-schematic .ws-room-sub {
  fill: var(--ink-4);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.workshop-schematic .ws-pin { fill: var(--accent); }
.workshop-schematic .ws-pin-halo {
  fill: color-mix(in oklab, var(--accent) 22%, transparent);
  transform-origin: 122px 235px;
  animation: pulse 2s ease-in-out infinite;
}
/* ---- Editorial leader card (no portrait frame) ---- */
.leader {
  position: relative;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .3s;
  gap: 0;
}
.leader:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--accent) 30%, var(--line));
}
.leader-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background:
    radial-gradient(ellipse 120% 90% at 50% 120%, color-mix(in oklab, var(--accent) 18%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, color-mix(in oklab, var(--bg-soft) 85%, var(--ink) 3%) 100%);
  border: 1px solid var(--line);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 24px;
  padding: 0 14px;
}
.leader-chip em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.leader-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 10px;
}
.leader-id {
  position: absolute;
  top: 28px;
  right: 26px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.leader-name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
}
.leader-role {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-top: 6px;
}
.leader-bio {
  font-size: 14.5px;
  color: var(--ink-3);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}
@media (max-width: 860px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ========= Contact page ========= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
}
.contact-info-list {
  list-style: none; padding: 0; margin: 48px 0 0;
  display: flex; flex-direction: column; gap: 0;
}
.contact-info-list li {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: baseline;
}
.contact-info-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-info-list .k {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.contact-info-list .v {
  font-size: 17px;
  color: var(--ink);
}
.contact-info-list .v small {
  display: block;
  color: var(--ink-3);
  font-size: 13.5px;
  margin-top: 4px;
}
.form-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  background: var(--bg-elev);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 10px 0;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
  font-size: 15px;
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--accent); }
.field textarea { resize: vertical; min-height: 100px; font-family: inherit; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-card { padding: 28px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ========= Service detail ========= */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.offer-list {
  list-style: none;
  padding: 0; margin: 0;
  border-top: 1px solid var(--line);
}
.offer-list li {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  align-items: baseline;
}
.offer-list .i {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-4);
  letter-spacing: 0.08em;
}
.offer-list h4 {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-size: 18px;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.offer-list p {
  margin: 0;
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 50ch;
}
.service-aside .aside-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  background: var(--bg-elev);
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}
.service-aside .aside-card h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 16px;
  font-weight: 400;
}
.service-aside .aside-card p {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-3);
  text-transform: uppercase;
}
@media (max-width: 860px) {
  .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-aside .aside-card { position: static; }
}

/* ========= Utility ========= */
.row-split { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hide-mobile { }
@media (max-width: 720px) { .hide-mobile { display: none; } }

/* ========= Blog index ========= */
.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-loading {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding: 40px 0;
}
.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .3s, background .3s;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--accent) 28%, var(--line));
}
.blog-card-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 120% 80% at 50% 110%, color-mix(in oklab, var(--accent) 7%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.blog-card-cover img,
.blog-card-cover svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.blog-card:hover .blog-card-cover img,
.blog-card:hover .blog-card-cover svg { transform: scale(1.03); }
.blog-card-cover-empty::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .5;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 100%);
}
.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 20px;
}
.blog-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.blog-card-num { color: var(--accent); }
.blog-card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(19px, 1.5vw, 22px);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}
.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
  max-width: 44ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.blog-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.blog-card-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-3);
  text-transform: uppercase;
}
.blog-card-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.blog-card-sep { opacity: .5; }
.blog-card-cat { color: var(--accent); }
.blog-card-read {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  align-self: flex-start;
  transition: color .25s ease;
}
.blog-card-read .arrow { transition: transform .25s ease; }
.blog-card:hover .blog-card-read { color: var(--accent); }
.blog-card:hover .blog-card-read .arrow { transform: translate(4px, -4px); }
@media (max-width: 1040px) {
  .blog-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .blog-list { grid-template-columns: 1fr; }
}

/* ========= Blog post ========= */
.post-head h1 {
  max-width: 26ch;
}
.post-meta-row {
  margin-top: 28px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.post-meta-row .post-sep { color: var(--ink-4); }
.post-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.post-article { padding: 80px 0 40px; }
.post-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}
.post-prose {
  font-family: var(--font-sans);
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink-2);
}
.post-prose > * + * { margin-top: 1.1em; }
.post-prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
  margin-top: 2em;
  color: var(--ink);
}
.post-prose h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-top: 1.8em;
  color: var(--ink);
}
.post-prose p { margin: 0; }
.post-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.post-prose a:hover { text-decoration-thickness: 2px; }
.post-prose strong { color: var(--ink); font-weight: 600; }
.post-prose em { font-style: italic; }
.post-prose ul, .post-prose ol {
  padding-left: 1.4em;
  margin: 0;
}
.post-prose li { margin: 0.4em 0; }
.post-prose li::marker { color: var(--ink-4); }
.post-prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--accent);
  color: var(--ink-3);
  font-style: italic;
}
.post-prose code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--ink);
}
.post-prose pre {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 20px 22px;
  border-radius: 12px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
}
.post-prose pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}
.post-prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.4em 0;
}
.post-prose img {
  border-radius: 12px;
  border: 1px solid var(--line);
}
.post-signoff {
  max-width: 760px;
  margin: 72px auto 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.post-signoff-inner { display: flex; flex-direction: column; gap: 4px; }
.post-signoff-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.post-signoff-name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.post-signoff-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 860px) {
  .post-article { padding: 56px 0 24px; }
  .post-prose { font-size: 16.5px; }
  .post-container { padding: 0 24px; }
}

/* scrolling marquee */
.marquee {
  overflow: hidden;
  display: flex;
  gap: 64px;
  padding: 24px 0;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.03em;
  color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 40px;
}
.marquee-item::after {
  content: "✦";
  font-size: .5em;
  color: var(--accent);
}
