/* Storynote — shared styles for subpages (trips, bachelorette, family, faq).
   Mirrors the design tokens + components of index.html's inline CSS.
   index.html keeps its own inline styles; only the subpages link this file. */

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

/* ── TOKENS ── */
:root {
  --blue:      #1d6a96;
  --blue-dk:   #155478;
  --blue-lt:   #e8f2f8;
  --gold:      #d4a853;
  --gold-lt:   #fdf4e3;
  --ink:       #0f0e0c;
  --ink-2:     #2a2720;
  --muted:     #6b7280;
  --bg:        #f7f8fa;
  --white:     #ffffff;
  --border:    rgba(15,14,12,0.09);
  --r-pill:    999px;
  --r-xl:      28px;
  --r-lg:      20px;
  --r-md:      14px;
  --shadow-sm: 0 2px 10px rgba(15,14,12,0.07);
  --shadow-md: 0 8px 32px rgba(15,14,12,0.10);
  --shadow-lg: 0 24px 64px rgba(15,14,12,0.13);
  --font-display: "Didot", "GFS Didot", "Bodoni MT", "Playfair Display", Georgia, serif;
  --font-body:    "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1280px;
  --gutter: clamp(1.5rem, 6vw, 5rem);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo img { height: 60px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; font-size: 0.9rem; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 0.55rem 1.35rem;
  background: var(--blue); color: var(--white);
  border-radius: var(--r-pill); font-size: 0.875rem; font-weight: 600;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover { background: var(--blue-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(29,106,150,0.3); }

/* ── PAGE HERO ── */
.page-hero { padding: 5rem 0 3.5rem; text-align: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--gold-lt); border: 1px solid rgba(212,168,83,0.3);
  border-radius: var(--r-pill);
  padding: 0.35rem 1rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: #8a6a20;
  margin-bottom: 1.75rem;
}
.hero-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1.06; letter-spacing: -0.025em;
  max-width: 20ch; margin: 0 auto 1.5rem;
  color: var(--ink);
}
.page-hero h1 em { font-style: italic; color: var(--blue); }
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--muted); line-height: 1.65;
  max-width: 38rem; margin: 0 auto 2.5rem;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: var(--blue); color: var(--white);
  border-radius: var(--r-pill); font-size: 1rem; font-weight: 600; border: none; cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover { background: var(--blue-dk); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(29,106,150,0.35); }
.btn-ghost {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--border); border-radius: var(--r-pill); font-size: 1rem; font-weight: 500; cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.hero-note { font-size: 0.8rem; color: var(--muted); margin-top: 1.5rem; }

/* ── SECTION PRIMITIVES ── */
.section { padding: 6rem 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; display: block; width: 18px; height: 1.5px; background: var(--gold); border-radius: 2px; }
.display {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.08; letter-spacing: -0.02em;
  color: var(--ink);
}
.display em { font-style: italic; color: var(--blue); }
.body-lg { font-size: 1.05rem; color: var(--muted); line-height: 1.7; max-width: 40rem; }
.prose p { font-size: 1rem; color: var(--ink-2); line-height: 1.75; max-width: 42rem; margin-bottom: 1.15rem; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--blue); font-weight: 600; }
.prose a:hover { text-decoration: underline; }

/* ── STEPS (cards) ── */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 4rem; }
.steps-4 { grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.step {
  background: var(--white); border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.steps-4 .step-img { height: 190px; }
.step-body { padding: 1.75rem; }
.step-num { font-family: var(--font-display); font-size: 2.5rem; color: #8ab0c8; line-height: 1; font-weight: 400; margin-bottom: 0.75rem; }
.step-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--ink); }
.step-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* ── SPLIT ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.split.reverse .split-visual { order: -1; }
.split-visual { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.split-visual img { width: 100%; height: 440px; object-fit: cover; display: block; }
.split-visual-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,8,6,0.82) 0%, rgba(10,8,6,0.35) 55%, transparent 100%);
  padding: 4rem 1.5rem 1.5rem;
  color: white;
}
.split-visual-story { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; line-height: 1.2; margin-bottom: 0.3rem; }
.split-visual-meta { font-size: 0.82rem; opacity: 0.85; }
.split-copy { display: flex; flex-direction: column; gap: 1.25rem; }
.split-copy .display { max-width: 18ch; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-top: 0.5rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.95rem; color: var(--ink-2); line-height: 1.55; }
.feature-list li::before {
  content: "";
  flex-shrink: 0; margin-top: 0.35em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue); opacity: 0.12;
  border: 1.5px solid var(--blue);
}

/* ── FAQ ── */
/* ── Comparison tables (vs-* and roundup pages) ───────────────────────────
   Wide content must scroll inside its own container so the page body never
   scrolls horizontally; .cmp-scroll is that container. */
.cmp-scroll { overflow-x: auto; margin-top: 2.5rem; -webkit-overflow-scrolling: touch; }
.cmp-table {
  width: 100%; min-width: 560px; border-collapse: collapse;
  background: var(--white); border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-sm); font-size: 0.95rem;
}
.cmp-table th, .cmp-table td {
  text-align: left; padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border); color: var(--ink-2); line-height: 1.6;
  vertical-align: top;
}
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table thead th { color: var(--ink); font-weight: 700; background: var(--bg); font-size: 0.9rem; }
.cmp-table tbody th { color: var(--ink); font-weight: 600; width: 22%; }
.cmp-table .cmp-us { background: rgba(38,141,199,0.05); }
.cmp-table thead .cmp-us { background: rgba(38,141,199,0.11); color: var(--blue); }
.cmp-note { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; line-height: 1.6; }

.faq-list { margin-top: 3rem; max-width: 46rem; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.75rem 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.65rem; }
.faq-item p { font-size: 0.95rem; color: var(--muted); line-height: 1.7; }
.faq-item p + p { margin-top: 0.6rem; }
.faq-item a { color: var(--blue); font-weight: 600; }
.faq-item a:hover { text-decoration: underline; }

/* ── CTA / DARK ── */
.cta-section { background: var(--ink); color: white; padding: 7rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before {
  content: "";
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(29,106,150,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.cta-eyebrow { color: var(--gold); margin-bottom: 1rem; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.06; letter-spacing: -0.02em;
  color: white; margin-bottom: 1rem;
}
.cta-title em { font-style: italic; color: var(--gold); }
.cta-sub { font-size: 1.05rem; color: rgba(255,255,255,0.55); max-width: 30rem; margin: 0 auto 2.5rem; line-height: 1.65; }
.cta-fine { font-size: 0.8rem; color: rgba(255,255,255,0.35); margin-top: 1rem; }

/* ── FOOTER ── */
.footer { background: var(--bg); padding: 2.5rem 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo img { height: 34px; width: auto; }
.footer-copy { font-size: 0.8rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; font-size: 0.8rem; color: var(--muted); flex-wrap: wrap; }
.footer-links a:hover { color: var(--ink); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) forwards; }
.d1 { animation-delay: 0.08s; } .d2 { animation-delay: 0.18s; }
.d3 { animation-delay: 0.3s; }  .d4 { animation-delay: 0.44s; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .steps-4 { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .split.reverse .split-visual { order: 0; }
  .split-visual img { height: 340px; }
  .steps { grid-template-columns: 1fr; }
  .nav-links .hide-mobile { display: none; }
}
@media (max-width: 520px) {
  .hero-actions { flex-direction: column; align-items: center; }
}
