/* ========================================
   SALTY'S YARMOUTH
   Brand Guide 2026/2027 — Quay Hospitality
   DM Sans (Abrade) + Barlow (Sweet Gothic)
   Deep Water · Harbor Wave · Sea Salt
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@700;800&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ─── Design Tokens ─────────────────────── */
:root {
  /* Brand Palette */
  --color-deep-water:  #104659;
  --color-harbor-wave: #387185;
  --color-sea-glass:   #ABC6C9;
  --color-sand-dune:   #C1A46B;
  --color-sea-salt:    #FEF7E7;

  /* Primary */
  --color-primary:           #104659;
  --color-primary-container: #387185;
  --color-primary-fixed:     #ABC6C9;
  --color-primary-fixed-dim: #8fb3b8;
  --on-primary:              #ffffff;
  --on-primary-container:    #041821;

  /* Surface — Sea Salt tones */
  --surface:                    #FEF7E7;
  --surface-bright:             #ffffff;
  --surface-dim:                #e8dfc8;
  --surface-container-lowest:   #ffffff;
  --surface-container-low:      #f9f2e0;
  --surface-container:          #f3ebda;
  --surface-container-high:     #ede5d3;
  --surface-container-highest:  #e7dfcc;

  /* On-colors & utility */
  --on-surface:         #0d1e26;
  --on-surface-variant: #2a4a59;
  --secondary:          #4a6a78;
  --outline:            #6a8a98;
  --outline-variant:    #c5d9db;

  /* Gradient */
  --gradient-primary: linear-gradient(135deg, #104659 0%, #387185 100%);

  /* Legacy aliases */
  --color-dark:       #0d1e26;
  --color-dark-bg:    #104659;
  --color-white:      #ffffff;
  --color-off-white:  #FEF7E7;
  --color-text:       #2a4a59;
  --color-text-light: #4a6a78;
  --color-border:     rgba(171,198,201,0.3);
  --color-accent:     #C1A46B;

  /* Typography */
  --font-display: 'Barlow', system-ui, sans-serif;   /* Sweet Gothic sub — logo/display only */
  --font-heading: 'DM Sans', system-ui, sans-serif;  /* Abrade sub — headings */
  --font-primary: 'DM Sans', system-ui, sans-serif;  /* Abrade sub — body */

  /* Spacing rhythm */
  --header-height: 148px; /* utility(40) + brand(68) + nav(40) */

  /* Radius — sharp/architectural */
  --radius-sm: 0.125rem;
  --radius-md: 0.25rem;
  --radius-lg: 0.5rem;

  /* Ambient shadow */
  --shadow:    0 4px 32px rgba(16,70,89,0.07);
  --shadow-lg: 0 12px 48px rgba(16,70,89,0.12);

  --transition: 0.35s ease;
}

/* ─── Reset & Base ──────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-primary);
  background: var(--surface);
  color: var(--on-surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-weight: 400;
}
body::selection, body *::selection { background: var(--color-sea-glass); }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }

/* ─── Typography ────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--on-surface);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.2rem); font-weight: 600; }
h3 { font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: 0; }

.section-subtitle {
  font-family: var(--font-primary);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-sand-dune);
  font-weight: 600;
  display: inline-block;
}

/* ─── Ken Burns ─────────────────────────── */
@keyframes kenburns-1 {
  0%   { transform: scale(1)    translate(0,0); }
  50%  { transform: scale(1.10) translate(-1.5%,-1%); }
  100% { transform: scale(1)    translate(0,0); }
}
@keyframes kenburns-2 {
  0%   { transform: scale(1.04) translate(1%,0); }
  50%  { transform: scale(1.12) translate(-1%,-1.5%); }
  100% { transform: scale(1.04) translate(1%,0); }
}
@keyframes kenburns-3 {
  0%   { transform: scale(1)    translate(0,0); }
  50%  { transform: scale(1.08) translate(1.5%,-0.5%); }
  100% { transform: scale(1)    translate(0,0); }
}

.hero-slide            { animation: kenburns-2 25s ease-in-out infinite; }
.box-item img          { animation: kenburns-1 18s ease-in-out infinite; }
.box-item:nth-child(2) img { animation: kenburns-2 22s ease-in-out infinite; }
.box-item:nth-child(3) img { animation: kenburns-3 20s ease-in-out infinite; }
.box-item:nth-child(4) img { animation: kenburns-1 24s ease-in-out infinite; }
.box-item:hover img    { animation-play-state: paused; transform: scale(1.04); }
.split-image img       { animation: kenburns-3 22s ease-in-out infinite; }
.about-image-primary img { animation: kenburns-2 20s ease-in-out infinite; }
.gallery-item img      { animation: kenburns-1 20s ease-in-out infinite; }
.gallery-item:nth-child(2) img { animation: kenburns-2 22s ease-in-out infinite; }
.gallery-item:nth-child(3) img { animation: kenburns-3 18s ease-in-out infinite; }
.gallery-item:nth-child(4) img { animation: kenburns-1 24s ease-in-out infinite; }
.gallery-item:nth-child(5) img { animation: kenburns-2 20s ease-in-out infinite; }
.gallery-item:nth-child(6) img { animation: kenburns-3 22s ease-in-out infinite; }
.gallery-item:nth-child(7) img { animation: kenburns-1 19s ease-in-out infinite; }
.gallery-item:nth-child(8) img { animation: kenburns-2 21s ease-in-out infinite; }
.gallery-item:nth-child(9) img { animation: kenburns-3 23s ease-in-out infinite; }
.gallery-item:hover img { animation-play-state: paused; transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .box-item img, .split-image img,
  .about-image-primary img, .gallery-item img { animation: none; }
}

/* ─── Loader ────────────────────────────── */
.loader-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--color-primary);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.9s ease, visibility 0.9s;
}
.loader-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-boat { width: 72px; height: 72px; animation: spin 2.5s linear infinite; margin-bottom: 1.8rem; }
.loader-boat svg { width: 100%; height: 100%; }
.loader-boat svg path, .loader-boat svg rect { fill: var(--color-sea-glass); }
.loader-boat svg line { stroke: var(--color-sea-glass); }
.loader-boat svg path:nth-child(3),
.loader-boat svg path:nth-child(4) { fill: var(--color-sea-salt); opacity: 0.7; }

@keyframes spin { to { transform: rotate(360deg); } }

.loader-text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(171,198,201,0.7);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ─── Triple-Stacked Header ─────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(254,247,231,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

/* Layer 1 — Utility */
.header-utility {
  background: rgba(249,242,224,0.6);
  border-bottom: 1px solid rgba(171,198,201,0.22);
  padding: 8px 0;
}
.header-utility-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: flex; justify-content: space-between; align-items: center;
}
.header-utility a {
  font-family: var(--font-primary);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary);
  transition: color var(--transition);
}
.header-utility a:hover { color: var(--color-primary); }
.header-utility-left  { display: flex; gap: 2.5rem; }
.header-utility-right { display: flex; gap: 1rem; align-items: center; }
.header-utility-right .soc-icon { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; }
.header-utility-right .soc-icon svg { width: 13px; height: 13px; fill: var(--secondary); transition: fill var(--transition); }
.header-utility-right .soc-icon:hover svg { fill: var(--color-primary); }

/* Layer 2 — Brand */
.header-brand {
  padding: 20px 0 16px;
  text-align: center;
  border-bottom: 1px solid rgba(171,198,201,0.2);
}
.brand-wordmark {
  display: inline-flex;
  align-items: center;
  transition: opacity var(--transition);
}
.brand-wordmark img {
  height: clamp(38px, 5vw, 54px);
  width: auto;
  display: block;
}
.brand-wordmark:hover { opacity: 0.82; }

/* Layer 3 — Nav */
.header-nav {
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-nav-inner {
  max-width: 1280px; width: 100%; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; position: relative;
}
.nav-links {
  display: flex; align-items: center; gap: 2.8rem; list-style: none;
}
.nav-links a {
  font-family: var(--font-primary);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.btn-book {
  position: absolute; right: 40px;
  font-family: var(--font-primary);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-primary);
  background: var(--gradient-primary);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-book:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-book:active { transform: scale(0.98); }

/* Mobile hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; z-index: 10001; padding: 8px;
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
}
.nav-hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--on-surface); transition: all 0.3s ease; transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--color-primary);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.2rem;
  opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-sea-salt);
  padding: 10px 20px;
  opacity: 0; transform: translateY(12px); transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu a:hover { color: var(--color-sea-glass); border-bottom-color: var(--color-sea-glass); }

/* ─── Hero Section ──────────────────────── */
.hero {
  position: relative;
  min-height: 700px; height: 88vh; max-height: 960px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}

.hero-slider { position: absolute; inset: 0; }

.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease-in-out;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(16,70,89,0.22) 0%, rgba(16,70,89,0.58) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 32px; max-width: 900px;
  display: flex; flex-direction: column; align-items: center;
}

.hero-est {
  font-family: var(--font-primary);
  font-size: 0.68rem; letter-spacing: 0.38em;
  text-transform: uppercase; color: rgba(171,198,201,0.92);
  margin-bottom: 2rem; font-weight: 500;
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 700; line-height: 1.08;
  letter-spacing: 0.01em;
  margin-bottom: 2rem;
}

/* Vertical divider line */
.hero-divider {
  width: 1px; height: 72px;
  background: rgba(171,198,201,0.45);
  margin: 0 auto 2rem;
}

.hero-description {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.84);
  max-width: 580px;
  line-height: 1.75;
  font-weight: 400;
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.hero-buttons {
  display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
}

.hero-dots {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 10px;
}
.hero-dot {
  width: 36px; height: 1px;
  background: rgba(255,255,255,0.35);
  border: none; cursor: pointer; transition: background var(--transition);
  padding: 4px 0; border-radius: 0;
}
.hero-dot.active { background: var(--color-sea-glass); }
.hero-dot:hover  { background: rgba(255,255,255,0.7); }

/* ─── Buttons ───────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-primary);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none; cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--gradient-primary);
  color: var(--on-primary);
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98); }

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.45);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.75); }

.btn-dark {
  background: var(--color-primary);
  color: var(--color-sea-salt);
}
.btn-dark:hover { background: var(--color-primary-container); color: var(--on-primary); }

/* ─── Sections ──────────────────────────── */
.section { padding: clamp(5rem, 10vh, 8rem) 20px; }
.section-light { background: var(--surface-container-low); }
.section-dark  { background: var(--color-primary); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--color-sea-salt); }

.section-header {
  max-width: 820px; margin: 0 auto clamp(3rem, 6vh, 5rem);
  text-align: center;
}
.section-header .section-subtitle { margin-bottom: 1rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1rem; color: var(--secondary); line-height: 1.75; }

.container { max-width: 1280px; margin: 0 auto; }
.section-narrow { max-width: 960px; margin: 0 auto; }

/* ─── Box Grid (Editorial Bento) ────────── */
.box-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}
.box-item {
  position: relative; overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3; background: var(--surface-container-highest);
}
.box-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.box-item:hover img { transform: scale(1.04); }

.box-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,70,89,0.0) 40%, rgba(16,70,89,0.72) 100%);
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: 28px; transition: background 0.5s ease;
}
.box-item:hover .box-item-overlay {
  background: linear-gradient(180deg, rgba(16,70,89,0.0) 20%, rgba(16,70,89,0.82) 100%);
}
.box-item-overlay h3 {
  color: var(--color-white);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 600; margin-bottom: 0.25rem; letter-spacing: 0.01em;
}
.box-item-overlay p {
  color: rgba(171,198,201,0.88);
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
}

/* ─── Split sections ────────────────────── */
.split-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem); align-items: center;
  max-width: 1280px; margin: 0 auto;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-image { overflow: hidden; aspect-ratio: 4/5; }
.split-image img { width: 100%; height: 100%; object-fit: cover; }

.split-text .section-subtitle { margin-bottom: 0.8rem; }
.split-text h2 { margin-bottom: 1.25rem; }
.split-text p { font-size: 1rem; color: var(--secondary); line-height: 1.8; margin-bottom: 1rem; }
.split-text .btn { margin-top: 1.25rem; }

/* ─── Ferry Timetable ────────────────────────── */
.timetable-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.timetable-intro h2 { margin-bottom: 1rem; }
.timetable-disclaimer {
  font-family: var(--font-primary);
  font-size: 0.82rem;
  color: var(--secondary);
  line-height: 1.75;
  margin: 0;
}
.timetable-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.ferry-timetable {
  width: 100%;
  font-family: var(--font-primary);
  border: 1px solid rgba(171,198,201,0.35);
  border-radius: 4px;
  overflow: hidden;
}
.ferry-timetable__header {
  background: var(--color-primary);
  color: var(--color-sea-salt);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.75rem 1.1rem;
}
.ferry-timetable__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.ferry-timetable__table thead tr {
  background: rgba(16,70,89,0.07);
}
.ferry-timetable__table--return thead tr {
  background: rgba(193,164,107,0.1);
  border-top: 2px solid rgba(16,70,89,0.2);
}
.ferry-timetable__table th {
  padding: 0.65rem 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-align: left;
  border-bottom: 1px solid rgba(171,198,201,0.4);
}
.ferry-timetable__table th em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-sand-dune);
  text-transform: none;
  letter-spacing: 0.03em;
  font-size: 0.72rem;
}
.ferry-timetable__table td {
  padding: 0.55rem 1rem;
  color: var(--on-surface);
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid rgba(171,198,201,0.18);
  font-size: 0.9rem;
}
.ferry-timetable__table tbody tr:last-child td { border-bottom: none; }
.ferry-timetable__table tbody tr:nth-child(even) td {
  background: rgba(171,198,201,0.07);
}
.ferry-timetable__footnote {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-style: italic;
  color: var(--secondary);
  text-align: center;
  padding: 0.6rem 1rem;
  background: rgba(193,164,107,0.08);
  border-top: 1px solid rgba(171,198,201,0.3);
  margin: 0;
}

/* ─── Getting Here Cards ────────────────────── */
.getting-here-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  max-width: 860px;
  margin: 0 auto;
}
.getting-here-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.4rem 1.5rem;
  background: var(--surface-bright);
  border: 1.5px solid rgba(171,198,201,0.35);
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-deep-water);
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.18s;
  box-shadow: 0 2px 10px rgba(16,70,89,0.06);
}
.getting-here-card:hover {
  border-color: var(--color-harbor-wave);
  box-shadow: 0 6px 24px rgba(16,70,89,0.12);
  transform: translateY(-2px);
  color: var(--color-deep-water);
}
.getting-here-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(56,113,133,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-harbor-wave);
}
.getting-here-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-harbor-wave);
}
.getting-here-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.getting-here-text strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-deep-water);
  line-height: 1.2;
}
.getting-here-text span {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  color: var(--color-harbor-wave);
  opacity: 0.85;
}
.getting-here-arrow {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  opacity: 0.4;
  transition: opacity 0.2s, transform 0.2s;
  stroke: var(--color-deep-water);
}
.getting-here-card:hover .getting-here-arrow {
  opacity: 0.8;
  transform: translateX(3px);
}
@media (max-width: 580px) {
  .getting-here-grid { grid-template-columns: 1fr; }
}

/* ─── Info Bar ──────────────────────────── */
.info-bar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(171,198,201,0.3);
  border-bottom: 1px solid rgba(171,198,201,0.3);
  max-width: 1280px; margin: 0 auto; padding: 0;
}
.info-item {
  padding: clamp(2rem, 4vh, 3.5rem) 2.5rem;
  text-align: center;
  border-right: 1px solid rgba(171,198,201,0.3);
}
.info-item:last-child { border-right: none; }
.info-item h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--color-primary); margin-bottom: 0.4rem;
}
.info-item p {
  font-size: 0.68rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--secondary); font-weight: 500;
}

/* ─── Quote / Banner ────────────────────── */
.quote-section {
  padding: clamp(5rem, 10vh, 8rem) clamp(20px, 6vw, 80px);
  background: var(--color-primary); color: var(--color-white);
  text-align: center;
}
.quote-section blockquote {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  color: var(--color-sea-salt);
  max-width: 900px; margin: 0 auto 1.25rem;
  line-height: 1.45;
}
.quote-section cite {
  font-family: var(--font-primary);
  font-size: 0.68rem; font-style: normal;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(171,198,201,0.7); font-weight: 500;
}

/* ─── Opening Panel ─────────────────────── */
.opening-panel {
  background: var(--surface-container-lowest);
  border: 1px solid rgba(171,198,201,0.35);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 680px; margin: 0 auto; text-align: center;
}
.opening-panel .section-subtitle { margin-bottom: 0.8rem; }
.opening-panel h3 { margin-bottom: 1rem; }
.opening-panel .opening-date {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--color-primary); margin-bottom: 1rem;
}
.opening-panel p { font-size: 0.98rem; color: var(--secondary); line-height: 1.7; }

/* ─── Page Header (inner pages) ─────────── */
.page-header {
  background-color: var(--surface-container-low);
  text-align: center;
  padding: clamp(5rem, 10vh, 8rem) 20px clamp(4rem, 7vh, 6rem);
  border-bottom: 1px solid rgba(171,198,201,0.28);
}
.page-header .section-subtitle { margin-bottom: 1rem; }
.page-header h1 { margin-bottom: 1.25rem; }
.page-header p {
  max-width: 620px; margin: 0 auto;
  font-size: 1.05rem; color: var(--secondary); line-height: 1.75;
}
.page-header h1::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--color-primary);
  margin: 1.5rem auto 0;
}

/* ─── Page Header — background image variant ── */
.page-header--image {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-bottom: none !important;
}
.page-header--image .section-subtitle { color: var(--color-sand-dune) !important; }
.page-header--image h1 { color: #fff !important; }
.page-header--image h1::after { background: var(--color-sand-dune) !important; }
.page-header--image p { color: rgba(255,255,255,0.82) !important; }

/* ─── About Page ────────────────────────── */
.about-story {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.about-story-text p {
  font-size: 1rem; line-height: 1.85;
  color: var(--secondary); margin-bottom: 1.25rem;
}
.about-story-text p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.4rem; float: left;
  line-height: 0.88; margin-right: 0.5rem; margin-top: 0.15rem;
  color: var(--color-primary);
  font-weight: 800;
}
.about-image-primary { overflow: hidden; aspect-ratio: 3/4; }
.about-image-primary img { width: 100%; height: 100%; object-fit: cover; }

.about-values {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(171,198,201,0.28);
  margin-top: clamp(3rem, 6vh, 5rem);
  border: 1px solid rgba(171,198,201,0.28);
}
.value-card {
  padding: 2.5rem; background: var(--surface-container-lowest);
  text-align: center; transition: background var(--transition);
}
.value-card:hover { background: var(--surface-container-low); }
.value-card .icon { font-size: 1.6rem; margin-bottom: 1.2rem; color: var(--color-primary); }
.value-card h4 { margin-bottom: 0.7rem; font-family: var(--font-heading); font-size: 1.05rem; }
.value-card p { font-size: 0.92rem; color: var(--secondary); line-height: 1.65; }

/* ─── Food & Drink Menu ─────────────────── */
.menu-category { margin-bottom: clamp(3.5rem, 6vh, 5rem); }
.menu-category > .section-subtitle { margin-bottom: 0.5rem; }
.menu-category h3 {
  margin-bottom: 2rem; padding-bottom: 1rem;
  border-bottom: 1px solid rgba(171,198,201,0.35);
  font-family: var(--font-heading); font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

.menu-item {
  display: flex; justify-content: space-between;
  align-items: baseline; padding: 1.1rem 0; gap: 2rem;
  border-bottom: 1px solid rgba(171,198,201,0.2);
  transition: padding-left var(--transition);
}
.menu-item:hover { padding-left: 0.6rem; }
.menu-item:last-of-type { border-bottom: none; }

.menu-item-info h4 {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 1.05rem; margin-bottom: 0.2rem; color: var(--on-surface);
}
.menu-item-info p { font-size: 0.88rem; color: var(--secondary); line-height: 1.5; }

.menu-item-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem; color: var(--color-primary); white-space: nowrap;
}

.menu-note {
  margin-top: 2.5rem; padding: 1.75rem 2rem;
  background: var(--surface-container-low);
  border-left: 2px solid var(--color-primary-container);
}
.menu-note p { font-size: 0.9rem; color: var(--secondary); line-height: 1.65; }

.drinks-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem; }

/* ─── Gallery ───────────────────────────── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
}
.gallery-item {
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--surface-container-highest);
}
.gallery-item::before { content: ''; display: block; padding-top: 100%; }
.gallery-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(16,70,89,0.0);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 1.25rem; opacity: 0; transition: all 0.4s ease;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; background: rgba(16,70,89,0.42); }
.gallery-item-overlay span {
  font-family: var(--font-primary); font-weight: 600;
  font-size: 0.78rem; color: var(--color-sea-salt);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.wide::before { padding-top: 50%; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 20000;
  background: rgba(16,70,89,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { max-width: 88vw; max-height: 88vh; object-fit: contain; }

.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 42px; height: 42px;
  border: 1px solid rgba(171,198,201,0.3);
  background: transparent; color: var(--color-sea-glass);
  font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; border-radius: var(--radius-sm);
}
.lightbox-close:hover { border-color: var(--color-sea-glass); }

.lightbox-prev,
.lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border: 1px solid rgba(171,198,201,0.3);
  background: rgba(16,70,89,0.6); color: var(--color-sea-glass);
  font-size: 2.2rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s; border-radius: var(--radius-sm);
  z-index: 1; user-select: none;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(16,70,89,0.9);
  border-color: var(--color-sea-glass);
}
@media (max-width: 600px) {
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.8rem; }
}

.lightbox-counter {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  font-size: 0.75rem; letter-spacing: 0.1em; color: rgba(171,198,201,0.7);
  font-family: var(--font-heading);
}

/* ─── Contact ───────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem); align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: 2rem; }

.form-group label {
  display: block;
  font-family: var(--font-primary);
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--outline); margin-bottom: 0.5rem;
  transition: color var(--transition);
}
.form-group:focus-within label { color: var(--color-primary); }

/* Bottom-bar inputs */
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(171,198,201,0.5);
  border-radius: 0;
  padding: 12px 0;
  color: var(--on-surface);
  font-family: var(--font-primary);
  font-size: 0.98rem;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-bottom-color: var(--color-primary); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--outline-variant); }
.form-group textarea { min-height: 120px; resize: none; }

/* ── Form feedback messages ── */
.form-feedback {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 3px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  line-height: 1.6;
}
.form-feedback--success {
  background: rgba(16,70,89,0.07);
  border-left: 3px solid var(--color-primary);
  color: var(--color-primary);
}
.form-feedback--error {
  background: rgba(180,50,40,0.06);
  border-left: 3px solid #b43228;
  color: #8b2118;
}

.contact-info { padding: 0; }
.contact-info h3 {
  font-family: var(--font-heading); font-size: 1.6rem; font-weight: 600;
  margin-bottom: 2.5rem; padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(171,198,201,0.35);
}
.contact-info .label {
  font-family: var(--font-primary);
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: 0.5rem; display: block;
}
.contact-info-item { margin-bottom: 2.25rem; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-item p, .contact-info-item a {
  font-family: var(--font-primary); font-size: 1rem;
  color: var(--on-surface); line-height: 1.75;
}
.contact-info-item a:hover { color: var(--color-primary); }

.map-embed {
  margin-top: clamp(3rem, 5vh, 4rem);
  aspect-ratio: 21/9; overflow: hidden;
  border: 1px solid rgba(171,198,201,0.28);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ─── Marquee ───────────────────────────── */
.marquee-section {
  padding: clamp(1.75rem, 3.5vh, 2.5rem) 0;
  background: var(--surface-container-low);
  border-top: 1px solid rgba(171,198,201,0.28);
  border-bottom: 1px solid rgba(171,198,201,0.28);
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 3.5rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap; width: max-content; align-items: center;
}
.marquee-track span {
  font-family: var(--font-primary);
  font-style: italic;
  font-size: clamp(0.95rem, 1.8vw, 1.35rem);
  color: var(--secondary); font-weight: 400; letter-spacing: 0.04em;
}
.marquee-track .dot { color: var(--color-primary-container); font-style: normal; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ─── Footer ────────────────────────────── */
.footer {
  background: var(--surface-container-low);
  border-top: 1px solid rgba(171,198,201,0.35);
  padding: clamp(4rem, 8vh, 6rem) 20px 0;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3.5rem;
}
.footer-brand h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.9rem; color: var(--secondary); max-width: 300px; line-height: 1.7; }

.footer-col h4 {
  font-family: var(--font-primary);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: 1.4rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.65rem; font-size: 0.9rem; color: var(--secondary); }
.footer-col a { color: var(--secondary); transition: color var(--transition); }
.footer-col a:hover { color: var(--color-primary); }

.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(171,198,201,0.25);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--outline);
}
.footer-bottom a { color: var(--secondary); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--color-primary); }
.footer-legal {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.footer-legal a {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--color-primary); }

/* ─── Legal page content ──────────────── */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}
.legal-meta {
  font-size: 0.8rem;
  color: var(--outline);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(171,198,201,0.3);
}
.legal-content h2 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--color-deep-water);
  margin: 2.5rem 0 0.9rem;
  padding-top: 0.5rem;
}
.legal-content p {
  font-size: 0.97rem;
  line-height: 1.82;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.legal-content ul {
  margin: 0.5rem 0 1.25rem 1.25rem;
  padding: 0;
}
.legal-content ul li {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.legal-content a {
  color: var(--color-harbor-wave);
  text-decoration: underline;
  text-decoration-color: rgba(56,113,133,0.35);
  transition: color var(--transition);
}
.legal-content a:hover { color: var(--color-deep-water); }

.footer-social { display: flex; gap: 0.9rem; }
.footer-social a {
  width: 32px; height: 32px;
  border: 1px solid rgba(171,198,201,0.4);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); border-radius: var(--radius-sm);
}
.footer-social a:hover { border-color: var(--color-primary); background: rgba(16,70,89,0.06); }
.footer-social svg { width: 13px; height: 13px; fill: var(--outline); transition: fill var(--transition); }
.footer-social a:hover svg { fill: var(--color-primary); }

/* ─── Footer Brand Badge ─────────────────── */
.footer-brand-badge {
  width: 135px;
  height: auto;
  margin-top: 1.25rem;
  opacity: 0.88;
  transition: opacity var(--transition), transform var(--transition);
}
.footer-brand-badge:hover { opacity: 1; transform: rotate(8deg); }

/* ─── Reveal Animations ─────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── Helpers ───────────────────────────── */
.divider {
  width: 40px; height: 1px;
  background: var(--color-primary-container);
  margin: 1.5rem 0;
}
.label {
  font-family: var(--font-primary);
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--color-primary);
}

/* ─── Responsive ────────────────────────── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .about-values { grid-template-columns: 1fr; gap: 1px; }
  .drinks-grid { grid-template-columns: 1fr; gap: 0; }
  .info-bar { grid-template-columns: 1fr; }
  .info-item { border-right: none; border-bottom: 1px solid rgba(171,198,201,0.3); }
  .info-item:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  :root { --header-height: 108px; }

  .header-utility-right .soc-icon { display: none; }
  .header-utility-left a:not(:first-child) { display: none; }

  .nav-links, .btn-book { display: none; }

  /* Remove the nav bar layer — float hamburger over header-brand instead */
  .header-nav {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    width: auto;
    pointer-events: none;
  }
  .header-nav-inner {
    height: 100%;
    padding: 0;
    gap: 0;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none;
  }
  .nav-hamburger {
    display: flex;
    position: static;
    transform: none;
    top: auto;
    right: auto;
    padding: 14px 16px;
    pointer-events: auto;
  }

  .split-section,
  .split-section.reverse { grid-template-columns: 1fr; direction: ltr; }

  .timetable-grid { grid-template-columns: 1fr; }

  .box-grid { grid-template-columns: 1fr; gap: 3px; }
  .about-story { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 3px; }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 2; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .hero { min-height: 560px; height: 90vh; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); margin-bottom: 1rem; }
  .hero-est { margin-bottom: 1rem; }
  .hero-divider { height: 32px; margin-bottom: 1rem; }
  .hero-description { font-size: 0.92rem; margin-bottom: 1.25rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-content { padding: 0 20px 5rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.wide::before { padding-top: 100%; }
}
