:root {
  --bg: #0b100d;
  --surface: #131a16;
  --elevated: #1c251f;
  --fg: #e6ebe3;
  --muted: #93a090;
  --subtle: #6d7a6a;
  --accent: #8faa72;
  --accent-fg: #0b100d;
  --paper: #efe9dc;
  --paper-2: #e4ddcd;
  --ink: #141c16;
  --ink-muted: #4f5b52;
  --sand: #c4b896;
  --border: color-mix(in oklab, #e6ebe3 12%, transparent);
  --ink-border: color-mix(in oklab, #141c16 14%, transparent);
  --danger: #c45c4a;
  --font-sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-display: "Fraunces", "Palatino Linotype", Palatino, Georgia, serif;
  --max: 72rem;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.18em; }
h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
  font-weight: 500;
  margin: 0;
}
p { margin: 0; text-wrap: pretty; }
button, [role="button"], .btn { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-paper { background: var(--paper); color: var(--ink); }
.section-dark { background: var(--bg); color: var(--fg); }
.section-surface { background: var(--surface); color: var(--fg); }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.section-paper .eyebrow { color: var(--ink-muted); }
.lede { margin-top: 1rem; max-width: 36rem; color: var(--muted); }
.section-paper .lede, .muted-ink { color: var(--ink-muted); }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 4.25rem;
}
.logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--fg); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; }
.logo-text span {
  margin-top: 0.15rem; font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.nav { display: none; gap: 0.15rem; }
.nav a {
  text-decoration: none; color: var(--muted); font-size: 0.9rem; font-weight: 500;
  padding: 0.5rem 0.75rem; border-radius: 8px;
}
.nav a:hover, .nav a.active { color: var(--fg); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 8px;
  background: var(--elevated); color: var(--fg); border: 1px solid var(--border);
}
.menu-panel { display: none; padding: 0 1.5rem 1rem; }
.menu-panel.open { display: flex; flex-direction: column; gap: 0.25rem; }
.menu-panel a {
  min-height: 2.75rem; display: flex; align-items: center;
  text-decoration: none; color: var(--fg); padding: 0 0.75rem; border-radius: 8px;
}
.menu-panel a:hover { background: var(--elevated); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0 1.1rem; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500; text-decoration: none; border: 0;
  transition: transform 150ms ease-out, filter 150ms ease-out;
}
.btn:active { transform: scale(0.96); }
.btn-lg { min-height: 3rem; padding: 0 1.25rem; }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-outline {
  background: transparent; color: var(--fg);
  box-shadow: 0 0 0 1px var(--border);
}
.btn-outline-ink {
  background: transparent; color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink-border);
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.hero {
  position: relative; min-height: 28rem; overflow: hidden; background: var(--bg);
}
.hero-tall { min-height: 88dvh; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg), color-mix(in oklab, var(--bg) 75%, transparent), color-mix(in oklab, var(--bg) 35%, transparent));
}
.hero-tall .veil {
  background: linear-gradient(to right, var(--bg), color-mix(in oklab, var(--bg) 80%, transparent), color-mix(in oklab, var(--bg) 25%, transparent));
}
.hero-inner {
  position: relative; max-width: var(--max); margin: 0 auto;
  padding: 7rem 1.5rem 3.5rem; display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-tall .hero-inner { min-height: 88dvh; padding-bottom: 5rem; }
.hero .kicker {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--sand);
}
.hero h1 { margin-top: 0.75rem; max-width: 48rem; font-size: clamp(2.1rem, 5vw, 4.4rem); }
.hero .intro { margin-top: 1.25rem; max-width: 36rem; color: color-mix(in oklab, var(--fg) 85%, transparent); font-size: 1.05rem; }

.grid-2 { display: grid; gap: 2.5rem; }
.grid-12 { display: grid; gap: 2.5rem; }
.stats {
  display: grid; gap: 1px; overflow: hidden; border-radius: var(--radius-xl);
  background: var(--border);
}
.stat { background: var(--surface); padding: 2rem 1.5rem; }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.stat span { display: block; margin-top: 0.5rem; color: var(--muted); font-size: 0.9rem; }

.cards { display: grid; gap: 1rem; margin-top: 2.5rem; }
.card {
  overflow: hidden; border-radius: var(--radius-xl); background: var(--elevated);
  box-shadow: 0 0 0 1px var(--border);
}
.card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.card .pad { padding: 1rem 1.25rem; }
.card .pad p { margin-top: 0.25rem; color: var(--muted); font-size: 0.9rem; }
.service {
  display: flex; gap: 1rem; border-radius: var(--radius-xl);
  background: color-mix(in oklab, var(--paper-2) 70%, transparent);
  padding: 1.25rem; box-shadow: 0 0 0 1px var(--ink-border);
}
.icon {
  flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; border-radius: 8px;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.service h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; }
.service p { margin-top: 0.35rem; font-size: 0.9rem; color: var(--ink-muted); }

.photo { border-radius: var(--radius-xl); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

.panel {
  border-radius: var(--radius-xl); background: var(--ink); color: var(--paper); padding: 1.5rem;
}
.panel .label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sand); }
.panel dl { margin: 1.25rem 0 0; }
.panel dt { color: color-mix(in oklab, var(--paper) 55%, transparent); font-size: 0.85rem; }
.panel dd { margin: 0 0 0.75rem; }
.chips { display: grid; gap: 0.75rem; margin-top: 2rem; }
.chip {
  border-radius: 10px; padding: 1rem;
  background: color-mix(in oklab, var(--paper-2) 70%, transparent);
  font-size: 0.9rem; font-weight: 500;
}
.steps { list-style: none; padding: 0; margin: 0; }
.steps li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem;
  border-bottom: 1px solid var(--ink-border); padding: 1.25rem 0;
}
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border-bottom: 0; }
.num { font-family: var(--font-display); font-size: 1.5rem; color: color-mix(in oklab, var(--ink) 30%, transparent); }
.faq details {
  border-bottom: 1px solid var(--ink-border); padding: 1.1rem 0;
}
.faq summary {
  cursor: pointer; font-weight: 500; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-muted); font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.75rem; color: var(--ink-muted); font-size: 0.9rem; }

form.card-form {
  border-radius: var(--radius-xl); background: var(--paper); color: var(--ink);
  padding: 1.5rem; box-shadow: 0 0 0 1px var(--ink-border);
}
.fields { display: grid; gap: 1.1rem; }
label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.45rem; }
input, select, textarea {
  width: 100%; min-height: 2.75rem; border-radius: 8px;
  border: 1px solid var(--ink-border); background: var(--paper);
  color: var(--ink); padding: 0 0.85rem; font: inherit;
}
textarea { min-height: 8rem; padding: 0.75rem 0.85rem; }
.note { margin-top: 1rem; font-size: 0.75rem; color: var(--ink-muted); }
.map { width: 100%; height: 20rem; border: 0; border-radius: var(--radius-xl); filter: grayscale(1) contrast(1.25); }

.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; }
.site-footer p, .site-footer a { color: var(--muted); font-size: 0.9rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--fg); }
.legal {
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  justify-content: space-between; padding: 1.1rem 0; font-size: 0.75rem; color: var(--subtle);
}
.legal a { color: var(--subtle); }
.legal a:hover { color: var(--fg); }

@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .fields-2 { grid-template-columns: 1fr 1fr; }
  .chips { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }
  .grid-12 { grid-template-columns: 5fr 7fr; }
  .grid-12.swap { grid-template-columns: 7fr 5fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards.two { grid-template-columns: 1fr 1fr; }
  .chips { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 5fr 3fr 4fr; }
  form.card-form { padding: 2rem; }
}
