/* Easy-edit tokens: update these first. */
:root {
  --page-bg: #fbf8f2;
  --surface: #fffdf8;
  --surface-soft: #fff7ef;
  --ink: #18212b;
  --muted: #5d6874;
  --brand: #b8653b;
  --brand-dark: #7f3f1f;
  --accent: #f2d9c9;
  --border: rgb(24, 33, 43, 0.1);
  --shadow: 0 20px 60px rgb(50, 40, 30, 0.12);
  --radius: 24px;
  --max-width: 1120px;
}

body[data-theme="dark"] {
  --page-bg: #11161d;
  --surface: #1a222c;
  --surface-soft: #212d39;
  --ink: #eef4fb;
  --muted: #a8b4c2;
  --brand: #ff9f6d;
  --brand-dark: #ffd2bf;
  --accent: #56392d;
  --border: rgb(255, 255, 255, 0.12);
  --shadow: 0 24px 64px rgb(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgb(242, 217, 201, 0.6), transparent 30%),
    linear-gradient(180deg, #fffaf5 0%, var(--page-bg) 100%);
}

body[data-theme="dark"] {
  background:
    radial-gradient(circle at top left, rgb(255, 159, 109, 0.12), transparent 26%),
    linear-gradient(180deg, #0d1217 0%, var(--page-bg) 100%);
}

a {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

.site-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  position: relative;
}
.brand-mark {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.topbar nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.topbar nav a {
  text-decoration: none;
  color: var(--muted);
}

/* ── Hamburger toggle ────────────────────────────────────── */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  margin-left: auto;
  transition: background 150ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--surface-soft);
  outline: none;
}

.nav-bar {
  display: block;
  width: 16px;
  height: 1.5px;
  background: white;
  border-radius: 2px;
  transition:
    transform 200ms ease,
    opacity 200ms ease,
    width 200ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.topbar-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.theme-toggle-track {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent);
}

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand);
  transition: transform 180ms ease;
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-thumb {
  transform: translateX(18px);
}

.variant-switcher {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.variant-switcher-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.variant-switcher-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.variant-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.variant-pill[aria-current="page"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(145deg, rgb(255, 255, 255, 0.96), rgb(255, 247, 241, 0.92));
  box-shadow: var(--shadow);
}

body[data-theme="dark"] .hero {
  background: linear-gradient(145deg, rgb(33, 45, 57, 0.95), rgb(24, 34, 44, 0.94));
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.hero h1,
.section-header h2,
.cta-banner h2 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.98;
}
.hero p {
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.button-primary {
  background: var(--brand);
  color: #fff;
}
.button-secondary {
  border: 1px solid var(--border);
  background: var(--surface);
}

.hero-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  border: 1px solid var(--border);
}
.hero-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.section {
  padding: 72px 0;
}
.section-header {
  max-width: 720px;
  margin-bottom: 28px;
}
.section-header p {
  color: var(--muted);
}

.services-grid,
.proof-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service-card,
.proof-card,
.testimonial {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.service-card p,
.proof-card p,
.testimonial p {
  color: var(--muted);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.proof-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.6rem;
}

.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 32px;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, #241711 0%, #6f3e27 100%);
  color: #fff;
}

body[data-theme="dark"] .cta-banner {
  background: linear-gradient(135deg, #2f241f 0%, #c46d41 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: start;
}
.contact-card,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.contact-form form {
  display: grid;
  gap: 14px;
}
.contact-form label {
  font-size: 0.95rem;
  font-weight: 700;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font: inherit;
  background: var(--surface-soft);
  color: var(--ink);
}
.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.site-footer {
  padding: 32px 0 56px;
  color: var(--muted);
  text-align: center;
}

@media (width <= 900px) {
  .hero,
  .contact-grid,
  .cta-banner {
    grid-template-columns: 1fr;
    display: grid;
  }
  .services-grid,
  .proof-grid,
  .testimonial-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }
}

/* ── Contact form status messages ───────────────────────── */
.form-status {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  min-height: 1.25em;
}

.form-status--success {
  color: #4caf7d;
}
.form-status--error {
  color: #e07b55;
}

@media (width <= 640px) {
  .site-shell {
    padding: 18px;
  }
  .hero {
    padding: 28px;
  }
  .topbar,
  .topbar-group {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .topbar nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 16px);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    z-index: 100;
    box-shadow: var(--shadow);
  }
  .topbar nav.is-open {
    display: flex;
  }
  .topbar nav a {
    padding: 11px 14px;
    font-size: 0.95rem;
    border-radius: 8px;
    white-space: normal;
  }
  .variant-switcher {
    align-items: flex-start;
  }
}
