:root {
  --ink: #0F3540;
  --wash: #EDF7F8;
  --aqua: #12717E;
  --deep: #0E5D68;
  --surface: #3BC3D4;
  --vest: #F08A24;
  --vest-ink: #A85A10;
  --muted: #54666B;
  --on-dark: #CFE9EC;
  --paper: #FFFFFF;
}

@font-face { font-family: 'Quicksand'; font-weight: 600; src: url('./fonts/Quicksand-600.woff2') format('woff2'); display: swap; }
@font-face { font-family: 'Quicksand'; font-weight: 700; src: url('./fonts/Quicksand-700.woff2') format('woff2'); display: swap; }
@font-face { font-family: 'Karla'; font-weight: 400; src: url('./fonts/Karla-400.woff2') format('woff2'); display: swap; }
@font-face { font-family: 'Karla'; font-weight: 700; src: url('./fonts/Karla-700.woff2') format('woff2'); display: swap; }
@font-face { font-family: 'Caveat'; font-weight: 600; src: url('./fonts/Caveat-600.woff2') format('woff2'); display: swap; }

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Karla', sans-serif;
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4, .brand {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
a { text-decoration: none; color: inherit; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.caveat { font-family: 'Caveat', cursive; font-weight: 600; }

/* Preview Ribbon */
.preview-ribbon {
  background: var(--wash);
  padding: 8px 16px;
  text-align: center;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(15, 53, 64, 0.1);
  position: relative;
  z-index: 100;
}
.preview-ribbon a {
  color: var(--aqua);
  font-weight: 700;
  text-decoration: underline;
}
.preview-ribbon button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--muted);
  position: absolute;
  right: 16px;
}

/* Nav */
nav.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: var(--paper);
  max-width: 1200px;
  margin: 0 auto;
}
.brand-group {
  display: flex;
  flex-direction: column;
}
.brand {
  font-size: 24px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.tagline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--aqua);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-weight: 700;
  font-size: 15px;
}
.nav-links a:hover {
  color: var(--aqua);
}
.btn {
  background: var(--deep);
  color: var(--paper);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
  cursor: pointer;
  border: none;
  font-size: 15px;
}
.btn:hover { opacity: 0.9; }
.btn-outline {
  background: transparent;
  color: var(--aqua);
  border: 1px solid var(--aqua);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.btn-outline:hover { background: var(--wash); }

/* Sticky Mobile Bar */
.mobile-call-bar { display: none; }
.mobile-nav-toggle { display: none; }

/* Hero */
.hero {
  text-align: center;
  padding: 40px 24px 28px;
  max-width: 800px;
  margin: 0 auto;
}
.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--aqua);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(44px, 4.6vw, 60px);
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero p.sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 24px;
}
.hero-chips {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.chip {
  background: var(--wash);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chip svg { color: var(--vest-ink); }
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Waterline */
.waterline-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  line-height: 0;
}
.waterline-svg {
  width: 100%;
  height: auto;
  display: block;
}
.underwater {
  position: relative;
  width: 100%;
  background: var(--ink);
}
.underwater img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  opacity: 0.9;
}
.underwater-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(15, 53, 64, 0.7);
  color: var(--on-dark);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* Benefits Row */
.benefits {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.benefits-header {
  text-align: center;
  margin-bottom: 48px;
}
.benefits-header .kicker { margin-bottom: 12px; color: var(--vest-ink); }
.benefits-header h2 { font-size: 36px; }
.benefits-grid {
  display: flex;
  gap: 24px;
}
.benefit-card-wide {
  width: 44%;
  background: var(--wash);
  padding: 40px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.benefit-cards-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 56%;
}
.benefit-card-wide svg { width: 32px; height: 32px; color: var(--surface); flex-shrink: 0; }
.benefit-card-wide h3 { font-size: 20px; margin-bottom: 12px; }
.benefit-card-wide p { color: var(--muted); }
.benefit-card-narrow {
  border: 1px solid var(--wash);
  padding: 32px 24px;
  border-radius: 12px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.benefit-card-narrow svg { width: 24px; height: 24px; color: var(--aqua); flex-shrink: 0; }
.benefit-card-narrow p { font-size: 15px; font-weight: 700; line-height: 1.4; }

/* Samantha Band */
.samantha-band {
  background: var(--wash);
  padding: 80px 24px;
}
.samantha-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.samantha-photo {
  border-radius: 20px 20px 220px 220px;
  border: 12px solid var(--paper);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}
.samantha-photo img { width: 100%; height: auto; }
.samantha-content .kicker { color: var(--aqua); margin-bottom: 12px; }
.samantha-content h2 { font-size: 36px; margin-bottom: 24px; }
.samantha-content p { color: var(--muted); margin-bottom: 16px; }
.samantha-quote {
  font-size: 24px;
  color: var(--aqua);
  margin: 32px 0;
}
.cert-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cert-chip {
  background: var(--paper);
  color: var(--aqua);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Guestbook Preview */
.gb-preview {
  padding: 80px 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.gb-header {
  text-align: center;
  margin-bottom: 48px;
}
.gb-header .kicker { color: var(--vest-ink); margin-bottom: 12px; }
.gb-header h2 { font-size: 36px; }
.gb-cards {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 48px;
}
.letter-card {
  background: #FFFDF8;
  border: 1px solid #EAE3D4;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.03);
  flex: 1;
  max-width: 480px;
  position: relative;
}
.letter-card.left { transform: rotate(1deg); }
.letter-card.right { transform: rotate(-1deg); }
.letter-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.letter-title { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.letter-sub { font-size: 12px; color: var(--muted); }
.paw-circle {
  background: var(--wash);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--vest-ink);
}
.letter-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.letter-signoff {
  font-size: 22px;
  color: var(--aqua);
  margin-bottom: 16px;
}
.letter-meta {
  font-size: 11px;
  color: var(--muted);
}
.gb-link {
  text-align: center;
  font-weight: 700;
  color: var(--aqua);
  font-size: 15px;
}
.gb-link a:hover { text-decoration: underline; }

/* Sessions & Booking */
.sessions-section {
  background: var(--wash);
  padding: 80px 24px;
}
.sessions-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.sessions-info .kicker { color: var(--aqua); margin-bottom: 12px; }
.sessions-info h2 { font-size: 36px; margin-bottom: 24px; }
.sessions-info > p { color: var(--muted); margin-bottom: 32px; }
.fee-box {
  background: var(--paper);
  padding: 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.fee-amount { font-size: 32px; font-weight: 700; color: var(--ink); }
.fee-desc { font-size: 12px; color: var(--muted); }
.hours-table { font-size: 13px; font-weight: 700; }
.hours-row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.hours-row.closed { color: var(--vest-ink); }
.tribune { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-top: 24px; }
.tribune svg { color: var(--muted); }
.mock-form {
  background: var(--paper);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}
.mock-form h3 { font-size: 20px; margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--wash);
  border-radius: 4px;
  background: var(--wash);
  font-family: 'Karla', sans-serif;
}
.form-group input::placeholder { color: var(--muted); }
.form-btn {
  width: 100%;
  background: var(--deep);
  color: var(--paper);
  padding: 14px;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-top: 8px;
}
.form-note { font-size: 12px; text-align: center; color: var(--muted); margin-top: 16px; }
.form-note a { color: var(--aqua); text-decoration: underline; }

/* Footer */
footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: 48px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--paper);
}
.footer-tagline { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; color: var(--surface); text-transform: uppercase; }
.footer-copy { font-size: 12px; color: rgba(207, 233, 236, 0.7); margin-top: 16px; }
.footer-contact { text-align: right; }
.footer-contact a { font-weight: 700; color: var(--paper); }
.footer-contact p { font-size: 12px; color: rgba(207, 233, 236, 0.7); margin-top: 4px; }
.footer-signoff {
  font-family: 'Caveat', cursive;
  font-size: 20px;
  color: var(--surface);
  margin-top: 16px;
  text-align: right;
}

/* Guestbook Page specific */
.gb-page-header {
  text-align: center;
  padding: 80px 24px 48px;
}
.gb-page-header h1 { font-size: 48px; margin-bottom: 16px; }
.gb-page-header p { font-size: 18px; color: var(--muted); }
.gb-list {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 24px 80px;
}
.photo-strip {
  display: flex;
  width: 100%;
}
.photo-strip img {
  width: 25%;
  height: 200px;
  object-fit: cover;
}

/* Reduced Motion */
/* CSS-ONLY motion (closed-world: no JS). Content is VISIBLE BY DEFAULT -
   the old IntersectionObserver reveal left the whole page at opacity:0
   whenever JS failed. Only the hero gets a load entrance. */
@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero .kicker { animation-delay: 0.02s; }
  .hero h1 { animation-delay: 0.08s; }
  .hero p.sub { animation-delay: 0.14s; }
  .hero-chips { animation-delay: 0.2s; }
  .hero-ctas { animation-delay: 0.26s; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .nav-links.desktop-only { display: none; }
  .mobile-nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--ink);
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
  }
  .mobile-nav-toggle svg { width: 24px; height: 24px; color: var(--ink); display: block; }
  
  details.mobile-menu { position: relative; }
  details.mobile-menu > summary { list-style: none; display: flex; align-items: center; justify-content: flex-end; }
  details.mobile-menu > summary::-webkit-details-marker { display: none; }
  .mobile-menu-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--paper);
    padding: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 200px;
    margin-top: 8px;
  }
  .mobile-menu-content a {
    display: block;
    padding: 12px;
    font-weight: 700;
  }
  
  .hero h1 { font-size: 36px; }
  .underwater img { height: 260px; }
  
  .benefits-grid { flex-direction: column; }
  .benefit-card-wide { width: 100%; flex-direction: column; }
  .benefit-cards-right { width: 100%; }
  
  .samantha-grid { grid-template-columns: 1fr; gap: 32px; }
  .samantha-photo { order: -1; }
  
  .gb-cards { flex-direction: column; }
  
  .sessions-grid { grid-template-columns: 1fr; gap: 32px; }
  .fee-box { flex-direction: column; align-items: flex-start; gap: 8px; }
  
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-contact, .footer-signoff { text-align: center; }
  
  body { padding-bottom: 72px; }
  .mobile-call-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--deep);
    color: var(--paper);
    padding: 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    z-index: 100;
  }
  .photo-strip { flex-wrap: wrap; }
  .photo-strip img { width: 50%; }
}

/* show the dog at the waterline in the first viewport */
.underwater img { object-position: center 28%; }
