/* ============================================
   The Old Causeway — Steak & Oyster House
   Shared stylesheet across all pages
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0E1B2C;
  --navy-2: #142235;
  --navy-deep: #08111C;
  --cream: #F5EFE4;
  --parchment: #EFE6D4;
  /* Brand red — sampled from the Old Causeway stamp logo.
     The variables are still named --brass/--brass-bright/--copper
     across the stylesheet; they now hold the brand red value. */
  --brass: #D14B3A;
  --brass-bright: #E5604D;
  --copper: #A03828;
  --charcoal: #1A1A1A;
  --sage: #7A8C7A;
  --rust: #A03828;
  --line: rgba(209, 75, 58, 0.28);
  --shadow-soft: 0 20px 60px rgba(0,0,0,0.25);
  --shadow-deep: 0 30px 80px rgba(0,0,0,0.4);
  --transition: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Brand logo (nav + footer) ---------- */
.brand img.logo {
  display: block;
  height: 58px;
  width: auto;
  transition: height 0.3s var(--transition);
}
.nav.scrolled .brand img.logo,
.nav.solid .brand img.logo { height: 46px; }
.footer-brand .footer-logo {
  display: block;
  height: 120px;
  width: auto;
  margin-bottom: 24px;
}
@media (max-width: 960px) {
  .brand img.logo { height: 48px; }
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--navy);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 300;
  letter-spacing: 0.01em;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: all 0.3s var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Typography ---------- */
.serif { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; }
.script { font-family: 'Pinyon Script', cursive; font-weight: 400; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2.25rem, 5vw, 4.25rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-block;
  position: relative;
  padding-left: 50px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 36px; height: 1px;
  background: var(--brass);
  transform: translateY(-50%);
}
.eyebrow.center { padding-left: 0; padding-top: 24px; text-align: center; }
.eyebrow.center::before { left: 50%; top: 0; transform: translateX(-50%); width: 60px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 32px; }
section { position: relative; padding: clamp(80px, 12vw, 160px) 0; }
.section-header { max-width: 800px; margin-bottom: 80px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 36px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  z-index: 1;
  text-align: center;
}
.btn-primary {
  background: var(--brass);
  color: var(--navy-deep);
}
.btn-primary:hover { background: var(--brass-bright); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(209, 75, 58, 0.3); }
.btn-ghost {
  border: 1px solid var(--brass);
  color: var(--cream);
}
.btn-ghost:hover { background: var(--brass); color: var(--navy-deep); }
.btn-arrow::after {
  content: '→';
  font-size: 1.1rem;
  transition: transform 0.3s var(--transition);
}
.btn-arrow:hover::after { transform: translateX(6px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding: 24px 0;
  transition: all 0.4s var(--transition);
  background: linear-gradient(to bottom, rgba(8, 17, 28, 0.85), rgba(8, 17, 28, 0));
}
.nav.scrolled {
  background: rgba(8, 17, 28, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(209, 75, 58, 0.12);
}
.nav.solid {
  background: rgba(8, 17, 28, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(209, 75, 58, 0.12);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex; flex-direction: column; line-height: 1;
}
.brand .mark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.65rem;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.brand .sub {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 6px;
  font-weight: 500;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-menu a {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 400;
  position: relative;
  padding: 4px 0;
}
.nav-menu a::after {
  content: '';
  position: absolute; left: 50%; bottom: 0;
  width: 0; height: 1px; background: var(--brass);
  transition: all 0.3s var(--transition);
  transform: translateX(-50%);
}
.nav-menu a:hover { color: var(--brass); }
.nav-menu a.current { color: var(--brass); }
.nav-menu a:hover::after, .nav-menu a.current::after { width: 100%; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brass); color: var(--navy-deep);
  padding: 12px 22px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav-cta:hover { background: var(--brass-bright); }
.menu-toggle {
  display: none;
  width: 38px; height: 28px;
  flex-direction: column;
  justify-content: space-between;
}
.menu-toggle span {
  height: 1px; background: var(--cream);
  transition: all 0.3s var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0% { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.18) translate(-2%, -2%); }
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,17,28,0.5) 0%, rgba(8,17,28,0.6) 60%, rgba(8,17,28,0.95) 100%),
    radial-gradient(ellipse at top, rgba(8,17,28,0.4), transparent 70%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  text-align: center;
  padding: 160px 0 100px;
}
.hero-tagline {
  font-family: 'Pinyon Script', cursive;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--brass);
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 1.2s 0.3s var(--transition) forwards;
}
.hero h1 {
  color: var(--cream);
  font-weight: 500;
  font-style: italic;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
  opacity: 0;
  animation: fadeUp 1.2s 0.5s var(--transition) forwards;
}
.hero h1 .accent {
  display: block;
  font-style: normal;
  font-size: 0.42em;
  letter-spacing: 0.5em;
  margin-top: 28px;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 400;
  font-family: 'Inter', sans-serif;
}
.hero p.lede {
  max-width: 580px;
  margin: 32px auto 48px;
  font-size: 1.05rem;
  color: rgba(245, 239, 228, 0.85);
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 1.2s 0.7s var(--transition) forwards;
}
.hero-ctas {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1.2s 0.9s var(--transition) forwards;
}
.hero-meta {
  position: absolute;
  bottom: 60px; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 56px;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1.2s 1.2s var(--transition) forwards;
}
.hero-meta-item {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  display: flex; align-items: center; gap: 12px;
}
.scroll-cue {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.65rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--cream); opacity: 0.6;
  z-index: 2;
}
.scroll-cue .line {
  width: 1px; height: 40px; background: var(--brass);
  animation: scrolldown 2.5s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrolldown {
  0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sub-page hero (shorter, for non-home pages) ---------- */
.subhero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 200px 32px 100px;
}
.subhero .bg {
  position: absolute; inset: 0; z-index: 0;
}
.subhero .bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 30s ease-in-out infinite alternate;
}
.subhero .bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,17,28,0.7) 0%, rgba(8,17,28,0.85) 100%);
}
.subhero .inner { position: relative; z-index: 1; max-width: 800px; }
.subhero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-style: italic;
  color: var(--cream);
  margin: 18px 0 20px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.subhero p {
  color: rgba(245, 239, 228, 0.8);
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- Story Section ---------- */
.story {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  position: relative;
}
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: center;
}
.story-text h2 { margin: 24px 0 32px; }
.story-text p { color: rgba(245, 239, 228, 0.78); font-size: 1.06rem; line-height: 1.85; margin-bottom: 20px; }
.story-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
  padding-top: 50px;
  border-top: 1px solid var(--line);
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 500;
  color: var(--brass);
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.6);
  margin-top: 8px;
}
.story-image {
  position: relative;
  aspect-ratio: 4/5;
}
.story-image .frame {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: sepia(0.15) contrast(1.05);
}
.story-image .badge {
  position: absolute;
  bottom: -32px; right: -32px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--navy-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  box-shadow: var(--shadow-deep);
  animation: rotate 32s linear infinite;
}
.story-image .badge-inner {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.story-image .badge .year {
  font-size: 2.6rem;
  font-weight: 600;
  margin: 4px 0;
  letter-spacing: 0;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---------- Signature Trio ---------- */
.signature {
  background: var(--navy-deep);
  position: relative;
}
.signature::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(209, 75, 58, 0.08), transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(180, 126, 74, 0.06), transparent 50%);
  pointer-events: none;
}
.signature .container { position: relative; z-index: 1; }
.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.trio-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy-2);
}
.trio-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--transition), filter 1s var(--transition);
  filter: brightness(0.75);
}
.trio-card:hover img { transform: scale(1.08); filter: brightness(0.9); }
.trio-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,17,28,0.95) 0%, rgba(8,17,28,0.2) 50%, transparent 100%);
  pointer-events: none;
}
.trio-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 32px;
  z-index: 1;
  transition: transform 0.5s var(--transition);
}
.trio-content .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--brass);
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}
.trio-content h3 {
  color: var(--cream);
  margin-bottom: 12px;
  font-style: italic;
}
.trio-content p {
  color: rgba(245, 239, 228, 0.75);
  font-size: 0.95rem;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s var(--transition);
}
.trio-card:hover .trio-content p {
  max-height: 200px;
  opacity: 1;
  margin-top: 8px;
}

/* ---------- Menu page styles ---------- */
.menu-page { background: var(--navy); padding-top: 80px; }
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 70px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  position: sticky;
  top: 88px;
  background: rgba(8, 17, 28, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 60;
  max-width: 1320px;
}
.menu-tab {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 28px;
  color: rgba(245, 239, 228, 0.55);
  position: relative;
  transition: color 0.2s var(--transition), background 0.2s var(--transition);
  font-weight: 500;
  border-radius: 2px;
}
.menu-tab:hover { color: var(--cream); background: rgba(209, 75, 58, 0.08); }
.menu-tab.active { color: var(--cream); background: rgba(209, 75, 58, 0.15); }
.menu-tab.active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 4px;
  transform: translateX(-50%);
  width: 24px; height: 2px;
  background: var(--brass);
}
.menu-panel { display: none; animation: fadePanel 0.25s var(--transition); }
.menu-panel.active { display: block; }
@keyframes fadePanel {
  from { opacity: 0; }
  to { opacity: 1; }
}

.menu-section { margin-bottom: 60px; }
.menu-section:last-child { margin-bottom: 0; }
@media (max-width: 960px) {
  .menu-page .menu-tabs { top: 70px; padding: 14px 0; }
  .menu-section { margin-bottom: 48px; }
  .menu-tab { padding: 10px 18px; font-size: 0.72rem; letter-spacing: 0.15em; }
}
@media (max-width: 560px) {
  .menu-page .menu-tabs { top: 60px; padding: 10px 0; gap: 4px; }
  .menu-tab { padding: 8px 12px; font-size: 0.66rem; letter-spacing: 0.12em; }
  .menu-section { margin-bottom: 40px; }
}
.menu-section-head {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.menu-section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-style: italic;
  color: var(--brass);
  white-space: nowrap;
}
.menu-section-head .note {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.5);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 80px;
}
.menu-item {
  padding-bottom: 22px;
  border-bottom: 1px dotted rgba(209, 75, 58, 0.2);
}
.menu-item-head {
  display: flex; align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}
.menu-item-head h4 {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--cream);
  font-weight: 500;
}
.menu-item-head .dots {
  flex: 1;
  border-bottom: 1px dotted rgba(209, 75, 58, 0.4);
  position: relative;
  top: -5px;
  min-width: 20px;
}
.menu-item-head .price {
  color: var(--brass);
  font-weight: 500;
  font-size: 1.05rem;
  font-family: 'Cormorant Garamond', serif;
  white-space: nowrap;
}
.menu-item p {
  color: rgba(245, 239, 228, 0.65);
  font-size: 0.9rem;
  line-height: 1.6;
}
.menu-item .tag {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 8px;
  padding: 3px 8px;
  border: 1px solid rgba(209, 75, 58, 0.3);
}
.menu-note {
  background: rgba(20, 34, 53, 0.6);
  border-left: 2px solid var(--brass);
  padding: 18px 26px;
  margin-top: 40px;
  font-size: 0.88rem;
  color: rgba(245, 239, 228, 0.7);
  font-style: italic;
}

/* ---------- Live Music ---------- */
.music {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}
.music::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('assets/oc-06.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: contrast(1.1);
}
.music .container { position: relative; }
.music-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 60px;
}
.show-card {
  background: rgba(20, 34, 53, 0.7);
  border: 1px solid var(--line);
  padding: 36px 28px;
  transition: all 0.4s var(--transition);
  backdrop-filter: blur(10px);
  position: relative;
}
.show-card:hover {
  border-color: var(--brass);
  transform: translateY(-6px);
  background: rgba(20, 34, 53, 0.9);
}
.show-card .date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
}
.show-card .day-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--cream);
  margin: 6px 0 18px;
  font-weight: 500;
}
.show-card .artist {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 6px;
}
.show-card .genre {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.5);
  margin-bottom: 18px;
}
.show-card .time {
  font-size: 0.85rem;
  color: rgba(245, 239, 228, 0.75);
  padding-top: 18px;
  border-top: 1px dashed rgba(209, 75, 58, 0.2);
}
.show-card.featured::before {
  content: 'TONIGHT';
  position: absolute;
  top: -1px; right: -1px;
  background: var(--rust);
  color: var(--cream);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  font-weight: 600;
  padding: 6px 12px;
}

/* ---------- Gallery ---------- */
.gallery {
  background: var(--navy);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 140px;
  gap: 12px;
  margin-top: 60px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--navy-2);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition), filter 0.6s var(--transition);
  filter: brightness(0.9) saturate(1);
}
.gallery-item:hover img { transform: scale(1.06); filter: brightness(1.05) saturate(1.05); }
.gallery-item.tall { grid-row: span 3; grid-column: span 4; }
.gallery-item.wide { grid-row: span 2; grid-column: span 5; }
.gallery-item.short { grid-row: span 2; grid-column: span 3; }
.gallery-item.med { grid-row: span 2; grid-column: span 4; }
.gallery-item.feat { grid-row: span 3; grid-column: span 5; }

/* ---------- Reserve / CTA ---------- */
.reserve-cta {
  background-image:
    linear-gradient(rgba(8, 17, 28, 0.88), rgba(8, 17, 28, 0.88)),
    url('assets/oc-06.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  padding: clamp(100px, 14vw, 180px) 0;
}
.reserve-cta h2 { font-style: italic; margin: 24px 0 24px; max-width: 800px; margin-left: auto; margin-right: auto; }
.reserve-cta p {
  max-width: 600px; margin: 0 auto 40px;
  font-size: 1.1rem;
  color: rgba(245, 239, 228, 0.8);
  line-height: 1.7;
}
.reserve-widget {
  max-width: 720px;
  margin: 50px auto 0;
  background: rgba(20, 34, 53, 0.95);
  border: 1px solid var(--line);
  padding: 36px;
  backdrop-filter: blur(10px);
  text-align: left;
}
.reserve-widget-title {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 20px;
  text-align: center;
}
.reserve-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 12px;
  margin-bottom: 18px;
}
.field {
  display: flex; flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.55);
}
.field select, .field input {
  background: var(--navy-deep);
  border: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--cream);
  font-family: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  outline: none;
  transition: border-color 0.3s var(--transition);
}
.field select:focus, .field input:focus { border-color: var(--brass); }
.reserve-widget .btn { width: 100%; padding: 18px; }
.reserve-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.reserve-widget .note {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(245, 239, 228, 0.5);
  margin-top: 16px;
}

/* ---------- Events Section ---------- */
.events {
  background: var(--navy-2);
}
.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.events-text h2 { margin: 24px 0 24px; }
.events-text p { color: rgba(245, 239, 228, 0.78); font-size: 1.05rem; line-height: 1.85; margin-bottom: 20px; }
.events-list {
  list-style: none;
  margin: 30px 0 40px;
  border-top: 1px solid var(--line);
}
.events-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px;
  font-size: 0.95rem;
}
.events-list li::before {
  content: '✦';
  color: var(--brass);
}
.events-image {
  aspect-ratio: 5/6;
  background-size: cover;
  background-position: center;
  position: relative;
}
.events-image::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid var(--brass);
  transform: translate(20px, 20px);
  pointer-events: none;
}

/* ---------- Tide Table Family ---------- */
.family {
  background: var(--navy-deep);
  overflow: hidden;
}
/* Auto-rotating carousel: continuous horizontal marquee.
   Cards are duplicated in HTML so the -50% translate creates a seamless loop.
   Hover anywhere on the carousel pauses the motion so users can click. */
.family-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 60px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.family-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: family-scroll 55s linear infinite;
  will-change: transform;
}
.family-carousel:hover .family-track,
.family-carousel:focus-within .family-track {
  animation-play-state: paused;
}
@keyframes family-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(-50% - 10px), 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .family-track { animation: none; }
}
.family-card {
  min-width: 260px;
  width: 260px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--navy-2);
  display: flex;
  align-items: flex-end;
}
@media (max-width: 560px) {
  .family-card { min-width: 220px; width: 220px; }
  .family-track { animation-duration: 42s; }
  .family-carousel { margin-top: 40px; }
}
.family-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition), filter 0.8s var(--transition);
  filter: brightness(0.78) saturate(1);
}
.family-card:hover img { transform: scale(1.06); filter: brightness(0.95) saturate(1.05); }
.family-card .badge-new {
  position: absolute; top: 14px; right: 14px;
  background: var(--brass);
  color: var(--cream);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  font-weight: 600;
  padding: 6px 12px;
  z-index: 2;
  text-transform: uppercase;
}
.family-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,17,28,0.95) 0%, rgba(8,17,28,0.2) 50%, transparent 100%);
}
.family-card-content {
  position: relative;
  padding: 30px;
  z-index: 1;
  width: 100%;
}
.family-card-content .eyebrow { padding-left: 0; }
.family-card-content .eyebrow::before { display: none; }
.family-card-content h3 {
  font-style: italic;
  margin: 12px 0 8px;
  color: var(--cream);
}
.family-card-content p {
  font-size: 0.85rem;
  color: rgba(245, 239, 228, 0.7);
  margin-bottom: 14px;
}
.family-card-content .visit {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex; align-items: center; gap: 8px;
}

/* ---------- Visit ---------- */
.visit {
  background: var(--navy-2);
  padding-bottom: 0;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  align-items: stretch;
}
.visit-info {
  padding: 100px 60px;
}
.visit-info .eyebrow { padding-left: 50px; }
.visit-info h2 { margin: 24px 0 50px; }
.visit-info dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  row-gap: 22px;
  column-gap: 24px;
  margin-bottom: 40px;
}
.visit-info dt {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brass);
  padding-top: 6px;
}
.visit-info dd {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--cream);
  line-height: 1.5;
}
.visit-info dd small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(245, 239, 228, 0.6);
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.visit-map {
  min-height: 600px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.visit-map iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.4) brightness(0.95);
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--navy-deep);
  text-align: center;
  border-top: 1px solid var(--line);
}
.newsletter h2 { font-style: italic; max-width: 700px; margin: 24px auto 16px; }
.newsletter .lede {
  max-width: 540px; margin: 0 auto 36px;
  color: rgba(245, 239, 228, 0.7);
  line-height: 1.7;
}
.newsletter form {
  max-width: 540px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  border: 1px solid var(--brass);
}
.newsletter input {
  background: transparent;
  border: 0;
  padding: 18px 22px;
  color: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}
.newsletter input::placeholder { color: rgba(245, 239, 228, 0.4); }
.newsletter button {
  background: var(--brass);
  color: var(--navy-deep);
  padding: 0 32px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.3s;
}
.newsletter button:hover { background: var(--brass-bright); }
.newsletter .incentive {
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--brass);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */
.footer {
  background: #050B14;
  padding: 80px 0 30px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 4px;
}
.footer-brand .sub {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 24px;
}
.footer-brand p {
  color: rgba(245, 239, 228, 0.55);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 340px;
  margin-bottom: 28px;
}
.socials { display: flex; gap: 14px; }
.socials a {
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brass);
  transition: all 0.3s var(--transition);
}
.socials a:hover { background: var(--brass); color: var(--navy-deep); border-color: var(--brass); }
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a, .footer-col li span {
  color: rgba(245, 239, 228, 0.6);
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--brass); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem;
  color: rgba(245, 239, 228, 0.45);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .tide-link { color: var(--brass); }

/* ---------- "Powered by CJResults" credit ---------- */
.footer-cjresults {
  text-align: center;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(245, 239, 228, 0.06);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}
.footer-cjresults span {
  color: rgba(245, 239, 228, 0.42);
}
.footer-cjresults a {
  color: var(--brass);
  font-weight: 600;
  margin-left: 6px;
  transition: color 0.3s var(--transition);
}
.footer-cjresults a:hover { color: var(--brass-bright); }

/* ---------- Floating Reservation Bar (sticky CTA) ---------- */
.float-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--brass);
  color: var(--navy-deep);
  padding: 16px 24px;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 80;
  box-shadow: var(--shadow-deep);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s var(--transition);
  display: inline-flex; align-items: center; gap: 10px;
}
.float-cta.visible { opacity: 1; transform: translateY(0); }
.float-cta:hover { background: var(--brass-bright); transform: translateY(-4px); }
.float-cta::before {
  content: '◆';
  font-size: 0.6em;
  color: var(--navy-deep);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--transition), transform 1s var(--transition);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  /* Nav: 3-col grid so the Reserve CTA sits dead-center between logo & hamburger */
  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
  }
  .brand { justify-self: start; }
  .nav-cta { justify-self: center; }
  .menu-toggle { justify-self: end; }

  /* Float CTA is redundant with the centered nav button on mobile */
  .float-cta { display: none; }

  .nav-menu { display: none; }
  .menu-toggle { display: flex; }
  .nav-menu.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--navy-deep);
    padding: 30px;
    gap: 22px;
    border-top: 1px solid var(--line);
  }
  .nav-menu.open a {
    font-size: 0.95rem;
    letter-spacing: 0.22em;
    padding: 8px 0;
    width: 100%;
    text-align: center;
  }
  .nav-cta { padding: 10px 16px; font-size: 0.65rem; letter-spacing: 0.18em; }

  /* Hero */
  .hero-content { padding: 130px 0 110px; }
  .hero-meta { display: none; }
  .scroll-cue { font-size: 0.55rem; bottom: 28px; }

  /* Sub-page hero */
  .subhero { min-height: 48vh; padding: 140px 24px 70px; }
  .subhero h1 { font-size: clamp(2.2rem, 8vw, 3.6rem); }

  /* Layout grids collapse */
  .story-grid, .events-grid, .visit-grid { grid-template-columns: 1fr; gap: 60px; }
  .visit-info { padding: 60px 32px; }
  .visit-map { min-height: 400px; }
  .story-image .badge { width: 140px; height: 140px; bottom: -20px; right: -20px; }
  .story-image .badge .year { font-size: 1.8rem; }
  .trio-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; gap: 28px; }
  .music-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .gallery-grid { grid-auto-rows: 110px; }
  .gallery-item.tall, .gallery-item.wide, .gallery-item.short, .gallery-item.med, .gallery-item.feat {
    grid-column: span 6;
  }

  /* Family cards: slightly smaller on tablet */
  .family-card { min-width: 280px; }

  /* Reservation widget */
  .reserve-fields { grid-template-columns: 1fr 1fr; }

  /* Floating CTA stays in corner but trimmer */
  .float-cta { bottom: 16px; right: 16px; padding: 14px 20px; font-size: 0.72rem; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }

  /* Smaller logo + tighter CTA so all three nav items fit comfortably */
  .brand img.logo { height: 42px; }
  .nav { padding: 14px 0; }
  .nav.scrolled, .nav.solid { padding: 12px 0; }
  .nav-cta { padding: 8px 12px; font-size: 0.6rem; letter-spacing: 0.15em; }

  /* Section padding gets cozier */
  section { padding-top: 70px; padding-bottom: 70px; }

  /* Hero typography */
  .hero-content { padding: 110px 0 90px; }
  .hero h1 .accent { font-size: 0.5em; letter-spacing: 0.35em; }
  .hero p.lede { font-size: 0.98rem; margin: 24px auto 32px; }
  .hero-ctas { gap: 12px; }
  .hero-ctas .btn { width: 100%; }
  .scroll-cue { display: none; }

  /* Grids collapse to 1 column */
  .music-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .reserve-fields { grid-template-columns: 1fr; }
  .reserve-actions { grid-template-columns: 1fr; }
  .newsletter form { grid-template-columns: 1fr; }
  .newsletter button { padding: 16px; }
  .reserve-widget { padding: 24px 20px; }
  .menu-section-head { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Family cards even smaller */
  .family-card { min-width: 260px; }

  /* Float CTA: shorter label, but tap-friendly */
  .float-cta { font-size: 0.66rem; padding: 12px 16px; letter-spacing: 0.18em; bottom: 14px; right: 14px; }

  /* Buttons get full-width by default on mobile when grouped */
  .btn { padding: 16px 24px; }
}
