/* Richard Labs — site styles */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f5f0;
  --bg-raise: #ffffff;
  --bg-plate: #efece4;
  --bg-tint: #edeae2;
  --fg: #171614;
  --fg-muted: #57544c;
  --fg-faint: #858176;
  --line: rgba(23, 22, 20, 0.1);
  --line-strong: rgba(23, 22, 20, 0.18);
  --accent: #d23c22;
  --shadow: 0 1px 2px rgba(23, 22, 20, 0.04), 0 12px 32px -12px rgba(23, 22, 20, 0.14);
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 68px;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 100;
  background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: 14px;
}
.skip:focus { top: 12px; }

/* Type helpers */

.eyebrow, .label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.rec { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .rec { animation: rec 2.4s ease-in-out infinite; }
}
@keyframes rec { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--fg); font-size: 15.5px;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 3px;
  transition: border-color 0.2s;
}
.text-link:hover { border-color: var(--fg); }
.arr { display: inline-block; transition: transform 0.3s var(--ease); }
a:hover .arr { transform: translateX(3px); }

/* Header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 240, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 28px; height: 28px; flex: none; color: var(--fg); }
.brand-mark .glyph { stroke: var(--bg); }
.brand-mark .dot { fill: var(--accent); }
.brand-word { font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { font-size: 15px; color: var(--fg-muted); padding: 8px 12px; border-radius: 999px; transition: color 0.2s, border-color 0.2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--fg); }
.site-nav .nav-cta { color: var(--fg); border: 1px solid var(--line-strong); padding: 8px 16px; margin-left: 8px; }
.site-nav .nav-cta:hover { border-color: var(--fg); }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex; align-items: center;
    background: none; color: var(--fg);
    border: 1px solid var(--line-strong); border-radius: 999px;
    font: 500 14px var(--sans); padding: 8px 16px; cursor: pointer;
  }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 4px var(--gutter) 20px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { font-size: 18px; color: var(--fg); padding: 16px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 0; padding: 16px 0; }
}

/* Buttons */

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: #000; }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg); }

/* Hero */

.hero { padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 {
  margin-top: 28px;
  font-size: clamp(2.4rem, 4.3vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 560;
  max-width: 16ch;
  text-wrap: balance;
}
.lede { margin-top: 28px; max-width: 56ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--fg-muted); }
.hero .actions { margin-top: 40px; }
.hero-visual { width: 100%; max-width: 560px; justify-self: end; }

.facts-bar {
  margin-top: clamp(48px, 7vw, 88px);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px;
  border-top: 1px solid var(--line-strong);
}
.facts-bar > div { padding-top: 16px; }
.facts-bar dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-faint); }
.facts-bar dd { margin-top: 6px; font-size: 15.5px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { justify-self: start; max-width: 520px; }
  .facts-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-bar > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
}

/* Inline illustrations */

.illo { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.illo .m { font-family: var(--mono); letter-spacing: 0.06em; }

/* Sections */

.section { padding: clamp(72px, 10vw, 136px) 0; border-bottom: 1px solid var(--line); }
.section-head {
  display: grid; grid-template-columns: 3fr 9fr; gap: 24px; align-items: baseline;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 560;
  max-width: 20ch;
  text-wrap: balance;
}
.section-foot { display: grid; grid-template-columns: 3fr 9fr; gap: 24px; margin-top: 40px; }
.section-foot > * { grid-column: 2; justify-self: start; }

@media (max-width: 760px) {
  .section-head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .section-foot { grid-template-columns: minmax(0, 1fr); }
  .section-foot > * { grid-column: 1; }
}

/* Service cards (home) */

.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.svc-card {
  display: flex; flex-direction: column;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.svc-card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(23, 22, 20, 0.05), 0 20px 40px -16px rgba(23, 22, 20, 0.22); }
.mini { display: block; background: var(--bg-plate); }
.svc-card .mini { border-bottom: 1px solid var(--line); }
.sc-body { display: grid; grid-template-columns: 34px minmax(0, 1fr) 20px; gap: 8px 12px; align-items: baseline; padding: 22px 24px 26px; }
.sc-num { font-family: var(--mono); font-size: 13px; color: var(--fg-faint); transition: color 0.2s; }
.sc-title { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.2; letter-spacing: -0.025em; font-weight: 540; }
.sc-arrow { color: var(--fg-faint); transition: color 0.2s, transform 0.3s var(--ease); }
.sc-desc { grid-column: 2 / 4; font-size: 15.5px; line-height: 1.55; color: var(--fg-muted); }
.svc-card:hover .sc-num, .svc-card:hover .sc-arrow { color: var(--accent); }
.svc-card:hover .sc-arrow { transform: translateX(4px); }
@media (max-width: 760px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }

.svc-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 32px 48px; align-items: center; }
.mini--panel { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
@media (max-width: 980px) { .svc-intro { grid-template-columns: minmax(0, 1fr); } .mini--panel { max-width: 480px; } }

/* Work */

.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.work-card {
  display: flex; flex-direction: column;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.plate {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid; place-items: center;
  padding: 52px 26px 30px;
  background: var(--bg-plate);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.plate-tag {
  position: absolute; top: 18px; left: 22px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-faint);
}
.plate-logo { height: auto; }
.plate-logo--iclosed { width: 42%; }
.plate-logo--mass { width: 32%; mix-blend-mode: multiply; }

.work-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 24px; }
.work-body h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.02em; font-weight: 560; }
.work-body p { font-size: 15.5px; line-height: 1.55; color: var(--fg-muted); }
.work-body .work-meta { font-family: var(--mono); font-size: 11.5px; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-faint); }
.work-foot {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px;
  font-size: 13.5px; color: var(--fg-muted);
}
.work-foot a { color: var(--fg); }
.work-foot a:hover { color: var(--accent); }

@media (max-width: 980px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}

/* Illustration panels */

.illus {
  display: grid; place-items: center;
  padding: clamp(28px, 4vw, 52px);
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 20px;
}

/* Feature: paid ads */

.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature .label { margin-bottom: 20px; }
.feature-list { margin-top: 32px; border-top: 1px solid var(--line-strong); }
.feature-list li {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 15.5px; line-height: 1.55; color: var(--fg-muted);
}
.feature-list b {
  display: inline-flex; align-items: center; gap: 8px; padding-top: 3px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg);
}
.feature-list b::before { content: ""; width: 12px; height: 3px; border-radius: 2px; background: var(--seg, var(--fg-faint)); }
.seg-hook { --seg: var(--accent); }
.seg-body { --seg: var(--fg); }
.seg-cta { --seg: #b9b4a8; }
@media (max-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr); } }

.ad-phone {
  width: min(100%, 312px);
  padding: 9px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 0 0 1px var(--line), var(--shadow);
}
.ad-screen { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.ad-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 10px; }
.ad-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-plate); border: 1px solid var(--line); flex: none; }
.ad-name { display: block; font-size: 13px; font-weight: 600; line-height: 1.25; }
.ad-sponsored { display: block; font-size: 11.5px; line-height: 1.25; color: var(--fg-faint); }
.ad-text { padding: 0 14px 12px; font-size: 12.5px; line-height: 1.45; }
.ad-media {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid; place-items: center;
  background: radial-gradient(120% 90% at 30% 20%, #3a3833 0%, #1b1a18 60%, #121110 100%);
  color: #fff;
}
.ad-caption {
  position: absolute; left: 18px; right: 18px; top: 15%;
  font-size: 18px; font-weight: 620; line-height: 1.2; letter-spacing: -0.02em; text-align: center; text-wrap: balance;
}
.ad-play { width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); display: grid; place-items: center; }
.ad-play::before { content: ""; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.ad-timeline { position: absolute; left: 14px; right: 14px; bottom: 14px; }
.ad-bar { display: flex; gap: 3px; height: 4px; }
.ad-bar i { border-radius: 2px; }
.ad-bar .bar-hook { flex: 1.4; background: var(--accent); }
.ad-bar .bar-body { flex: 6; background: rgba(255, 255, 255, 0.85); }
.ad-bar .bar-cta { flex: 1.6; background: rgba(255, 255, 255, 0.4); }
.ad-ticks { display: flex; gap: 3px; margin-top: 7px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.ad-ticks span:nth-child(1) { flex: 1.4; } .ad-ticks span:nth-child(2) { flex: 6; } .ad-ticks span:nth-child(3) { flex: 1.6; }
.ad-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--bg); }
.ad-domain { display: block; font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-faint); }
.ad-headline { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.ad-btn { flex: none; font-size: 12px; font-weight: 600; padding: 8px 12px; border-radius: 8px; background: var(--bg-plate); }

/* Feature: content operations */

.ops { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ops .illus { place-items: stretch; }
.ops .body-copy { margin-top: 0; }
.ops .steps { margin-top: 28px; }
.steps { border-top: 1px solid var(--line-strong); }
.steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--mono); font-size: 13px; color: var(--fg-faint); padding-top: 3px; }
.steps h3 { font-size: 1.05rem; line-height: 1.3; letter-spacing: -0.015em; font-weight: 560; }
.steps p { margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--fg-muted); }
@media (max-width: 980px) { .ops { grid-template-columns: minmax(0, 1fr); } }

.board { width: 100%; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.board-top {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  font-size: 13px; font-weight: 600;
}
.board-top small { font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-faint); }
.board-grid { display: grid; grid-template-columns: 64px repeat(5, minmax(0, 1fr)); }
.board-grid > * { min-height: 40px; padding: 8px 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.board-grid > :nth-child(6n) { border-right: 0; }
.board-grid > :nth-last-child(-n + 6) { border-bottom: 0; }
.bh { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-faint); min-height: 0; }
.br { font-size: 11.5px; font-weight: 560; color: var(--fg-muted); display: flex; align-items: flex-start; padding-top: 12px; }
.post { display: grid; gap: 3px; padding: 7px 8px; border-radius: 7px; background: var(--bg); border: 1px solid var(--line); }
.post b { font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-faint); }
.post span { font-size: 11.5px; line-height: 1.3; font-weight: 520; }
.post i { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 10.5px; color: var(--fg-muted); }
.post i::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-pub i { color: var(--fg); }
.st-sch i { color: var(--accent); }
.st-edit i { color: #8a7a52; }
.st-scr i { color: var(--fg-faint); }
@media (max-width: 640px) {
  .board-grid { grid-template-columns: 58px repeat(3, minmax(0, 1fr)); }
  .board-grid .d4, .board-grid .d5 { display: none; }
  .board-grid > :nth-child(6n) { border-right: 1px solid var(--line); }
  .board-grid > .d3 { border-right: 0; }
  .board-top small { display: none; }
}

/* Founder */

.signature { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; }
.signature b { display: block; font-size: 15.5px; font-weight: 560; }
.signature span { display: block; font-size: 14px; color: var(--fg-muted); }

/* Operator band */

.operator { display: grid; grid-template-columns: 3fr 9fr; gap: 24px; }
.operator-copy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.operator h2 {
  grid-column: 1 / -1;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 560;
  max-width: 18ch; text-wrap: balance;
}
.operator-copy p { color: var(--fg-muted); max-width: 46ch; }
.operator .text-link { grid-column: 1 / -1; justify-self: start; }

@media (max-width: 760px) {
  .operator, .operator-copy { grid-template-columns: minmax(0, 1fr); }
}

/* CTA */

.cta { padding: clamp(80px, 11vw, 152px) 0; }
.cta h2 {
  margin-top: 24px;
  font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 560;
  max-width: 16ch; text-wrap: balance;
}
.cta h2 + p { margin-top: 24px; max-width: 52ch; color: var(--fg-muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.cta .actions { margin-top: 40px; gap: 12px 28px; }
.mail-link { font-size: 15.5px; color: var(--fg); border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; overflow-wrap: anywhere; }
.mail-link:hover { border-color: var(--accent); }

/* Footer */

.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: 32px; }
.footer-tagline { margin-top: 14px; color: var(--fg-muted); max-width: 32ch; }
.footer-col h4 { font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 14px; }
.footer-col li + li { margin-top: 8px; }
.footer-col a { color: var(--fg-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--fg); }
.footer-legal {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  font-size: 13px; color: var(--fg-faint);
}
.footer-legal a { color: var(--fg-muted); }
.footer-legal a:hover { color: var(--fg); }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Inner pages */

.page-hero { padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.page-hero h1, .not-found h1 {
  margin-top: 24px;
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 560;
  max-width: 18ch;
  text-wrap: balance;
}
.page-hero .lede { max-width: 60ch; }

.split { display: grid; grid-template-columns: 3fr 9fr; gap: 24px; }
.split > .label { padding-top: 6px; }
@media (max-width: 760px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .split > .label { padding-top: 0; }
}

.h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 560;
  max-width: 22ch;
  text-wrap: balance;
}
.body-copy { margin-top: 20px; max-width: 62ch; color: var(--fg-muted); font-size: 1.08rem; }
.body-copy + .body-copy { margin-top: 16px; }
.small-label {
  font-family: var(--mono); font-size: 11.5px; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-faint);
  margin-bottom: 4px;
}

/* Services page */

.service { padding: clamp(56px, 7vw, 104px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.service-cols { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 56px; }
.included li { padding: 13px 0; border-top: 1px solid var(--line); }
.included li:last-child { border-bottom: 1px solid var(--line); }
.spec { border-top: 1px solid var(--line-strong); }
.spec > div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-faint); }
.spec dd { margin-top: 4px; font-size: 15.5px; }
.spec a { border-bottom: 1px solid var(--line-strong); }
.spec a:hover { border-color: var(--fg); }
@media (max-width: 900px) { .service-cols { grid-template-columns: minmax(0, 1fr); } }

.note-band { padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }

/* About page */

.svc-num { font-family: var(--mono); font-size: 13px; color: var(--fg-faint); }
.principles { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.principles li { padding: 28px 32px 32px 0; border-bottom: 1px solid var(--line); }
.principles li:nth-child(even) { padding: 28px 0 32px 32px; border-left: 1px solid var(--line); }
.principles h3 { margin-top: 12px; font-size: 1.2rem; letter-spacing: -0.02em; font-weight: 560; }
.principles p { margin-top: 8px; color: var(--fg-muted); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 760px) {
  .principles { grid-template-columns: minmax(0, 1fr); }
  .principles li, .principles li:nth-child(even) { padding: 24px 0; border-left: 0; }
}

.details { margin-top: 36px; max-width: 720px; border-top: 1px solid var(--line-strong); }
.details > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.details dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-faint); padding-top: 3px; }
.details dd { font-size: 15.5px; overflow-wrap: anywhere; }
.details a { border-bottom: 1px solid var(--line-strong); }
@media (max-width: 560px) { .details > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* Contact page */

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; color: var(--fg-muted); }
.field .opt { color: var(--fg-faint); }
.field input, .field select, .field textarea {
  width: 100%;
  font: 400 16px/1.5 var(--sans);
  color: var(--fg);
  background: var(--bg-raise);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { min-height: 168px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-muted) 50%), linear-gradient(135deg, var(--fg-muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(23, 22, 20, 0.32); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fg); background: var(--bg-plate); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.form-note { font-size: 13.5px; color: var(--fg-faint); max-width: 44ch; }
.form-status { font-size: 14.5px; color: var(--fg-muted); }
.form-status a { color: var(--fg); border-bottom: 1px solid var(--line-strong); }
button.btn { border: 0; cursor: pointer; font-family: var(--sans); }

.contact-aside { display: grid; gap: 28px; }
.contact-aside p, .contact-aside address { font-style: normal; font-size: 15.5px; line-height: 1.6; color: var(--fg); }
.contact-aside .mail-link { font-size: 17px; }
.contact-aside .muted { color: var(--fg-muted); }

@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }

/* Legal pages */

.legal { padding: clamp(48px, 6vw, 88px) 0 clamp(72px, 9vw, 128px); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 44px; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.02em; font-weight: 560; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: 14px; color: var(--fg-muted); }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--fg); font-weight: 560; }
.prose a { color: var(--fg); border-bottom: 1px solid var(--line-strong); overflow-wrap: anywhere; }
.prose a:hover { border-color: var(--fg); }

/* 404 */

.not-found { min-height: calc(100vh - var(--header-h) - 260px); display: flex; align-items: center; padding: 96px 0; }
.not-found .actions { margin-top: 36px; }
