:root {
  --cream: #F2E9D8;
  --ink: #1C1512;
  --maroon: #5C1A22;
  --gold: #A9814A;
  --rose: #C98A7B;
  --card: #FFFDF8;

  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 16px;
  --radius-pill: 100px;

  --shadow-sm: 0 1px 2px rgba(28,21,18,0.06);
  --shadow-md: 0 16px 32px -18px rgba(28,21,18,0.28);
  --shadow-lg: 0 30px 60px -24px rgba(28,21,18,0.35);
  --shadow-maroon: 0 14px 30px -10px rgba(92,26,34,0.4);
  --shadow-gold: 0 10px 24px -8px rgba(169,129,74,0.45);

  --ease: cubic-bezier(.22,.75,.2,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  padding-bottom: 0;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; position: relative; }
a:hover { color: var(--rose); }
a:not(.btn):not(.card)::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: currentColor; opacity: .55; transition: right .35s var(--ease);
}
a:not(.btn):not(.card):hover::after { right: 0; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; margin: 0; letter-spacing: -0.01em; }
button { font-family: inherit; }
button, a, .btn, [onclick] { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--maroon);
}
.label.on-dark { color: var(--gold); }
.label::before { content: ''; width: 22px; height: 1px; background: currentColor; }

.container { padding-left: clamp(20px, 5vw, 64px); padding-right: clamp(20px, 5vw, 64px); }
.section { padding-top: clamp(64px, 9vw, 130px); padding-bottom: clamp(64px, 9vw, 130px); }
.section-tight { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.on-dark { background: radial-gradient(130% 150% at 8% -10%, #2c1a17 0%, #1C1512 58%); color: var(--cream); }

.utility-bar {
  background: var(--ink); padding: 9px clamp(20px,5vw,64px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px;
  border-bottom: 1px solid rgba(169,129,74,0.18);
}
.utility-bar a { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.05em; }
.utility-bar .phone { color: var(--cream); }
.utility-bar .muted { color: rgba(242,233,216,0.72); }

.nav {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px; padding: 18px clamp(20px,5vw,64px);
  background: rgba(242,233,216,0.86); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(92,26,34,0.13);
  transition: box-shadow .3s var(--ease);
}
.nav .brand {
  font-family: 'IBM Plex Mono', monospace; font-size: clamp(11px,2.4vw,13px); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--maroon); font-weight: 500;
}
.nav .back {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.05em; color: var(--maroon);
  display: inline-flex; align-items: center; gap: 6px; transition: gap .25s var(--ease);
}
.nav .back:hover { gap: 10px; }

.btn {
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 16px 28px; border-radius: var(--radius-sm); cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; border: none; min-height: 48px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s ease, background .3s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); transition-duration: .12s; }
.btn-primary { background: var(--maroon); color: var(--cream); }
.btn-primary:hover { box-shadow: var(--shadow-maroon); }
.btn-invert { background: var(--cream); color: var(--maroon); }
.btn-invert:hover { box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: inherit; border: 1px solid rgba(28,21,18,0.28); }
.btn-ghost.on-dark { border-color: rgba(242,233,216,0.38); color: var(--cream); }
.btn-ghost:hover { border-color: currentColor; }

.card {
  background: var(--card); border: 1px solid rgba(92,26,34,0.12); border-radius: var(--radius-lg);
  padding: clamp(28px,4vw,40px); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(92,26,34,0.28); }

.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

.bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; }
.bullets li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--maroon); }
.bullets.on-dark li::before { background: var(--gold); }

.field {
  font-family: 'Inter', sans-serif; font-size: 16px; padding: 15px 17px;
  border: 1px solid rgba(92,26,34,0.28); border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field:focus-visible { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(92,26,34,0.12); outline: none; }
.field-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--maroon); display: block; margin-bottom: 8px; }

.pill-select { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-select label {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 11px 18px; border: 1px solid rgba(92,26,34,0.3); border-radius: var(--radius-pill); cursor: pointer; color: var(--maroon);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s ease, transform .25s var(--ease);
  display: inline-block;
}
.pill-select label:hover { transform: translateY(-1px); border-color: var(--maroon); }
.pill-select input { position: absolute; opacity: 0; pointer-events: none; }
.pill-select input:checked + span { color: var(--cream); }
.pill-select label:has(input:checked) { background: var(--maroon); color: var(--cream); box-shadow: var(--shadow-maroon); }
.pill-select label.is-checked { background: var(--maroon); color: var(--cream); box-shadow: var(--shadow-maroon); }

.footer {
  background: var(--ink); padding: 52px clamp(24px,6vw,64px) 24px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 24px; border-top: 1px solid rgba(169,129,74,0.3); color: var(--cream);
}
.footer a { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.05em; }

.mobile-cta-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 1px;
  box-shadow: 0 -12px 30px -10px rgba(0,0,0,0.3);
}
.mobile-cta-bar a, .mobile-cta-bar button {
  flex: 1; text-align: center; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 17px 8px; border: none; cursor: pointer; min-height: 52px;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 680px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .card, .pill-select label, a::after { transition: none !important; }
}
