/* ==========================================================================
   THE LOBSTER POT · FELPHAM
   Coastal Editorial Design System (Inspired by Mock Design #1)
   ========================================================================== */

:root {
  /* Palette */
  --navy: #13344d;
  --navy-hover: #1b486b;
  --navy-deep: #0c2335;
  --cream: #f6f2eb;
  --cream-soft: #faf8f3;
  --cream-warm: #ede6da;
  --ink: #172e40;
  --muted: #546675;
  --border-sand: rgba(19, 52, 77, 0.12);
  --border-strong: rgba(19, 52, 77, 0.24);
  --sunset-gold: #c68436;
  --sunset-soft: rgba(198, 132, 54, 0.14);
  --white: #ffffff;

  /* Typography */
  --font-serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout & Radii */
  --container-max: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-soft: 0 12px 32px rgba(19, 52, 77, 0.08);
  --shadow-card: 0 10px 26px rgba(19, 52, 77, 0.1);
  --shadow-elevated: 0 24px 60px rgba(12, 35, 53, 0.22);

  /* Motion */
  --ease-coastal: cubic-bezier(0.22, 1, 0.36, 1);
  --header-height: 92px;
}

/* ---------- Base Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  /* Subtle warm coastal paper / fine sand grain texture inspired by Mock #1 */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.032'/%3E%3C/svg%3E");
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

/* Focus rings */
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
}

/* ---------- Layout Helpers ---------- */
.container {
  width: min(100% - 40px, var(--container-max));
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(64px, 8vw, 108px);
}

.section-header {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 54px);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.align-left {
  text-align: left;
}

.section-lead {
  margin: 0;
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition:
    transform 0.25s var(--ease-coastal),
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-1.5px);
}

.btn:active {
  transform: translateY(0);
}

.btn-navy {
  background-color: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(19, 52, 77, 0.2);
}

.btn-navy:hover {
  background-color: var(--navy-hover);
  box-shadow: 0 12px 26px rgba(19, 52, 77, 0.26);
}

.btn-white {
  background-color: var(--white);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(12, 35, 53, 0.14);
}

.btn-white:hover {
  background-color: var(--cream-soft);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover {
  background-color: var(--navy);
  color: var(--white);
}

.btn-lg {
  padding: 15px 38px;
  font-size: 0.8rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.72rem;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   HEADER & NAVIGATION (Transparent over Hero Sky -> Frosted Cream on Scroll)
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 900;
  padding-block: 18px;
  transition:
    background-color 0.35s var(--ease-coastal),
    padding 0.35s var(--ease-coastal),
    box-shadow 0.35s var(--ease-coastal),
    backdrop-filter 0.35s var(--ease-coastal);
}

.site-header.is-scrolled {
  padding-block: 10px;
  background-color: rgba(246, 242, 235, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(19, 52, 77, 0.08);
  border-bottom: 1px solid var(--border-sand);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-crest {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  transition: transform 0.3s var(--ease-coastal);
}

.brand-crest:hover {
  transform: scale(1.04);
}

.crest-svg {
  width: 84px;
  height: 84px;
  filter: drop-shadow(0 8px 18px rgba(12, 35, 53, 0.25));
  transition: width 0.35s var(--ease-coastal), height 0.35s var(--ease-coastal);
}

.site-header.is-scrolled .crest-svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 4px 10px rgba(12, 35, 53, 0.14));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
}

.nav-link {
  position: relative;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  padding-block: 6px;
  text-shadow: 0 1px 10px rgba(12, 42, 74, 0.35);
  transition: color 0.25s ease, opacity 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease-coastal);
}

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

.site-header.is-scrolled .nav-link {
  color: var(--navy);
  text-shadow: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-book-nav {
  background-color: var(--white);
  color: var(--navy);
  padding: 12px 24px;
  box-shadow: 0 6px 18px rgba(12, 35, 53, 0.18);
}

.btn-book-nav:hover {
  background-color: var(--cream-soft);
}

.site-header.is-scrolled .btn-book-nav {
  background-color: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(19, 52, 77, 0.2);
}

.site-header.is-scrolled .btn-book-nav:hover {
  background-color: var(--navy-hover);
}

/* Mobile menu button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(19, 52, 77, 0.25);
  backdrop-filter: blur(6px);
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 1.8px;
  background-color: var(--white);
  border-radius: 2px;
  transition: background-color 0.25s ease;
}

.site-header.is-scrolled .mobile-menu-toggle {
  border-color: var(--border-strong);
  background: var(--cream-soft);
}

.site-header.is-scrolled .mobile-menu-toggle span {
  background-color: var(--navy);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
  visibility: hidden;
}

.mobile-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 35, 53, 0.52);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer.is-open .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background-color: var(--cream);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-coastal);
  box-shadow: -12px 0 40px rgba(12, 35, 53, 0.2);
}

.mobile-drawer.is-open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-sand);
}

.mobile-drawer-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
}

.icon-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-sand);
  background: var(--cream-soft);
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.icon-close:hover {
  background: var(--cream-warm);
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-block: 24px;
}

.mobile-nav-link {
  padding: 13px 6px;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--navy);
  border-bottom: 1px solid rgba(19, 52, 77, 0.08);
}

.mobile-drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-drawer-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

.mobile-drawer-meta a {
  color: var(--navy);
  font-weight: 600;
}

/* ==========================================================================
   HERO SECTION (Mock Design #1 Flagship Composition)
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(610px, 88vh, 840px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  background-color: #2c78be;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

/* Gentle azure sky scrim across upper sky so white display serif reads crisply */
.hero-sky-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(16, 67, 122, 0.42) 0%,
    rgba(24, 92, 158, 0.22) 34%,
    rgba(24, 92, 158, 0.04) 56%,
    rgba(12, 35, 53, 0.06) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: clamp(104px, 12.5vh, 144px);
  padding-bottom: clamp(240px, 36vh, 380px);
}

.hero-title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(3.1rem, 7.2vw, 5.4rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--white);
  text-shadow: 0 4px 28px rgba(13, 52, 96, 0.34);
}

.hero-subtitle {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  font-size: clamp(0.75rem, 1.3vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 14px rgba(13, 52, 96, 0.38);
}

.hero-subtitle .dot {
  opacity: 0.78;
}

/* Signature smooth cream wave divider at base of hero */
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: clamp(46px, 6.2vw, 88px);
}

/* ==========================================================================
   INTRO, 3 PILLARS & SIGNATURE DISHES SHOWCASE (Directly from Mock #1)
   ========================================================================== */
.intro-showcase {
  padding-top: clamp(32px, 4.5vw, 56px);
}

.intro-copy {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(44px, 6vw, 66px);
}

.intro-statement {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.1vw, 2.35rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--navy);
}

/* Three coastal pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  max-width: 960px;
  margin-inline: auto;
  margin-bottom: clamp(48px, 6.5vw, 72px);
}

.pillar-item {
  text-align: center;
  padding-inline: 8px;
}

.pillar-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-icon svg {
  width: 52px;
  height: 52px;
}

.pillar-title {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}

.pillar-desc {
  margin: 0 auto;
  max-width: 260px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* 3-across rounded signature dish cards */
.signature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}

.dish-card {
  margin: 0;
  background: var(--cream-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-sand);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-coastal), box-shadow 0.35s var(--ease-coastal);
}

.dish-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.dish-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--cream-warm);
}

.dish-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  transition: transform 0.6s var(--ease-coastal);
}

.dish-card:hover .dish-img-wrap img {
  transform: scale(1.05);
}

.dish-caption {
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dish-name {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.25;
}

.dish-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.center-cta {
  text-align: center;
}

/* ==========================================================================
   FULL INTERACTIVE MENU SECTION
   ========================================================================== */
.menu-section {
  position: relative;
  border-top: 1px solid var(--border-sand);
  background: linear-gradient(180deg, rgba(250, 248, 243, 0.6) 0%, rgba(246, 242, 235, 0.2) 100%);
}

.menu-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.menu-tab {
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--cream-soft);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease;
}

.menu-tab:hover {
  border-color: var(--navy);
  background: var(--cream-warm);
}

.menu-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(19, 52, 77, 0.18);
}

.dietary-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.filter-chip {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-sand);
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  color: var(--navy);
  border-color: var(--border-strong);
}

.filter-chip.is-active {
  background: var(--cream-warm);
  color: var(--navy);
  border-color: var(--navy);
}

/* Editorial menu sheet */
.menu-sheet {
  background: var(--cream-soft);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4.5vw, 52px);
  box-shadow: var(--shadow-soft);
}

.menu-sheet-note {
  margin: 0 0 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-sand);
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 46px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(19, 52, 77, 0.14);
}

.menu-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.menu-item-name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.34rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.25;
}

.menu-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.menu-item-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.58;
}

.menu-item-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-signature {
  background-color: var(--sunset-soft);
  color: #8f5818;
}

.badge-diet {
  background-color: rgba(19, 52, 77, 0.08);
  color: var(--navy);
}

.menu-empty-state {
  text-align: center;
  padding: 36px 16px;
  color: var(--muted);
}

.menu-empty-state p {
  margin: 0 0 18px;
}

/* Daily Specials Callout */
.specials-banner {
  margin-top: 32px;
  padding: clamp(26px, 3.8vw, 38px) clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy) 0%, #194466 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 16px 36px rgba(19, 52, 77, 0.22);
}

.specials-banner-text {
  max-width: 680px;
}

.specials-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f9ddb3;
}

.specials-banner h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--white);
}

.specials-banner p {
  margin: 0;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.specials-banner-action {
  flex-shrink: 0;
}

/* ==========================================================================
   STORY & SEASIDE HOSPITALITY SECTION
   ========================================================================== */
.story-section {
  border-top: 1px solid var(--border-sand);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.story-visuals {
  position: relative;
}

.story-photo-primary {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-sand);
  box-shadow: var(--shadow-card);
  aspect-ratio: 3 / 2;
}

.story-photo-primary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 78%;
}

.story-text {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.hospitality-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--border-sand);
}

.hospitality-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hospitality-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--navy);
  margin-top: 8px;
  flex-shrink: 0;
}

.hospitality-item h4 {
  margin: 0 0 3px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.hospitality-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.gallery-section {
  border-top: 1px solid var(--border-sand);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(210px, 18.5vw, 255px);
  gap: 18px;
}

.gallery-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: var(--cream-warm);
  border: 1px solid var(--border-sand);
  cursor: pointer;
  padding: 0;
  text-align: left;
  display: block;
}

.gallery-card.is-wide {
  grid-column: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-coastal);
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 35, 53, 0.78) 0%, rgba(12, 35, 53, 0.08) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay,
.gallery-card:focus-visible .gallery-overlay {
  opacity: 1;
}

.gallery-overlay strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
}

.gallery-overlay span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 3px;
}

/* ==========================================================================
   SIGNATURE SUNSET FIND US & CONTACT SECTION (Directly Inspired by Mock #1)
   ========================================================================== */
.find-us-sunset {
  position: relative;
  background-color: var(--cream);
  overflow: hidden;
}

.sunset-top-wave {
  position: relative;
  z-index: 4;
  margin-bottom: -48px;
  line-height: 0;
  pointer-events: none;
}

.sunset-top-wave svg {
  display: block;
  width: 100%;
  height: clamp(32px, 4.5vw, 56px);
}

.sunset-stage {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
}

.sunset-photo-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.sunset-photo-layer img {
  width: 68%;
  height: 100%;
  object-fit: cover;
  object-position: 28% center;
}

/* Signature diagonal/soft dissolve from golden Felpham sunset into warm cream */
.sunset-fade-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    102deg,
    rgba(246, 242, 235, 0) 0%,
    rgba(246, 242, 235, 0.08) 32%,
    rgba(246, 242, 235, 0.74) 47%,
    rgba(246, 242, 235, 0.96) 56%,
    #f6f2eb 64%
  );
}

.sunset-content-wrap {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  padding-block: clamp(72px, 9vw, 112px);
}

.contact-card {
  padding: clamp(20px, 3vw, 36px) clamp(16px, 3vw, 40px);
}

.contact-heading {
  margin: 0 0 28px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
}

.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 30px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(19, 52, 77, 0.07);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-value {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.55;
}

.contact-sub {
  display: block;
  margin-top: 3px;
  font-size: 0.85rem;
  color: var(--muted);
}

.phone-link {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy);
}

.phone-link:hover {
  text-decoration: underline;
}

.text-link,
.text-link-btn {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: none;
  padding: 0;
  border-bottom: 1px solid rgba(19, 52, 77, 0.35);
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.text-link:hover,
.text-link-btn:hover {
  border-color: var(--navy);
  opacity: 0.82;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Practical Visitor Strip */
.visitor-strip {
  position: relative;
  z-index: 3;
  background-color: var(--cream-warm);
  border-top: 1px solid var(--border-sand);
  padding-block: 26px;
}

.visitor-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.visitor-note strong {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
}

.visitor-note span {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ==========================================================================
   FOOTER BAR
   ========================================================================== */
.site-footer {
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 30px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
}

.footer-brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   BOOKING MODAL
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 35, 53, 0.62);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  max-height: min(92vh, 780px);
  overflow-y: auto;
  background-color: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.3s var(--ease-coastal);
}

.modal.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px 14px;
  border-bottom: 1px solid var(--border-sand);
  background: var(--cream-soft);
}

.modal-eyebrow {
  margin: 0 0 3px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.modal-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.1;
}

.modal-body {
  padding: 18px 26px 22px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-field {
  margin-bottom: 12px;
}

.form-field label,
.field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background-color: var(--white);
  font-size: 0.94rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(19, 52, 77, 0.12);
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.time-slot {
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.2s ease;
}

.time-slot:hover {
  border-color: var(--navy);
  background: var(--cream-soft);
}

.time-slot.is-selected {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: var(--ink);
  cursor: pointer;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  flex-shrink: 0;
}

.form-error {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #fdf0ed;
  border: 1px solid #e4b4aa;
  color: #9b2c1a;
  font-size: 0.86rem;
  font-weight: 500;
}

.form-footnote {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.form-footnote a {
  color: var(--navy);
  font-weight: 700;
}

/* Booking Confirmation State */
.booking-confirmation {
  text-align: center;
  padding-block: 10px;
}

.confirmation-badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirmation-badge svg {
  width: 28px;
  height: 28px;
}

.booking-confirmation h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--navy);
}

.confirmation-sub {
  margin: 0 0 20px;
  font-size: 0.94rem;
  color: var(--muted);
}

.confirmation-summary {
  margin: 0 0 22px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--cream-soft);
  border: 1px solid var(--border-sand);
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  font-size: 0.9rem;
}

.confirmation-summary dt {
  font-weight: 700;
  color: var(--navy);
}

.confirmation-summary dd {
  margin: 0;
  color: var(--ink);
}

.confirmation-note {
  margin: 0 0 22px;
  font-size: 0.86rem;
  color: var(--muted);
}

.confirmation-note a {
  color: var(--navy);
  font-weight: 700;
}

/* ==========================================================================
   GALLERY LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 40, 0.9);
  backdrop-filter: blur(6px);
}

.lightbox-figure {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: min(960px, 86vw);
  text-align: center;
}

.lightbox-figure img {
  max-height: 76vh;
  margin-inline: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  margin-top: 14px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.lightbox-caption strong {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.lightbox-caption span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(19, 52, 77, 0.55);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(19, 52, 77, 0.9);
}

.lightbox-close {
  top: 22px;
  right: 24px;
}

.lightbox-prev {
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   SUBTLE SCROLL REVEAL ANIMATION
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-coastal), transform 0.7s var(--ease-coastal);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-visuals {
    max-width: 640px;
    margin-inline: auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }

  .sunset-photo-layer img {
    width: 100%;
    object-position: 22% center;
  }

  .sunset-fade-mask {
    background: linear-gradient(
      to bottom,
      rgba(246, 242, 235, 0) 0%,
      rgba(246, 242, 235, 0.25) 34%,
      rgba(246, 242, 235, 0.92) 52%,
      #f6f2eb 65%
    );
  }

  .sunset-content-wrap {
    grid-template-columns: 1fr;
    padding-top: 260px;
    padding-bottom: 56px;
  }

  .sunset-spacer {
    display: none;
  }

  .contact-card {
    padding: 28px 0 0;
  }
}

@media (max-width: 820px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .crest-svg {
    width: 68px;
    height: 68px;
  }

  .btn-book-nav {
    padding: 10px 16px;
    font-size: 0.72rem;
  }

  .pillars-grid,
  .signature-grid,
  .menu-items-grid,
  .visitor-strip-grid {
    grid-template-columns: 1fr;
  }

  .specials-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, var(--container-max));
  }

  .hero {
    min-height: 580px;
  }

  .hero-content {
    padding-top: 118px;
    padding-bottom: 220px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .gallery-card.is-wide {
    grid-column: span 1;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}
