:root {
  --navy: #0f2a34;
  --sea: #1d4a58;
  --sea-soft: #2f6878;
  --cream: #f7f2ea;
  --cream-deep: #efe6d8;
  --paper: #fbf8f3;
  --gold: #c9a26b;
  --gold-deep: #a9834f;
  --ink: #1a2327;
  --muted: #5f6b70;
  --line: rgba(26, 35, 39, 0.12);
  --white: #fff;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--sea); text-underline-offset: 3px; }
strong { font-weight: 500; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 em, h2 em { font-style: italic; color: var(--gold-deep); }
h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h3 { font-size: 1.6rem; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1.25rem;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--white); padding: 0.5rem 1rem; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d8b582; }
.btn-line { color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn-line:hover { background: var(--white); color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--cream); }
.btn-dark:hover { background: var(--sea); }
.btn-small { padding: 0.7rem 1.3rem; font-size: 0.72rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--white);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 80px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.nav-links { list-style: none; display: flex; align-items: center; gap: 2.4rem; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  position: relative;
  color: inherit;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: inherit; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 7px 0; transition: transform 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(201, 162, 107, 0.45), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(47, 104, 120, 0.8), transparent 60%),
    linear-gradient(160deg, #1d4a58 0%, #0f2a34 70%);
  background-size: cover;
  background-position: center;
  animation: kenburns 24s ease-in-out infinite alternate;
}
.hero-media.has-image { background-image: var(--hero-image); }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 42, 52, 0.78) 0%, rgba(15, 42, 52, 0.35) 60%, rgba(15, 42, 52, 0.15) 100%),
    linear-gradient(0deg, rgba(15, 42, 52, 0.55), transparent 40%);
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }

.hero-inner { position: relative; z-index: 1; padding: 8rem 0 7rem; }
.hero .eyebrow { color: var(--gold); }
.hero h1 {
  font-size: clamp(4rem, 13vw, 9.5rem);
  line-height: 0.9;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero h1 em { color: var(--gold); padding-left: 0.6em; }
.lede { font-size: clamp(1.15rem, 2vw, 1.35rem); max-width: 30em; opacity: 0.9; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

.hero-rise { opacity: 0; transform: translateY(24px); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(0.2s + var(--d) * 0.14s); }
@keyframes rise { to { opacity: 1; transform: none; } }

.scroll-cue {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 96px;
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.scroll-cue span { position: absolute; inset: 0; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; fill: var(--cream); z-index: 1; }

/* Strip */
.strip { background: var(--cream); padding: 2rem 0 2.5rem; }
.strip-list { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-list li { padding: 0.5rem 1.5rem; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.strip-list li:first-child { border-left: 0; }
.strip-list strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--navy); }
.strip-list span { font-size: 0.9rem; color: var(--muted); }

/* Sections */
.section { padding: clamp(5rem, 11vw, 9rem) 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--navy); color: rgba(247, 242, 234, 0.82); }
.section-dark h2 { color: var(--cream); }
.section-dark h2 em, .section-dark .eyebrow { color: var(--gold); }
.section-dark a { color: var(--gold); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.section-intro { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.split-top { align-items: start; }

.big { font-family: var(--serif); font-size: 1.6rem; line-height: 1.4; color: var(--navy); }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold-deep); margin-top: 2rem; }

/* Photos */
.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  background: linear-gradient(150deg, var(--sea-soft), var(--navy));
}
.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/logo.svg") center / 56px no-repeat;
  opacity: 0.18;
}
.photo:has(img)::before { display: none; }
.photo:nth-child(3n + 2) { background: linear-gradient(150deg, #d7b98c, var(--gold-deep)); }
.photo:nth-child(3n + 3) { background: linear-gradient(150deg, #8aa9b0, var(--sea)); }
.photo img { position: relative; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.06); }
.photo figcaption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 3rem 1.25rem 1rem;
  color: var(--white);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  background: linear-gradient(transparent, rgba(15, 42, 52, 0.6));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.photo:hover figcaption, .photo:focus-visible figcaption { opacity: 1; transform: none; }
.photo-tall { aspect-ratio: 4 / 5; }

.story-media { position: relative; padding: 0 12% 12% 0; }
.photo-inset {
  position: absolute !important;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1 / 1;
  border: 10px solid var(--paper);
  box-sizing: content-box;
}
.story-media::after {
  content: "";
  position: absolute;
  top: -22px;
  left: -22px;
  width: 45%;
  height: 45%;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  pointer-events: none;
}

/* Menu */
.menu { max-width: 860px; margin: 0 auto; background: var(--paper); padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); position: relative; }
.menu::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201, 162, 107, 0.35); pointer-events: none; }
.menu-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 2rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.menu-tab {
  background: none;
  border: 0;
  padding: 0.8rem 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  position: relative;
}
.menu-tab[aria-selected="true"] { color: var(--navy); }
.menu-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); }
.menu-panel { animation: fade 0.6s var(--ease); }
.menu-when { text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--gold-deep); margin: 0 0 2rem; }
.dish { padding: 1.1rem 0; border-bottom: 1px dashed var(--line); }
.dish:last-child { border-bottom: 0; }
.dish-top { display: flex; align-items: baseline; gap: 0.75rem; }
.dish-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--navy); margin: 0; }
.dish-dots { flex: 1; border-bottom: 1px dotted rgba(26, 35, 39, 0.3); transform: translateY(-5px); }
.dish-price { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); }
.dish-desc { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.98rem; }
.tag {
  display: inline-grid;
  place-items: center;
  min-width: 1.6em;
  height: 1.6em;
  padding: 0 0.3em;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--gold-deep);
  vertical-align: middle;
}
.menu-key { margin: 2rem 0 0; text-align: center; font-size: 0.85rem; color: var(--muted); }
.menu-key .tag { margin: 0 0.3rem 0 1rem; }
.menu-key .tag:first-child { margin-left: 0; }
.note { text-align: center; margin-top: 2.5rem; color: var(--muted); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Quote band */
.quote-band { position: relative; padding: clamp(6rem, 14vw, 11rem) 0; color: var(--white); text-align: center; overflow: hidden; background: var(--sea); }
.quote-media {
  position: absolute;
  inset: -10% 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(201, 162, 107, 0.5), transparent 60%), linear-gradient(180deg, var(--sea), var(--navy));
  background-size: cover;
  background-position: center;
}
.quote-media.has-image { background-image: linear-gradient(rgba(15, 42, 52, 0.62), rgba(15, 42, 52, 0.62)), var(--quote-image); }
.quote-inner { position: relative; max-width: 880px; }
.stars { color: var(--gold); letter-spacing: 0.4em; margin-bottom: 1.5rem; }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.25; margin: 0 0 1.75rem; }
.quote-src { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; margin: 0; }
.quote-src a { color: var(--gold); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 12px; }
.gallery .photo { aspect-ratio: auto; min-height: 220px; cursor: zoom-in; }
.gallery .photo:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery .photo:nth-child(4), .gallery .photo:nth-child(6) { grid-column: span 2; }

.insta { margin-top: 5rem; text-align: center; }
.insta-head h3 { font-size: 2rem; }
.insta-head a { color: var(--gold-deep); font-style: italic; text-decoration: none; }
.insta-embeds { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; margin-top: 2rem; }
.insta-embeds .instagram-media { flex: 1 1 320px; max-width: 400px !important; min-width: 280px !important; }

/* Booking form */
.book-notes { padding: 0; list-style: none; margin: 2rem 0 0; }
.book-notes li { padding-left: 1.75rem; position: relative; margin-bottom: 0.6rem; }
.book-notes li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.book-form { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(201, 162, 107, 0.3); padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: var(--radius); }
.field { display: flex; flex-direction: column; margin-bottom: 1.25rem; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 1rem; }
.field label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.45rem; }
.optional { text-transform: none; letter-spacing: 0; color: rgba(247, 242, 234, 0.55); }
.field input, .field select, .field textarea {
  font: inherit;
  font-weight: 400;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(247, 242, 234, 0.2);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  width: 100%;
  color-scheme: dark;
  transition: border-color 0.3s var(--ease);
}
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field [aria-invalid="true"] { border-color: #e39a7b; }
.form-error { color: #f0b39a; margin: 0 0 1rem; font-size: 0.95rem; }
.form-hint { font-size: 0.82rem; opacity: 0.65; margin: 1rem 0 0; text-align: center; }

/* Visit */
.visit { display: grid; grid-template-columns: 5fr 7fr; gap: 0; align-items: stretch; box-shadow: 0 30px 60px -30px rgba(15, 42, 52, 0.35); }
.visit-card { background: var(--cream); padding: clamp(2rem, 5vw, 4rem); }
address { font-style: normal; font-size: 1.15rem; line-height: 1.7; }
.phone { font-family: var(--serif); font-size: 1.7rem; text-decoration: none; color: var(--navy); }
.visit-card h3 { margin-top: 2rem; font-size: 1.4rem; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 0.75rem; }
.hours th, .hours td { padding: 0.5rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 300; }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { font-weight: 500; color: var(--navy); }
.hours tr.today th::after { content: "Today"; margin-left: 0.6rem; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-deep); }
.small { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.75rem; }
.map { min-height: 420px; background: var(--cream-deep); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(0.35) contrast(1.05); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(247, 242, 234, 0.7); font-size: 0.95rem; padding-top: 4.5rem; }
.site-footer a { color: rgba(247, 242, 234, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.brand-light { color: var(--cream) !important; }
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin-top: 0.75rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; }
.footer-grid h4 { font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-grid p { margin: 0; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; padding: 1.5rem 0 2rem; border-top: 1px solid rgba(247, 242, 234, 0.12); font-size: 0.85rem; }
.footer-base p { margin: 0; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  background: rgba(10, 26, 32, 0.95);
  animation: fade 0.35s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: 82vh; max-width: 100%; margin: 0 auto; }
.lightbox figcaption { color: var(--cream); font-family: var(--serif); font-style: italic; font-size: 1.3rem; margin-top: 1rem; }
.lightbox button { background: none; border: 0; color: var(--cream); font-size: 2.6rem; cursor: pointer; line-height: 1; padding: 0.5rem; }
.lb-close { position: absolute; top: 16px; right: 20px; }

/* Mobile booking bar */
.mobile-bar { display: none; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .split, .visit { grid-template-columns: 1fr; }
  .strip-list { grid-template-columns: repeat(2, 1fr); row-gap: 1.25rem; }
  .strip-list li:nth-child(3) { border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .photo:nth-child(1) { grid-column: span 2; grid-row: auto; min-height: 300px; }
  .gallery .photo:nth-child(4), .gallery .photo:nth-child(6) { grid-column: auto; }

  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: var(--navy);
    color: var(--cream);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav-links a:not(.btn) { font-family: var(--serif); font-size: 2.2rem; letter-spacing: 0; text-transform: none; }
  .nav-links.open { opacity: 1; visibility: visible; }
  .site-header.menu-open { color: var(--cream); background: transparent; box-shadow: none; backdrop-filter: none; }
  .menu-open ~ .mobile-bar, body:has(.menu-open) .mobile-bar { transform: translateY(100%); }

  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 2fr;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 90;
    background: var(--navy);
    border-top: 1px solid rgba(201, 162, 107, 0.35);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease);
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar a { padding: 1rem; text-align: center; color: var(--cream); text-decoration: none; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; }
  .mobile-bar-cta { background: var(--gold); color: var(--navy) !important; font-weight: 500; }
  .site-footer { padding-bottom: 56px; }
}

@media (max-width: 560px) {
  .field-row { flex-direction: column; gap: 0; }
  .strip-list li { padding: 0.25rem 1rem; }
  .hero h1 em { padding-left: 0.3em; }
  .scroll-cue { display: none; }
  .story-media::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
