:root {
  --bg: #f5efe6;
  --surface: #fffaf2;
  --ink: #1d1510;
  --muted: #5d4e41;
  --accent: #8c4a14;
  --accent-hover: #6f3a0f;
  --on-accent: #ffffff;
  --dark: #1d1510;
  --on-dark: #f5efe6;
  --glow: #d79a5b;
  --glow-hover: #e6ad72;
  --line: #d9cbb8;
  --field-line: #b9a88f;
  --destructive: #b3261e;
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-control: var(--radius-md);
  --font-head: Rockwell, "Roboto Slab", Cambria, Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1rem/1.6 var(--font-body);
}
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { padding-inline: max(16px, 5vw); }
.inner { max-width: 1100px; margin-inline: auto; }
.section { padding-block: clamp(40px, 8vw, 80px); }
.alt { background: var(--surface); border-block: 1px solid var(--line); }

/* Header */
.site-header { background: var(--dark); color: var(--on-dark); }
.site-header .inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 0.25rem 1.5rem; padding-block: 14px;
}
.brand {
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  color: var(--on-dark); text-decoration: none; letter-spacing: 0.01em;
}
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.nav a {
  color: var(--on-dark); text-decoration: none; padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--glow); }

/* Hero and page headers: dark with faint deck-board lines */
.hero, .page-head {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 64px),
    linear-gradient(180deg, #2a1d14, #1d1510);
  color: var(--on-dark);
}
.hero { padding-block: clamp(56px, 12vw, 120px); }
.page-head { padding-block: clamp(40px, 8vw, 72px); }
.kicker {
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--glow); font-weight: 600; margin-bottom: 1rem;
}
.lead { font-size: 1.15rem; max-width: 36rem; color: #e8dccb; }
.page-head .lead { margin-bottom: 0; }

/* Buttons and links */
.btn {
  display: inline-block; background: var(--accent); color: var(--on-accent);
  padding: 14px 26px; border: 0; border-radius: var(--radius-control);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--accent-hover); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.hero .btn { background: var(--glow); color: var(--dark); }
.hero .btn:hover { background: var(--glow-hover); }
.text-link { font-weight: 600; }
.link-btn {
  background: none; border: 0; padding: 14px 8px; font: inherit;
  color: var(--accent); text-decoration: underline; cursor: pointer;
}

/* Cards and steps */
.cards {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  display: block; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; text-decoration: none;
}
.card:hover { border-color: var(--accent); }
.card h3 { color: var(--accent); }
.card p { margin: 0; color: var(--muted); }
.steps {
  list-style: none; counter-reset: s; margin: 0; padding: 0;
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.steps li { counter-increment: s; padding-top: 14px; border-top: 3px solid var(--accent); }
.steps li::before {
  content: counter(s, decimal-leading-zero); display: block;
  font-family: var(--font-head); font-weight: 700; color: var(--accent);
}
.steps h3 { margin: 0.2em 0 0.3em; }
.steps p { margin: 0; color: var(--muted); }
.band { background: var(--dark); color: var(--on-dark); }
.band .text-link { color: var(--glow); }
.band p { margin: 0; }

/* Content pages */
.prose { max-width: 46rem; }
.svc { padding-block: 28px; border-top: 1px solid var(--line); scroll-margin-top: 12px; }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc p { color: var(--muted); }

/* Form */
.form-wrap { max-width: 600px; }
.req-note { color: var(--muted); font-size: 0.9rem; }
.field { margin-bottom: 1.1rem; }
.field label, .field legend {
  display: block; font-weight: 600; margin-bottom: 0.35rem; padding: 0;
}
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="url"], .field input[type="number"], .field input[type="date"],
.field input[type="time"], .field input[type="datetime-local"],
.field select, .field textarea {
  width: 100%; padding: 12px; background: #fff; color: var(--ink);
  border: 1px solid var(--field-line); border-radius: var(--radius-control);
  font: inherit;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus,
.btn:focus-visible, .link-btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.field [aria-invalid="true"] { border-color: var(--destructive); }
.choice { display: flex; gap: 0.6rem; align-items: center; margin-bottom: 0.4rem; font-weight: 400; }
.choice input { width: auto; }
.help { color: var(--muted); font-size: 0.9rem; margin: 0.3rem 0 0; }
.err, .form-error { color: var(--destructive); font-size: 0.95rem; margin: 0.35rem 0 0; }
.actions { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; }
.step-cue { color: var(--muted); font-size: 0.9rem; }
.thanks {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: var(--radius-lg); padding: 24px;
}
.thanks p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { background: var(--dark); color: #cdbfac; padding-block: 24px; font-size: 0.9rem; }
.site-footer p { margin: 0; }