/* VOICE: calm, cinematic, quietly expensive. One idea per screen.
   IDEA: an edited wedding: what's left once the excess is struck out.
   PICTURE: the couple's own black-and-white photography as full-screen scenes.
   COLOUR AND TYPE: Bone & Onyx. Cormorant Garamond Light at large scale, Raleway subheads, DM Sans body.
   LAYOUT: scenes, not boxes: full-bleed photos, huge centered lines, overlapping layers, slow parallax. */

/* ---------- Fonts (self-hosted, SIL Open Font License; see /fonts) ---------- */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/cormorant-garamond-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300; font-display: swap; src: url('../fonts/cormorant-garamond-latin-300-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/raleway-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/raleway-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }

/* ---------- Brand tokens ---------- */
:root {
  --ivory: #F8F5EF;        /* page ground */
  --bone: #ECE6DA;         /* alternate sections */
  --onyx: #1A1918;         /* text, dark scenes */
  --stone: #635D55;        /* secondary text on light grounds */
  --rule: #D6CDBE;         /* hairlines on ivory */
  --rule-bone: #CFC6B6;    /* hairlines on bone */
  --ivory-muted: #B3ACA0;  /* secondary text on onyx */
  --rule-dark: #3D3A36;    /* hairlines on onyx */

  --serif: 'Cormorant Garamond', Cormorant, Georgia, 'Times New Roman', serif;
  --sub: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --space: clamp(96px, 12vw, 184px);
  --header-h: 72px;
  --radius: 1px;
  --lift: 0 50px 90px -40px rgba(26, 25, 24, 0.5);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--onyx);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; background: var(--ivory); color: var(--onyx);
  font-family: var(--sub); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Free guide switch: add class="show-guide" to <html> once the guide and Flodesk form are ready */
html:not(.show-guide) [data-leadgen] { display: none !important; }
html.show-guide [data-no-leadgen] { display: none !important; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space); }
.bone { background: var(--bone); }
.dark { background: var(--onyx); color: var(--ivory); }
.center { text-align: center; }

.head { display: grid; gap: 24px; max-width: 46rem; margin-bottom: clamp(56px, 7vw, 104px); }
.head--center { margin-inline: auto; justify-items: center; text-align: center; }

.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: #000; }
.frame img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Type ---------- */
.title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.625rem, 5.4vw, 5rem); line-height: 1.02; letter-spacing: -0.02em;
  text-wrap: balance;
}
.lede { max-width: 34em; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.75; color: var(--stone); }
.dark .lede { color: var(--ivory-muted); }
.center .lede { margin-inline: auto; }
.small { font-size: 0.9375rem; line-height: 1.7; color: var(--stone); }
.dark .small { color: var(--ivory-muted); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border: 1px solid currentColor; border-radius: var(--radius);
  background: transparent; color: inherit;
  font-family: var(--sub); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.05em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: var(--onyx); color: var(--ivory); border-color: var(--onyx); }
.dark .btn:hover { background: var(--ivory); color: var(--onyx); border-color: var(--ivory); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.8125rem; }
.btn--fill { background: var(--ivory); color: var(--onyx); border-color: var(--ivory); }
.dark .btn--fill:hover { background: #fff; color: var(--onyx); border-color: #fff; }

.link {
  display: inline-block; padding-block: 12px;
  font-family: var(--sub); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.05em;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px;
}
.link:hover { text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
.center .actions, .actions.center { justify-content: center; }
.after { margin-top: clamp(56px, 7vw, 96px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--rule-dark); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.logo { font-family: var(--serif); font-weight: 400; font-size: 1.625rem; line-height: 1; text-decoration: none; padding-block: 10px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.nav__links { display: flex; gap: 30px; }
.nav__links a { display: inline-block; padding-block: 12px; font-family: var(--sub); font-weight: 500; font-size: 0.875rem; letter-spacing: 0.03em; color: var(--ivory-muted); text-decoration: none; }
.nav__links a:hover { color: var(--ivory); }

/* ---------- 1. Header (hero): words overlapping a full-height photograph ---------- */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: min(calc(100svh - var(--header-h)), 980px);
}
.hero__media { position: absolute; top: 0; bottom: 0; right: 0; left: 34%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--onyx) 0%, var(--onyx) 5%, rgba(26, 25, 24, 0.78) 18%, rgba(26, 25, 24, 0.2) 42%, rgba(26, 25, 24, 0) 60%);
}
.hero__copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 32px; padding-block: clamp(64px, 8vw, 128px); }
.hero__top, .hero__bottom { display: grid; gap: 28px; justify-items: start; }
.hero__title {
  max-width: 7.6em;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 7.4vw, 7.5rem); line-height: 0.94; letter-spacing: -0.03em;
}
.hero .lede { max-width: 27em; }

/* ---------- 2. Stakes: one big centered statement ---------- */
.statement__title {
  max-width: 15em; margin-inline: auto;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.625rem, 6.4vw, 6.25rem); line-height: 1; letter-spacing: -0.025em;
  text-wrap: balance;
}
.stakes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 5vw, 88px); margin-top: clamp(64px, 8vw, 128px); }
.stakes h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.625rem, 2.3vw, 2.125rem); line-height: 1.15; }
.stakes p { max-width: 21em; margin: 10px auto 0; color: var(--stone); }
.statement__close {
  margin-top: clamp(72px, 9vw, 136px);
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(2rem, 4.2vw, 3.75rem); line-height: 1.1;
}

/* ---------- Full-screen photo scene ---------- */
.scene {
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  min-height: min(100svh, 1000px);
  background: var(--onyx); color: var(--ivory); text-align: center;
}
.scene__media { position: absolute; inset: 0; overflow: hidden; }
.scene__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.scene__media::after { content: ""; position: absolute; inset: 0; background: rgba(26, 25, 24, 0.52); }
.scene__copy { position: relative; z-index: 1; display: grid; gap: 28px; justify-items: center; padding: var(--space) var(--gutter); }
.scene__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.5rem, 10vw, 10rem); line-height: 0.9; letter-spacing: -0.035em;
  text-wrap: balance;
}
.scene__sub { max-width: 28em; font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.6; color: rgba(248, 245, 239, 0.88); }

/* ---------- 3. Value proposition: the edit ---------- */
.edit { max-width: 980px; margin-inline: auto; text-align: center; }
.edit li { display: grid; gap: 14px; justify-items: center; padding-block: clamp(30px, 3.6vw, 52px); }
.edit li + li { border-top: 1px solid var(--rule-dark); }
.edit__cut {
  position: relative;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.375rem, 5.6vw, 5rem); line-height: 1.04; letter-spacing: -0.02em;
  color: var(--ivory-muted); text-decoration: none;
}
/* The strike is a background line on the inline text, so it follows every line when the phrase wraps */
.edit__line {
  background-image: linear-gradient(var(--ivory), var(--ivory));
  background-repeat: no-repeat; background-position: 0 58%; background-size: 100% 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-inline: 4px;
  transition: background-size 0.9s cubic-bezier(0.6, 0.1, 0.2, 1);
}
.js-motion .edit li:not(.is-drawn) .edit__line { background-size: 0% 2px; }
.edit__keep { max-width: 30em; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--ivory); }

/* ---------- 4. Guide: a card overlapping a photograph ---------- */
.layer { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.layer__media { grid-column: 6 / -1; grid-row: 1; }
.layer__card {
  grid-column: 1 / 8; grid-row: 1; z-index: 2;
  display: grid; gap: 26px; justify-items: start;
  padding: clamp(36px, 5vw, 88px);
  background: var(--ivory); box-shadow: var(--lift);
}
.places { width: 100%; padding-top: 24px; border-top: 1px solid var(--rule); font-family: var(--sub); font-weight: 500; font-size: 0.875rem; letter-spacing: 0.04em; color: var(--stone); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); margin-top: clamp(72px, 9vw, 136px); }
.quotes[hidden] { display: none; }
.quote blockquote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.32; }
.quote figcaption { margin-top: 16px; font-family: var(--sub); font-weight: 500; font-size: 0.875rem; letter-spacing: 0.03em; color: var(--stone); }

/* ---------- 5. Plan ---------- */
.plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 5vw, 80px); }
.plan li { display: grid; gap: 16px; align-content: start; }
.plan__num { font-family: var(--serif); font-weight: 300; font-size: clamp(6rem, 11vw, 10.5rem); line-height: 1; letter-spacing: -0.04em; color: #C9C0B1; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; margin-bottom: -0.08em; }
.plan h3 { font-family: var(--sub); font-weight: 600; font-size: 1.0625rem; letter-spacing: 0.03em; }
.plan p { color: var(--stone); max-width: 22em; }

/* ---------- 4b. The planning system: a timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--rule-dark); }
.timeline li { position: relative; display: grid; gap: 12px; align-content: start; padding-top: 48px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border: 1px solid var(--ivory); border-radius: 50%; background: var(--onyx); }
.timeline__when { font-family: var(--serif); font-weight: 300; font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 1.08; letter-spacing: -0.01em; }
.timeline p { font-size: 0.9375rem; line-height: 1.7; color: var(--ivory-muted); }
.system__quote { max-width: 40rem; margin: clamp(64px, 8vw, 112px) auto 0; text-align: center; }
.system__quote blockquote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.4; color: var(--ivory); }
.system__quote figcaption { margin-top: 14px; font-family: var(--sub); font-weight: 500; font-size: 0.875rem; letter-spacing: 0.03em; color: var(--ivory-muted); }
.system__proof {
  max-width: 22em; margin: clamp(56px, 7vw, 96px) auto 0; text-align: center;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.875rem, 3.6vw, 3.25rem); line-height: 1.15; text-wrap: balance;
}

/* ---------- 6. Explanatory paragraph ---------- */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(56px, 8vw, 144px); align-items: center; }
.story__media { width: 100%; }
.story__text { display: grid; gap: 24px; justify-items: start; max-width: 34rem; }
.story__text p { color: var(--ivory-muted); font-size: 1.0625rem; line-height: 1.85; }

/* ---------- 7. Price choices ---------- */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: start; max-width: 1080px; margin-inline: auto; }
.offer { display: flex; flex-direction: column; gap: 22px; padding: clamp(32px, 4.4vw, 64px); border: 1px solid var(--onyx); border-radius: var(--radius); }
.offer:not(.offer--featured) { margin-top: 64px; }
.offer--featured { padding-block: clamp(40px, 5.6vw, 80px); box-shadow: var(--lift); border-color: var(--onyx); }
.offer__name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.875rem, 2.8vw, 2.5rem); line-height: 1.1; }
.offer__for { color: var(--stone); }
.dark .offer__for { color: var(--ivory-muted); }
.offer__price { font-family: var(--serif); font-weight: 300; font-size: clamp(3.75rem, 6.4vw, 6rem); line-height: 0.95; letter-spacing: -0.03em; }
.offer__includes { border-top: 1px solid var(--rule); }
.offer__includes li { padding-block: 13px; border-bottom: 1px solid var(--rule); font-size: 0.9375rem; line-height: 1.55; }
.dark .offer__includes, .dark .offer__includes li { border-color: var(--rule-dark); }
.offer .btn { margin-top: 8px; align-self: flex-start; }
.offer-notes { display: grid; gap: 6px; max-width: 44rem; margin: 48px auto 0; text-align: center; }

/* ---------- Lead generator ---------- */
.leadgen { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
/* The card is at least a 3:4 book shape, and always tall enough for its text. The invisible ::before strut
   sets the 3:4 minimum; the text column beside it can make the card taller. (A plain aspect-ratio fixes the
   height instead, and Safari then lets the words spill out of the box on phones or with larger text.) */
.cover { --cover-pad: clamp(24px, 3vw, 36px); --cover-ratio: 1.3333; display: flex; width: 100%; max-width: 400px; margin-inline: auto; padding: var(--cover-pad); border-radius: var(--radius); box-shadow: var(--lift); }
/* height = width x ratio for the whole card, padding included */
.cover::before { content: ""; flex: none; width: 0; padding-bottom: calc(100% * var(--cover-ratio) + var(--cover-pad) * 2 * (var(--cover-ratio) - 1)); }
.cover__inner { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.cover__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.05; }
.cover__lines { display: grid; gap: 6px; }
/* Same strike as "the edit" list: a bright ivory line through the middle of the lowercase letters,
   running just past each end, over muted text, so the mark and the words stay distinct */
.cover__lines li {
  justify-self: start; margin-inline-start: -4px; padding-inline: 4px;
  font-family: var(--serif); font-size: 1.125rem; color: var(--ivory-muted);
  background-image: linear-gradient(var(--ivory), var(--ivory));
  background-repeat: no-repeat; background-position: 0 53%; background-size: 100% 1.5px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.leadgen__copy { display: grid; gap: 24px; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form__full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--sub); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.02em; }
.field input { width: 100%; height: 54px; padding: 0 16px; border: 1px solid #8A8378; border-radius: var(--radius); background: var(--ivory); color: var(--onyx); font-family: var(--sans); font-size: 1rem; }
.form .btn { justify-self: start; }
.form__status:empty { display: none; }
/* Guide signup form */
.btn--solid { background: var(--onyx); color: var(--ivory); border-color: var(--onyx); }
.btn--solid:hover { background: #000; color: var(--ivory); border-color: #000; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.field__optional { font-weight: 500; color: var(--stone); }
.field input:focus-visible, .check input:focus-visible { outline: 2px solid var(--onyx); outline-offset: 2px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 0.9375rem; line-height: 1.5; color: var(--stone); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--onyx); }
.signup__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.signup .cf-turnstile:empty { display: none; }
.form__status { font-size: 0.9375rem; line-height: 1.6; }
.form__status.is-error { color: #8A2E1F; }
.form__status.is-done { padding: 16px 18px; border: 1px solid var(--rule-bone); background: var(--ivory); color: var(--onyx); }
.form__status a { color: var(--onyx); }
.signup.is-sent .field, .signup.is-sent .check, .signup.is-sent .signup__actions, .signup.is-sent .cf-turnstile { display: none; }

/* ---------- FAQ (junk drawer, part 1) ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.faq { border-top: 1px solid var(--rule-bone); }
.faq details { border-bottom: 1px solid var(--rule-bone); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 26px; cursor: pointer; list-style: none;
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 40rem; padding-bottom: 28px; color: var(--stone); }

/* ---------- Inquiry ---------- */
.inquire { display: grid; justify-items: center; gap: 28px; text-align: center; }
.inquire__quote { max-width: 34rem; margin-bottom: clamp(24px, 4vw, 56px); }
.inquire__quote blockquote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.4; color: var(--ivory); }
.inquire__quote figcaption { margin-top: 14px; font-family: var(--sub); font-weight: 500; font-size: 0.875rem; letter-spacing: 0.03em; color: var(--ivory-muted); }
.inquire__title { font-family: var(--serif); font-weight: 300; font-size: clamp(3.5rem, 9vw, 8.75rem); line-height: 0.92; letter-spacing: -0.035em; }
.card { width: 100%; max-width: 680px; margin-top: 24px; padding: clamp(28px, 4.4vw, 64px); background: var(--ivory); color: var(--onyx); border-radius: var(--radius); text-align: left; }
.card__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.15; }
.card__body { display: grid; gap: 20px; justify-items: start; }
.card iframe { display: block; width: 100%; min-height: 560px; border: 0; }
.card .small { color: var(--stone); }
.card .small a { color: var(--onyx); }
.card .btn:hover { background: var(--onyx); color: var(--ivory); border-color: var(--onyx); }
.card__body:has(iframe) { gap: 12px; }

/* ---------- Footer (junk drawer, part 2) ---------- */
.footer { padding-block: 80px 40px; border-top: 1px solid var(--rule-dark); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.footer__brand { display: grid; gap: 14px; align-content: start; max-width: 24rem; }
.footer__heading { margin: 0 0 6px; font-family: var(--sub); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.03em; }
.footer__col a, .footer__col span { display: inline-block; padding-block: 10px; font-size: 0.9375rem; color: var(--ivory-muted); text-decoration: none; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--ivory); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule-dark); font-size: 0.875rem; color: var(--ivory-muted); }
.footer__bottom a { color: var(--ivory-muted); }

/* ---------- Simple text pages (privacy) ---------- */
.page { max-width: 44rem; }
.page h1 { margin-bottom: 12px; }
.page h2 { margin: 48px 0 12px; font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.2; }
.page p, .page li { color: var(--stone); }
.page ul { list-style: disc; padding-left: 1.25em; display: grid; gap: 6px; }

/* ---------- Motion (scroll parallax is set by js/site.js) ---------- */
.js-motion [data-parallax] { will-change: transform; }
.hero__media img { animation: settle 2.8s cubic-bezier(0.2, 0.6, 0.2, 1) both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero__media { left: 28%; }
}
@media (max-width: 900px) {
  /* Hero: the photo fills the screen; headline over the dark windows, call to action at the foot */
  .hero { align-items: stretch; min-height: max(calc(100svh - var(--header-h)), 640px); }
  .hero__media { left: 0; }
  .hero__media img { object-position: 56% 40%; }
  .hero__media::after {
    background: linear-gradient(to bottom,
      rgba(26, 25, 24, 0.9) 0%, rgba(26, 25, 24, 0.45) 24%, rgba(26, 25, 24, 0) 38%,
      rgba(26, 25, 24, 0) 50%, rgba(26, 25, 24, 0.86) 70%, rgba(26, 25, 24, 0.97) 100%);
  }
  .hero__copy { justify-content: space-between; padding-block: 28px 36px; }
  .hero__title { font-size: clamp(2.75rem, 11.5vw, 4.5rem); max-width: 8em; }
  .hero__bottom { gap: 20px; }

  .stakes, .plan { grid-template-columns: minmax(0, 1fr); }
  .layer { grid-template-columns: minmax(0, 1fr); }
  .layer__media { grid-column: 1; grid-row: 1; }
  .layer__card { grid-column: 1; grid-row: 2; margin: -88px 14px 0; }
  .story, .leadgen, .faq-grid, .quotes, .offers { grid-template-columns: minmax(0, 1fr); }
  .story__media { max-width: 560px; }
  /* Timeline turns vertical: the line runs down the left */
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 560px; margin-inline: auto; }
  .timeline::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .timeline li { padding-top: 0; padding-left: 44px; }
  .timeline li::before { top: 8px; }
  .offer:not(.offer--featured) { margin-top: 0; }
  .offer--featured { order: -1; }
  .cover { --cover-ratio: 1; } /* full width on phones, so a square reads better than a tall book */
  /* Larger type on phones so the card is easy to read */
  .cover__title { font-size: 2.625rem; }
  .cover__lines { gap: 10px; }
  .cover__lines li { font-size: 1.5rem; background-size: 100% 2px; }
  .cover .small { font-size: 1.0625rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .form { grid-template-columns: minmax(0, 1fr); }
  .logo { font-size: 1.4375rem; }
  .btn--sm { padding: 0 14px; }
  .scene { min-height: 82svh; }
  .plan__num { font-size: 5.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* "Wedding Edit guide." stays on one line (non-breaking spaces in index.html); shrink it to fit the narrowest phones */
@media (max-width: 374px) {
  #leadgen-title { font-size: 2.125rem; }
}

/* Inquiry card on phones: run the card edge to edge and slim its padding,
   so the embedded Tally form gets almost the full screen width for touch. */
@media (max-width: 600px) {
  .inquire .card {
    width: calc(100% + 2 * var(--gutter)); max-width: none;
    margin-inline: calc(-1 * var(--gutter));
    padding: 32px 16px 28px;
  }
  .card__title { padding-inline: 4px; }
  .card .small { padding-inline: 4px; }
  .card .small { line-height: 2.2; }
  .card .small a { padding-block: 10px; } /* taller tap area without changing the line layout */
}
