:root {
  --obsidian: #0E1218;
  --graphite: #1F2530;
  --slate: #3D4757;
  --steel: #6D7787;
  --mist: #B6BDC9;
  --bone: #F2F3F5;
  --signal: #5BA6F7;
  --pulse: #3A5EE3;

  --bg: var(--obsidian);
  --bg-elev: var(--graphite);
  --hairline: rgba(109, 119, 135, 0.22);
  --hairline-strong: rgba(182, 189, 201, 0.42);
  --text: var(--bone);
  --text-quiet: var(--mist);
  --text-mute: var(--steel);
  --accent: var(--signal);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --col-max: 1440px;
  --gutter: clamp(20px, 3vw, 40px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { background: var(--bg); color: var(--text); }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 23px;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }

::selection { background: var(--signal); color: var(--obsidian); }

/* ---------- Lenis ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* ---------- Typography ---------- */
.t-d1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(56px, 11.5vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.t-d2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.t-h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.t-h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: -0.01em;
}
.t-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.accent { color: var(--accent); }
.italic { font-style: italic; font-family: var(--font-display); font-weight: 400; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

section { padding: clamp(80px, 12vh, 160px) 0; position: relative; }
section.tight { padding: clamp(48px, 7vh, 80px) 0; }

/* ---------- Reveal primitives ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

.line-clip { display: inline-block; overflow: hidden; vertical-align: top; }
.line-clip > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
}
.line-clip.in > span { transform: translateY(0); }
.line-clip[data-delay="1"] > span { transition-delay: .1s; }
.line-clip[data-delay="2"] > span { transition-delay: .2s; }
.line-clip[data-delay="3"] > span { transition-delay: .3s; }
.line-clip[data-delay="4"] > span { transition-delay: .4s; }

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; mix-blend-mode: difference; }
.cursor .ring {
  position: absolute; top: -16px; left: -16px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--bone);
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.cursor .dot {
  position: absolute; top: -2px; left: -2px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--bone);
}
.cursor.is-hover .ring { transform: scale(1.6); background: rgba(242, 243, 245, 0.08); }
.cursor.is-down .ring { transform: scale(0.85); }
@media (hover: none), (max-width: 800px) { .cursor { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  pointer-events: none;
}
.site-header .row {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0;
  mix-blend-mode: difference;
  color: var(--bone);
}
.site-header.scrolled .row {
  background: rgba(14, 18, 24, 0.65);
  backdrop-filter: saturate(140%) blur(14px);
  mix-blend-mode: normal;
  margin: 0 calc(var(--gutter) * -1);
  padding: 20px var(--gutter);
}
.site-header .brand { display: inline-flex; align-items: center; gap: 12px; }
.site-header .brand svg { display: block; height: 44px; width: auto; }
@media (max-width: 700px) { .site-header .brand svg { height: 36px; } }
.site-header .right { display: inline-flex; align-items: center; gap: 24px; }
.site-header .clock { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--bone); opacity: 0.7; }
@media (max-width: 700px) { .site-header .clock { display: none; } }

.menu-btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  padding: 8px 0;
}
.menu-btn .bars {
  position: relative; width: 24px; height: 10px;
}
.menu-btn .bars::before, .menu-btn .bars::after {
  content: ''; position: absolute; left: 0; width: 100%; height: 1px; background: currentColor;
  transition: transform .4s var(--ease), top .3s var(--ease);
}
.menu-btn .bars::before { top: 2px; }
.menu-btn .bars::after { top: 7px; }
body.menu-open .menu-btn .bars::before { top: 4.5px; transform: rotate(45deg); }
body.menu-open .menu-btn .bars::after { top: 4.5px; transform: rotate(-45deg); }

/* ---------- Overlay menu ---------- */
.menu-overlay {
  position: fixed; inset: 0;
  background: var(--obsidian);
  z-index: 90;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 112px var(--gutter) 32px;
}
body.menu-open .menu-overlay { clip-path: inset(0 0 0 0); }

.menu-overlay .inner {
  display: grid; grid-template-columns: 4fr 6fr; gap: 64px; align-items: end;
  max-width: var(--col-max); margin: 0 auto; width: 100%;
  padding-bottom: 56px;
  min-height: calc(100vh - 240px);
}
.menu-overlay .meta { color: var(--text-quiet); }
.menu-overlay .meta .email-display {
  display: block;
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--bone);
  word-break: break-word;
  transition: color .25s var(--ease);
}
.menu-overlay .meta .email-display:hover { color: var(--accent); }
.menu-overlay .meta .promise {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.005em;
  color: var(--text-quiet);
  max-width: 32ch;
}

.menu-overlay ol { list-style: none; counter-reset: m; }
.menu-overlay ol li { counter-increment: m; border-top: 1px solid var(--hairline); }
.menu-overlay ol li:last-child { border-bottom: 1px solid var(--hairline); }
.menu-overlay ol li a {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--bone);
  transition: color .3s var(--ease), padding-left .4s var(--ease);
}
.menu-overlay ol li a::before {
  content: "0" counter(m);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  align-self: center;
}
.menu-overlay ol li a .arrow {
  font-family: var(--font-mono); font-size: 18px;
  transition: transform .3s var(--ease);
}
.menu-overlay ol li a:hover { color: var(--accent); padding-left: 24px; }
.menu-overlay ol li a:hover .arrow { transform: translateX(8px); color: var(--accent); }

@media (max-width: 800px) {
  .menu-overlay .inner { grid-template-columns: 1fr; gap: 40px; }
  .menu-overlay ol li a { grid-template-columns: 40px 1fr auto; gap: 16px; padding: 14px 0; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 120px 0 32px;
  position: relative;
}
.hero .hero-top {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 16px;
  margin-bottom: 56px;
}
.hero .hero-top .left { display: inline-flex; align-items: center; gap: 12px; }
.hero .hero-top .dot { width: 8px; height: 8px; background: var(--signal); border-radius: 50%; box-shadow: 0 0 0 4px rgba(91,166,247,0.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(91,166,247,0); } }

.hero h1 { max-width: 14ch; margin-bottom: 24px; }

.hero-bottom {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: end;
  padding-top: 48px;
  border-top: 1px solid var(--hairline);
  margin-top: 80px;
}
.hero-bottom .lead { max-width: 540px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--text-quiet); }
.hero-bottom .meta-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.hero-bottom .meta-grid .item .label { display: block; margin-bottom: 6px; }
.hero-bottom .meta-grid .item .value { font-family: var(--font-display); font-size: 22px; line-height: 26px; letter-spacing: -0.01em; }

@media (max-width: 900px) {
  .hero { padding: 96px 0 24px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 40px; }
  .hero-bottom .meta-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
}
.marquee .track {
  display: inline-flex;
  white-space: nowrap;
  animation: scroll-x 38s linear infinite;
  will-change: transform;
}
.marquee .track span {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  padding: 0 32px;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 32px;
}
.marquee .track span::before {
  content: ''; display: inline-block;
  width: 12px; height: 12px;
  transform: rotate(45deg);
  background: var(--signal);
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section head ---------- */
.section-head {
  display: grid; grid-template-columns: 1fr 2fr; gap: 64px;
  align-items: end;
  padding-bottom: 56px;
}
.section-head .kicker { display: block; }
.section-head h2 { max-width: 16ch; }
.section-head p { color: var(--text-quiet); font-size: 17px; line-height: 27px; max-width: 56ch; }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; padding-bottom: 40px; }
}

/* ---------- Services list (boitano / bertha inspired) ---------- */
.services-list { border-top: 1px solid var(--hairline); position: relative; }
.services-list .row {
  display: grid;
  grid-template-columns: 64px 2fr 4fr auto;
  gap: 24px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  transition: padding .4s var(--ease);
}
.services-list .row a {
  position: absolute; inset: 0; z-index: 2;
}
.services-list .row .num { font-family: var(--font-mono); font-size: 12px; color: var(--text-mute); }
.services-list .row .title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px, 3.6vw, 48px); line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color .3s var(--ease), transform .5s var(--ease), opacity .3s var(--ease);
}
.services-list .row .desc { color: var(--text-quiet); font-size: 15px; line-height: 23px; max-width: 48ch; transition: opacity .3s var(--ease); }
.services-list .row .meta-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--text-mute); transition: color .3s var(--ease), transform .4s var(--ease); }

.services-list:hover .row .title { color: var(--text-mute); }
.services-list .row:hover .title { color: var(--text); }
.services-list:hover .row .desc { opacity: 0.4; }
.services-list .row:hover .desc { opacity: 1; }
.services-list .row:hover { padding-left: 24px; }
.services-list .row:hover .meta-cta { color: var(--accent); transform: translateX(6px); }

.services-list .preview {
  position: fixed; top: 0; left: 0;
  width: 320px; height: 220px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity .25s var(--ease), transform .35s var(--ease);
  z-index: 50;
  border: 1px solid var(--hairline-strong);
  background: var(--bg-elev);
  overflow: hidden;
}
.services-list .preview.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.services-list .preview .frame { position: relative; width: 100%; height: 100%; padding: 16px; }
.services-list .preview .frame::before, .services-list .preview .frame::after {
  content: ''; position: absolute; left: 8px; right: 8px; height: 1px; background: var(--hairline); pointer-events: none;
}
.services-list .preview .frame::before { top: 30px; }
.services-list .preview .frame::after { bottom: 30px; }
.services-list .preview .label {
  position: absolute; top: 10px; left: 16px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-mute);
}
.services-list .preview .label.r { left: auto; right: 16px; }
.services-list .preview .label.b { top: auto; bottom: 10px; }
.services-list .preview svg { width: 100%; height: 100%; }

@media (max-width: 800px) {
  .services-list .row { grid-template-columns: 36px 1fr; gap: 16px; padding: 24px 0; }
  .services-list .row .desc, .services-list .row .meta-cta { display: none; }
  .services-list .preview { display: none; }
}

/* ---------- Approach (sticky / pinned) ---------- */
.approach {
  position: relative;
}
.approach .wrap {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.approach .sticky {
  position: sticky; top: 96px;
}
.approach .step-counter { display: flex; align-items: baseline; gap: 12px; margin-top: 32px; }
.approach .step-counter .cur {
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 144px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.approach .step-counter .of { color: var(--text-mute); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; }
.approach .steps { display: flex; flex-direction: column; gap: 0; }
.approach .steps .step {
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  opacity: 0.42;
  transition: opacity .4s var(--ease);
}
.approach .steps .step:last-child { border-bottom: 1px solid var(--hairline); }
.approach .steps .step.is-active { opacity: 1; }
.approach .steps .step .idx { font-family: var(--font-mono); font-size: 12px; color: var(--text-mute); padding-top: 4px; }
.approach .steps .step h4 { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 12px; }
.approach .steps .step p { color: var(--text-quiet); font-size: 16px; line-height: 25px; max-width: 56ch; }
@media (max-width: 900px) {
  .approach .wrap { grid-template-columns: 1fr; gap: 24px; }
  .approach .sticky { position: relative; top: auto; }
}

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--hairline);
}
.stats .stat {
  padding: 48px 32px 48px 0;
  border-right: 1px solid var(--hairline);
}
.stats .stat:last-child { border-right: 0; padding-right: 0; }
.stats .stat .num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 1;
  letter-spacing: -0.035em;
  display: inline-flex; align-items: baseline; gap: 4px;
}
.stats .stat .num .suffix { font-size: 0.4em; color: var(--text-mute); }
.stats .stat .label { display: block; margin-top: 12px; color: var(--text-quiet); font-size: 14px; line-height: 22px; max-width: 28ch; }
.stats .stat .label .t-mono { display: block; margin-bottom: 6px; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats .stat { padding: 32px 24px 32px 0; }
  .stats .stat:nth-child(2n) { border-right: 0; }
  .stats .stat:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
}

/* ---------- Manifesto / CTA ---------- */
.manifesto {
  padding: clamp(96px, 18vh, 200px) 0;
  border-top: 1px solid var(--hairline);
}
.manifesto h2 {
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 7.4vw, 120px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}
.manifesto .row {
  margin-top: 56px;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px;
}
.manifesto .row p { color: var(--text-quiet); max-width: 48ch; font-size: 17px; line-height: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 1px solid var(--bone);
  background: var(--bone);
  color: var(--obsidian);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: transparent; color: var(--bone); }
.btn.btn-ghost { background: transparent; color: var(--bone); border-color: var(--hairline-strong); }
.btn.btn-ghost:hover { border-color: var(--bone); }
.btn .arrow { font-size: 13px; line-height: 1; }
.btn.large { padding: 18px 28px; font-size: 12px; }

/* ---------- Service page ---------- */
.service-hero {
  padding: 144px 0 64px;
  border-bottom: 1px solid var(--hairline);
}
.service-hero .crumbs { margin-bottom: 32px; }
.service-hero .crumbs a { color: var(--text-mute); }
.service-hero .crumbs a:hover { color: var(--text); }
.service-hero h1 { max-width: 18ch; margin-top: 16px; }
.service-hero .lead { margin-top: 32px; max-width: 640px; font-size: 18px; line-height: 28px; color: var(--text-quiet); }
.service-hero .cta-row { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }

.matrix {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
.matrix .card {
  padding: 40px 32px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg);
  transition: background .35s var(--ease);
  position: relative;
}
.matrix .card:hover { background: var(--bg-elev); }
.matrix .card .num { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.matrix .card h3 { margin-bottom: 12px; }
.matrix .card p { color: var(--text-quiet); font-size: 14.5px; line-height: 22px; }
@media (max-width: 1000px) { .matrix { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .matrix { grid-template-columns: 1fr; } }

/* CTA strip (used on service pages) */
.cta-strip {
  background: var(--bg-elev);
  padding: clamp(56px, 8vh, 96px) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.cta-strip .row {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta-strip h2 { max-width: 22ch; }
.cta-strip p { margin-top: 12px; color: var(--text-quiet); max-width: 56ch; }
@media (max-width: 800px) { .cta-strip .row { grid-template-columns: 1fr; } }

.spec-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--hairline); }
.spec-table tr { border-bottom: 1px solid var(--hairline); }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 24px 0; }
.spec-table th { width: 30%; padding-right: 24px; }
.spec-table td { color: var(--text); font-size: 16px; line-height: 26px; }

.diamond { display: inline-block; width: 8px; height: 8px; transform: rotate(45deg); background: var(--accent); }

.contact-block {
  margin-top: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.contact-block .t-mono { display: block; margin-bottom: 16px; }
.contact-block .email-display {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  word-break: break-word;
  transition: color .25s var(--ease);
}
.contact-block .email-display:hover { color: var(--accent); }
.contact-block .response { margin-top: 16px; color: var(--text-quiet); font-size: 14px; line-height: 22px; }

.two-up { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.two-up ul { list-style: none; }
.two-up ul li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--hairline); }
.two-up ul li:last-child { border-bottom: 1px solid var(--hairline); }
.two-up ul li .idx { font-family: var(--font-mono); font-size: 12px; color: var(--text-mute); padding-top: 6px; }
.two-up ul li h4 { font-family: var(--font-display); font-weight: 500; font-size: 19px; line-height: 26px; margin-bottom: 6px; }
.two-up ul li p { font-size: 15px; line-height: 23px; color: var(--text-quiet); }
@media (max-width: 900px) { .two-up { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0;
  border-top: 1px solid var(--hairline);
  background: var(--bg);
}
.site-footer .top {
  display: grid; grid-template-columns: 3fr 2fr 2fr; gap: var(--gutter);
  align-items: start;
}
.site-footer .colophon .brand { color: var(--text); display: inline-block; }
.site-footer .colophon .brand svg { display: block; height: 56px; width: auto; }
.site-footer h6 { margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer ul li { padding: 6px 0; font-size: 14px; color: var(--text-quiet); }
.site-footer ul li a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .site-footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .site-footer .top { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .line-clip > span, .marquee .track { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .line-clip > span { transform: none; }
  .cursor { display: none; }
}
