/* ============================================================
   I BUILD STRONG HOMES — framing-lumber editorial
   Sharp-cornered, hairline-ruled, spec-sheet layout.
   Palette: deep charcoal / fired clay / warm off-white
   Theming: prefers-color-scheme + [data-theme] override
   ============================================================ */

:root {
  /* Light (default) */
  --bg: #f2eee5;
  --bg-raised: #faf8f2;
  --bg-sunken: #e9e3d6;
  --ink: #211e19;
  --ink-soft: #57503f;
  --line: #211e1926;
  --line-strong: #211e194d;
  --accent: #a8481f;          /* fired clay */
  --accent-ink: #ffffff;      /* text on accent */
  --accent-soft: #a8481f1a;
  --timber: #8a6a3f;
  --timber-ink: #6b5230;          /* warm timber tone */
  --panel-a: #ddd3c0;         /* gallery placeholder tones */
  --panel-b: #cfc2a9;
  --panel-c: #b8a888;
  --hard-shadow: 10px 10px 0 rgba(33, 30, 25, 0.14);

  --font-display: "Avenir Next Condensed", "Helvetica Neue", "Arial Narrow", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-serif: "Iowan Old Style", Georgia, "Times New Roman", serif;

  --container: 1320px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #191713;
    --bg-raised: #211e19;
    --bg-sunken: #131110;
    --ink: #ece6d8;
    --ink-soft: #b0a68f;
    --line: #ece6d824;
    --line-strong: #ece6d84a;
    --accent: #d96f3a;
    --accent-ink: #1c130c;
    --accent-soft: #d96f3a21;
    --timber: #b08a54;
  --timber-ink: #b08a54;
    --panel-a: #2b2620;
    --panel-b: #332c23;
    --panel-c: #3d3325;
    --hard-shadow: 10px 10px 0 rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

/* Explicit override beats system preference in both directions */
:root[data-theme="light"] {
  --bg: #f2eee5;
  --bg-raised: #faf8f2;
  --bg-sunken: #e9e3d6;
  --ink: #211e19;
  --ink-soft: #57503f;
  --line: #211e1926;
  --line-strong: #211e194d;
  --accent: #a8481f;
  --accent-ink: #ffffff;
  --accent-soft: #a8481f1a;
  --timber: #8a6a3f;
  --timber-ink: #6b5230;
  --panel-a: #ddd3c0;
  --panel-b: #cfc2a9;
  --panel-c: #b8a888;
  --hard-shadow: 10px 10px 0 rgba(33, 30, 25, 0.14);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #191713;
  --bg-raised: #211e19;
  --bg-sunken: #131110;
  --ink: #ece6d8;
  --ink-soft: #b0a68f;
  --line: #ece6d824;
  --line-strong: #ece6d84a;
  --accent: #d96f3a;
  --accent-ink: #1c130c;
  --accent-soft: #d96f3a21;
  --timber: #b08a54;
  --timber-ink: #b08a54;
  --panel-a: #2b2620;
  --panel-b: #332c23;
  --panel-c: #3d3325;
  --hard-shadow: 10px 10px 0 rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

/* ---------- Reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Paper grain — SVG turbulence, self-contained */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

a { color: var(--accent); }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection { background: var(--accent); color: var(--accent-ink); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Measurement-tick ruler — construction identity element */
.ruler {
  height: 14px;
  background-image:
    repeating-linear-gradient(90deg,
      var(--line-strong) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg,
      var(--line-strong) 0 1px, transparent 1px 96px);
  background-size: auto 7px, auto 14px;
  background-repeat: repeat-x;
  background-position: bottom left, bottom left;
  border-bottom: 1.5px solid var(--line-strong);
}

/* ---------- Kicker labels ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.kicker::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: var(--accent);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark { width: 38px; height: 38px; flex: none; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}
.brand-name span { color: var(--accent); }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
}

.main-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}
.main-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: var(--accent-ink) !important;
  padding: 0.55rem 1.1rem !important;
  border-bottom: none !important;
  font-weight: 600;
  transition: transform 150ms ease, filter 150ms ease;
}
.nav-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }

.theme-toggle,
.nav-toggle {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  cursor: pointer;
  padding: 0.45rem 0.6rem;
  line-height: 1;
  font-size: 1rem;
  transition: border-color 150ms ease, background 150ms ease;
}
.theme-toggle:hover, .nav-toggle:hover { border-color: var(--accent); background: var(--accent-soft); }

.theme-toggle .icon-sun, .theme-toggle .icon-moon { display: none; width: 18px; height: 18px; vertical-align: -3px; }
html[data-mode="dark"] .theme-toggle .icon-sun { display: inline-block; }
html[data-mode="light"] .theme-toggle .icon-moon { display: inline-block; }

.nav-toggle { display: none; }

@media (max-width: 840px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--line);
    padding: 1rem clamp(1.25rem, 4vw, 3rem) 1.25rem;
    display: none;
    box-shadow: var(--hard-shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 0.5rem; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7.5rem) clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

/* Aesthetic risk: giant outlined word running under the hero */
.hero::after {
  content: "STRONG";
  position: absolute;
  bottom: -0.18em;
  left: -0.03em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(7rem, 22vw, 20rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-strong);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.hero h1 em { font-style: normal; color: var(--accent); }

.hero .lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 1.75rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 4px 4px 0 var(--line-strong); }
.btn-primary:hover { filter: brightness(1.08); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--line-strong); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.hero-note {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-note svg { flex: none; color: var(--accent); }

/* Signature moment: self-drawing stud frame */
.hero-frame { position: relative; margin: 0; z-index: 2; }
.hero-frame svg { display: block; width: 100%; }
.hero-frame .draw {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linecap: square;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw-line 2.6s cubic-bezier(0.6, 0, 0.3, 1) forwards;
}
.hero-frame .draw.accent { stroke: var(--accent); stroke-width: 3.5; }
.hero-frame .draw:nth-child(2) { animation-delay: 0.2s; }
.hero-frame .draw:nth-child(3) { animation-delay: 0.4s; }
.hero-frame .draw:nth-child(4) { animation-delay: 0.6s; }
.hero-frame .draw:nth-child(5) { animation-delay: 0.8s; }
.hero-frame .draw:nth-child(6) { animation-delay: 1.0s; }
.hero-frame .draw:nth-child(7) { animation-delay: 1.2s; }
.hero-frame .draw:nth-child(8) { animation-delay: 1.4s; }

@keyframes draw-line { to { stroke-dashoffset: 0; } }

.hero-frame figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: right;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-frame { max-width: 420px; }
}

/* ---------- Sections (editorial, left-anchored) ---------- */

section { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }

/* Giant outlined section index bleeding into the margin */
.section-head {
  position: relative;
  max-width: 46em;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  padding-top: 0.5rem;
}
.section-head[data-index]::before {
  content: attr(data-index);
  position: absolute;
  top: -0.35em;
  right: -0.4em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 11vw, 9rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-strong);
  pointer-events: none;
  user-select: none;
}
@media (max-width: 760px) {
  .section-head[data-index]::before { right: 0; font-size: 4.5rem; }
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  text-transform: uppercase;
  position: relative;
}
.section-head p { color: var(--ink-soft); font-size: 1.05rem; position: relative; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.in { opacity: 1; transform: none; }

/* No-JS fallback: content must never depend on app.js running */
@media (scripting: none) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Services — spec-sheet ledger rows ---------- */

.services { border-bottom: 1px solid var(--line); }

.service-ledger { border-top: 1.5px solid var(--line-strong); }

.service-row {
  display: grid;
  grid-template-columns: minmax(70px, 110px) minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  padding-block: clamp(1.5rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 200ms ease;
}
.service-row:hover { background: var(--accent-soft); }
.service-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 200ms ease;
}
.service-row:hover::before { width: 4px; }

.service-row .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.3px var(--timber);
  padding-top: 0.2rem;
}

.service-row h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
}
.service-row .scope {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.service-row .desc { color: var(--ink-soft); font-size: 1rem; margin: 0 0 0.8rem; }

.service-row ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.service-row li { position: relative; padding-left: 1rem; }
.service-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

@media (max-width: 760px) {
  .service-row { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .service-row .num { font-size: 1.5rem; }
}

/* ---------- Process — plumb line + staggered steps ---------- */

.process {
  background: var(--bg-sunken);
  border-bottom: 1px solid var(--line);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  counter-reset: step;
  border-top: 1.5px solid var(--line-strong);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.step {
  position: relative;
  counter-increment: step;
  padding-left: 1.4rem;
  border-left: 2px solid var(--line-strong);
}
.step:nth-child(2) { margin-top: clamp(0rem, 4vw, 3.5rem); }
.step:nth-child(3) { margin-top: clamp(0rem, 8vw, 7rem); }

.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  margin-bottom: 0.4rem;
}
.step h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); text-transform: uppercase; }
.step p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }
.step .step-tag {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--timber-ink);
  border-bottom: 2px solid var(--timber-ink);
  padding-bottom: 0.2rem;
}

@media (max-width: 820px) {
  .process-steps { grid-template-columns: 1fr; }
  .step:nth-child(2), .step:nth-child(3) { margin-top: 0; }
}

/* Why — ruled editorial list, two columns, no boxes */
.why-strip {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  columns: 2;
  column-gap: clamp(2rem, 5vw, 4.5rem);
}
@media (max-width: 760px) { .why-strip { columns: 1; } }

.why-item {
  break-inside: avoid;
  border-top: 1px solid var(--line-strong);
  padding: 1.1rem 0 1.4rem;
}
.why-item h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.why-item h3::before {
  content: "▸";
  color: var(--accent);
  font-size: 0.9em;
}
.why-item p { font-size: 0.94rem; color: var(--ink-soft); margin: 0; }

/* ---------- Manifesto — dark full-bleed editorial band ---------- */

.manifesto {
  background: var(--ink);
  color: var(--bg);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg,
    color-mix(in srgb, var(--bg) 7%, transparent) 0 1px, transparent 1px 120px);
  pointer-events: none;
}
.manifesto p {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.35;
  max-width: 26em;
  margin: 0;
  position: relative;
}
.manifesto em {
  font-style: italic;
  color: color-mix(in srgb, var(--accent) 80%, var(--bg));
}

/* ---------- Projects — full-bleed band, varied spans ---------- */

.projects { border-bottom: 1px solid var(--line); }

/* Compact editorial ledger — hairline-ruled rows, photography added per client */
.project-ledger { border-top: 1.5px solid var(--line-strong); }

.project-row {
  display: grid;
  grid-template-columns: minmax(90px, 130px) minmax(0, 4fr) minmax(0, 7fr) auto;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  align-items: baseline;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
  transition: background 200ms ease;
}
.project-row:hover { background: var(--accent-soft); }

.project-row .tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.project-row h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
}
.project-row p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }
.project-row .photo-pending {
  justify-self: end;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px dashed var(--line-strong);
  padding: 0.25rem 0.55rem;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .project-row { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  .project-row .photo-pending { justify-self: start; margin-top: 0.35rem; }
}

.projects-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-style: italic;
  font-family: var(--font-serif);
}

/* ---------- FAQ — ruled list, no boxes ---------- */

.faq { border-bottom: 1px solid var(--line); }

.faq-list {
  max-width: 60rem;
  border-top: 1.5px solid var(--line-strong);
}

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.35rem 0.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  letter-spacing: 0.01em;
  transition: color 150ms ease;
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 200ms ease;
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 0.25rem 1.4rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 46em;
}
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Contact CTA ---------- */

.contact {
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--accent) 14%, var(--bg-sunken)), var(--bg-sunken));
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 840px) { .contact-panel { grid-template-columns: 1fr; } }

.contact h2 { font-size: clamp(2rem, 4vw, 3.2rem); text-transform: uppercase; }
.contact .lede { color: var(--ink-soft); font-size: 1.1rem; max-width: 32em; }

.contact-card {
  background: var(--bg-raised);
  border: 1.5px solid var(--ink);
  border-left: 5px solid var(--accent);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--hard-shadow);
}
.contact-card h3 { font-size: 1.2rem; text-transform: uppercase; }
.contact-card dl { margin: 0 0 1.25rem; }
.contact-card dt {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.9rem;
}
.contact-card dd {
  margin: 0.15rem 0 0;
  font-size: 1.15rem;
  font-weight: 600;
}
.contact-card dd a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); }
.contact-card dd a:hover { color: var(--accent); }
.contact-card .btn { width: 100%; text-align: center; }
.contact-card .fine {
  margin: 0.8rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 2.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer .foot-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.site-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* ---------- Legal page ---------- */

.legal {
  max-width: 52rem;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; }
.legal h2 { font-size: 1.3rem; margin-top: 2.2rem; text-transform: uppercase; letter-spacing: 0.03em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .updated {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-frame .draw { stroke-dashoffset: 0; animation: none; }
  .reveal { opacity: 1; transform: none; }
}
