/* ====================================================
   PACIFIC SEAFOOD — San Leon, TX
   Liquid Modern Seafood Theme
   ==================================================== */

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

:root {
  /* Palette */
  --ocean-deep:    #0A2540;
  --ocean-mid:     #0F3E5E;
  --tide:          #1A6B7E;
  --tide-light:    #2A8BA0;
  --seafoam:       #7FD9C9;
  --seafoam-soft:  #B8E8DE;
  --sand:          #F5EFE0;
  --sand-light:   #FBF8F1;
  --driftwood:     #8B6F47;
  --copper:        #C8896B;
  --copper-light:  #E0A589;
  --white:         #FFFFFF;
  --ink:           #0A2540;
  --ink-soft:      #2A3A4A;
  --muted:         #6B7A85;

  /* Typography */
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans:  'Manrope', 'Inter', system-ui, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--sand-light);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--tide); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--copper); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ocean-deep);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

p { margin-bottom: 1.25rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1rem;
  display: inline-block;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 880px; }
.section { padding: 6rem 0; position: relative; }
.section-tight { padding: 4rem 0; }

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
}

/* ---------- Wave Divider ---------- */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}
.wave-divider.flip { transform: rotate(180deg); }
@media (max-width: 768px) {
  .wave-divider svg { height: 50px; }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(127, 217, 201, 0.15);
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(10, 37, 64, 0.96);
  box-shadow: 0 8px 32px rgba(10, 37, 64, 0.25);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
}
.nav-brand .logo-mark {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--seafoam);
  letter-spacing: 0.02em;
}
.nav-brand .logo-text {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--seafoam-soft);
  opacity: 0.85;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--sand);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--seafoam);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover { color: var(--seafoam); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--copper);
  color: var(--white) !important;
  padding: 0.65rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.3s var(--ease);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--copper-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(200, 137, 107, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--seafoam);
  transition: all 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10, 37, 64, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(127, 217, 201, 0.15);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #0A2540 0%, #0F3E5E 35%, #1A6B7E 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.pexels.com/photos/30258612/pexels-photo-30258612.jpeg?auto=compress&cs=tinysrgb&w=1920');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(127, 217, 201, 0.25), transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(200, 137, 107, 0.15), transparent 60%),
    linear-gradient(180deg, rgba(10, 37, 64, 0.4) 0%, rgba(10, 37, 64, 0.85) 100%);
  z-index: 1;
}
/* Floating bubbles */
.bubbles { position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none; }
.bubble {
  position: absolute;
  bottom: -100px;
  width: 12px; height: 12px;
  background: rgba(127, 217, 201, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.3);
  animation: floatUp 18s linear infinite;
}
.bubble:nth-child(1)  { left: 8%;  width: 14px; height: 14px; animation-duration: 16s; animation-delay: 0s; }
.bubble:nth-child(2)  { left: 22%; width: 8px;  height: 8px;  animation-duration: 22s; animation-delay: 3s; }
.bubble:nth-child(3)  { left: 35%; width: 18px; height: 18px; animation-duration: 14s; animation-delay: 6s; }
.bubble:nth-child(4)  { left: 48%; width: 6px;  height: 6px;  animation-duration: 24s; animation-delay: 1s; }
.bubble:nth-child(5)  { left: 60%; width: 16px; height: 16px; animation-duration: 19s; animation-delay: 8s; }
.bubble:nth-child(6)  { left: 72%; width: 10px; height: 10px; animation-duration: 21s; animation-delay: 4s; }
.bubble:nth-child(7)  { left: 85%; width: 14px; height: 14px; animation-duration: 17s; animation-delay: 9s; }
.bubble:nth-child(8)  { left: 93%; width: 9px;  height: 9px;  animation-duration: 23s; animation-delay: 5s; }

@keyframes floatUp {
  0%   { transform: translateY(0) scale(0.8); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-110vh) scale(1.2); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 920px;
}
.hero h1 {
  color: var(--white);
  font-weight: 300;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
  animation: heroFadeUp 1.2s var(--ease) both;
}
.hero h1 .accent {
  color: var(--seafoam);
  font-style: italic;
  font-weight: 400;
}
.hero-tagline {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--seafoam-soft);
  font-style: italic;
  font-family: var(--serif);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: heroFadeUp 1.2s var(--ease) 0.3s both;
}
.hero-cta-group {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeUp 1.2s var(--ease) 0.6s both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-block;
  padding: 1rem 2.25rem;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.35s var(--ease);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--copper);
  color: var(--white);
  box-shadow: 0 10px 40px rgba(200, 137, 107, 0.35);
}
.btn-primary:hover {
  background: var(--copper-light);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(200, 137, 107, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--seafoam);
  border-color: rgba(127, 217, 201, 0.6);
}
.btn-outline:hover {
  background: rgba(127, 217, 201, 0.1);
  border-color: var(--seafoam);
  color: var(--white);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--seafoam);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 2;
  animation: bobble 2.4s var(--ease) infinite;
}
@keyframes bobble {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  color: var(--muted);
  font-size: 1.1rem;
}

/* ---------- About Section ---------- */
.about {
  background: var(--sand-light);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(10, 37, 64, 0.18);
  aspect-ratio: 4/5;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.about-image:hover img { transform: scale(1.05); }
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 37, 64, 0.35));
}
.about-content h2 { margin-bottom: 1.5rem; }
.about-content p { color: var(--ink-soft); font-size: 1.05rem; }
.about-signature {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(10, 37, 64, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.about-signature .name {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ocean-deep);
  font-style: italic;
}
.about-signature .role {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { aspect-ratio: 4/3; max-width: 100%; }
}

/* ---------- Menu Highlights ---------- */
.menu-highlights {
  background: linear-gradient(180deg, var(--ocean-deep) 0%, var(--ocean-mid) 100%);
  color: var(--white);
  position: relative;
}
.menu-highlights h2 { color: var(--white); }
.menu-highlights .section-header p { color: var(--seafoam-soft); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
@media (max-width: 900px) { .menu-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .menu-grid { grid-template-columns: 1fr; } }

.menu-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(127, 217, 201, 0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  position: relative;
}
.menu-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(127, 217, 201, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.menu-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.menu-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.menu-card:hover .menu-card-image img { transform: scale(1.08); }
.menu-card-body {
  padding: 1.5rem;
}
.menu-card h4 {
  color: var(--seafoam);
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.menu-card .desc {
  color: rgba(245, 239, 224, 0.7);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 0;
}
.menu-card .price {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--copper-light);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

/* ---------- Hours & Location ---------- */
.hours-location {
  background: var(--sand);
  position: relative;
}
.hl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) { .hl-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.hl-info h3 { color: var(--ocean-deep); margin-bottom: 1.5rem; }
.hl-hours {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
  margin-bottom: 1.5rem;
}
.hl-hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(10, 37, 64, 0.06);
  font-size: 0.95rem;
}
.hl-hours-row:last-child { border-bottom: none; }
.hl-hours-row .day { color: var(--ink-soft); font-weight: 500; }
.hl-hours-row .time { color: var(--tide); font-weight: 600; }

.hl-address {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.hl-phone {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--ocean-deep);
  font-weight: 600;
  display: block;
  margin: 1rem 0;
}
.hl-phone:hover { color: var(--copper); }

.hl-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10, 37, 64, 0.15);
  aspect-ratio: 1;
}
.hl-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Gallery ---------- */
.gallery {
  background: var(--sand-light);
}
.gallery-grid {
  columns: 3;
  column-gap: 1.5rem;
}
@media (max-width: 900px) { .gallery-grid { columns: 2; } }
@media (max-width: 600px) { .gallery-grid { columns: 1; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  transition: transform 0.8s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 37, 64, 0.5));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }

/* ---------- Full Menu Page ---------- */
.menu-page {
  background: var(--sand-light);
  padding-top: 8rem;
}
.menu-section {
  margin-bottom: 4rem;
}
.menu-section h3 {
  color: var(--ocean-deep);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--seafoam);
  display: inline-block;
}
.menu-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
}
@media (max-width: 768px) { .menu-list { grid-template-columns: 1fr; } }
.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dotted rgba(10, 37, 64, 0.15);
}
.menu-item-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ocean-deep);
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.menu-item-desc {
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
}
.menu-item-price {
  color: var(--copper);
  font-weight: 600;
  font-size: 1.1rem;
  white-space: nowrap;
  align-self: flex-start;
}

/* ---------- Contact Page ---------- */
.contact-page {
  background: var(--sand-light);
  padding-top: 8rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.contact-info h3 { color: var(--ocean-deep); margin-bottom: 1rem; }
.contact-info .info-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(10, 37, 64, 0.08);
}
.contact-info .info-icon {
  width: 44px; height: 44px;
  background: var(--ocean-deep);
  color: var(--seafoam);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info .info-icon svg { width: 20px; height: 20px; fill: currentColor; }
.contact-info .info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.contact-info .info-value {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ocean-deep);
}

.contact-cta {
  background: linear-gradient(135deg, var(--ocean-deep), var(--tide));
  color: var(--white);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(10, 37, 64, 0.25);
}
.contact-cta h3 {
  color: var(--white);
  margin-bottom: 1rem;
}
.contact-cta p {
  color: var(--seafoam-soft);
  margin-bottom: 2rem;
}
.contact-cta .btn-primary {
  background: var(--copper);
}

/* ---------- About Page ---------- */
.about-page {
  background: var(--sand-light);
  padding-top: 8rem;
}
.about-page-hero {
  text-align: center;
  margin-bottom: 4rem;
}
.about-page-hero h1 {
  color: var(--ocean-deep);
  margin-bottom: 1.5rem;
}
.about-page-hero p {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--tide);
  font-style: italic;
  max-width: 720px;
  margin: 0 auto;
}
.about-story {
  max-width: 820px;
  margin: 0 auto;
}
.about-story p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.about-story img {
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 20px 60px rgba(10, 37, 64, 0.15);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ocean-deep);
  color: var(--sand);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .logo-mark {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--seafoam);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}
.footer-brand p {
  color: var(--seafoam-soft);
  opacity: 0.75;
  max-width: 320px;
  font-size: 0.95rem;
}
.footer-col h5 {
  color: var(--seafoam);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a {
  color: var(--sand);
  opacity: 0.8;
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--seafoam); opacity: 1; }

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.footer-social a {
  width: 40px; height: 40px;
  border: 1px solid rgba(127, 217, 201, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--seafoam);
  transition: all 0.3s var(--ease);
}
.footer-social a:hover {
  background: var(--seafoam);
  color: var(--ocean-deep);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid rgba(127, 217, 201, 0.15);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--seafoam-soft);
  opacity: 0.7;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: var(--copper-light); }

/* ---------- Reveal on Scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Page Header (interior pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--ocean-deep), var(--tide));
  color: var(--white);
  padding: 10rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(127, 217, 201, 0.18), transparent 60%);
}
.page-header h1 {
  color: var(--white);
  position: relative;
  z-index: 1;
}
.page-header p {
  color: var(--seafoam-soft);
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 1rem auto 0;
}

/* ---------- Focus States ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--seafoam);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .bubble { display: none; }
}
