:root {
  --bg: #f4eee2;
  --paper: #fbf7ee;
  --paper-2: #f8f2e5;
  --ink: #1f2419;
  --ink-soft: #3a3b2e;
  --muted: #6e6856;
  --line: #e5dbc3;
  --line-soft: #ece3cd;
  --accent: #01920b;
  --accent-deep: #036b0b;
  --accent-soft: #e6f0dc;
  --accent-ink: #14361a;
  --danger: #a23a2a;
  --shadow: 0 1px 0 rgba(31, 36, 25, 0.04), 0 10px 28px -14px rgba(31, 36, 25, 0.25);
  --display: Georgia, "Times New Roman", serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Courier New", ui-monospace, monospace;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1280px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
  min-width: 0;
}

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

.topbar {
  align-items: center;
  background: rgba(251, 247, 238, 0.9);
  border-bottom: 1px solid rgba(229, 219, 195, 0.72);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  padding: 18px var(--gutter) 16px;
  position: static;
  text-align: center;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex-direction: column;
  font-family: var(--display);
  gap: 10px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-text {
  align-items: center;
  display: inline-flex;
  flex-direction: column;
  line-height: 0.92;
}

.brand-text strong {
  color: var(--accent-ink);
  font-family: var(--display);
  font-size: clamp(70px, 22vw, 118px);
  font-weight: 400;
  letter-spacing: -0.08em;
}

.brand-text span {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: clamp(15px, 4vw, 18px);
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-top: 8px;
  text-transform: uppercase;
}

.sup-icon {
  align-items: center;
  background: var(--accent-ink);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  height: 52px;
  justify-content: center;
  transform: rotate(-8deg);
  width: 52px;
}

.sup-icon svg {
  fill: none;
  height: 28px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  width: 28px;
}

.nav-links {
  align-items: center;
  color: var(--muted);
  display: none;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
}

.nav-links a:hover {
  color: var(--accent-deep);
}

.phone {
  background: var(--accent-ink);
  border-radius: 999px;
  color: #ffffff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 12px 18px;
  white-space: nowrap;
  width: min(100%, 420px);
}

.hero {
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.hero img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero-shade {
  background: linear-gradient(180deg, rgba(20, 24, 16, 0.26) 0%, rgba(20, 24, 16, 0.72) 100%);
  inset: 0;
  position: absolute;
}

.hero-content {
  color: #ffffff;
  margin: 0 auto;
  max-width: var(--maxw);
  padding: 64px var(--gutter);
  position: relative;
}

.hero h1 {
  color: #ffffff;
  font-family: var(--display);
  font-size: clamp(44px, 16vw, 68px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin: 18px 0 18px;
  max-width: 12ch;
  overflow-wrap: break-word;
}

.hero h1 em {
  color: #ffffff;
  font-style: italic;
}

.hero-content p:last-child {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 23px);
  font-style: italic;
  margin: 0;
  max-width: 46ch;
}

.eyebrow {
  align-items: center;
  color: var(--accent-deep);
  display: inline-flex;
  font-family: var(--mono);
  font-size: 11px;
  gap: 8px;
  letter-spacing: 0.14em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: currentColor;
  content: "";
  height: 1px;
  opacity: 0.7;
  width: 18px;
}

.eyebrow.light {
  color: #ffffff;
}

.facts {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  margin: clamp(28px, 6vw, 58px) auto 0;
  max-width: var(--maxw);
  overflow: hidden;
  padding: 0;
  width: calc(100% - var(--gutter) * 2);
}

.facts div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 2px;
  padding: 24px clamp(24px, 7vw, 40px);
}

.facts div:last-child {
  border-bottom: 0;
}

.facts span,
dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facts strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
}

.app {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: 1fr;
  margin: 0 auto;
  max-width: var(--maxw);
  padding: clamp(42px, 6vw, 76px) var(--gutter);
}

.booking-panel,
.reservations-panel,
.confirmation-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 3vw, 34px);
}

.reservations-panel {
  align-self: start;
  position: static;
}

.confirmation-panel {
  display: grid;
  gap: 24px;
}

.confirmation-panel[hidden] {
  display: none;
}

.confirmation-summary {
  background: #fffbf3;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.confirmation-summary h3 {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(28px, 7vw, 38px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 18px;
}

.confirmation-copy {
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

.confirmation-copy strong {
  color: var(--accent-deep);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.next-booking {
  justify-self: stretch;
  margin-top: 4px;
}

.section-heading h2 {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

.booking-form {
  display: grid;
  gap: 34px;
  margin-top: 24px;
}

.field-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

label {
  color: var(--ink-soft);
  display: grid;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
}

.date-field,
.chip-field {
  color: var(--ink-soft);
  display: grid;
  gap: 12px;
}

.guest-field {
  grid-column: 1 / -1;
  margin-top: 14px;
}

.date-field > span,
.chip-field > span,
.select-field {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(24px, 7vw, 32px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.date-field > span::after,
.chip-field > span::after {
  background: var(--accent);
  border-radius: 999px;
  content: "";
  display: block;
  height: 3px;
  margin-top: 8px;
  width: 36px;
}

.select-field select {
  margin-top: 8px;
}

.guest-chip {
  align-items: center;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  color: var(--ink);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 20px;
  text-align: left;
  width: 100%;
}

.guest-copy {
  display: grid;
  gap: 8px;
}

.guest-chip strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.guest-chip span {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.guest-chip small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-transform: uppercase;
}

.guest-toggle {
  background: #fffbf3;
  border: 2px solid var(--ink-soft);
  border-radius: 999px;
  display: inline-flex;
  height: 36px;
  padding: 3px;
  width: 70px;
}

.guest-toggle::before {
  background: var(--muted);
  border-radius: 999px;
  content: "";
  height: 26px;
  transform: translateX(0);
  transition: transform 180ms ease, background 180ms ease;
  width: 26px;
}

.guest-chip.is-selected {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(1, 146, 11, 0.1);
  color: var(--accent-ink);
}

.guest-chip.is-selected strong,
.guest-chip.is-selected span {
  color: var(--accent-ink);
}

.guest-chip.is-selected .guest-toggle {
  border-color: var(--accent-deep);
}

.guest-chip.is-selected .guest-toggle::before {
  background: var(--accent);
  transform: translateX(34px);
}

.guest-chip:hover {
  background: #f6f9ee;
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: none;
}

.guest-email-field {
  background: #fffbf3;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  display: none;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 800;
  gap: 10px;
  margin-top: 12px;
  padding: 16px;
}

.guest-email-field.is-visible {
  display: grid;
}

.guest-email-field small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 430px) {
  .guest-chip {
    grid-template-columns: 1fr;
  }

  .guest-toggle {
    justify-self: end;
  }
}

.date-options,
.number-options,
.vest-options {
  display: grid;
  gap: 8px;
}

.date-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.number-options {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.vest-options {
  grid-template-columns: 1fr;
}

.date-chip,
.number-chip,
.vest-chip {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  display: grid;
  gap: 2px;
  min-height: 48px;
  padding: 9px 10px;
  text-align: center;
  width: 100%;
}

.vest-chip {
  border-radius: 28px;
  padding: 0;
  text-align: left;
}

.vest-chip-main {
  align-items: center;
  background: transparent;
  color: inherit;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 48px;
  padding: 9px 10px;
  text-align: left;
  width: 100%;
}

.vest-chip-main:hover {
  background: transparent;
  color: inherit;
  transform: none;
}

.vest-chip-main span {
  text-align: right;
}

.date-chip strong,
.number-chip strong,
.vest-chip strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.date-chip span,
.vest-chip span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.date-chip.is-selected,
.number-chip.is-selected {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(1, 146, 11, 0.1);
  color: var(--accent-ink);
}

.date-chip:hover,
.number-chip:hover,
.vest-chip:hover {
  background: #f6f9ee;
  border-color: var(--accent);
  color: var(--accent-ink);
}

.vest-field {
  grid-column: 1 / -1;
  margin-top: 18px;
}

.vest-chip.is-expanded {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(1, 146, 11, 0.1);
  padding: 4px;
}

.vest-chip.is-expanded .vest-chip-main {
  padding: 10px 14px 8px;
}

.vest-quantity-card {
  background: rgba(255, 251, 243, 0.72);
  border: 1px solid rgba(1, 146, 11, 0.18);
  border-radius: 22px;
  display: grid;
  gap: 12px;
  margin-top: 6px;
  padding: 14px;
}

.vest-quantity-head {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.vest-quantity-head strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
}

.vest-quantity-head span {
  color: var(--accent-deep);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  background: #fffbf3;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  min-height: 48px;
  padding: 11px 13px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(1, 146, 11, 0.12);
  outline: none;
}

.options {
  display: grid;
  gap: 12px;
}

.options + .field-grid {
  margin-top: 12px;
}

.plan-card {
  align-items: start;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  display: grid;
  gap: 4px 16px;
  grid-template-columns: 1fr;
  padding: 16px 18px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.plan-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.plan-card input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.plan-card:has(input:checked) {
  background: #f6f9ee;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(1, 146, 11, 0.1);
}

.plan-card strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
}

.plan-card span {
  color: var(--muted);
  font-size: 14px;
}

.summary {
  background: var(--accent-soft);
  border: 1px solid rgba(1, 146, 11, 0.22);
  border-radius: 12px;
  display: grid;
  gap: 10px;
  padding: 18px 20px;
}

.summary div {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: space-between;
}

.summary span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 36px;
  font-weight: 400;
}

.summary p {
  color: var(--ink-soft);
  margin: 0;
}

button {
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
  min-height: 48px;
  padding: 12px 20px;
  transition: background 160ms ease, transform 160ms ease;
}

button:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.toolbar {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin: 22px 0;
}

.toolbar button,
.reservation-actions button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  width: 100%;
}

.reservations {
  display: grid;
  gap: 14px;
}

.reservation {
  background: #fffbf3;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.reservation-head {
  align-items: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
}

.reservation h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}

.reservation p {
  margin: 0;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.status {
  background: #fff6d8;
  border-radius: 999px;
  color: #765500;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 7px 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.status.done {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

dl {
  display: grid;
  gap: 12px 16px;
  grid-template-columns: 1fr;
  margin: 16px 0;
}

dd {
  color: var(--ink);
  font-weight: 700;
  margin: 3px 0 0;
}

.reservation-notes {
  background: var(--paper-2);
  border-radius: 12px;
  color: var(--muted);
  padding: 10px 12px;
}

.reservation-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

.reservation-actions .delete {
  color: var(--danger);
}

.empty {
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  padding: 28px;
  text-align: center;
}

@media (min-width: 620px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts div {
    border-bottom: 1px solid var(--line);
  }

  .facts div:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .facts div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .phone {
    width: auto;
  }

  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-card {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .summary div {
    align-items: baseline;
    flex-direction: row;
  }

  .reservation-head {
    align-items: start;
    flex-direction: column;
  }

  dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reservation-actions {
    flex-direction: row;
  }

  .toolbar button,
  .reservation-actions button {
    width: auto;
  }
}

@media (min-width: 760px) {
  .topbar {
    align-items: center;
    flex-direction: row;
    gap: 28px;
    justify-content: space-between;
    padding: 18px var(--gutter);
    position: sticky;
    text-align: left;
  }

  .brand {
    flex-direction: row;
    gap: 14px;
  }

  .sup-icon {
    height: 42px;
    transform: rotate(-8deg);
    width: 42px;
  }

  .brand-text {
    align-items: flex-start;
  }

  .brand-text strong {
    font-size: 52px;
  }

  .brand-text span {
    font-size: 12px;
    margin-top: 4px;
  }

  .hero {
    min-height: clamp(500px, 58vw, 680px);
  }

  .hero-content {
    padding: clamp(76px, 9vw, 126px) var(--gutter);
  }

  .hero h1 {
    font-size: clamp(56px, 8vw, 92px);
  }

  .reservation-head {
    align-items: start;
    flex-direction: row;
  }
}

@media (min-width: 1020px) {
  .app {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
  }

  .facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .facts div {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .facts div:last-child {
    border-right: 0;
  }
}
