/* ==========================================================================
   Later Cam — /weddings redesign
   --------------------------------------------------------------------------
   Loaded AFTER home.css + latercam.css (via the page's header_js yield) and
   scoped entirely under body.later_weddings, so nothing here leaks onto
   other pages. `!important` appears only where latercam.css already uses it
   (heading colors, nav background) and we must out-rank it.

   Palette: warm ivory canvas, ink text, dusty-rose accent, hairline sand
   borders. Display face: EB Garamond (Google Fonts). Body face:
   Metropolis (already self-hosted by the site).
   ========================================================================== */

body.later_weddings {
  --wed-bg: #faf7f2;         /* warm ivory canvas */
  --wed-surface: #ffffff;    /* cards */
  --wed-band: #f4ece6;       /* blush band sections */
  --wed-ink: #2d2a26;        /* near-black warm ink */
  --wed-muted: #7c7469;      /* secondary text */
  --wed-accent: #a96e63;     /* dusty rose */
  --wed-accent-deep: #8c574d;
  --wed-line: #e7ddd2;       /* hairline borders */

  background-color: var(--wed-bg) !important;
  color: var(--wed-ink);
  font-family: 'Metropolis', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  margin-top: 80px;
  padding-top: 0;
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------ typography ------------------------------ */

body.later_weddings h1,
body.later_weddings h2,
body.later_weddings h3,
body.later_weddings h4 {
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif !important;
  color: var(--wed-ink) !important;
  font-weight: 600;
  line-height: 1.15;
}

body.later_weddings h1 {
  font-size: clamp(2.3rem, 6.5vw, 3.6rem);
  letter-spacing: -0.01em;
  margin: 0 0 22px 0;
}

body.later_weddings h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.5rem);
  text-align: center;
  margin: 0 0 24px 0;
}

body.later_weddings h3 {
  font-size: 1.45rem;
  margin: 0 0 8px 0;
}

body.later_weddings a {
  color: var(--wed-accent-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.later_weddings a:hover {
  color: var(--wed-accent);
}

/* --------------------------------- nav ---------------------------------- */

body.later_weddings .fixed-top-nav {
  background-color: #000000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body.later_weddings #navbar.shadowed {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

body.later_weddings .nav-link,
body.later_weddings .nav-link:visited,
body.later_weddings .nav-link:active {
  color: #ffffff !important;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

body.later_weddings .nav-link:hover {
  color: var(--wed-band) !important;
}

body.later_weddings .navbar-toggle .fa {
  color: #ffffff;
}

/* Mobile slide-out menu (purple on other pages). */
body.later_weddings .side-collapse {
  background: var(--wed-bg);
  border-left: 1px solid var(--wed-line);
}

/* Links inside the slide-out sit on the ivory panel, not the black bar —
   the white .nav-link color above would make them invisible here. */
body.later_weddings .side-collapse .nav-link,
body.later_weddings .side-collapse .nav-link:visited,
body.later_weddings .side-collapse .nav-link:active {
  color: var(--wed-ink) !important;
}

body.later_weddings .side-collapse .nav-link:hover {
  color: var(--wed-accent-deep) !important;
}

/* ------------------------------- layout --------------------------------- */

body.later_weddings .wed {
  overflow-x: hidden;
}

body.later_weddings .wed-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(48px, 9vw, 96px) 22px 0 22px;
}

/* Full-bleed blush band (real prints section). */
body.later_weddings .wed-band {
  background: var(--wed-band);
  margin-top: clamp(48px, 9vw, 96px);
}

body.later_weddings .wed-band .wed-section {
  padding-top: clamp(40px, 7vw, 80px);
  padding-bottom: clamp(40px, 7vw, 80px);
}

/* -------------------------------- hero ---------------------------------- */

body.later_weddings .wed-hero {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 90px) 22px 0 22px;
  text-align: center;
}

body.later_weddings .wed-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--wed-accent);
  margin: 0 0 18px 0;
}

body.later_weddings .wed-lede {
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--wed-muted);
  max-width: 620px;
  margin: 0 auto 30px auto;
}

/* Doubled class beats the `.wed-figure { margin: 0 }` reset declared later
   in this file — equal specificity there would zero this margin out. */
body.later_weddings .wed-figure.wed-hero-figure {
  margin-top: clamp(110px, 14vw, 150px);
}

/* Doubled class for the same reason as above — the `.wed-figure img`
   max-width:100% rule later in the file would override this cap. */
body.later_weddings .wed-figure.wed-hero-figure img {
  max-width: min(100%, 580px);
}

/* --------------------------- CTA (app badges) --------------------------- */

body.later_weddings .wed-cta {
  text-align: center;
}

body.later_weddings .wed-cta-note {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--wed-ink);
  margin: 0 0 10px 0;
}

body.later_weddings .wed-cta-card {
  margin: clamp(36px, 6vw, 56px) auto 0 auto;
  max-width: 620px;
  background: var(--wed-surface);
  border: 1px solid var(--wed-line);
  border-radius: 18px;
  padding: 30px 24px 34px 24px;
}

/* ------------------------------- figures -------------------------------- */

body.later_weddings .wed-figure {
  margin: 0;
  text-align: center;
}

body.later_weddings .wed-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(45, 42, 38, 0.12);
}

body.later_weddings .wed-figure figcaption {
  font-size: 0.95rem;
  color: var(--wed-muted);
  margin-top: 14px;
}

/* Bare image variant (e.g. the prints photo, whose own white background
   already reads as a card — no second frame around it). */
body.later_weddings .wed-figure-bare img {
  border-radius: 0;
  box-shadow: none;
}

/* ----------------------------- value props ------------------------------ */

body.later_weddings .wed-props {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(48px, 9vw, 96px) 22px 0 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 700px) {
  body.later_weddings .wed-props {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

body.later_weddings .wed-prop {
  background: var(--wed-surface);
  border: 1px solid var(--wed-line);
  border-radius: 18px;
  padding: 28px 26px;
  text-align: center;
}

body.later_weddings .wed-prop h3 {
  color: var(--wed-accent-deep) !important;
}

body.later_weddings .wed-prop p {
  color: var(--wed-muted);
  font-size: 0.98rem;
  margin: 0;
}

/* ---------------------------- how it works ------------------------------ */

body.later_weddings .wed-steps {
  list-style: none;
  counter-reset: wedstep;
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
}

body.later_weddings .wed-steps li {
  counter-increment: wedstep;
  position: relative;
  padding: 6px 0 30px 74px;
}

/* Hairline connecting the step numbers. */
body.later_weddings .wed-steps li::after {
  content: '';
  position: absolute;
  left: 26px;
  top: 62px;
  bottom: 8px;
  width: 1px;
  background: var(--wed-line);
}

body.later_weddings .wed-steps li:last-child::after {
  display: none;
}

body.later_weddings .wed-steps li::before {
  content: counter(wedstep);
  position: absolute;
  left: 0;
  top: 2px;
  width: 52px;
  height: 52px;
  border: 1px solid var(--wed-accent);
  border-radius: 50%;
  color: var(--wed-accent);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.5rem;
  line-height: 50px;
  text-align: center;
  background: var(--wed-bg);
}

body.later_weddings .wed-steps p {
  color: var(--wed-muted);
  margin: 0;
}

/* ------------------------------ USA badge -------------------------------- */

/* Small pill flagging USA-only shipping (prints band, QR section, print
   pricing card). */
body.later_weddings .wed-usa-badge {
  display: inline-block;
  background: var(--wed-ink);
  color: #ffffff;
  font-family: 'Metropolis', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: bold;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  padding: 6px 12px 5px 12px;
  border-radius: 999px;
  vertical-align: middle;
}

/* Badge on its own line under a heading. */
body.later_weddings .wed-badge-row {
  margin: -8px 0 18px 0;
}

/* Contact-form success confirmation — same pill recipe as .wed-usa-badge,
   but wrap-friendly for a full sentence. */
body.later_weddings .wed-sent-badge {
  display: inline-block;
  background: var(--wed-ink);
  color: #ffffff;
  font-family: 'Metropolis', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: bold;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.7;
  padding: 6px 14px;
  border-radius: 999px;
  text-align: center;
}

/* Inside the pricing card title the badge sits inline after the serif
   heading — nudge it up so it centers on the cap height. */
body.later_weddings .pricing_type .wed-usa-badge {
  margin-left: 8px;
  position: relative;
  top: -3px;
}

/* --------------------------- split sections ------------------------------ */

body.later_weddings .wed-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

body.later_weddings .wed-split h2 {
  text-align: left;
}

body.later_weddings .wed-split-copy p {
  color: var(--wed-muted);
}

@media (min-width: 860px) {
  body.later_weddings .wed-split {
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
  }

  body.later_weddings .wed-split-reverse figure {
    order: 2;
  }
}

/* ------------------------------- pricing --------------------------------- */
/* Restyles the shared later_weddings_pricing_table include (page-scoped). */

body.later_weddings .wed-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 34px;
}

@media (min-width: 860px) {
  body.later_weddings .wed-pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

body.later_weddings .wed-center-copy {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  color: var(--wed-muted);
}

body.later_weddings .pricing_section {
  margin-top: 0;
  background: var(--wed-surface);
  border: 1px solid var(--wed-line);
  border-radius: 18px;
  padding: 30px 26px 12px 26px;
}

body.later_weddings .pricing_type {
  font-family: 'EB Garamond', Georgia, serif !important;
  color: var(--wed-ink) !important;
  font-weight: 600;
  font-size: 1.7rem;
  margin-bottom: 8px;
}

body.later_weddings .pricing_blurb {
  text-align: center;
  color: var(--wed-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

body.later_weddings .pricing_row {
  padding: 13px 4px;
  border-bottom: 1px solid var(--wed-line);
}

body.later_weddings .pricing_section .pricing_row:last-child {
  border-bottom: none;
}

body.later_weddings .pricing_row .pricing_price {
  font-weight: bold;
  color: var(--wed-ink);
}

body.later_weddings .pricing_row .pricing_contact {
  color: var(--wed-accent-deep);
}

/* --------------------------------- FAQ ----------------------------------- */

body.later_weddings .wed-faq {
  max-width: 760px;
}

body.later_weddings .wed-faq h2 {
  margin-top: 40px;
}

body.later_weddings .wed-faq h4 {
  font-size: 1.4rem;
  margin: 34px 0 8px 0;
}

body.later_weddings .wed-faq .answer {
  color: var(--wed-muted);
  margin-bottom: 8px;
}

/* QR-cards photo embedded in the FAQ answer (include ships an inline
   width:90%) — keep it modest and rounded here; the big feature version
   lives in the QR section above. */
body.later_weddings .wed-faq .answer img {
  width: min(90%, 420px) !important;
  height: auto;
  border-radius: 12px;
  margin-top: 16px;
}

/* ------------------------------- contact --------------------------------- */

body.later_weddings .wed-contact {
  max-width: 640px;
  text-align: center;
}

body.later_weddings .wed-contact p {
  color: var(--wed-muted);
}

body.later_weddings .wed-contact-form {
  max-width: 520px;
  margin: 26px auto 0 auto;
  text-align: left;
}

/* Honeypot field — off-screen, not display:none, so bots still fill it. */
body.later_weddings .wed-hp {
  position: absolute !important;
  left: -9999px;
}

body.later_weddings .wed-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media (min-width: 560px) {
  body.later_weddings .wed-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

body.later_weddings .wed-contact-form input,
body.later_weddings .wed-contact-form textarea {
  width: 100%;
  background: var(--wed-surface);
  border: 1px solid var(--wed-line);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--wed-ink);
  margin: 0;
  -webkit-appearance: none;
}

body.later_weddings .wed-contact-form textarea {
  resize: vertical;
  margin-bottom: 14px;
}

body.later_weddings .wed-contact-form input::placeholder,
body.later_weddings .wed-contact-form textarea::placeholder {
  color: var(--wed-muted);
}

body.later_weddings .wed-contact-form input:focus,
body.later_weddings .wed-contact-form textarea:focus {
  outline: none;
  border-color: var(--wed-accent);
}

/* Black buttons — the form submit and the "Text our team" SMS link. */
body.later_weddings .wed-btn {
  display: inline-block;
  background: #000000;
  color: #ffffff !important;
  border: none;
  border-radius: 999px;
  padding: 15px 34px;
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
}

body.later_weddings .wed-btn:hover {
  background: var(--wed-ink);
  color: #ffffff !important;
}

body.later_weddings .wed-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

body.later_weddings .wed-contact-form .wed-btn {
  width: 100%;
}

body.later_weddings .wed-form-status {
  margin: 12px 0 0 0;
  min-height: 1.2em;
}

/* The SMS button sits directly under the form now — give it its own air. */
body.later_weddings .wed-contact > .wed-btn {
  margin-top: 36px;
}

/* -------------------------------- footer --------------------------------- */

body.later_weddings .footer {
  margin-top: clamp(60px, 10vw, 110px);
  padding: 40px 22px 10px 22px;
  border-top: 1px solid var(--wed-line);
  color: var(--wed-muted);
  font-size: 0.9rem;
}

body.later_weddings .footer a {
  color: var(--wed-muted);
}

body.later_weddings .footer a:hover {
  color: var(--wed-accent-deep);
}

/* ------------------------------ small screens ---------------------------- */

@media (max-width: 500px) {
  body.later_weddings .wed-steps li {
    padding-left: 58px;
  }

  body.later_weddings .wed-steps li::before {
    width: 42px;
    height: 42px;
    line-height: 40px;
    font-size: 1.25rem;
  }

  body.later_weddings .wed-steps li::after {
    left: 21px;
    top: 52px;
  }
}
