:root {
  color-scheme: light;
  --page: #ece6da;
  --surface: rgba(250, 247, 239, 0.9);
  --surface-strong: #fffaf0;
  --ink: #101513;
  --ink-soft: #4f5c57;
  --line: rgba(16, 21, 19, 0.16);
  --accent: #bd5a39;
  --accent-2: #d7a946;
  --button: #101513;
  --button-text: #fff9ec;
  --hero-image:
    linear-gradient(180deg, rgba(250, 247, 239, 0.02), rgba(250, 247, 239, 0.16)),
    url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1400&q=84");
  --water-image:
    linear-gradient(180deg, rgba(250, 247, 239, 0.08), rgba(250, 247, 239, 0.22)),
    url("https://images.unsplash.com/photo-1523906834658-6e24ef2386f9?auto=format&fit=crop&w=1300&q=82");
  --shadow: 0 28px 90px rgba(56, 42, 22, 0.16);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #080b0c;
  --surface: rgba(15, 17, 16, 0.82);
  --surface-strong: #101311;
  --ink: #fff3d8;
  --ink-soft: rgba(255, 243, 216, 0.72);
  --line: rgba(255, 243, 216, 0.18);
  --accent: #ff684d;
  --accent-2: #f6c456;
  --button: #f6c456;
  --button-text: #11100d;
  --hero-image:
    linear-gradient(180deg, rgba(6, 8, 8, 0.08), rgba(6, 8, 8, 0.64)),
    url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=1500&q=84");
  --water-image:
    linear-gradient(180deg, rgba(6, 8, 8, 0.12), rgba(6, 8, 8, 0.48)),
    url("https://images.unsplash.com/photo-1540189549336-e6e99c3679fe?auto=format&fit=crop&w=1300&q=82");
  --shadow: 0 34px 110px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 30%),
    linear-gradient(135deg, var(--page), color-mix(in srgb, var(--page) 86%, var(--accent-2)));
  color: var(--ink);
  font-family: "Nunito Sans", sans-serif;
  transition:
    background-color 260ms ease,
    color 260ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 70%);
}

button,
a,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  padding: 22px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, var(--accent) 0 21%, transparent 22%),
    linear-gradient(180deg, transparent 54%, var(--accent-2) 55% 58%, transparent 59%);
}

.brand strong {
  display: block;
  font: 400 34px/0.88 "Instrument Serif", serif;
}

.brand small {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font: 700 11px/1 "Spline Sans Mono", monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.theme-option {
  min-height: 40px;
  padding: 0 13px;
  border-radius: 6px;
  color: var(--ink-soft);
  font: 900 12px/1 "Nunito Sans", sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: color-mix(in srgb, var(--accent-2) 20%, transparent);
  color: var(--ink);
  outline: none;
}

.theme-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-strong) 72%, transparent);
}

.theme-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  background: transparent;
}

.theme-option svg,
.primary-action svg,
.ghost-action svg,
.quick-info svg,
.booking-form button svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.theme-option.is-active {
  background: var(--button);
  color: var(--button-text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: clamp(26px, 5vw, 72px);
  min-height: 720px;
  padding: clamp(42px, 6vw, 86px) clamp(22px, 5vw, 72px);
  border: 1px solid var(--line);
  border-top: 0;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(8px);
}

.hero-copy {
  align-self: center;
  max-width: 710px;
}

.kicker {
  margin: 0 0 22px;
  color: var(--accent);
  font: 700 12px/1.42 "Spline Sans Mono", monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 26px;
  font: 400 124px/0.82 "Instrument Serif", serif;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font: 500 22px/1.55 "Fraunces", serif;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action,
.ghost-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 900;
  text-transform: uppercase;
}

.primary-action {
  background: var(--button);
  color: var(--button-text);
}

.ghost-action {
  border: 1px solid var(--line);
  color: var(--ink);
  background: color-mix(in srgb, var(--surface-strong) 58%, transparent);
}

.hero-media {
  position: relative;
  align-self: center;
  min-height: 570px;
  border: 1px solid var(--line);
  background: var(--hero-image) center / cover;
  box-shadow:
    18px 18px 0 color-mix(in srgb, var(--accent-2) 28%, transparent),
    var(--shadow);
}

.service-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 360px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(18px);
}

.service-note span,
.quote-panel span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font: 700 12px/1 "Spline Sans Mono", monospace;
  text-transform: uppercase;
}

.service-note strong {
  font: 400 30px/1.02 "Instrument Serif", serif;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--surface-strong);
}

.quick-info article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font: 700 13px/1.35 "Spline Sans Mono", monospace;
  text-transform: uppercase;
}

.quick-info article:last-child {
  border-right: 0;
}

.quick-info svg {
  flex: 0 0 auto;
  color: var(--accent);
}

.menu-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) 1fr;
  gap: clamp(26px, 5vw, 70px);
  padding: clamp(38px, 6vw, 82px) clamp(22px, 5vw, 72px);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.section-heading h2,
.reservation-copy h2,
.text-panel h2 {
  margin-bottom: 0;
  font: 400 64px/0.92 "Instrument Serif", serif;
  overflow-wrap: anywhere;
}

.menu-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.menu-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 20px;
  padding: 24px;
  background: var(--surface-strong);
}

.menu-list span,
.menu-list strong {
  color: var(--accent);
  font: 600 13px/1 "Spline Sans Mono", monospace;
}

.menu-list h3 {
  margin-bottom: 6px;
  font: 650 30px/1 "Fraunces", serif;
}

.menu-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.5;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(320px, 1fr) minmax(220px, 0.45fr);
  min-height: 520px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--surface);
}

.text-panel,
.quote-panel {
  align-self: stretch;
  padding: clamp(28px, 5vw, 56px);
  border-right: 1px solid var(--line);
}

.text-panel p:not(.kicker),
.quote-panel p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font: 500 19px/1.62 "Fraunces", serif;
}

.image-slice {
  min-height: 430px;
  background: var(--water-image) center / cover;
}

.quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 0;
}

.quote-panel p {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.16;
}

.reservation {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) 1fr;
  gap: clamp(24px, 5vw, 68px);
  padding: clamp(38px, 6vw, 76px) clamp(22px, 5vw, 72px);
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-self: end;
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font: 700 12px/1 "Spline Sans Mono", monospace;
  text-transform: uppercase;
}

.booking-form input,
.booking-form select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 13px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--ink);
  font: 800 15px/1 "Nunito Sans", sans-serif;
}

.booking-form button {
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border: 0;
  border-radius: 6px;
  background: var(--button);
  color: var(--button-text);
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 8px;
  }

  .hero,
  .menu-band,
  .reservation,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 86px;
  }

  .section-heading h2,
  .reservation-copy h2,
  .text-panel h2 {
    font-size: 52px;
  }

  .hero-media {
    min-height: 430px;
  }

  .experience-grid {
    min-height: auto;
  }

  .text-panel,
  .quote-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .booking-form {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-shell {
    padding: 12px;
  }

  .topbar {
    position: static;
    grid-template-columns: 1fr;
  }

  .theme-switch,
  .nav-links {
    width: 100%;
  }

  .theme-option,
  .nav-links a {
    flex: 1;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding: 34px 18px;
  }

  .hero h1 {
    font-size: 62px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-media {
    min-height: 330px;
    box-shadow:
      8px 8px 0 color-mix(in srgb, var(--accent-2) 28%, transparent),
      var(--shadow);
  }

  .service-note {
    position: static;
    max-width: none;
    margin: 12px;
  }

  .quick-info {
    grid-template-columns: 1fr;
  }

  .quick-info article {
    min-height: 64px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-band,
  .reservation {
    padding: 34px 18px;
  }

  .section-heading h2,
  .reservation-copy h2,
  .text-panel h2 {
    font-size: 42px;
  }

  .menu-list article {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .menu-list h3 {
    font-size: 26px;
  }

  .image-slice {
    min-height: 310px;
  }

  .quote-panel p {
    font-size: 24px;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }
}
