/* Vesper — dark fine-dining tasting room */
:root {
  --bg: #0b0a09;
  --bg-2: #141210;
  --ink: #f1ebe1;
  --ink-2: #c9c1b4;
  --muted: #8f877b;
  --gold: #c8a46a;
  --gold-2: #b08d55;
  --line: rgba(241, 235, 225, 0.12);
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --tm-ink: #c8a46a;
  --tm-bg: rgba(200, 164, 106, 0.07);
}
body { background: var(--bg); color: var(--ink); }
::selection { background: var(--gold); color: #0b0a09; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; }
.btn { --b-bg: var(--ink); --b-fg: #0b0a09; border-radius: 2px; letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; font-weight: 600; height: 52px; padding: 0 28px; }
.btn-gold { --b-bg: var(--gold); --b-fg: #120e08; }
.btn-line { --b-bg: transparent; --b-fg: var(--ink); border: 1px solid rgba(241, 235, 225, 0.4); }
.btn-line:hover { background: rgba(241, 235, 225, 0.08); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 12px; }
.label { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.label.center::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding-top: env(safe-area-inset-top); transition: background 0.5s, border-color 0.5s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(11, 10, 9, 0.78); border-color: var(--line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.nav .container { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { font-family: var(--display); font-size: 30px; font-weight: 500; letter-spacing: 0.32em; line-height: 1; }
.wordmark small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: 0.42em; color: var(--muted); margin-top: 4px; text-transform: uppercase; }
.nav-links { display: flex; gap: 34px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); }
.nav-links a { position: relative; padding: 6px 0; transition: color 0.3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right 0.5s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px 0 clamp(60px, 9vh, 110px); overflow: hidden; isolation: isolate; }
.hero .media { position: absolute; inset: 0; z-index: -1; background: #1a1612; }
.hero .media img { animation: slowzoom 30s ease-out forwards; }
@keyframes slowzoom { from { transform: scale(1.15); } to { transform: scale(1); } }
.hero .media::after { content: ""; position: absolute; inset: 0; background: rgba(8, 7, 6, 0.55); box-shadow: inset 0 -40vh 30vh -10vh rgba(8, 7, 6, 0.95); }
.hero-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.hero h1 { font-size: clamp(60px, 10vw, 168px); line-height: 0.92; font-weight: 400; margin: 22px 0 26px; }
.hero p.sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 40ch; }
.hero .actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.seating { text-align: right; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); line-height: 2.1; border-left: 1px solid var(--line); padding-left: 28px; }
.seating b { color: var(--gold); font-weight: 600; }
.scroll-cue { position: absolute; left: 50%; bottom: 0; width: 1px; height: 64px; background: rgba(241, 235, 225, 0.18); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- Accolades ---------- */
.accolades { border-block: 1px solid var(--line); }
.accolades .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.accolade { padding: 30px 20px; text-align: center; border-right: 1px solid var(--line); }
.accolade:last-child { border-right: 0; }
.accolade .stars { color: var(--gold); letter-spacing: 6px; font-size: 13px; display: flex; justify-content: center; gap: 4px; }
.accolade b { display: block; font-family: var(--display); font-size: 24px; font-weight: 500; margin-top: 8px; }
.accolade span { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Sections ---------- */
section.block { padding: clamp(90px, 12vw, 170px) 0; }
.head { max-width: 760px; margin-bottom: 56px; }
.head.center { margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(44px, 6vw, 96px); line-height: 0.98; font-weight: 400; margin-top: 20px; }
.head p { color: var(--ink-2); font-size: 18px; margin-top: 20px; }

/* ---------- Philosophy ---------- */
.philosophy { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(32px, 6vw, 100px); align-items: end; }
.philosophy blockquote { margin: 0; font-family: var(--display); font-size: clamp(32px, 3.8vw, 58px); line-height: 1.12; font-weight: 400; }
.philosophy p { color: var(--ink-2); font-size: 17px; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; border-top: 1px solid var(--line); }
.numbers div { padding: 34px 24px 0 0; }
.numbers strong { display: block; font-family: var(--display); font-size: clamp(54px, 6vw, 92px); font-weight: 400; line-height: 1; color: var(--ink); }
.numbers span { display: block; margin-top: 10px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* ---------- Tasting menu (scroll story) ---------- */
.tasting { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.plate-stage { position: sticky; top: 110px; }
.plate-stage .media { aspect-ratio: 4 / 5; border-radius: 2px; background: #1a1612; }
.plate-stage .media img { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.plate-stage .media img.show { opacity: 1; transform: none; }
.plate-caption { display: flex; justify-content: space-between; margin-top: 16px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.plate-caption b { color: var(--gold); font-weight: 600; }
.courses { list-style: none; padding: 0; margin: 0; }
.course { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 44px 0; border-top: 1px solid var(--line); opacity: 0.38; transition: opacity 0.6s var(--ease); }
.course:last-child { border-bottom: 1px solid var(--line); }
.course.active { opacity: 1; }
.course .num { font-family: var(--display); font-size: 30px; color: var(--gold); line-height: 1; }
.course h3 { font-size: clamp(30px, 3vw, 42px); font-weight: 500; line-height: 1.05; }
.course p { color: var(--ink-2); margin-top: 10px; }
.course .pair { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.price-note { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 34px; padding: 26px 0; color: var(--ink-2); font-size: 15px; }
.price-note b { font-family: var(--display); font-size: 30px; font-weight: 500; color: var(--ink); margin-right: 8px; }

/* ---------- Chef ---------- */
.chef { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.chef .media { position: absolute; inset: 0; z-index: -1; background: #1a1612; }
.chef .media::after { content: ""; position: absolute; inset: 0; background: rgba(8, 7, 6, 0.6); box-shadow: inset 50vw 0 30vw -10vw rgba(8, 7, 6, 0.85); }
.chef blockquote { margin: 26px 0 0; max-width: 16ch; font-family: var(--display); font-size: clamp(40px, 5.4vw, 84px); line-height: 1.02; font-weight: 400; }
.chef cite { display: block; margin-top: 34px; font-style: normal; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2); }
.chef cite b { color: var(--ink); font-weight: 600; }

/* ---------- The room ---------- */
.rooms { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.room { position: relative; overflow: hidden; display: block; }
.room .media { height: 100%; min-height: 300px; background: #1a1612; }
.room.tall { grid-row: span 2; }
.room.tall .media { min-height: 640px; }
.room:hover .media img { transform: scale(1.05); }
.room figcaption { position: absolute; left: 24px; bottom: 22px; right: 24px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.room figcaption b { font-family: var(--display); font-size: 30px; font-weight: 500; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6); }
.room figcaption span { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.room .media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -160px 120px -80px rgba(8, 7, 6, 0.9); }

/* ---------- Experiences ---------- */
.experiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.exp { background: var(--bg); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 14px; transition: background 0.5s; }
.exp:hover { background: var(--bg-2); }
.exp .ico { font-size: 26px; color: var(--gold); }
.exp h3 { font-size: 34px; font-weight: 500; margin-top: 18px; }
.exp p { color: var(--ink-2); }
.exp .price { margin-top: auto; padding-top: 20px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }

/* ---------- Reservation ---------- */
.reserve { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.reserve-info ul { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 18px; }
.reserve-info li { display: flex; gap: 16px; color: var(--ink-2); }
.reserve-info li .ico { color: var(--gold); font-size: 18px; margin-top: 3px; }
.reserve-info li b { display: block; color: var(--ink); font-weight: 600; }
.booking { background: var(--bg-2); border: 1px solid var(--line); padding: clamp(24px, 3.4vw, 44px); }
.steps-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 30px; }
.steps-bar span { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); padding-top: 12px; border-top: 2px solid var(--line); transition: color 0.4s, border-color 0.4s; }
.steps-bar span.on { color: var(--gold); border-color: var(--gold); }
.bstep { display: none; }
.bstep.active { display: block; animation: rise 0.6s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.bstep h3 { font-size: 34px; font-weight: 500; margin-bottom: 20px; }
.guests { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.guests button, .cal button, .times button { border: 1px solid var(--line); color: var(--ink); background: transparent; transition: background 0.3s, border-color 0.3s, color 0.3s; }
.guests button { height: 64px; font-family: var(--display); font-size: 26px; }
.guests button:hover, .cal button:not(:disabled):hover, .times button:hover { border-color: rgba(200, 164, 106, 0.6); }
.guests button[aria-pressed="true"], .cal button[aria-pressed="true"], .times button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #120e08; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal-head b { font-family: var(--display); font-size: 26px; font-weight: 500; }
.cal-head button { width: 40px; height: 40px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.cal-head button:disabled { opacity: 0.3; }
.dow, .cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.dow span { font-size: 11px; letter-spacing: 0.14em; color: var(--muted); text-align: center; padding-bottom: 6px; }
.cal button { aspect-ratio: 1; font-size: 15px; }
.cal button:disabled { color: rgba(241, 235, 225, 0.22); border-color: transparent; cursor: not-allowed; }
.cal .pad { aspect-ratio: 1; }
.times { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.times button { padding: 12px 18px; font-size: 14px; }
.legend { margin-top: 14px; font-size: 13px; color: var(--muted); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields .full { grid-column: 1 / -1; }
.fields label { display: grid; gap: 8px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.fields input, .fields select, .fields textarea { width: 100%; padding: 14px 0; background: transparent; border: 0; border-bottom: 1px solid rgba(241, 235, 225, 0.25); color: var(--ink); font-size: 17px; font-family: var(--sans); letter-spacing: 0; text-transform: none; border-radius: 0; transition: border-color 0.3s; }
.fields select option { background: #141210; }
.fields textarea { min-height: 70px; resize: vertical; }
.fields input:focus, .fields select:focus, .fields textarea:focus { outline: none; border-color: var(--gold); }
.bnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.summary { margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.summary b { color: var(--ink); font-weight: 600; }
.confirmed { text-align: center; padding: 30px 0 10px; }
.confirmed .ring { width: 86px; height: 86px; margin: 0 auto 24px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold); font-size: 30px; animation: rise 0.8s var(--ease); }
.confirmed h3 { font-size: 44px; font-weight: 400; }
.confirmed p { color: var(--ink-2); margin-top: 12px; max-width: 40ch; margin-inline: auto; }

/* ---------- Visit + footer ---------- */
.visit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.visit > div { background: var(--bg); padding: 34px; }
.visit h3 { font-size: 28px; font-weight: 500; margin-bottom: 14px; }
.visit p, .visit li { color: var(--ink-2); }
.visit ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.visit li { display: flex; justify-content: space-between; gap: 12px; }
.foot { border-top: 1px solid var(--line); padding: 70px 0 calc(90px + var(--safe-b)); margin-top: 60px; }
.foot .wordmark { font-size: 44px; display: inline-block; }
.foot-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.foot .credits { margin-top: 40px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); }
.foot .credits a { text-decoration-color: rgba(241, 235, 225, 0.3); }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: border-color 0.3s, color 0.3s; }
.socials a:hover { border-color: var(--gold); color: var(--gold); }

/* Light toggle on a dark page */
.tm-toggle { background: rgba(28, 25, 22, 0.85) !important; color: var(--ink) !important; border-color: var(--line) !important; }
.tm-toggle .tm-seg { background: rgba(255, 255, 255, 0.08); }
.tm-toggle .tm-seg button { color: var(--muted); }
.tm-toggle .tm-seg button[aria-pressed="true"] { color: #0b0a09; }
.tm-toggle a.tm-back:hover { background: rgba(255, 255, 255, 0.08); }

/* Let grid columns shrink below their content */
.hero-inner > *, .philosophy > *, .tasting > *, .reserve > *, .rooms > * { min-width: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-inner, .philosophy, .tasting, .reserve { grid-template-columns: 1fr; }
  .seating { text-align: left; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .plate-stage { position: relative; top: 0; }
  .plate-stage .media { aspect-ratio: 4 / 3; }
  .course { opacity: 1; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .rooms { grid-template-columns: 1fr; }
  .room.tall { grid-row: auto; } .room.tall .media { min-height: 420px; }
  .experiences, .visit { grid-template-columns: 1fr; }
  .accolades .container { grid-template-columns: 1fr; }
  .accolade { border-right: 0; border-bottom: 1px solid var(--line); } .accolade:last-child { border-bottom: 0; }
}
@media (max-width: 480px) {
  .wordmark { font-size: 24px; letter-spacing: 0.26em; }
  .hero h1 { font-size: clamp(52px, 15vw, 70px); }
  .hero .actions .btn { flex: 1; padding: 0 16px; }
  .course { grid-template-columns: 44px 1fr; padding: 32px 0; }
  .guests button { height: 54px; font-size: 22px; }
  .cal button { font-size: 13px; }
  .fields { grid-template-columns: 1fr; }
  .booking { padding: 20px 16px; }
  .exp h3 { font-size: 28px; }
  .chef { min-height: 76vh; }
}
@media (min-width: 1680px) {
  .hero h1 { font-size: clamp(60px, 9vw, 200px); }
  .course h3 { font-size: 48px; } .course p, .reserve-info li { font-size: 18px; }
}

/* Desktop: each course gets most of a screen so the pinned photo tells the story */
@media (min-width: 981px) { .course { min-height: 58vh; align-content: center; } }
