/* ═══════════════════════════════════════════════════════════
   RICHARD HOMES — prefabricated ADUs
   Design system v6 — "quiet luxury": the real 2026 high-end
   real-estate trend documented in research — warm charcoal
   ground, ivory text, and a restrained deep-olive accent, in
   place of the more expected (and now dated) black-and-gold.
   Type: Newsreader (display serif) + Archivo (sans, UI + body)
═══════════════════════════════════════════════════════════ */

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

:root {
  --bg:           #211D17;
  --bg-raised:    #2A2520;
  --bg-deepest:   #16130F;

  --line:         rgba(242,237,225,0.14);
  --line-strong:  rgba(242,237,225,0.26);

  --cream:        #F2EDE1;
  --cream-soft:   rgba(242,237,225,0.78);
  --cream-mute:   rgba(242,237,225,0.56);
  --cream-faint:  rgba(242,237,225,0.36);

  --accent:       #767B54;
  --accent-light: #A3AA79;
  --accent-deep:  #4D4F37;
  --accent-pale:  rgba(118,123,84,0.16);

  --paper:        #F2EDE1;
  --paper-line:   #DCD2B9;
  --paper-ink:    #211D17;
  --paper-ash:    #6B664F;

  --display:      'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:         'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease:         cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);

  --max: 1280px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("/assets/grain.png");
  background-size: 160px 160px;
  opacity: 0.045;
  mix-blend-mode: overlay;
}
.site-header, main, .site-footer { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--cream);
}
h1 em, h2 em, .accent-em { font-style: italic; color: var(--accent-light); }

p { max-width: 62ch; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--accent-light); color: var(--bg-deepest); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
@media (max-width: 640px) { .wrap { padding: 0 24px; } }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent-light); color: var(--bg-deepest);
  padding: 14px 22px; z-index: 999; font-size: 14px;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Accent hairline — used sparingly at real structural breaks */
.rule-accent { height: 1px; border: none; background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent); }

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  padding: 15px 28px; border-radius: 1px; border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--accent-light); color: var(--bg-deepest); }
.btn-primary:hover { background: var(--cream); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--cream); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.text-link {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-weight: 600; color: var(--cream);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.text-link:hover { border-color: var(--accent); color: var(--accent-light); }

/* ── Header ──────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(15,13,11,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 21px; font-weight: 500;
  letter-spacing: -0.01em; color: var(--cream);
}
.logo span { color: var(--accent-light); font-style: italic; }
.logo-mark path { stroke: var(--accent); }
.footer-logo .logo-mark path { stroke: var(--accent); }

.menu-toggle { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--cream); text-transform: uppercase; }
.menu-toggle-bars { position: relative; width: 26px; height: 14px; flex-shrink: 0; }
.menu-toggle-bars span { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--accent); transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), top 0.35s var(--ease); }
.menu-toggle-bars span:nth-child(1) { top: 0; }
.menu-toggle-bars span:nth-child(2) { top: 6px; width: 60%; }
.menu-toggle-bars span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(3) { top: 6px; width: 100%; transform: rotate(-45deg); }
.menu-toggle-label .close-text { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-label .open-text { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-label .close-text { display: inline; }

/* ── Full-screen menu ─────────────────────────────────────── */

.site-menu {
  position: fixed; inset: 0; z-index: 190;
  background: var(--bg-deepest);
  visibility: hidden; opacity: 0;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
  overflow-y: auto;
}
.site-menu.is-open { visibility: visible; opacity: 1; }
.site-menu-inner { min-height: 100%; padding: 150px 0 60px; display: flex; flex-direction: column; justify-content: space-between; gap: 60px; }
.menu-list { list-style: none; }
.menu-list li { border-top: 1px solid var(--line); padding: 20px 0; }
.menu-list li:last-child { border-bottom: 1px solid var(--line); }
.menu-list a { font-family: var(--display); font-size: clamp(34px, 6vw, 60px); color: var(--cream); transition: color 0.25s var(--ease); }
.menu-list a:hover, .menu-list a[aria-current="page"] { color: var(--accent-light); font-style: italic; }
.site-menu-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-menu-contact { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--cream-mute); }
body.menu-open { overflow: hidden; }

/* ── Hero ────────────────────────────────────────────────── */

.hero { padding: 96px 0 0; }
.hero-eyebrow { font-size: 13px; color: var(--accent-light); font-weight: 600; margin-bottom: 18px; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-lede { font-size: 19px; color: var(--cream-soft); max-width: 50ch; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.home-hero h1 { font-size: clamp(44px, 7vw, 92px); max-width: 15ch; margin-bottom: 26px; }
.home-hero-body { max-width: 900px; margin-bottom: 56px; }
.home-hero-figure { margin: 0 -40px; }
@media (max-width: 640px) { .home-hero-figure { margin: 0 -24px; } }

@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.home-hero > .wrap > * { animation: riseIn 0.7s var(--ease-out) both; }
.home-hero-figure { animation: riseIn 0.85s var(--ease-out) 0.1s both; }

/* ── Illustration "placard" — framed like a fine-art label,
   not a broken placeholder box ── */

.placard { border: 1px solid var(--line-strong); padding: 8%; display: flex; flex-direction: column; align-items: center; gap: 20px; background: linear-gradient(155deg, rgba(228,199,135,0.05), transparent 60%); }
.placard img { width: 78%; max-width: 420px; }
.placard-caption { font-size: 12px; font-style: italic; font-family: var(--display); color: var(--cream-faint); text-align: center; letter-spacing: 0.02em; }
.placard.compact { padding: 12%; gap: 12px; }
.placard.compact img { width: 68%; }
.placard.compact .placard-caption { font-size: 11px; }
.placard.full-bleed { border: none; margin: 0 -40px; padding: 3% 40px; }
@media (max-width: 640px) { .placard.full-bleed { margin: 0 -24px; padding: 6% 24px; } }
.placard.full-bleed img { width: 100%; max-width: none; }

/* ── Section rhythm ──────────────────────────────────────── */

section { padding: 108px 0; }
.section-tight { padding: 66px 0; }
.section-border-top { border-top: 1px solid var(--line); }
.section-raised { background: var(--bg-raised); }

.section-head { max-width: 680px; margin-bottom: 54px; }
.section-head h2 { font-size: clamp(32px, 3.8vw, 48px); }
.section-head p { color: var(--cream-mute); font-size: 17px; margin-top: 14px; }

/* ── Model listing — editorial rows presented like a
   small private collection, not marketing cards ──────────── */

.catalog { display: flex; flex-direction: column; }
.catalog-row { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line); }
.catalog-row:last-of-type { border-bottom: 1px solid var(--line); }
.catalog-row:nth-of-type(even) { direction: rtl; }
.catalog-row:nth-of-type(even) > * { direction: ltr; }
.catalog-content h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.catalog-content .positioning { color: var(--cream-soft); margin-bottom: 22px; max-width: 46ch; }
.catalog-specs { font-size: 14.5px; color: var(--cream-mute); margin-bottom: 24px; }
.catalog-specs strong { color: var(--accent-light); font-weight: 600; }
.catalog-specs .sep { margin: 0 10px; color: var(--line-strong); }
.note { display: block; font-size: 11.5px; color: var(--cream-faint); font-style: italic; margin-top: 8px; }
@media (max-width: 860px) { .catalog-row { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; direction: ltr !important; } }

/* ── Compact comparison table ─────────────────────────────── */

.spec-strip-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--paper-line); }
.spec-strip { width: 100%; border-collapse: collapse; min-width: 640px; color: var(--paper-ink); }
.spec-strip th, .spec-strip td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--paper-line); font-size: 14.5px; }
.spec-strip thead th { font-family: var(--display); font-size: 19px; font-weight: 500; background: rgba(201,160,92,0.08); }
.spec-strip tbody th { color: var(--paper-ash); font-weight: 500; width: 190px; }
.spec-strip tbody tr:last-child td, .spec-strip tbody tr:last-child th { border-bottom: none; }

/* ── Editorial statement ──────────────────────────────────── */

.statement { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; gap: 32px; } }
.statement-lead { font-family: var(--display); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.4; color: var(--cream); }
.statement-list { display: flex; flex-direction: column; }
.statement-item { padding: 25px 0; border-top: 1px solid var(--line); }
.statement-item:last-child { border-bottom: 1px solid var(--line); }
.statement-item h3 { font-size: 17px; margin-bottom: 8px; color: var(--accent-light); }
.statement-item p { color: var(--cream-mute); font-size: 15px; }

/* ── Process ──────────────────────────────────────────────── */

.stage-row { display: flex; flex-wrap: wrap; gap: 0 10px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--display); font-style: italic; font-size: clamp(17px, 2vw, 22px); color: var(--accent-light); }
.stage-row span:not(.sep) { white-space: nowrap; }
.stage-row .sep { color: var(--line-strong); font-style: normal; }

.process-list { display: flex; flex-direction: column; }
.process-item { padding: 36px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-item h3 { font-size: 20px; }
.process-item p { color: var(--cream-mute); }

@media (max-width: 700px) { .process-item { grid-template-columns: 1fr; gap: 8px; } }

/* ── FAQ accordion ───────────────────────────────────────── */

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 27px 0; font-family: var(--display); font-size: 19px; color: var(--cream); }
.faq-q .icon { font-size: 22px; color: var(--accent); transition: transform 0.3s var(--ease); flex-shrink: 0; }
.faq-q[aria-expanded="true"] .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a p { padding-bottom: 27px; color: var(--cream-mute); max-width: 68ch; }

/* ── Financing ────────────────────────────────────────────── */

.financing-line { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 38px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.financing-line p { color: var(--cream-mute); max-width: 56ch; }
.financing-line h3 { font-size: 23px; margin-bottom: 8px; max-width: 20ch; }

/* ── Bio / trust — drop cap gives the intro paragraph real
   editorial weight ──────────────────────────────────────── */

.bio-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .bio-grid { grid-template-columns: 1fr; } }
.portrait-frame { aspect-ratio: 4/5; border: 1px solid var(--line-strong); padding: 10%; display: flex; align-items: center; justify-content: center; background: linear-gradient(155deg, rgba(228,199,135,0.05), transparent 60%); }
.monogram { text-align: center; }
.monogram .letter { font-family: var(--display); font-style: italic; font-size: 100px; line-height: 1; color: var(--accent); }
.monogram .label { font-size: 11.5px; color: var(--cream-faint); letter-spacing: 0.04em; margin-top: 10px; }

.bio-copy-text > p:first-of-type::first-letter {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: 4.2em; line-height: 0.82; float: left; padding: 0.03em 0.1em 0 0;
  color: var(--accent);
}

/* ── Gallery ─────────────────────────────────────────────── */

.gallery-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 3px; }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { background: var(--bg-raised); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 10%; }
.gallery-item img { width: 46%; max-width: 90px; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item:not(.tall) { aspect-ratio: 4/3; }
@media (max-width: 760px) { .gallery-item.tall { grid-row: span 1; aspect-ratio: 4/3; } }
.gallery-caption { font-size: 11.5px; color: var(--cream-faint); text-align: center; margin-top: 14px; font-style: italic; font-family: var(--display); }

/* ── Specs / features ─────────────────────────────────────── */

.spec-list { list-style: none; display: flex; flex-direction: column; }
.spec-list li { display: flex; justify-content: space-between; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-list li span:first-child { color: var(--cream-mute); }
.spec-list li span:last-child { font-weight: 600; color: var(--accent-light); }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--cream-soft); }
.feature-list li::before { content: ""; width: 6px; height: 6px; background: var(--accent); margin-top: 8px; flex-shrink: 0; border-radius: 50%; }

.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
@media (max-width: 760px) { .specs-grid { grid-template-columns: 1fr; } }

/* ── Fit-for section ──────────────────────────────────────── */

.fit-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; }
@media (max-width: 760px) { .fit-grid { grid-template-columns: 1fr; } }
.fit-grid h3 { font-size: 19px; margin-bottom: 16px; }
.fit-grid ul { list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 15.5px; color: var(--cream-soft); }
.fit-grid ul li { padding-left: 20px; position: relative; }
.fit-grid ul li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.fit-aside { border-left: 1px solid var(--line); padding-left: 32px; }
.fit-aside p { color: var(--cream-mute); font-size: 15px; margin-bottom: 18px; }
@media (max-width: 760px) { .fit-aside { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; } }

/* ── Model page hero ──────────────────────────────────────── */

.model-hero { padding: 132px 0 0; }
.model-hero h1 { font-size: clamp(40px, 6vw, 76px); margin-bottom: 20px; }
.model-hero-body { max-width: 720px; }
.model-hero-figure { margin: 56px -40px 0; }
@media (max-width: 640px) { .model-hero-figure { margin: 40px -24px 0; } }

/* ── Final CTA band ───────────────────────────────────────── */

.cta-band { background: var(--bg-deepest); }
.cta-band h2 { font-size: clamp(32px, 4.6vw, 52px); max-width: 16ch; }
.cta-band p { color: var(--cream-mute); margin-top: 12px; }
.cta-band-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* ── Contact — sidebar + sectioned intake form ───────────── */

.contact-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-info { display: flex; flex-direction: column; gap: 26px; }
.contact-info-block { padding-top: 18px; border-top: 1px solid var(--line); }
.contact-info-block .label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--cream-mute); margin-bottom: 8px; text-transform: uppercase; }
.contact-info-block .value { font-size: 16px; color: var(--cream); }
.contact-info-block.license .value { color: var(--cream-mute); font-size: 14px; }
.social-row { display: flex; gap: 12px; margin-top: 6px; }
.social-btn { width: 38px; height: 38px; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: border-color 0.25s var(--ease), background 0.25s var(--ease); }
.social-btn svg { width: 16px; height: 16px; stroke: var(--cream-soft); transition: stroke 0.25s var(--ease); }
.social-btn:hover { border-color: var(--accent); background: var(--accent-pale); }
.social-btn:hover svg { stroke: var(--accent-light); }

.contact-form-panel { background: var(--bg-raised); border: 1px solid var(--line); padding: 56px; }
@media (max-width: 640px) { .contact-form-panel { padding: 36px 24px; } }
.contact-form-panel h2 { font-size: 28px; margin-bottom: 10px; }
.contact-form-panel > .form-content > p { color: var(--cream-mute); font-size: 15px; margin-bottom: 8px; }

.form-section { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.form-section:first-of-type { margin-top: 40px; }
.form-section-num { font-family: var(--display); font-style: italic; font-size: 15px; color: var(--accent-light); margin-bottom: 6px; }
.form-section-title { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--cream); margin-bottom: 20px; text-transform: uppercase; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--cream-mute); }
.field input, .field textarea {
  font-family: var(--sans); font-size: 15px; padding: 10px 2px;
  background: transparent; border: none; border-bottom: 1px solid var(--line-strong); border-radius: 0; color: var(--cream);
}
.field input::placeholder, .field textarea::placeholder { color: var(--cream-faint); }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field textarea { resize: vertical; min-height: 110px; }
.field-hint { font-size: 12px; color: var(--cream-faint); }
.field-error { font-size: 12px; color: #E8A0A0; display: none; }
.field.has-error input, .field.has-error textarea { border-color: #E8A0A0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; font-size: 13.5px; padding: 10px 18px; border: 1px solid var(--line-strong); color: var(--cream-mute); cursor: pointer; transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease); }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill:has(input:checked) { border-color: var(--accent); color: var(--cream); background: var(--accent-pale); }
.pill:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.form-submit-row { margin-top: 36px; }
.form-submit { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; background: var(--accent-light); color: var(--bg-deepest); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border: none; cursor: pointer; transition: background 0.25s var(--ease); }
.form-submit:hover { background: var(--cream); }
.form-submit svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.form-submit:hover svg { transform: translateX(5px); }
.form-submit[disabled] { opacity: 0.6; cursor: wait; }

.form-error-box { display: none; padding: 13px 16px; margin-top: 18px; border: 1px solid rgba(232,160,160,0.4); background: rgba(196,68,68,0.1); color: #E8A0A0; font-size: 14px; }
.form-error-box.show { display: block; }

.form-success { display: none; padding: 40px 0 10px; text-align: center; }
.form-success.show { display: block; }
.form-success-icon { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.form-success-icon svg { width: 22px; height: 22px; stroke: var(--accent); }
.form-success h3 { font-size: 26px; margin-bottom: 10px; }
.form-success h3 em { font-style: italic; color: var(--accent-light); }
.form-success p { color: var(--cream-mute); max-width: 40ch; margin: 0 auto; }

.dev-flag { display: inline-block; font-size: 11px; font-weight: 600; background: var(--accent-pale); color: var(--accent-light); padding: 3px 8px; border-radius: 2px; }

/* ── Footer ──────────────────────────────────────────────── */

.site-footer { background: var(--bg-deepest); border-top: 1px solid var(--line); padding: 72px 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 44px; }
.footer-brand p { color: var(--cream-mute); font-size: 14px; max-width: 36ch; margin-top: 14px; }
.footer-nav { display: flex; gap: 32px; flex-wrap: wrap; list-style: none; }
.footer-nav a { font-size: 14px; color: var(--cream-soft); }
.footer-nav a:hover { color: var(--accent-light); }
.footer-contact { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--cream-soft); text-align: right; }
@media (max-width: 640px) { .footer-contact { text-align: left; } }
.footer-credibility { font-size: 13px; color: var(--cream-mute); padding: 30px 0; border-top: 1px solid var(--line); display: flex; gap: 44px; flex-wrap: wrap; }
.footer-credibility strong { display: block; color: var(--cream-soft); font-weight: 600; margin-bottom: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--cream-faint); }

/* ── Breadcrumb ──────────────────────────────────────────── */
.crumb { font-size: 13px; color: var(--cream-mute); margin-bottom: 20px; }
.crumb a:hover { color: var(--accent-light); }

/* ── 404 ─────────────────────────────────────────────────── */
.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-page h1 { font-size: clamp(48px, 8vw, 100px); }
