@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
}

@font-face {
  font-family: Cinzel;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/cinzel-latin.woff2") format("woff2");
}

:root {
  --ink: #17130e;
  --cream: #f4efe5;
  --paper: #fbf7ef;
  --gold: #c89538;
  --gold-dark: #96651b;
  --soft-line: rgba(23, 19, 14, .13);
  --shadow: 0 18px 45px rgba(20, 15, 8, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(200, 149, 56, .13), transparent 32rem),
    linear-gradient(135deg, #eee6d9, #faf6ed 42%, #e8dfd1);
  font-family: Montserrat, Arial, sans-serif;
  letter-spacing: 0;
}

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

button,
input,
select {
  font: inherit;
}

.site-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.topbar {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 44px;
  color: #fff;
  animation: headerFadeIn .7s ease-out both;
}

.topbar::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 -42px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .34) 58%, rgba(0, 0, 0, 0));
  pointer-events: none;
}

.topbar.on-light {
  color: var(--ink);
  background: rgba(251, 247, 239, .92);
  border-bottom: 1px solid var(--soft-line);
}

.topbar.on-light::before {
  display: none;
}

@keyframes headerFadeIn {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand {
  display: inline-grid;
  place-items: center;
  line-height: 1;
  min-width: 150px;
  text-transform: uppercase;
  letter-spacing: .33em;
}

.brand span {
  font-size: 10px;
  font-weight: 600;
}

.brand strong {
  font: 500 48px/0.92 Cinzel, Georgia, serif;
  letter-spacing: .08em;
}

.desktop-nav {
  display: flex;
  gap: clamp(18px, 2.6vw, 42px);
  align-items: center;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.desktop-nav a {
  position: relative;
  padding: 12px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  transform: scaleX(0);
  background: var(--gold);
  transition: transform .2s ease;
}

.desktop-nav a.is-active::after,
.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  width: 38px;
  height: 32px;
  flex: 0 0 38px;
  display: grid;
  gap: 5px;
  align-content: center;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.menu-toggle::before {
  content: "";
}

.mobile-menu {
  position: absolute;
  top: 84px;
  right: 22px;
  z-index: 30;
  display: grid;
  gap: 10px;
  width: min(280px, calc(100% - 44px));
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  background: rgba(16, 13, 10, .94);
  color: #fff;
  box-shadow: var(--shadow);
  transition: .2s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu a {
  padding: 12px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .18em;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.mobile-break {
  display: none;
}

.page {
  display: none;
  min-height: 100vh;
}

.page.is-active {
  display: block;
}

.full-bleed,
.split-scene,
.reservation-layout,
.thankyou-layout,
.ordering-wrap {
  min-height: 100vh;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 150px 56px 60px;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.home-hero {
  background-image: url("assets/restaurant-main.webp");
  background-position: center center;
}

.chef-hero {
  background-image: url("assets/chef.jpg");
  background-position: right top;
}

.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .34) 45%, rgba(0, 0, 0, .08));
}

.hero-copy,
.copy-panel {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
}

.eyebrow,
.rule-text {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 14px;
  font-weight: 700;
}

.eyebrow::before,
.rule-text::before,
.chef-link::before {
  content: "";
  display: block;
  width: 74px;
  height: 2px;
  margin-bottom: 16px;
  background: var(--gold);
}

h1,
h2 {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 12px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: .92;
}

.home-hero h2 {
  margin: 10px 0 22px;
  font-size: clamp(27px, 3.2vw, 44px);
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.actions.center {
  justify-content: center;
}

.btn {
  min-width: 220px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 28px;
  border: 1px solid currentColor;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.btn.primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, #d6a34c, #a97422);
}

.btn.ghost {
  color: #fff;
  background: rgba(0, 0, 0, .3);
}

.btn.light {
  background: #fff;
  color: var(--ink);
}

.btn.compact {
  min-width: 185px;
}

.btn.wide {
  width: 100%;
  margin-top: 12px;
}

.split-scene {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 58px 60px;
  overflow: hidden;
  color: #fff;
  background-image: url("assets/seafood.jpg");
  background-size: cover;
  background-position: right center;
}

.about-scene .shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .63) 46%, rgba(0, 0, 0, .05));
}

.copy-panel h1,
.reservation-form h1,
.section-heading h1,
.thankyou-copy h1 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1;
}

.copy-panel p {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.75;
}

.chef-link {
  display: inline-grid;
  gap: 4px;
  margin-top: 28px;
  text-transform: uppercase;
}

.chef-link span {
  letter-spacing: .2em;
  font-size: 12px;
}

.chef-link strong {
  font: 500 32px/1 Cinzel, Georgia, serif;
  letter-spacing: .28em;
}

.feature-dish {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(440px, 42vw);
  aspect-ratio: 1;
  background: url("assets/seafood.jpg") center / cover;
  border-radius: 50%;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, .35));
}

.ordering-wrap {
  padding: 122px 44px 42px;
}

.section-heading {
  text-align: center;
  margin-bottom: 30px;
}

.section-heading p,
.reservation-form p,
.thankyou-copy p,
.thankyou-copy h2 {
  font-size: 16px;
  line-height: 1.6;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.menu-card {
  overflow: hidden;
  background: #fffaf1;
  border: 1px solid var(--soft-line);
  box-shadow: 0 10px 24px rgba(55, 41, 20, .12);
}

.menu-card img {
  width: 100%;
  aspect-ratio: 1.55;
  display: block;
  object-fit: cover;
}

.menu-card div {
  min-height: 190px;
  padding: 20px 22px 22px;
}

.menu-card h2 {
  font-size: 22px;
}

.menu-card p {
  min-height: 52px;
  color: #5f574c;
  font-size: 14px;
  line-height: 1.45;
}

.menu-card button {
  padding: 0;
  border: 0;
  color: var(--gold-dark);
  background: transparent;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.reservation-layout {
  display: grid;
  grid-template-columns: 58% 42%;
  background: var(--paper);
}

.reservation-photo {
  min-height: inherit;
  background: linear-gradient(90deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, 0)), url("assets/restaurant-wide.jpg") center / cover;
}

.reservation-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 58px 58px;
}

.reservation-form .eyebrow {
  color: var(--ink);
}

.reservation-form label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.reservation-form label span {
  color: #6e6458;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.reservation-form input,
.reservation-form select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(23, 19, 14, .18);
}

.chef-copy p {
  max-width: 500px;
  font-size: 16px;
  line-height: 1.65;
}

.chef-hero .shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .55) 40%, rgba(0, 0, 0, .12));
}

.thankyou-layout {
  display: grid;
  grid-template-columns: 58% 42%;
  align-items: stretch;
  padding-top: 84px;
}

.thankyou-copy {
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: 50px;
}

.checkmark {
  width: 98px;
  height: 98px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border: 4px solid var(--gold-dark);
  border-radius: 50%;
  color: var(--gold-dark);
  font-size: 60px;
}

.thankyou-copy h2 {
  margin: 8px 0 18px;
  font-family: Montserrat, Arial, sans-serif;
  text-transform: none;
  letter-spacing: .06em;
  font-weight: 500;
}

.order-note {
  min-height: 24px;
  color: var(--gold-dark);
  font-weight: 700;
}

.thankyou-dish {
  min-height: calc(100vh - 84px);
  background: url("assets/seafood.jpg") center / cover;
}

@media (max-width: 980px) {
  .site-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
  }

  .page,
  .full-bleed,
  .split-scene,
  .reservation-layout,
  .thankyou-layout,
  .ordering-wrap {
    min-height: 100vh;
  }

  .topbar {
    height: 78px;
    padding: 16px 22px;
  }

  .brand {
    min-width: 116px;
  }

  .brand strong {
    font-size: 36px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    position: absolute;
    top: 23px;
    right: 22px;
  }

  .menu-toggle span {
    display: none;
  }

  .menu-toggle::before {
    content: "\2630";
    font-size: 28px;
    line-height: 1;
  }

  .mobile-menu {
    top: 78px;
  }

  .hero,
  .split-scene {
    padding: 120px 24px 40px;
  }

  .home-hero {
    background-position: 62% center;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 68px);
  }

  .home-hero h2 {
    font-size: clamp(25px, 8vw, 39px);
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .split-scene,
  .reservation-layout,
  .thankyou-layout {
    grid-template-columns: 1fr;
  }

  .feature-dish {
    width: min(290px, 72vw);
    justify-self: center;
    margin-top: 28px;
  }

  .ordering-wrap {
    padding: 104px 18px 30px;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .menu-card div {
    min-height: 168px;
    padding: 16px;
  }

  .menu-card h2 {
    font-size: 18px;
  }

  .reservation-photo {
    min-height: 42vh;
  }

  .reservation-form {
    padding: 34px 22px 42px;
  }

  .chef-hero {
    background-position: 64% center;
  }

  .thankyou-layout {
    padding-top: 78px;
  }

  .thankyou-copy {
    min-height: 58vh;
    padding: 32px 22px;
  }

  .thankyou-dish {
    min-height: 42vh;
  }
}

@media (max-width: 560px) {
  .topbar {
    background: linear-gradient(rgba(0, 0, 0, .52), rgba(0, 0, 0, 0));
  }

  .topbar.on-light {
    background: rgba(251, 247, 239, .94);
  }

  .hero,
  .split-scene {
    align-items: flex-end;
    padding: 116px 18px 28px;
  }

  .shade,
  .about-scene .shade,
  .chef-hero .shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, .82) 72%);
  }

  .hero-copy,
  .copy-panel {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(34px, 9.5vw, 42px);
    line-height: 1.02;
  }

  .home-hero h2 {
    font-size: clamp(25px, 8vw, 34px);
  }

  .mobile-break {
    display: inline;
  }

  .section-heading h1,
  .reservation-form h1,
  .thankyou-copy h1,
  .copy-panel h1 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .eyebrow,
  .rule-text {
    font-size: 12px;
  }

  .actions {
    width: 100%;
  }

  .copy-panel p,
  .chef-copy p {
    font-size: 14px;
  }

  .chef-link strong {
    font-size: 24px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-card {
    display: block;
  }

  .menu-card img {
    height: auto;
    aspect-ratio: 1.65;
  }

  .menu-card div {
    min-height: 0;
  }

  .menu-card p {
    min-height: 0;
  }

  .checkmark {
    width: 78px;
    height: 78px;
    font-size: 48px;
  }
}
