/* ————————————————————————————————
   A GRELHA — wood fire. nothing else.
   ———————————————————————————————— */

:root {
  --black: #0a0807;
  --coal: #12100d;
  --cream: #efe6d6;
  --cream-dim: rgba(239, 230, 214, 0.62);
  --cream-faint: rgba(239, 230, 214, 0.28);
  --ember: #e2662a;
  --ember-soft: rgba(226, 102, 42, 0.85);
  --hairline: rgba(239, 230, 214, 0.14);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--ember); color: var(--black); }

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

/* ——— film grain overlay ——— */
.grain {
  position: fixed;
  inset: -100px;
  z-index: 90;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}

@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-42px, 28px); }
  50%  { transform: translate(30px, -38px); }
  75%  { transform: translate(-24px, -20px); }
  100% { transform: translate(0, 0); }
}

/* ——— shared type ——— */
.label {
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ember);
  font-family: var(--serif);
  font-weight: 500;
  display: block;
}

.display {
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

/* ——— reveal on scroll ——— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.12s; }
.reveal:nth-child(3) { transition-delay: 0.24s; }

/* ——— top nav ——— */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 44px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  pointer-events: none;
}
.nav.on { opacity: 1; transform: none; pointer-events: auto; }
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 8, 7, 0.92), rgba(10, 8, 7, 0.35));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mask-image: linear-gradient(to bottom, black 55%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent);
  pointer-events: none;
}
.nav .wordmark {
  position: relative;
  font-size: 17px;
  letter-spacing: 0.34em;
  font-weight: 500;
}
.nav .wordmark .amp { color: var(--ember); font-style: italic; }
.nav .reserve-link {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ember);
  transition: color 0.4s;
}
.nav .reserve-link:hover { color: var(--ember); }

/* ——— hero (scroll-scrubbed) ——— */
.hero {
  height: 420vh;
  position: relative;
}

.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--black);
}

.hero-stage video,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback {
  display: none;
  background:
    radial-gradient(ellipse 80% 55% at 50% 78%, rgba(226, 102, 42, 0.42), transparent 65%),
    radial-gradient(ellipse 45% 30% at 46% 88%, rgba(255, 158, 74, 0.35), transparent 70%),
    var(--black);
}
.hero-stage.no-video .hero-fallback { display: block; }

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 46%, rgba(10, 8, 7, 0.38) 0%, transparent 45%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 40%, rgba(10, 8, 7, 0.78) 100%),
    linear-gradient(to top, rgba(10, 8, 7, 0.85), transparent 35%);
}

.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-title {
  font-size: clamp(44px, 8.5vw, 118px);
  font-weight: 300;
  letter-spacing: 0.55em;
  text-indent: 0.55em; /* balance the trailing letter-space */
  opacity: 0;
  transition: letter-spacing 2.6s var(--ease), opacity 2.2s ease, text-indent 2.6s var(--ease);
  white-space: nowrap;
}
.hero-title .amp {
  color: var(--ember);
  font-style: italic;
  font-weight: 400;
}
body.loaded .hero-title {
  opacity: 1;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
}

.hero-tag {
  margin-top: 30px;
  font-size: clamp(15px, 1.6vw, 21px);
  font-style: italic;
  font-weight: 400;
  color: var(--cream-dim);
  letter-spacing: 0.14em;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1.6s ease 1.1s, transform 1.6s var(--ease) 1.1s;
}
body.loaded .hero-tag { opacity: 1; transform: none; }

.hero-scroll-hint {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--cream-faint);
  opacity: 0;
  transition: opacity 1.4s ease 2s;
}
body.loaded .hero-scroll-hint { opacity: 1; }
.hero-scroll-hint.gone { opacity: 0 !important; transition: opacity 0.5s ease; }
.hero-scroll-hint::after {
  content: '';
  position: absolute;
  top: 26px;
  left: 50%;
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--ember), transparent);
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  70%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ——— full-bleed video sections (story / private) ——— */
.bleed {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.bleed .media {
  position: absolute;
  inset: -12% 0;
  height: 124%;
  width: 100%;
  will-change: transform;
}
.bleed .media video,
.bleed .media .still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bleed .media .still {
  background:
    radial-gradient(ellipse 70% 60% at 30% 60%, rgba(226, 102, 42, 0.16), transparent 60%),
    var(--coal);
}

.bleed .scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10, 8, 7, 0.88) 0%, rgba(10, 8, 7, 0.45) 55%, rgba(10, 8, 7, 0.25) 100%),
    linear-gradient(to bottom, rgba(10, 8, 7, 0.6), transparent 25%, transparent 75%, rgba(10, 8, 7, 0.75));
}
.bleed.flip .scrim {
  background:
    linear-gradient(to left, rgba(10, 8, 7, 0.88) 0%, rgba(10, 8, 7, 0.45) 55%, rgba(10, 8, 7, 0.25) 100%),
    linear-gradient(to bottom, rgba(10, 8, 7, 0.6), transparent 25%, transparent 75%, rgba(10, 8, 7, 0.75));
}

.bleed .inner {
  position: relative;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 160px 44px;
}
.bleed.flip .inner { display: flex; justify-content: flex-end; }
.bleed .copy { max-width: 480px; }

.bleed h2 {
  font-size: clamp(40px, 5.4vw, 76px);
  margin: 26px 0 30px;
}

.bleed p {
  color: var(--cream-dim);
  font-size: 19px;
  font-weight: 400;
  max-width: 42ch;
}
.bleed p + p { margin-top: 1.2em; }
.bleed p em { color: var(--cream); }

.text-link {
  display: inline-block;
  margin-top: 38px;
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cream);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ember);
  transition: color 0.4s, letter-spacing 0.6s var(--ease);
}
.text-link:hover { color: var(--ember); letter-spacing: 0.42em; }

/* ——— menu ——— */
.menu {
  position: relative;
  background: var(--black);
  padding: 170px 44px 190px;
}

.menu-head {
  text-align: center;
  margin-bottom: 110px;
}
.menu-head h2 {
  font-size: clamp(40px, 5vw, 72px);
  margin-top: 26px;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  width: min(1150px, 100%);
  margin: 0 auto;
}

.menu-col-title {
  font-size: 15px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--cream);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ember);
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.menu-col-title .tick { color: var(--ember); font-size: 18px; letter-spacing: 0; }

.dish {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline);
}
.dish-name {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.dish-note {
  display: block;
  font-size: 15px;
  font-style: italic;
  color: var(--cream-dim);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.dish-price {
  font-size: 20px;
  font-weight: 400;
  color: var(--ember-soft);
  white-space: nowrap;
  font-variant-numeric: lining-nums;
}

.menu-foot {
  text-align: center;
  margin-top: 100px;
  font-style: italic;
  color: var(--cream-faint);
  font-size: 16px;
  letter-spacing: 0.08em;
}

/* ——— reserve ——— */
.reserve {
  position: relative;
  background: var(--coal);
  border-top: 1px solid var(--hairline);
  padding: 170px 44px 150px;
}

.reserve-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 110px;
  width: min(1150px, 100%);
  margin: 0 auto;
  align-items: start;
}

.reserve h2 {
  font-size: clamp(38px, 4.6vw, 64px);
  margin: 26px 0 42px;
}

.hours {
  list-style: none;
  margin-bottom: 54px;
}
.hours li {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 17px;
}
.hours .day {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12.5px;
  color: var(--cream-dim);
  align-self: center;
}

.address {
  font-style: normal;
  color: var(--cream-dim);
  font-size: 17px;
  line-height: 1.9;
}
.address strong { color: var(--cream); font-weight: 500; }

.map-frame {
  margin-top: 34px;
  border: 1px solid var(--hairline);
  height: 260px;
  overflow: hidden;
  position: relative;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.9) sepia(0.28) brightness(0.85);
}

/* ——— reservation form ——— */
.res-form {
  border: 1px solid var(--hairline);
  padding: 56px 52px;
  background: rgba(10, 8, 7, 0.5);
}
.res-form h3 {
  font-size: 30px;
  font-weight: 400;
  margin: 18px 0 40px;
}

.field { margin-bottom: 30px; }
.field label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 10px;
}
.field input,
.field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--cream-faint);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 20px;
  padding: 8px 2px 12px;
  border-radius: 0;
  outline: none;
  transition: border-color 0.4s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e2662a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  cursor: pointer;
}
.field select option { background: var(--coal); color: var(--cream); }
.field input:focus,
.field select:focus { border-bottom-color: var(--ember); }
.field input::-webkit-calendar-picker-indicator {
  filter: invert(0.85) sepia(0.4);
  cursor: pointer;
}

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

.btn-reserve {
  width: 100%;
  margin-top: 14px;
  padding: 20px;
  background: transparent;
  border: 1px solid var(--ember);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.5s var(--ease), color 0.4s;
}
.btn-reserve:hover { background: var(--ember); color: var(--black); }

.form-confirm {
  display: none;
  text-align: center;
  padding: 46px 0 30px;
}
.form-confirm .flame { font-size: 30px; color: var(--ember); display: block; margin-bottom: 24px; }
.form-confirm p { font-size: 24px; font-weight: 400; line-height: 1.5; }
.form-confirm .sub {
  font-size: 15px;
  font-style: italic;
  color: var(--cream-dim);
  margin-top: 16px;
}
.res-form.confirmed form { display: none; }
.res-form.confirmed .form-confirm { display: block; }

/* ——— footer ——— */
footer {
  padding: 60px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--hairline);
  background: var(--black);
  color: var(--cream-faint);
  font-size: 13px;
  letter-spacing: 0.18em;
}
footer .wordmark { letter-spacing: 0.34em; font-size: 14px; color: var(--cream-dim); }
footer .wordmark .amp { color: var(--ember); font-style: italic; }

/* ——— reduced motion ——— */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ——— mobile pass ——— */
@media (max-width: 860px) {
  body { font-size: 16px; }

  .nav { padding: 20px 24px; }

  .hero { height: 300vh; }
  .hero-title { letter-spacing: 0.34em; text-indent: 0.34em; }
  body.loaded .hero-title { letter-spacing: 0.12em; text-indent: 0.12em; }

  .bleed .inner { padding: 120px 24px; }
  .bleed.flip .inner { justify-content: flex-start; }

  .menu { padding: 120px 24px 130px; }
  .menu-head { margin-bottom: 70px; }

  /* menu collapses to a single elegant column */
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 90px;
  }
  .dish-name { font-size: 21px; }

  .reserve { padding: 120px 24px 110px; }
  .reserve-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .res-form { padding: 42px 28px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }

  footer {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
}
