:root {
  --leaf: #6d7e39;
  --lime: #acb71b;
  --cream: #e9e0d1;
  --gold: #d5a83c;
  --earth: #5a4328;
  --paper: #f7f4ee;
  --title-font: "Cormorant Garamond";
  --body-font: "Source Sans 3";
  --ink: #2d3328;
  --muted: #6f7369;
  --danger: #a83f35;
  --shadow: 0 18px 55px rgba(73, 61, 39, 0.12);
  --radius: 24px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    17px var(--body-font),
    Arial,
    sans-serif;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}
:focus-visible {
  outline: 3px solid rgba(213, 168, 60, 0.65);
  outline-offset: 3px;
}
.shell {
  min-height: 100vh;
  overflow: hidden;
}
.topbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: auto;
  padding: 0 28px;
  position: relative;
  z-index: 3;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--earth);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.brand-logo {
  display: block;
  width: 220px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}
.brand-logo[hidden] {
  display: none;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50% 50% 44% 56%;
  background: var(--leaf);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 20px;
  transform: rotate(-8deg);
}
.utility-link {
  border: 0;
  background: transparent;
  color: var(--leaf);
  font-weight: 700;
  padding: 10px;
}
.hero {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 74px 48px 96px;
  min-height: 590px;
  display: flex;
  align-items: center;
}
.hero:before {
  content: "";
  position: absolute;
  right: -70px;
  top: -45px;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background-color: var(--cream);
  background-image: var(--hero-logo, none);
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: left center;
  opacity: 0.32;
  mix-blend-mode: multiply;
  z-index: 0;
}
.hero:after {
  content: "";
  position: absolute;
  right: -70px;
  top: -45px;
  width: 650px;
  height: 650px;
  border: 2px solid rgba(90, 67, 40, 0.14);
  border-radius: 50%;
  z-index: 0;
}
.hero-copy {
  max-width: 700px;
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--leaf);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
}
.eyebrow:before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--gold);
}
h1,
h2,
h3 {
  font-family: var(--title-font), Georgia, serif;
  color: var(--earth);
  line-height: 1.02;
}
h1 {
  font-size: clamp(54px, 8vw, 96px);
  letter-spacing: -0.035em;
  margin: 18px 0 22px;
  font-weight: 600;
}
.hero p {
  font-size: 20px;
  color: #5f6359;
  max-width: 570px;
  margin: 0 0 34px;
}
.primary,
.secondary {
  border-radius: 999px;
  padding: 14px 23px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    0.2s transform,
    0.2s background;
}
.primary {
  background: var(--leaf);
  color: #fff;
  box-shadow: 0 10px 24px rgba(109, 126, 57, 0.25);
}
.primary:hover {
  background: var(--earth);
  transform: translateY(-2px);
}
.secondary {
  background: #fff;
  color: var(--earth);
  border-color: #d7cebf;
}
.secondary:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-card {
  position: absolute;
  z-index: 2;
  right: 55px;
  bottom: 55px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  width: 290px;
  padding: 22px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.hero-card strong {
  display: block;
  color: var(--earth);
  font:
    600 24px var(--title-font),
    serif;
}
.hero-card span {
  color: var(--muted);
  font-size: 14px;
}
.chooser {
  max-width: 1180px;
  margin: -20px auto 90px;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}
.section-intro {
  text-align: center;
  max-width: 630px;
  margin: 0 auto 36px;
}
.section-intro h2 {
  font-size: 48px;
  margin: 0 0 10px;
}
.section-intro p {
  color: var(--muted);
  font-size: 18px;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.choice {
  border: 1px solid #dfd7ca;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 22px;
  padding: 26px;
  text-align: left;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  transition:
    0.22s transform,
    0.22s box-shadow,
    0.22s border;
  color: var(--ink);
}
.choice:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(109, 126, 57, 0.45);
}
.choice-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #e8edda;
  color: var(--leaf);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 28px;
}
.choice h3 {
  font-size: 29px;
  margin: 0 0 9px;
}
.choice p {
  margin: 0;
  color: var(--muted);
}
.choice .arrow {
  margin-top: auto;
  color: var(--leaf);
  font-weight: 700;
  padding-top: 18px;
}
.view {
  min-height: calc(100vh - 78px);
  padding: 38px 24px 90px;
}
.view[hidden] {
  display: none;
}
.panel {
  max-width: 1180px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid #e7e0d5;
}
.panel-head {
  padding: 34px 38px;
  background: linear-gradient(135deg, #eef1e4, #f8f5ef);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.panel-head h2 {
  font-size: 44px;
  margin: 5px 0 8px;
}
.panel-head p {
  margin: 0;
  color: var(--muted);
}
.back-btn {
  border: 0;
  background: #fff;
  color: var(--earth);
  border-radius: 99px;
  padding: 10px 15px;
  font-weight: 700;
  white-space: nowrap;
}
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  padding: 38px;
  align-items: start;
}
.form-main {
  min-width: 0;
}
.form-main.standalone {
  padding: 38px;
}
.checkout-card {
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #f0f3e8;
  border: 1px solid #d8dfc5;
  border-top: 5px solid var(--leaf);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(73, 61, 39, 0.12);
}
.checkout-card h3 {
  font-size: 28px;
  margin: 0 0 14px;
}
.checkout-card .checkout-total {
  font-size: 25px;
  font-weight: 800;
  color: var(--earth);
  margin-top: 14px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 30px;
}
legend {
  font:
    700 27px var(--title-font),
    serif;
  color: var(--earth);
  width: 100%;
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid #eee8de;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.field.full {
  grid-column: 1/-1;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #4b4e47;
  margin: 12px 0 7px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8d3ca;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fdfcf9;
  color: var(--ink);
}
textarea {
  min-height: 105px;
  resize: vertical;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.check input {
  width: 18px;
}
.services {
  margin-top: 30px;
  border-top: 1px solid #eee8de;
}
.services h3 {
  font-size: 28px;
  margin: 26px 0 8px;
}
.service-row {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.service-row input {
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  border: 2px solid #aaa08f;
}
.menu-group {
  margin: 18px 0;
}
.menu-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 10px;
}
.menu-card {
  border: 2px solid #d4ccbe;
  border-radius: 13px;
  padding: 14px;
  cursor: pointer;
  background: #fff;
}
.menu-card.selected {
  background: #e6edd6;
  border-color: var(--leaf);
  box-shadow: 0 0 0 2px rgba(109, 126, 57, 0.18);
}
.allergy-details {
  padding: 16px;
  background: #fff;
  border: 1px solid #ddd3c4;
  border-radius: 13px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid #eee8de;
  padding-top: 25px;
  margin-top: 30px;
}
.review-note {
  background: #fff8df;
  border: 1px solid #ead38c;
  border-radius: 13px;
  padding: 14px 16px;
  color: var(--earth);
  margin-bottom: 22px;
}
.lookup-card,
.notice {
  max-width: 680px;
  margin: 38px auto 90px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px;
}
.lookup-card h2,
.notice h2 {
  font-size: 44px;
  margin: 8px 0;
}
.lookup-card > p,
.notice p {
  color: var(--muted);
}
.top-gap {
  margin-top: 26px;
}
.notice {
  text-align: center;
}
.notice-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  background: #edf2df;
  color: var(--leaf);
  font-size: 30px;
}
#notice {
  max-width: 900px;
  margin: 14px auto;
  padding: 12px;
  border-radius: 9px;
}
#notice.ok {
  background: #e7edd8;
}
#notice.error {
  background: #f8dfdc;
  color: #8c3029;
}
.footer {
  padding: 40px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
#loading {
  position: fixed;
  inset: 0;
  background: rgba(247, 244, 238, 0.82);
  backdrop-filter: blur(3px);
  display: grid;
  place-content: center;
  text-align: center;
  z-index: 20;
}
#loading[hidden] {
  display: none;
}
#loading span {
  width: 44px;
  height: 44px;
  border: 4px solid #dfe4d2;
  border-top-color: var(--leaf);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: auto;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 900px) {
  .booking-layout {
    display: block;
  }
  .checkout-card {
    position: static;
    margin: 24px 0;
  }
  .choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    padding: 55px 28px 110px;
  }
  .hero:before,
  .hero:after {
    right: -320px;
  }
  .hero-card {
    right: 28px;
  }
  .panel-head {
    padding: 28px;
  }
}
@media (max-width: 620px) {
  .topbar {
    padding: 0 18px;
  }
  .brand-logo {
    width: 170px;
    height: 54px;
  }
  .brand span:last-child {
    display: none;
  }
  .hero {
    min-height: 620px;
    padding: 35px 20px 140px;
    align-items: flex-start;
  }
  .hero:before,
  .hero:after {
    width: 500px;
    height: 500px;
    right: -350px;
    top: 170px;
  }
  .hero h1 {
    font-size: 55px;
  }
  .hero-card {
    left: 20px;
    right: 20px;
    bottom: 24px;
    width: auto;
  }
  .chooser {
    padding: 0 18px;
  }
  .choice-grid {
    grid-template-columns: 1fr;
  }
  .section-intro h2 {
    font-size: 40px;
  }
  .view {
    padding: 20px 12px 70px;
  }
  .panel-head {
    padding: 24px 20px;
    display: block;
  }
  .panel-head h2,
  .lookup-card h2 {
    font-size: 38px;
  }
  .back-btn {
    margin-top: 16px;
  }
  .booking-layout,
  .form-main.standalone {
    padding: 24px 20px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .form-actions button {
    width: 100%;
  }
  .lookup-card {
    padding: 28px 20px;
  }
  .service-row {
    grid-template-columns: 70px 1fr;
  }
  .service-row > strong {
    grid-column: 2;
  }
}
