/* ============================================================
   Modern Warmth — "Monograph" design system
   Direction: MANNA (styles.refero.design) — architecture
   monograph at golden hour. Bone paper, black ink, one rust
   accent used only as full-bleed panels; hairline-framed
   photography with gutter captions; zero border-radius;
   whisper/shout typography.
   Palette: bone #F2EDDE · ink #141414 · rule #000
            rust panel #9C4F2F · rust text #8F4526 · stone #5C5647
   Type:    Space Grotesk 300/500 (shout) · Inter 400/600 (whisper)
   ============================================================ */

/* ---------- fonts (self-hosted) ---------- */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/fonts/space-grotesk-v22-latin-300.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/space-grotesk-v22-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-v20-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-v20-latin-600.woff2") format("woff2");
}

/* ---------- tokens ---------- */
:root {
  --bone: #f2edde;
  --ink: #141414;
  --rule: #000000;
  --rust: #9c4f2f;        /* full-bleed panels + footer only */
  --rust-text: #8f4526;   /* rust-toned text on bone, AA */
  --stone: #5c5647;       /* captions, metadata */
  --paper: #ffffff;       /* form fields */
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 128px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class] { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.band-rust :focus-visible, .band-ink :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bone);
  padding: 10px 18px; z-index: 100; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- type roles ---------- */
.display {
  font-family: var(--display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: normal;
  font-size: clamp(2.6rem, 7.2vw, 5.75rem);
  overflow-wrap: break-word;
}
.display-md {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.04;
  font-size: clamp(1.9rem, 4.2vw, 3.25rem);
}
.subhead {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.25;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
}
.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 18px;
}
.band-rust .eyebrow, .band-ink .eyebrow { color: rgba(255, 255, 255, 0.75); }
.lede {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
}
.muted { color: var(--stone); }

/* ---------- layout ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * 0.55); }
.rule-top { border-top: 1px solid var(--rule); }

.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* two-column editorial split: lede left, running copy right */
.editorial {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
}
@media (max-width: 820px) { .editorial { grid-template-columns: 1fr; } }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--rule); background: var(--bone); }
.site-header-inner {
  max-width: var(--container); margin-inline: auto; padding: 20px var(--gutter);
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px 32px; flex-wrap: wrap;
}
.wordmark {
  font-family: var(--display); font-weight: 500; font-size: 1.35rem;
  letter-spacing: 0.02em; text-decoration: none; white-space: nowrap;
}
.site-nav ul { display: flex; flex-wrap: wrap; gap: 6px 26px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  font-family: var(--body); font-weight: 400; font-size: 15px;
  text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--rule); }
.site-nav a[aria-current="page"] { font-weight: 600; border-bottom-color: var(--rule); }
.header-phone { font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-phone:hover { text-decoration: underline; }
@media (max-width: 700px) { .header-phone { display: none; } }

/* ---------- plates (framed photography) ---------- */
.plate img { width: 100%; border: 1px solid var(--rule); }
.plate figcaption {
  margin-top: 10px;
  font-size: 14px; font-weight: 300; line-height: 1.4; color: var(--stone);
}
.plate figcaption b { font-weight: 600; color: var(--ink); }
a.plate-link { text-decoration: none; display: block; }
a.plate-link:hover img { filter: contrast(1.04) saturate(1.05); }
a.plate-link:hover .plate-label { text-decoration: underline; text-underline-offset: 3px; }
.plate-label {
  margin-top: 10px; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink);
}
.plate-fig { display: block; font-size: 13px; font-weight: 400; color: var(--stone); margin-top: 2px; }

/* square media wells so mixed aspect ratios sit level */
.plate-square { aspect-ratio: 1 / 1; object-fit: cover; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 96px); }
.hero .display { max-width: 14ch; }
.hero-figure { margin-top: clamp(32px, 5vw, 64px); }
.hero-intro { margin-top: 28px; max-width: 60ch; }

/* ---------- bands ---------- */
.band-rust { background: var(--rust); color: #fff; }
.band-ink { background: var(--ink); color: var(--bone); }
.band-rust a, .band-ink a { color: inherit; }

.strip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px 40px; flex-wrap: wrap; padding-block: clamp(36px, 5vw, 56px);
}
.strip p { font-family: var(--display); font-weight: 300; font-size: clamp(1.25rem, 2.6vw, 1.75rem); line-height: 1.3; max-width: 34ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 15px 30px;
  font-family: var(--body); font-weight: 600; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--ink); color: var(--bone); }
.btn-solid { background: var(--ink); color: var(--bone); }
.btn-solid:hover { background: transparent; color: var(--ink); }
.band-rust .btn, .band-ink .btn { border-color: #fff; color: #fff; }
.band-rust .btn:hover, .band-ink .btn:hover { background: #fff; color: var(--ink); }
.band-rust .btn-solid, .band-ink .btn-solid { background: #fff; color: var(--ink); border-color: #fff; }
.band-rust .btn-solid:hover, .band-ink .btn-solid:hover { background: transparent; color: #fff; }
.btn[disabled], .btn:disabled { opacity: 0.55; cursor: wait; }

/* ---------- value list ---------- */
.value-list { border-top: 1px solid var(--rule); }
.value-list > div {
  border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 8px 40px; padding-block: 22px;
}
.value-list dt { font-family: var(--display); font-weight: 500; font-size: 1.2rem; }
.value-list dd { color: var(--stone); }
@media (max-width: 620px) { .value-list > div { grid-template-columns: 1fr; } }

/* ---------- reviews ---------- */
.review { border-top: 1px solid var(--rule); padding-top: 22px; display: flex; flex-direction: column; }
.review-stars { color: var(--rust-text); font-size: 15px; letter-spacing: 0.2em; }
.review blockquote { margin-top: 14px; font-size: 15.5px; line-height: 1.55; flex: 1; }
.review-meta { margin-top: 18px; display: flex; gap: 14px; align-items: center; }
.review-meta img { width: 52px; height: 52px; border: 1px solid var(--rule); }
.review-meta .who { font-weight: 600; font-size: 14px; }
.review-meta .what { font-size: 13px; color: var(--stone); line-height: 1.35; }

/* ---------- feature rows (image + text) ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 64px); align-items: start;
}
.feature.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.feature.flip .feature-media { order: 2; }
@media (max-width: 820px) {
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: 0; }
}
.feature h3 { margin-bottom: 12px; }
.feature p + p { margin-top: 12px; }
.feature .btn { margin-top: 24px; }

/* ---------- specs / sizing table ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table caption { text-align: left; font-size: 14px; color: var(--stone); margin-bottom: 12px; }
.spec-table th, .spec-table td { border: 1px solid var(--rule); padding: 12px 16px; text-align: left; }
.spec-table th { font-family: var(--body); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.table-scroll { overflow-x: auto; }

/* ---------- forms ---------- */
.lead-form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--rule); border-radius: 0; background: var(--paper);
  color: var(--ink); font: 400 16px var(--body); padding: 13px 14px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.band-rust .field input:focus, .band-rust .field select:focus, .band-rust .field textarea:focus,
.band-ink .field input:focus, .band-ink .field select:focus, .band-ink .field textarea:focus { outline-color: #fff; }
.form-status { min-height: 1.5em; font-size: 15px; font-weight: 600; }
.form-status.is-error { text-decoration: underline; text-underline-offset: 3px; }
.form-note { font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.site-footer { background: var(--rust); color: #fff; margin-top: 0; }
.footer-inner {
  max-width: var(--container); margin-inline: auto; padding: clamp(48px, 6vw, 72px) var(--gutter) 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-wordmark { font-family: var(--display); font-weight: 500; font-size: 1.3rem; }
.footer-heading { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); margin-bottom: 14px; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { text-decoration: none; font-size: 15px; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-body { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.9); max-width: 44ch; }
.footer-body a { font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.35); margin-top: clamp(36px, 5vw, 56px); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap;
  font-size: 13.5px; color: rgba(255, 255, 255, 0.85);
}
.footer-bottom a { color: inherit; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise 0.7s ease both; }
  .hero > * + * { animation-delay: 0.12s; }
  .hero > * + * + * { animation-delay: 0.22s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- misc ---------- */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-64 { margin-top: clamp(40px, 5vw, 64px); }
.max-60 { max-width: 60ch; }
.max-70 { max-width: 70ch; }
p + p { margin-top: 14px; }
.prose h2 { font-family: var(--display); font-weight: 500; font-size: 1.6rem; margin: 36px 0 12px; }
.prose ul { margin: 12px 0 0 20px; padding: 0; }
