/* ============================================================
   REC YOUR MARRIAGE — shared site styles
   Wimbledon-inspired palette · Bricolage Grotesque + Inter
   ============================================================ */

:root {
  --ink: #0E1116;
  --ink-soft: #2A2F38;
  --paper: #FCFAF5;        /* fresh whites */
  --paper-2: #F1ECE0;      /* cream */
  --line: #DED5C2;
  --rec: #006837;          /* grass green — primary */
  --rec-deep: #00401F;     /* deeper green for shadows */
  --teal: #4D1F70;         /* royal purple — secondary */
  --gold: #C9A961;         /* championship gold */
  --shadow: 0 6px 22px rgba(14,17,22,.08);
  --shadow-lg: 0 18px 50px rgba(14,17,22,.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4, .display, .eyebrow {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--rec);
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.center { text-align: center; }
.accent { color: var(--rec); font-style: italic; }
.accent-purple { color: var(--teal); font-style: italic; }

/* ===== NAV ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(252,250,245,.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}
.brand .dot {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--rec);
  box-shadow: 0 0 0 4px rgba(0,104,55,.15);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--rec); }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 1.5rem; color: var(--ink);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  background: var(--rec);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 0 var(--rec-deep);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--rec-deep); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn.ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.dark { background: var(--ink); color: var(--paper); box-shadow: 0 4px 0 #000; }
.btn.gold { background: var(--gold); color: var(--ink); box-shadow: 0 4px 0 #9c7f3f; }
.btn.sm { padding: 11px 18px; font-size: 0.92rem; border-radius: 11px; }
.btn-nav { padding: 10px 18px; font-size: 0.92rem; border-radius: 11px; }

/* ===== HERO ===== */
.hero { padding: 72px 0 64px; }
.stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 7px 15px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 22px;
}
.stamp::before {
  content: ""; width: 6px; height: 6px; background: var(--rec);
  border-radius: 50%; animation: pulse 1.6s infinite;
}
.stamp.purple { background: var(--teal); }
.stamp.purple::before { background: var(--gold); }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.35;} }

h1.big {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-weight: 800;
  margin-bottom: 20px;
}
h1.big .accent { display: inline-block; transform: rotate(-2deg); }
.lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 600px;
  margin-bottom: 30px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

/* ===== SECTION HEADINGS ===== */
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }
h2.section-title {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 800;
  margin: 12px 0 14px;
}
.section-head p { font-size: 1.1rem; color: var(--ink-soft); }

/* ===== QUOTE / PULL ===== */
.pull {
  border-left: 4px solid var(--rec);
  padding: 6px 0 6px 22px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: var(--ink);
  max-width: 640px;
}
.band {
  background: var(--ink);
  color: var(--paper);
}
.band .pull { color: var(--paper); border-color: var(--gold); }
.band h2.section-title { color: var(--paper); }
.band-green { background: var(--rec); color: #fff; }
.band-cream { background: var(--paper-2); }

/* ===== CARDS ===== */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px;
  box-shadow: var(--shadow);
}
.card-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

/* problem / stakes list */
.stake-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 22px;
}
.stake-card .x { color: var(--teal); font-weight: 800; font-size: 1.1rem; }
.stake-card h3 { font-size: 1.08rem; font-weight: 800; margin: 8px 0 6px; }
.stake-card p { font-size: 0.96rem; color: var(--ink-soft); }

/* steps */
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  position: relative;
}
.step .n {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--rec);
  line-height: 1;
}
.step h3 { font-size: 1.2rem; font-weight: 800; margin: 12px 0 8px; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }

/* type cards */
.type {
  border-radius: 20px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.type .icon {
  width: 54px; height: 54px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 16px;
  background: var(--paper-2);
}
.type h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.type .nick {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-style: italic; font-weight: 600;
  color: var(--rec); margin-bottom: 12px; font-size: 1rem;
}
.type p { color: var(--ink-soft); font-size: 0.97rem; }
.type ul { list-style: none; margin-top: 14px; display: grid; gap: 7px; }
.type li {
  display: flex; gap: 9px; font-size: 0.92rem; color: var(--ink-soft);
}
.type li::before { content: "→"; color: var(--rec); font-weight: 700; flex-shrink: 0; }

/* workbook cards */
.book {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 26px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.book .tag {
  align-self: flex-start;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--gold);
  background: rgba(201,169,97,.14);
  padding: 4px 10px; border-radius: 99px;
}
.book h3 { font-size: 1.3rem; font-weight: 800; margin-top: 6px; }
.book p { color: var(--ink-soft); font-size: 0.97rem; }

/* bio */
.bio-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.bio .role {
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--rec); margin: 14px 0 4px;
}
.bio h3 { font-size: 1.6rem; font-weight: 800; }
.bio p { color: var(--ink-soft); margin-top: 8px; }

/* ===== PHOTO PLACEHOLDERS ===== */
.photo {
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper-2);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-ph {
  position: relative;
  border: 2px dashed var(--rec);
  border-radius: 20px;
  background:
    repeating-linear-gradient(45deg, rgba(0,104,55,.04) 0 14px, transparent 14px 28px),
    var(--paper-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 22px;
  min-height: 260px;
  color: var(--rec-deep);
}
.photo-ph .cam { font-size: 1.8rem; margin-bottom: 8px; }
.photo-ph .ph-label {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 0.95rem; margin-bottom: 4px;
}
.photo-ph .ph-note { font-size: 0.8rem; color: var(--ink-soft); max-width: 220px; }
.photo-ph.tall { min-height: 420px; }
.photo-ph.wide { min-height: 320px; }

/* ===== EMAIL CAPTURE ===== */
.signup {
  background: var(--ink);
  color: var(--paper);
  border-radius: 24px;
  padding: 48px 36px;
  text-align: center;
}
.signup h2 { font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 800; margin-bottom: 12px; }
.signup p { color: rgba(250,247,242,.8); max-width: 480px; margin: 0 auto 26px; }
.signup-form {
  display: flex; gap: 10px; max-width: 460px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center;
}
.signup-form input {
  flex: 1; min-width: 220px;
  padding: 15px 16px;
  border: none; border-radius: 12px;
  font-family: inherit; font-size: 1rem;
}
.signup-form input:focus { outline: 3px solid var(--gold); }
.signup .note { font-size: 0.8rem; color: rgba(250,247,242,.55); margin-top: 14px; }
.signup .ok {
  display: none; margin-top: 16px; color: var(--gold);
  font-weight: 700; font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: rgba(250,247,242,.7);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px; margin-bottom: 40px;
}
.footer .brand { color: var(--paper); margin-bottom: 12px; }
.footer .tag {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-style: italic; font-weight: 700; color: var(--gold);
  font-size: 1.05rem;
}
.footer h4 {
  color: var(--paper); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.14em; margin-bottom: 14px;
}
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer a { text-decoration: none; color: rgba(250,247,242,.7); font-size: 0.94rem; }
.footer a:hover { color: var(--gold); }
.footer .legal {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px; font-size: 0.82rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ===== MISC ===== */
.tagline-strip {
  background: var(--rec);
  color: #fff; text-align: center;
  padding: 16px 24px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
}
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.in { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .card-grid, .card-grid.two { grid-template-columns: 1fr; }
  .bio-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 60px 0; }
  .nav-links {
    position: fixed; top: 61px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start;
    gap: 0; padding: 8px 24px 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; width: 100%; }
  .nav-links .btn-nav { margin-top: 8px; }
  .nav-toggle { display: block; }
}

/* ===== PHOTO FRAMES (real images) ===== */
.photo { box-shadow: var(--shadow); }
.photo.ar45 { aspect-ratio: 4 / 5; }
.photo-wedding {
  max-width: 400px; margin: 0 auto;
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.photo-wedding img { width: 100%; height: auto; display: block; }

/* photo caption */
.photo-caption {
  text-align: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 12px;
}
