:root {
  --ink: #16120e;
  --ink-soft: #3a322b;
  --paper: #f4ecdf;
  --paper-2: #efe4d2;
  --white: #fffaf4;
  --ember: #e24b22;
  --brasa: #f0a202;
  --sea: #163e3c;
  --line: rgba(22, 18, 14, 0.12);
  --shadow: 0 30px 70px rgba(22, 18, 14, 0.18);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.wrap { width: min(1180px, calc(100% - 2.4rem)); margin: 0 auto; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 40;
  background: linear-gradient(90deg, var(--ember), var(--brasa));
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 4vw;
  color: var(--white);
  background: linear-gradient(180deg, rgba(12, 8, 6, 0.72), rgba(12, 8, 6, 0));
}
.nav.is-solid {
  color: var(--ink);
  background: rgba(244, 236, 223, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}
.brand small { letter-spacing: 0.28em; font-size: 0.62rem; opacity: 0.7; }
.nav-links { display: flex; gap: 1.4rem; align-items: center; }
.nav-links a { text-decoration: none; font-size: 0.92rem; }
.nav .nav-cta { background: var(--ember); color: #fff; }
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
}
.btn-ember { background: var(--ember); color: white; }
.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.hero {
  position: relative;
  min-height: 100vh;
  color: var(--white);
  overflow: hidden;
  display: grid;
  align-items: end;
  background: #1a120e;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.08);
  will-change: transform;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 8, 6, 0.25) 0%, rgba(12, 8, 6, 0.15) 35%, rgba(12, 8, 6, 0.82) 100%),
    radial-gradient(circle at 80% 20%, rgba(226, 75, 34, 0.28), transparent 40%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 8rem 4vw 4.5rem;
  width: min(1280px, 100%);
}
.eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}
.hero h1 {
  margin: 0.4rem 0 0.8rem;
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(4.2rem, 12vw, 9.4rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
}
.hero h1 span { display: block; font-style: italic; color: #ffd7a1; }
.hero-lead {
  max-width: 34rem;
  font-size: 1.15rem;
  color: rgba(255, 250, 244, 0.88);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.hero-stage {
  position: absolute;
  right: 6vw;
  top: 22vh;
  width: min(340px, 32vw);
  height: 420px;
  perspective: 1200px;
  transform-style: preserve-3d;
  z-index: 2;
}
.float-card {
  position: absolute;
  width: 210px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 0.45s ease;
}
.float-card img { width: 100%; height: 250px; object-fit: cover; }
.float-card figcaption {
  background: var(--white);
  color: var(--ink);
  padding: 0.7rem 0.85rem 0.85rem;
  font-size: 0.85rem;
}
.float-card strong { display: block; font-family: var(--serif); font-size: 1.05rem; }
.float-a { top: 0; right: 0; }
.float-b { top: 150px; left: 0; }

.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0.9rem 0;
  animation: slide 28s linear infinite;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section { padding: 6.5rem 0; }
.section h2 {
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0.3rem 0 1rem;
}
.kicker { color: var(--ember); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.75rem; font-weight: 700; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.prose p { color: var(--ink-soft); font-size: 1.12rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.stat {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.stat b { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 520; }
.stat span { color: var(--ink-soft); font-size: 0.92rem; }

.frame-3d { perspective: 1400px; }
.board {
  border-radius: 28px;
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg);
  box-shadow: var(--shadow);
  transition: transform 0.6s ease;
}
.board img { width: 100%; height: min(72vh, 680px); object-fit: cover; object-position: center top; }
.frame-3d:hover .board { transform: rotateY(0) rotateX(0) scale(1.02); }

.visit-grid, .hours { display: grid; gap: 1rem; }
.kitchen {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
}
.kitchen figure {
  position: relative;
  margin: 0;
  min-height: 210px;
  border-radius: 22px;
  overflow: hidden;
}
.kitchen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kitchen figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  background: rgba(255, 250, 244, 0.92);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
}
.dish {
  background: var(--white);
  border-radius: 22px;
  padding: 1.2rem 1.2rem 1.3rem;
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.dish:hover { box-shadow: var(--shadow); }
.dish em { color: var(--ember); font-style: normal; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.dish h3 { margin: 0.35rem 0 0.35rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 520; }
.dish p { margin: 0; color: var(--ink-soft); }
.note {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 32vw);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}
.rail figure {
  scroll-snap-align: start;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  min-height: 420px;
  position: relative;
}
.rail img { width: 100%; height: 420px; object-fit: cover; }
.rail figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(12, 8, 6, 0.82));
  font-family: var(--serif);
  font-size: 1.4rem;
}


.visit {
  background: var(--sea);
  color: #f4ecdf;
}
.visit-grid { grid-template-columns: 1fr 1fr; align-items: start; }
.hours { grid-template-columns: 1fr; margin: 1.5rem 0 0; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(244, 236, 223, 0.18);
  padding: 0.8rem 0;
}
.visit a { color: #ffd7a1; }
.form {
  display: grid;
  gap: 0.7rem;
  background: rgba(255, 250, 244, 0.06);
  border: 1px solid rgba(244, 236, 223, 0.16);
  border-radius: 24px;
  padding: 1.2rem;
}
.form label { display: grid; gap: 0.3rem; font-size: 0.85rem; }
.form input, .form textarea {
  border: 0;
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  background: var(--white);
  color: var(--ink);
}
.form button { border: 0; }

.footer {
  padding: 2rem 0 2.4rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}
.footer a { color: var(--ink); }

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 4vw;
    right: 4vw;
    padding: 1rem;
    background: var(--paper);
    color: var(--ink);
    border-radius: 18px;
    mix-blend-mode: normal;
  }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero-stage { display: none; }
  .split, .visit-grid, .stats { grid-template-columns: 1fr; }
  .kitchen { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(3.4rem, 18vw, 5.2rem); }
  .section { padding: 4.2rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .marquee-track, .float-card, .board { animation: none; transition: none; transform: none; opacity: 1; }
  .hero-photo { transform: none; }
}

.page-book { background: var(--paper); overflow-x: clip; }
.page-book .wrap, .book-grid, .book-panel, .book-summary { min-width: 0; max-width: 100%; }
.page-book .nav,
.page-book .nav.is-solid {
  color: var(--ink);
  background: rgba(244, 236, 223, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.book { padding: 7.2rem 0 4.5rem; }
.book-head { max-width: 40rem; margin-bottom: 2rem; }
.book-head h1 {
  margin: 0.2rem 0 0.7rem;
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.book-head p { margin: 0; color: var(--ink-soft); font-size: 1.08rem; }
.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.7fr);
  gap: 1.4rem;
  align-items: start;
}
.book-panel, .book-summary, .mail {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
}
.book-panel { padding: 1.2rem; }
.steps {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}
.steps span {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: var(--paper-2);
}
.steps span.is-on { background: var(--ember); }
.book-panel h2 {
  margin: 0 0 0.3rem;
  font-family: var(--serif);
  font-weight: 520;
  font-size: 2rem;
  letter-spacing: -0.03em;
}
.book-panel .hint { margin: 0 0 1rem; color: var(--ink-soft); }
.people {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}
.people b { font-family: var(--serif); font-size: 1.8rem; font-weight: 520; min-width: 1.4rem; text-align: center; }
.people button, .cal-nav button, .slot, .table-card, .book-actions button {
  font: inherit;
  cursor: pointer;
}
.people button, .cal-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}
.cal-nav strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 520; text-transform: capitalize; }
.cal-week, .cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
  width: 100%;
  min-width: 0;
}
.cal-week { margin-bottom: 0.35rem; color: var(--ink-soft); font-size: 0.75rem; text-align: center; letter-spacing: 0.04em; }
.cal-week span { min-width: 0; }
.cal-day {
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  padding: 0;
  overflow: hidden;
  line-height: 1.05;
}
.cal-day small {
  display: block;
  max-width: 100%;
  padding: 0 0.1rem;
  font-size: clamp(0.48rem, 1.6vw, 0.62rem);
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-day:disabled { color: rgba(22, 18, 14, 0.35); cursor: default; background: transparent; }
.cal-day.is-full:disabled { color: var(--ember); }
.cal-day.is-on { background: var(--ink); color: var(--paper); }
.cal-day.is-free:hover { border-color: var(--ink); }
.turns { display: grid; gap: 0.8rem; margin-top: 1.1rem; }
.turns p { margin: 0 0 0.4rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--ember); }
.turn-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.slot, .table-card {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.slot { border-radius: 999px; padding: 0.55rem 0.85rem; }
.slot:disabled { text-decoration: line-through; opacity: 0.4; cursor: default; }
.slot.is-on, .table-card.is-on { background: var(--ember); color: white; border-color: var(--ember); }
.table-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.table-card {
  text-align: left;
  border-radius: 20px;
  padding: 0.95rem 1rem 1rem;
}
.table-card:disabled { opacity: 0.45; cursor: default; }
.table-card strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 520; }
.table-card span, .table-card em { display: block; font-style: normal; color: inherit; opacity: 0.8; font-size: 0.88rem; }
.guest {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.guest label, .guest .wide { display: grid; gap: 0.3rem; font-size: 0.85rem; }
.guest .wide { grid-column: 1 / -1; }
.guest input, .guest textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  background: var(--paper);
  color: var(--ink);
}
.guest textarea { min-height: 90px; resize: vertical; }
.guest .is-bad { border-color: var(--ember); }
.field-error { color: var(--ember); font-size: 0.82rem; min-height: 1rem; }
.book-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.1rem; }
.book-actions .btn:disabled { opacity: 0.4; cursor: default; }
.book-summary { padding: 1.2rem 1.2rem 1.3rem; position: sticky; top: 5.5rem; }
.book-summary h2 { margin: 0.2rem 0 1rem; font-family: var(--serif); font-size: 1.8rem; font-weight: 520; }
.book-summary dl { margin: 0; display: grid; gap: 0.7rem; }
.book-summary div { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 0.7rem; }
.book-summary dt { color: var(--ink-soft); }
.book-summary dd { margin: 0; text-align: right; font-weight: 600; }
.book-photo { margin: -1.2rem -1.2rem 1rem; border-radius: 28px 28px 0 0; overflow: hidden; height: 150px; }
.book-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.mails { display: grid; gap: 1rem; }
.mail { overflow: hidden; }
.mail header { background: var(--sea); color: #f4ecdf; padding: 1rem 1.15rem 0.9rem; }
.mail header p { margin: 0.15rem 0 0; font-size: 0.92rem; opacity: 0.8; }
.mail header strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 520; }
.mail .body { padding: 1.05rem 1.15rem 1.2rem; color: var(--ink-soft); }
.mail .body b { color: var(--ink); }
.when {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}
@media (max-width: 900px) {
  .book-grid, .guest, .table-list { grid-template-columns: 1fr; }
  .book-summary { position: static; }
  .guest .wide { grid-column: auto; }
  .book { padding-top: 6.2rem; }
  .book-panel { padding: 0.9rem; }
  .cal-week, .cal-grid { gap: 0.22rem; }
  .cal-day { border-radius: 12px; font-size: 0.82rem; }
  .cal-day small { display: none; }
  .book-summary dd { overflow-wrap: anywhere; }
  .people { flex-wrap: wrap; }
}
