/* Haas & Reed — site styles
   Type: Instrument Sans (text + display), IBM Plex Mono (indices only). */

:root {
  --paper:       #f4efe6;
  --paper-2:     #ebe4d6;
  --ink:         #1a1816;
  --ink-soft:    #3f3a33;
  --ink-mute:    #6a6258;
  --rule:        #cfc6b3;
  --accent:      #a8442a;
  --accent-soft: #e08a6c;
  --ok:          #4f6b3f;
  --err:         #9b2c1c;

  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --wrap: 1240px;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 18px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: .45; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 0 0.08 0 0 0 0.16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
main, header.site, footer.site { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--paper); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; }

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

/* ---------- Type ---------- */
h1, h2, h3, h4, h5, blockquote { font-family: var(--sans); font-weight: 600; color: var(--ink); }
.it { color: var(--accent); font-weight: 400; }

.label {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute);
}
.idx { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent); }

.prose p { color: var(--ink-soft); max-width: 62ch; }
.prose p + p { margin-top: 1em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease;
}
header.site.scrolled { border-bottom-color: var(--rule); }
header.site .bar {
  max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: baseline; gap: 12px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.brand .amp { color: var(--accent); font-weight: 400; }
.brand .est { font-size: 13px; font-weight: 500; color: var(--ink-mute); letter-spacing: 0; }

nav.primary { display: flex; align-items: center; gap: 30px; }
nav.primary a { font-size: 16px; font-weight: 500; color: var(--ink-soft); padding: 6px 0; position: relative; white-space: nowrap; }
nav.primary a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--accent); transition: right .3s ease;
}
nav.primary a:hover, nav.primary a[aria-current="page"] { color: var(--ink); }
nav.primary a:hover::after, nav.primary a[aria-current="page"]::after { right: 0; }
nav.primary a.pill { padding: 11px 20px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); }
nav.primary a.pill::after { display: none; }
nav.primary a.pill:hover, nav.primary a.pill[aria-current="page"] { background: var(--ink); color: var(--paper); }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; margin-right: -10px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s ease, opacity .25s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .brand .est { display: none; }
  .burger { display: block; }
  nav.primary {
    display: none; position: fixed; inset: 65px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 24px;
  }
  nav.primary.open { display: flex; }
  nav.primary a { font-size: 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  nav.primary a::after { display: none; }
  nav.primary a[aria-current="page"] { color: var(--accent); }
  nav.primary a.pill { margin-top: 20px; text-align: center; border-bottom: 1.5px solid var(--ink); }
}

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 600;
  cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn-ink { background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink); }
.btn-ink:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; }
.hero .top-meta {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--rule); padding-top: 16px; margin-bottom: 56px;
}
.hero h1 { font-size: clamp(60px, 10.5vw, 168px); line-height: .95; letter-spacing: -.03em; }
.hero .lede-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 64px; align-items: start; }
.lede { font-size: 23px; line-height: 1.5; color: var(--ink-soft); max-width: 34ch; }
.lede strong { color: var(--ink); font-weight: 600; }

.page-hero { padding: 88px 0 40px; }
.page-hero h1 { font-size: clamp(48px, 7.5vw, 112px); line-height: 1; letter-spacing: -.028em; margin-top: 28px; max-width: 14ch; }
.page-hero .lede { margin-top: 36px; max-width: 40ch; }

@media (max-width: 820px) {
  .hero { padding-top: 56px; }
  .hero .lede-row { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
  .lede { font-size: 20px; }
  .page-hero { padding-top: 56px; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--rule); background: var(--paper-2); overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; gap: 52px; width: max-content; animation: scroll 40s linear infinite; }
.marquee span { font-size: 28px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.marquee span.it { font-weight: 500; }
.marquee .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); align-self: center; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section.tight { padding-top: 48px; }
.sec-head {
  display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: end;
  border-top: 1px solid var(--rule); padding-top: 22px; margin-bottom: 72px;
}
.sec-head h2 { font-size: clamp(38px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.025em; }
.sec-head .more { grid-column: 2; margin-top: -40px; }
.link-arrow { font-weight: 600; color: var(--accent); display: inline-flex; gap: 8px; align-items: center; }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow span { transition: transform .2s ease; }
@media (max-width: 820px) {
  .section { padding: 80px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 48px; }
  .sec-head .more { grid-column: 1; margin-top: 0; }
}

/* ---------- Practice ---------- */
.practice { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule); }
.practice .item {
  padding: 44px 0; border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: 64px 1fr; gap: 8px 24px; align-content: start;
}
.practice .item:nth-child(odd)  { padding-right: 40px; border-right: 1px solid var(--rule); }
.practice .item:nth-child(even) { padding-left: 40px; }
.practice .item .idx { border-top: 2px solid var(--accent); padding-top: 6px; align-self: start; }
.practice .item h3 { font-size: 30px; line-height: 1.15; letter-spacing: -.015em; }
.practice .item p { grid-column: 2; margin-top: 10px; color: var(--ink-soft); }
.practice .item ul { grid-column: 2; list-style: none; margin-top: 18px; }
.practice .item li { padding: 8px 0 8px 22px; border-top: 1px solid var(--rule); position: relative; font-size: 16px; color: var(--ink-soft); }
.practice .item li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
@media (max-width: 820px) {
  .practice { grid-template-columns: 1fr; }
  .practice .item, .practice .item:nth-child(odd), .practice .item:nth-child(even) { padding: 32px 0; border-right: 0; grid-template-columns: 48px 1fr; }
  .practice .item h3 { font-size: 26px; }
}

/* ---------- Manifesto ---------- */
.manifesto { background: var(--ink); color: var(--paper); padding: 128px 0; position: relative; overflow: hidden; }
.manifesto::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 18%, rgba(168,68,42,.42), transparent 52%); pointer-events: none; }
.manifesto .wrap { position: relative; }
.manifesto .quote-mark { font-size: 200px; line-height: .7; color: var(--accent-soft); font-weight: 600; margin-bottom: -24px; }
.manifesto blockquote { color: var(--paper); font-size: clamp(30px, 4.2vw, 58px); line-height: 1.18; letter-spacing: -.02em; font-weight: 500; max-width: 24ch; }
.manifesto blockquote .it { color: var(--accent-soft); }
.manifesto cite { display: block; margin-top: 48px; font-style: normal; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(244,239,230,.62); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--rule); }
.process-grid .step { padding: 36px 28px 40px; border-right: 1px solid var(--rule); transition: background .3s ease; }
.process-grid .step:first-child { padding-left: 0; }
.process-grid .step:last-child { border-right: 0; }
.process-grid .step:hover { background: var(--paper-2); }
.process-grid .roman { font-size: 52px; line-height: 1; color: var(--accent); font-weight: 500; }
.process-grid h4 { margin-top: 24px; font-size: 22px; letter-spacing: -.01em; }
.process-grid p { margin-top: 10px; font-size: 16px; color: var(--ink-soft); }
@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid .step { padding: 28px 20px 32px; }
  .process-grid .step:nth-child(2n) { border-right: 0; }
  .process-grid .step:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .process-grid .step:nth-child(odd) { padding-left: 0; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-grid .step, .process-grid .step:nth-child(odd) { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .process-grid .step:last-child { border-bottom: 0; }
}

/* ---------- Studio ---------- */
.studio { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.studio h2 { font-size: clamp(36px, 5vw, 68px); line-height: 1.02; letter-spacing: -.025em; margin-top: 18px; }
.studio .prose { margin-top: 28px; }
.studio .prose p { font-size: 19px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.stat { background: var(--paper); padding: 32px; transition: background .3s ease; }
.stat:hover { background: var(--paper-2); }
.stat .num { font-size: 64px; line-height: 1; font-weight: 500; letter-spacing: -.03em; }
.stat .num .it { font-size: .55em; margin-left: 2px; }
.stat .label { margin-top: 14px; }
@media (max-width: 820px) {
  .studio { grid-template-columns: 1fr; gap: 48px; }
  .stat { padding: 24px; }
  .stat .num { font-size: 48px; }
}

/* ---------- Principles (studio page) ---------- */
.principles { list-style: none; border-top: 1px solid var(--rule); counter-reset: p; }
.principles li {
  counter-increment: p; display: grid; grid-template-columns: 64px 1fr 1.4fr; gap: 24px;
  padding: 32px 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.principles li::before { content: "1." counter(p); font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent); }
.principles h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.01em; }
.principles p { color: var(--ink-soft); }
@media (max-width: 820px) {
  .principles li { grid-template-columns: 48px 1fr; }
  .principles p { grid-column: 2; }
}

/* ---------- Image Engine ---------- */
.engine-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; margin-bottom: 72px; align-items: start; }
.engine-intro p { font-size: 24px; line-height: 1.5; color: var(--ink-soft); max-width: 38ch; }
.engine-intro p strong { color: var(--ink); font-weight: 600; }
.engine-intro .label { line-height: 1.7; }

.pipeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--rule); margin-bottom: 96px; }
.pipeline li { padding: 32px 24px 36px; position: relative; border-right: 1px solid var(--rule); }
.pipeline li:last-child { border-right: 0; }
.pipeline li:not(:last-child)::after {
  content: "→"; position: absolute; right: -10px; top: 30px; width: 20px; height: 20px;
  display: grid; place-items: center; background: var(--paper); color: var(--accent);
  font-family: var(--mono); font-size: 14px; z-index: 1;
}
.pipeline .idx { border-top: 2px solid var(--accent); padding-top: 6px; display: inline-block; }
.pipeline h4 { margin-top: 20px; font-size: 22px; letter-spacing: -.01em; }
.pipeline p { margin-top: 10px; font-size: 16px; color: var(--ink-soft); }
.pipeline li.verify { background: var(--paper-2); }
.pipeline li.verify::after { background: var(--paper-2); }
.pipeline .by { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-mute); }
.pipeline .by img { height: 16px; width: auto; }

.engine-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: stretch; }
.caps { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.cap { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--rule); }
.cap:nth-child(odd) { border-right: 1px solid var(--rule); }
.cap:nth-child(even) { padding-left: 28px; padding-right: 0; }
.cap h5 { font-size: 19px; letter-spacing: -.005em; }
.cap p { margin-top: 8px; font-size: 16px; color: var(--ink-soft); }

.prontoid { background: var(--ink); color: var(--paper); padding: 40px; display: flex; flex-direction: column; gap: 26px; border-radius: 4px; }
.prontoid .logo-plate { background: var(--paper); border-radius: 3px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.prontoid .logo-plate img { height: 34px; width: auto; }
.prontoid h3 { color: var(--paper); font-size: 32px; line-height: 1.1; letter-spacing: -.02em; }
.prontoid h3 .it { color: var(--accent-soft); }
.prontoid ul { list-style: none; }
.prontoid li { padding: 14px 0; border-top: 1px solid rgba(244,239,230,.16); display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 16px; color: rgba(244,239,230,.88); }
.prontoid li svg { margin-top: 5px; color: var(--accent-soft); }
.prontoid .foot { margin-top: auto; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(244,239,230,.6); }

.engine-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.engine-teaser .mini-pipe { list-style: none; border-top: 1px solid var(--rule); }
.engine-teaser .mini-pipe li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.engine-teaser .mini-pipe strong { font-size: 20px; font-weight: 600; }
.engine-teaser .mini-pipe span.d { display: block; font-size: 16px; color: var(--ink-soft); }

@media (max-width: 980px) {
  .pipeline { grid-template-columns: 1fr; }
  .pipeline li { border-right: 0; border-bottom: 1px solid var(--rule); padding: 28px 0 32px; }
  .pipeline li.verify { padding-left: 20px; padding-right: 20px; }
  .pipeline li:last-child { border-bottom: 0; }
  .pipeline li:not(:last-child)::after { content: "↓"; right: auto; left: 0; top: auto; bottom: -10px; }
  .pipeline li.verify::after { left: 20px; }
  .engine-grid, .engine-intro, .engine-teaser { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 620px) {
  .caps { grid-template-columns: 1fr; }
  .cap, .cap:nth-child(odd), .cap:nth-child(even) { padding: 24px 0; border-right: 0; }
  .prontoid { padding: 28px 22px; }
}

/* ---------- CTA band ---------- */
.cta-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end; border-top: 1px solid var(--rule); padding-top: 32px; }
.cta-band h2 { font-size: clamp(44px, 7vw, 112px); line-height: .98; letter-spacing: -.03em; }
.cta-band p { color: var(--ink-soft); font-size: 19px; max-width: 36ch; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; }
.form-card { background: var(--paper-2); border: 1px solid var(--rule); padding: 44px; border-radius: 4px; position: relative; }
.form-card::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; background: var(--accent); border-radius: 4px 4px 0 0; }
.form-card h2 { font-size: 30px; letter-spacing: -.015em; }
.form-card .sub { color: var(--ink-soft); margin-top: 6px; margin-bottom: 32px; font-size: 17px; }

.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.field label .opt { font-weight: 400; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--rule); border-radius: 4px;
  padding: 13px 15px; transition: border-color .2s ease, box-shadow .2s ease;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%231a1816' stroke-width='1.6'/></svg>");
  background-repeat: no-repeat; background-position: right 15px center; }
.field textarea { resize: vertical; min-height: 180px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #9a9083; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(168,68,42,.18); }
.field .hint { margin-top: 6px; font-size: 14px; color: var(--ink-mute); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error { display: none; margin-bottom: 22px; padding: 14px 16px; border: 1px solid rgba(155,44,28,.35); background: #f8e6df; color: var(--err); border-radius: 4px; font-size: 16px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form-foot small { font-size: 14px; color: var(--ink-mute); max-width: 36ch; }
.form-foot small a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.spinner { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { display: none; padding: 24px 0 8px; }
.form-success .tick { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; margin-bottom: 22px; }
.form-success h3 { font-size: 30px; letter-spacing: -.015em; }
.form-success p { margin-top: 10px; color: var(--ink-soft); max-width: 40ch; }

.info-card { border: 1px solid var(--rule); border-radius: 4px; }
.info-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--rule); }
.info-card .row:last-child { border-bottom: 0; }
.info-card .k { font-size: 14px; font-weight: 600; color: var(--ink-mute); }
.info-card .v { font-size: 17px; text-align: right; }
.info-card .v a:hover { color: var(--accent); }
.info-note { margin-top: 28px; }
.info-note h3 { font-size: 20px; }
.info-note ol { margin-top: 14px; padding-left: 0; list-style: none; counter-reset: n; }
.info-note li { counter-increment: n; display: grid; grid-template-columns: 32px 1fr; padding: 10px 0; border-top: 1px solid var(--rule); color: var(--ink-soft); font-size: 17px; }
.info-note li::before { content: counter(n, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 4px; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-card { padding: 28px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .info-card .row { padding: 16px 18px; }
}

/* ---------- Legal page ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 26px; letter-spacing: -.01em; margin: 48px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 22px; margin-top: 10px; }
.legal li + li { margin-top: 6px; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--rule); background: var(--paper-2); padding: 64px 0 36px; }
footer.site .inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
footer.site .mark { font-size: 34px; font-weight: 600; letter-spacing: -.02em; }
footer.site .mark .it { font-weight: 400; }
footer.site .copy { margin-top: 14px; font-size: 16px; color: var(--ink-soft); max-width: 34ch; }
footer.site h5 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 8px; font-size: 16px; }
footer.site li a:hover { color: var(--accent); }
footer.site .baseline { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--ink-mute); }
@media (max-width: 820px) {
  footer.site .inner { grid-template-columns: 1fr 1fr; }
  footer.site .inner > div:first-child { grid-column: 1 / -1; }
  footer.site .baseline { flex-direction: column; gap: 6px; }
}

/* ---------- Reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
