:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --surface-2: #f2eee7;
  --text: #1b2a35;
  --muted: #5b6670;
  --border: #e3ddd2;
  --accent: #1b2a35;
  --accent-strong: #0f1a22;
  --accent-text: #ffffff;
  --accent-soft: #f5ecdf;
  --gold: #b9843a;
  --gold-text: #8a5f22;
  --warm: #b9843a;
  --warm-soft: #f5ecdf;
  --danger: #b3261e;
  --shadow: 0 1px 2px rgb(20 30 40 / 0.06), 0 12px 32px -12px rgb(20 30 40 / 0.2);
  --radius: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11171c;
    --surface: #18212a;
    --surface-2: #1f2a34;
    --text: #e9edf0;
    --muted: #9fabb5;
    --border: #2c3a46;
    --accent: #c99a55;
    --accent-strong: #d9ad6c;
    --accent-text: #15110b;
    --accent-soft: #33291c;
    --gold: #d4a866;
    --gold-text: #d9b173;
    --warm: #d4a866;
    --warm-soft: #33291c;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 40px -16px rgb(0 0 0 / 0.6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--gold-text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
section[id] { scroll-margin-top: 80px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 0.5rem 1rem; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.6rem 1.3rem;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); color: var(--text);
  font: inherit; font-weight: 650; text-decoration: none; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn-sm { min-height: 40px; padding: 0.4rem 1rem; font-size: 0.95rem; }
.btn-light { background: #c99a55; border-color: #c99a55; color: #15110b; }
.btn-light:hover { background: #d9ad6c; border-color: #d9ad6c; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 40px; width: auto; }
.foot-logo img { display: block; height: 44px; width: auto; }
.foot-brand { display: grid; gap: 0.4rem; }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 550; font-size: 0.95rem; }
.nav a:not(.btn):hover { color: var(--accent); }
@media (max-width: 720px) {
  .nav a[href^="#"]:not(.btn) { display: none; }
  .nav { gap: 0.9rem; }
}
@media (max-width: 400px) { .nav-login { display: none; } }

/* Hero: full-bleed photo with the copy on a navy wash */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #1b2a35; }
/* The photo sits behind everything and never takes clicks. */
.hero-photo { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgb(17 26 34 / 0.92) 0%, rgb(17 26 34 / 0.78) 38%, rgb(17 26 34 / 0.25) 70%, rgb(17 26 34 / 0.05) 100%);
}
.hero-inner { position: relative; display: grid; align-content: center; min-height: min(78vh, 640px); padding-block: 4rem; }
.hero-copy { max-width: 34rem; }
.hero .eyebrow { color: #e0b877; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); font-weight: 800; }
.hero .accent { color: #e0b877; }
.lede { font-size: 1.2rem; color: #d7dde2; margin-top: 1.25rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero .btn-primary { background: #c99a55; border-color: #c99a55; color: #15110b; }
.hero .btn-primary:hover { background: #d9ad6c; border-color: #d9ad6c; }
.btn-ghost-light { background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.5); color: #fff; }
.btn-ghost-light:hover { background: rgb(255 255 255 / 0.16); border-color: #fff; }
.hero .ticks li { color: #d7dde2; }
.hero .ticks li::before { background-color: rgb(255 255 255 / 0.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%23e0b877' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.eyebrow { color: var(--gold-text); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.9rem; }
.accent { color: var(--gold); }
.ticks { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 0.45rem; }
.ticks li { position: relative; padding-left: 1.75rem; color: var(--muted); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%238a5f22' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
@media (max-width: 719px) {
  .hero::before { background: linear-gradient(180deg, rgb(17 26 34 / 0.55) 0%, rgb(17 26 34 / 0.85) 55%, rgb(17 26 34 / 0.95) 100%); }
  .hero-photo img { object-position: 50% 30%; }
  .hero-inner { min-height: 0; padding-block: 3rem 3.5rem; }
}

/* Stats band */
.band { background: var(--surface); border-block: 1px solid var(--border); }
.stats { display: grid; gap: 1.25rem; padding-block: 1.75rem; text-align: center; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats div { display: grid; gap: 0.1rem; }
.stats b { font-size: 1.8rem; font-weight: 800; color: var(--gold-text); letter-spacing: -0.02em; }
.stats span { color: var(--muted); font-size: 0.95rem; }

/* Sections */
.section { padding: 4.5rem 0; }
@media (min-width: 900px) { .section { padding: 6rem 0; } }
.section.alt { background: var(--surface-2); }
.section-head { max-width: 40rem; margin-bottom: 2.75rem; }
.section h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 780; }
.lede-sm { color: var(--muted); margin-top: 1rem; font-size: 1.08rem; }

.features { display: grid; gap: 1rem; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; transition: border-color 0.15s, transform 0.15s;
}
.feature:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); transform: translateY(-2px); }
.feature h3 { font-size: 1.12rem; margin: 1rem 0 0.4rem; }
.feature p { color: var(--muted); font-size: 0.98rem; }
.ficon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); }
.ficon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Dashboard mock */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; } }
.mock-day {
  margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow); padding: 1rem; min-width: 0;
}
.md-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; padding: 0.25rem 0.25rem 0.9rem; border-bottom: 1px solid var(--border); }
.md-stats { display: flex; gap: 0.9rem; color: var(--muted); font-size: 0.85rem; }
.md-stats b { color: var(--text); }
.md-grid { display: grid; gap: 0.45rem; padding-top: 0.8rem; }
.md-hours, .md-row { display: grid; grid-template-columns: 58px 1fr; gap: 0.5rem; align-items: center; }
.md-hours { grid-template-columns: 58px repeat(4, 1fr); font-size: 0.72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.md-t { font-size: 0.78rem; font-weight: 650; color: var(--muted); white-space: nowrap; }
.md-lane {
  position: relative; height: 34px; border-radius: 8px;
  background: repeating-linear-gradient(90deg, var(--surface-2) 0 calc(25% - 1px), var(--border) calc(25% - 1px) 25%);
}
.b {
  position: absolute; top: 3px; bottom: 3px; border-radius: 6px; padding: 0 0.5rem;
  display: flex; align-items: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-style: normal; font-size: 0.75rem; font-weight: 650;
  background: var(--accent-soft); color: var(--accent-strong); border-left: 3px solid var(--accent);
}
.b.seated { background: var(--accent); color: var(--accent-text); border-left-color: var(--accent-strong); }
.b.walkin { background: var(--surface-2); color: var(--text); border-left-color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
.steps h3 { font-size: 1.12rem; margin: 1rem 0 0.4rem; }
.steps p { color: var(--muted); font-size: 0.98rem; }
.num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--accent-text); font-weight: 800;
}

/* Call to action */
.cta { padding: 0 0 4.5rem; }
.cta-inner {
  background: linear-gradient(135deg, #1f3040, #121c25);
  color: #fff; border-radius: 24px; text-align: center;
  padding: 3.5rem 1.5rem; display: grid; justify-items: center; gap: 1rem;
  max-width: calc(1120px - 64px);
}
@media (max-width: 719px) { .cta-inner { margin-inline: 16px; } }
.cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.cta p { color: #d5dde3; font-size: 1.1rem; }
.cta .btn { margin-top: 0.5rem; white-space: normal; }
.cta-small { font-size: 0.95rem !important; }
.cta-small a { color: #fff; }

/* Footer */
.site-foot { border-top: 1px solid var(--border); padding: 1.75rem 0; color: var(--muted); font-size: 0.92rem; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.foot-inner nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.foot-inner a { color: var(--muted); text-decoration: none; }
.foot-inner a:hover { color: var(--accent); }
