/* ==========================================================================
   narratedbynb — main stylesheet
   1. Tokens   2. Base   3. Type   4. Layout helpers   5. Header & menu
   6. Hero   7. Home sections   8. Pages   9. Gallery & lightbox
   10. Footer   11. Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ivory: #f7f3ec;
  --cream: #fbf9f5;
  --linen: #efe8dd;
  --sand: #dccfbc;
  --clay: #b39d83;
  --taupe: #7d6d5e;
  --ink: #2a2521;
  --text: #3e3731;
  --muted: #6b6158;
  --line: rgba(42, 37, 33, 0.14);
  --line-light: rgba(255, 255, 255, 0.4);
  --sage: #646c4d;       /* small accent text — 5:1 on ivory */
  --sage-light: #b9bba3; /* hairlines only */

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --max: 1480px;
  --gutter: clamp(20px, 5vw, 80px);
  --gap: clamp(10px, 1.4vw, 22px);
  --seam: clamp(6px, 0.7vw, 12px); /* thin gap between edge-to-edge photos */
  --section: clamp(96px, 13vw, 200px);
  --header-h: clamp(76px, 8vw, 108px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
figure, blockquote, dl, dd { margin: 0; }
p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--sand); color: var(--ink); }

:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; background: var(--ink); color: var(--ivory);
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  transform: translateY(-160%); transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

/* 3. Type ------------------------------------------------------------------ */
.eyebrow {
  display: block;
  margin: 0 0 1.6rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--muted);
}

.display, .h2, .statement, .wordmark, .feature__title, .story__title, .pillar__title,
.step__title, .collection__name, .collection__price, .next-story__title, .testimonial blockquote,
.lead, .menu__nav a, .faq__item summary {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--ink);
}

.display {
  margin: 0 0 2rem;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.display--md { font-size: clamp(2.8rem, 6vw, 5.6rem); }

.h2 {
  margin: 0 0 2rem;
  font-size: clamp(2.2rem, 4.4vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.statement {
  max-width: 17ch;
  margin: 0 auto;
  font-size: clamp(2.3rem, 5.4vw, 5rem);
  line-height: 1.08;
  text-align: center;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  line-height: 1.5;
  color: var(--text);
}

em { font-style: italic; }
.display em, .h2 em, .statement em, .wordmark em, .feature__title em, .story__title em,
.next-story__title em, .testimonial__name em { font-weight: 300; color: var(--taupe); }

.center { text-align: center; }

/* Eyebrow with a short sage rule: homepage About section and the About page. */
.eyebrow--rule { display: flex; align-items: center; gap: 16px; color: var(--sage); }
.eyebrow--rule::before, .eyebrow--center::after { content: ""; flex: none; width: 40px; height: 1px; background: var(--sage); }
.eyebrow--center { justify-content: center; }

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 6px;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
}
.text-link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform-origin: left; transition: transform 0.7s var(--ease-out);
}
.text-link:hover::after, a:hover .text-link::after { transform: scaleX(0.35); }

.button {
  display: inline-block;
  padding: 1.15rem 2.8rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ivory);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.button:hover { background: transparent; color: var(--ink); }
.button--light { background: transparent; border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.button--light:hover { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }

/* 4. Layout helpers -------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }

.section-head { margin-bottom: clamp(48px, 6vw, 96px); text-align: center; }
.section-head .h2 { margin: 0; }
.section-foot { margin-top: clamp(48px, 6vw, 88px); text-align: center; }

.frame { position: relative; overflow: hidden; background: var(--linen); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--p { aspect-ratio: 4 / 5; }
.frame--l { aspect-ratio: 3 / 2; }
.frame--wide { aspect-ratio: 16 / 9; }

.frame__open { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.frame__open img { transition: transform 1.4s var(--ease-out), opacity 0.6s var(--ease); }
.frame__open:hover img { transform: scale(1.025); }

.page-head {
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 140px));
  padding-bottom: clamp(48px, 7vw, 110px);
  text-align: center;
}
.page-head .lead { max-width: 36em; margin-inline: auto; }

/* 5. Header & menu --------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding-inline: var(--gutter);
  color: var(--ink);
  background: var(--ivory);
  transition: background 0.6s var(--ease), color 0.6s var(--ease), height 0.6s var(--ease),
    transform 0.7s var(--ease-out), box-shadow 0.6s var(--ease);
}
.site-header--overlay:not(.is-scrolled) { background: transparent; color: #fff; }
.site-header.is-scrolled { height: 72px; background: rgba(247, 243, 236, 0.96); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }

/* Logo: charcoal on ivory; a white copy cross-fades in over the hero photo. */
.brand { position: relative; display: block; justify-self: center; line-height: 0; }
.brand__logo { width: auto; height: clamp(48px, 4.4vw, 64px); transition: opacity 0.6s var(--ease), height 0.6s var(--ease); }
.brand__logo--light { position: absolute; top: 0; left: 0; opacity: 0; filter: drop-shadow(0 1px 14px rgba(24, 19, 15, 0.3)); }
.site-header--overlay:not(.is-scrolled) .brand__logo--light { opacity: 1; }
.site-header--overlay:not(.is-scrolled) .brand__logo--dark { opacity: 0; }
.menu-open .site-header .brand__logo--light { opacity: 0; }
.menu-open .site-header .brand__logo--dark { opacity: 1; }
.site-header.is-scrolled .brand__logo { height: 44px; }
.brand--footer { display: inline-block; }
.brand--footer .brand__logo { height: clamp(96px, 9vw, 132px); }

.site-nav ul { display: flex; gap: clamp(24px, 3vw, 52px); }
.site-nav--right ul { justify-content: flex-end; }
.site-nav a {
  position: relative;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding-block: 8px;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0.28em; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease-out);
}
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
  display: none;
  justify-self: end;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 10px 0;
}
.menu-toggle__close { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 6vh) var(--gutter) 40px;
  background: var(--ivory);
  opacity: 0; visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s;
}
.menu[hidden] { display: flex; }
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease); }
.menu-open { overflow: hidden; }
.menu-open .site-header { color: var(--ink); background: transparent; box-shadow: none; transform: none; }
.menu-open .menu-toggle__open { display: none; }
.menu-open .menu-toggle__close { display: inline; }

.menu__nav li {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease-out);
}
.menu-open .menu__nav li { opacity: 1; transform: none; }
.menu-open .menu__nav li:nth-child(2) { transition-delay: 0.06s; }
.menu-open .menu__nav li:nth-child(3) { transition-delay: 0.12s; }
.menu-open .menu__nav li:nth-child(4) { transition-delay: 0.18s; }
.menu-open .menu__nav li:nth-child(5) { transition-delay: 0.24s; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 0.3rem 0;
  font-size: clamp(2.6rem, 11vw, 4rem);
  line-height: 1.15;
}
.menu__nav a span { font-family: var(--sans); font-size: 0.65rem; letter-spacing: 0.2em; color: var(--muted); }
.menu__nav a[aria-current] { font-style: italic; color: var(--taupe); }
.menu__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}

@media (max-width: 960px) {
  .site-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .site-header .brand { justify-self: start; }
  .menu-toggle { display: block; }
}

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: var(--ink);
}
.hero__media, .hero__media picture { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.1);
  transition: transform 3.2s var(--ease-out);
}
.is-ready .hero__media img { transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(24, 19, 15, 0.38) 0%, rgba(24, 19, 15, 0.04) 28%, rgba(24, 19, 15, 0.12) 52%, rgba(24, 19, 15, 0.52) 78%, rgba(24, 19, 15, 0.7) 100%);
}
.hero__content { position: relative; z-index: 1; align-self: end; padding: 0 var(--gutter) max(130px, 15vh); }
.hero__title, .hero__tagline { text-shadow: 0 1px 24px rgba(24, 19, 15, 0.35); }
.hero__title {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.1rem, 8.5vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
/* One line, low in the frame, so the couple's faces stay clear. */
.hero__title .line { display: inline-block; overflow: hidden; padding: 0 0 0.12em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.6s var(--ease-out); }
.hero__title .line:nth-child(2) > span { transition-delay: 0.14s; }
.hero__title em { opacity: 0.85; margin-right: 0.04em; }
.is-ready .hero__title .line > span { transform: none; }
.hero__tagline {
  max-width: 30em;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.5;
  opacity: 0; transform: translateY(14px);
  transition: opacity 1.4s var(--ease) 0.7s, transform 1.4s var(--ease-out) 0.7s;
}
.is-ready .hero__tagline { opacity: 0.95; transform: none; }
.hero__scroll {
  position: absolute; z-index: 1; bottom: 28px; left: 50%;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transform: translateX(-50%);
  font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase;
  opacity: 0; transition: opacity 1.2s var(--ease) 1.3s;
}
.is-ready .hero__scroll { opacity: 0.85; }
.hero__scroll i { position: relative; width: 1px; height: 56px; overflow: hidden; background: var(--line-light); }
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%;
  background: #fff; animation: scroll-line 2.6s var(--ease) infinite;
}
@keyframes scroll-line { 0% { top: -100%; } 60%, 100% { top: 100%; } }

/* 7. Home sections --------------------------------------------------------- */
/* Meet Neveen — an editorial spread: a tall portrait that stays in view
   while the story scrolls beside it, with one small candid frame tucked
   against it as proof of the "little moments" in the headline. */
.meet { padding-block: clamp(104px, 12vw, 190px) var(--section); }
.meet__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}
.meet__head { grid-column: 7 / 13; grid-row: 1; padding-top: clamp(16px, 3vw, 56px); }
.meet__media {
  grid-column: 1 / 6; grid-row: 1 / span 2;
  position: sticky; top: 104px; align-self: start;
}
.meet__body { grid-column: 7 / 12; grid-row: 2; }

.meet__title {
  max-width: 13ch;
  margin: 0 0 clamp(40px, 4.5vw, 64px);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 4.6vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.meet__title em { color: var(--taupe); }

.meet__portrait { position: relative; }
.meet__portrait .frame { aspect-ratio: 3 / 4; }
.meet__caption {
  position: absolute; top: 0; left: calc(-1 * clamp(22px, 2.4vw, 40px));
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 0.62rem; font-weight: 400; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--sage);
}
.meet__moment {
  position: absolute; right: -11%; bottom: 0;
  width: 42%;
}
.meet__moment .frame { aspect-ratio: 4 / 5; box-shadow: 0 0 0 clamp(8px, 1vw, 14px) var(--ivory); }
.meet__note {
  margin-top: 1rem;
  font-family: var(--serif); font-style: italic; font-size: 1.02rem; line-height: 1.4;
  color: var(--muted);
}
.js .meet .frame.is-in img { transition: transform 1.8s var(--ease-out); }
.js .meet .frame.is-in:hover img { transform: scale(1.025); }

.meet__lead {
  margin-bottom: 1.6rem;
  font-family: var(--serif); font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.35;
  color: var(--ink);
}
.meet__body > p:not(.meet__lead) { max-width: 33em; font-size: 1.02rem; color: var(--text); }
.meet__quote {
  margin: clamp(40px, 4vw, 56px) 0;
  padding-left: clamp(20px, 2vw, 32px);
  border-left: 1px solid var(--sage-light);
}
.meet__quote p {
  font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.95rem); line-height: 1.3;
  color: var(--ink);
}
.meet__quote em { color: var(--sage); }
.meet__sign { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.meet__signature { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--taupe); }

/* CTA: label with a hairline arrow that extends on hover. */
.arrow-link {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 10px 0;
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink);
  transition: color 0.5s var(--ease);
}
.arrow-link__arrow { position: relative; width: 40px; height: 1px; background: currentColor; transition: width 0.7s var(--ease-out); }
.arrow-link__arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.arrow-link:hover, .arrow-link:focus-visible { color: var(--sage); }
.arrow-link:hover .arrow-link__arrow, .arrow-link:focus-visible .arrow-link__arrow { width: 64px; }

@media (max-width: 900px) {
  .meet__grid { grid-template-columns: minmax(0, 1fr); }
  .meet__head, .meet__media, .meet__body { grid-column: 1; grid-row: auto; }
  .meet__head { padding-top: 0; }
  .meet__title { max-width: 14ch; margin-bottom: 40px; }
  .meet__media { position: relative; top: auto; padding-bottom: 0; margin-bottom: clamp(48px, 12vw, 72px); }
  .meet__portrait { width: 82%; }
  .meet__portrait .frame { aspect-ratio: 4 / 5; }
  .meet__caption { position: static; writing-mode: horizontal-tb; transform: none; margin-top: 14px; }
  .meet__moment { right: 0; bottom: calc(-1 * clamp(64px, 16vw, 110px)); width: 42%; }
  .meet__note { font-size: 0.92rem; }
}

/* Featured weddings */
.featured__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--seam);
  row-gap: clamp(48px, 5vw, 88px);
}
.feature { display: block; }
.feature__media img { transition: transform 1.6s var(--ease-out); }
.feature:hover .feature__media img { transform: scale(1.035); }
.feature--1 { grid-column: 1 / 9; }
.feature--1 .feature__media { aspect-ratio: 3 / 2; }
.feature--2 { grid-column: 9 / 13; }
.feature--2 .feature__media { aspect-ratio: 3 / 4; }
.feature--3 { grid-column: 1 / 6; }
.feature--3 .feature__media { aspect-ratio: 4 / 5; }
.feature--4 { grid-column: 6 / 13; }
.feature--4 .feature__media { aspect-ratio: 9 / 8; }
.feature--5 { grid-column: 2 / 12; }
.feature--5 .feature__media { aspect-ratio: 2 / 1; }

.feature__caption {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-items: baseline;
  margin-top: 22px;
  padding-inline: clamp(8px, 1.4vw, 24px);
}
.feature__num { font-size: 0.68rem; letter-spacing: 0.2em; color: var(--muted); }
.feature__title { margin: 0; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.1; }
.feature__caption .eyebrow { grid-column: 2; margin: 6px 0 0; }
.feature__more {
  grid-column: 2;
  justify-self: start;
  margin-top: 12px;
  font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase;
  opacity: 0; transform: translateX(-8px);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease-out);
}
.feature:hover .feature__more, .feature:focus-visible .feature__more { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .featured__grid { row-gap: 56px; }
  .feature--1, .feature--2, .feature--3, .feature--4, .feature--5 { grid-column: 1 / -1; }
  .feature--4 .feature__media, .feature--5 .feature__media { aspect-ratio: 4 / 3; }
  .feature__more { opacity: 1; transform: none; }
}

/* Approach */
.approach { background: var(--cream); }
.approach .eyebrow { margin-bottom: 2.4rem; }
.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
  margin-top: clamp(72px, 9vw, 140px);
}
.pillars--three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.pillar { padding-top: 28px; border-top: 1px solid var(--line); }
.pillar__num { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--taupe); }
.pillar__title { margin: 0.8rem 0 1rem; font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.15; }
.pillar p { font-size: 0.95rem; color: var(--muted); }
.approach__image { margin-top: var(--section); }

/* Edge to edge: photo groups that should fill the screen width. */
.container--edge { max-width: none; padding-inline: var(--seam); }
.bleed .frame--wide { aspect-ratio: auto; height: min(92vh, 60vw); }
@media (max-width: 900px) { .bleed .frame--wide { height: auto; aspect-ratio: 4 / 3; } }

@media (max-width: 900px) {
  .pillars, .pillars--three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pillars, .pillars--three { grid-template-columns: 1fr; }
}

/* Collage (CSS columns masonry) */
.collage { columns: 3; column-gap: var(--seam); }
.collage--dense { columns: 4; }
.collage__item { break-inside: avoid; margin-bottom: var(--seam); }
.collage__item.frame--p { aspect-ratio: 4 / 5; }
.collage__item.frame--l { aspect-ratio: 4 / 3; }
.collage__item:nth-child(5n + 2).frame--p { aspect-ratio: 2 / 3; }
@media (max-width: 1100px) { .collage--dense { columns: 3; } }
@media (max-width: 720px) { .collage, .collage--dense { columns: 2; } }

/* Testimonials */
.testimonials { background: var(--linen); }
.testimonials__track { display: grid; max-width: 1000px; margin: 0 auto; text-align: center; }
.testimonial {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease-out), visibility 0s linear 1.1s;
}
.testimonial.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0.35s, 0.35s, 0s; }
.testimonial blockquote p {
  margin: 0 0 2.4rem;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.32;
  font-style: italic;
}
.testimonial blockquote p::before { content: "“"; }
.testimonial blockquote p::after { content: "”"; }
.testimonial figcaption { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.testimonial__name { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); }
.testimonial figcaption .eyebrow { margin: 0; }
.testimonials__nav {
  display: flex; justify-content: center; align-items: center; gap: 36px;
  margin-top: clamp(48px, 5vw, 72px);
  font-size: 0.65rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
}
.testimonials__nav button { letter-spacing: inherit; text-transform: inherit; padding: 8px 0; transition: color 0.4s; }
.testimonials__nav button:hover { color: var(--ink); }
.testimonials__count { font-family: var(--serif); font-size: 1rem; letter-spacing: 0.1em; color: var(--ink); }

/* Call to action */
.cta {
  position: relative;
  display: grid; place-items: center;
  min-height: min(92vh, 900px);
  padding: var(--section) var(--gutter);
  overflow: hidden;
  color: #fff; text-align: center;
  background: var(--ink);
}
.cta__media { position: absolute; inset: -8% 0; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(28, 22, 18, 0.42); }
.cta__content { position: relative; z-index: 1; max-width: 680px; }
.cta .eyebrow { color: rgba(255, 255, 255, 0.85); }
.cta .display { color: #fff; font-size: clamp(3rem, 7vw, 6.4rem); }
.cta .display em { color: #fff; opacity: 0.85; }
.cta__text { margin: 0 auto 2.8rem; max-width: 30em; color: rgba(255, 255, 255, 0.9); }

/* 8. Pages ----------------------------------------------------------------- */
/* Portfolio list */
.stories { display: grid; gap: clamp(88px, 12vw, 180px); padding-bottom: var(--section); }
.story {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: center;
}
.story__media img { transition: transform 1.6s var(--ease-out); }
.story:hover .story__media img { transform: scale(1.03); }
.story--l .story__media { aspect-ratio: 3 / 2; grid-column: 1 / 9; }
.story--p .story__media { aspect-ratio: 4 / 5; grid-column: 1 / 7; }
.story__text { grid-column: 9 / 13; padding-inline: clamp(0px, 2.5vw, 48px); }
.story--p .story__text { grid-column: 8 / 13; }
.story--right .story__media { grid-row: 1; grid-column: 5 / 13; }
.story--right.story--p .story__media { grid-column: 7 / 13; }
.story--right .story__text { grid-row: 1; grid-column: 1 / 5; }
.story--right.story--p .story__text { grid-column: 1 / 6; }
.story__title { margin: 0.6rem 0 1rem; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1.05; }
.story__summary { margin: 0 0 2rem; color: var(--muted); max-width: 28em; }

@media (max-width: 900px) {
  .story .story__media, .story--right .story__media,
  .story--right.story--p .story__media { grid-row: auto; grid-column: 1 / -1; }
  .story__text, .story--right .story__text, .story--right.story--p .story__text { grid-row: auto; grid-column: 1 / -1; padding-top: 12px; }
}

/* About — an editorial feature in five parts. The portrait opens it, each
   section changes composition so the page reads like turning pages, and the
   "outside of photography" part loosens up on a cream background. */
.ab-intro, .ab-little, .ab-approach {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}
.ab-intro__text p, .ab-little__text p, .ab-approach__text p { max-width: 33em; font-size: 1.02rem; color: var(--text); }
p.ab-lead {
  margin-bottom: 1.6rem;
  font-family: var(--serif); font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.35;
  color: var(--ink);
}
.ab-h2 {
  max-width: 14ch;
  margin: 0 0 2rem;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 4.4vw, 4.2rem); line-height: 1.05; letter-spacing: -0.01em;
  color: var(--ink);
}
.ab-h2 em, .ab-big em, .ab-intro__title em, .ab-cta__title em { color: var(--taupe); }

/* 1. Introduction: big hello on the left, portrait on the right. */
.ab-intro {
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 120px));
  padding-bottom: var(--section);
  align-items: start;
}
.ab-intro__eyebrow { grid-column: 1 / 8; grid-row: 1; }
.ab-intro__title {
  grid-column: 1 / 8; grid-row: 2;
  margin: 0 0 clamp(40px, 5vw, 72px);
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.6rem, 9vw, 8.8rem); line-height: 0.95; letter-spacing: -0.02em;
  color: var(--ink);
}
.ab-intro__text { grid-column: 1 / 7; grid-row: 3; }
.ab-intro__portrait { grid-column: 8 / 13; grid-row: 1 / span 3; position: relative; }
.ab-intro__portrait .frame { aspect-ratio: 3 / 4; }
.ab-caption {
  position: absolute; top: 0; right: calc(-1 * clamp(22px, 2.4vw, 40px));
  writing-mode: vertical-rl;
  font-size: 0.62rem; font-weight: 400; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--sage);
}

/* 2. It's the little things: oversized heading over a documentary pairing. */
.ab-little { padding-bottom: var(--section); align-items: start; }
.ab-little > .eyebrow { grid-column: 1 / -1; }
.ab-big {
  grid-column: 1 / -1;
  margin: 0 0 clamp(48px, 6vw, 96px);
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.4rem, 10.5vw, 10.5rem); line-height: 0.92; letter-spacing: -0.025em;
  color: var(--ink);
}
.ab-little__lead { grid-column: 1 / 6; }
.ab-little__text { grid-column: 7 / 12; padding-top: 4%; }
.ab-little__second { width: 60%; margin: clamp(48px, 5vw, 80px) 0 0 auto; }

/* Full-width breather between sections. */
.ab-wide { height: min(88vh, 58vw); }

/* 3. My approach: words first, then the two sides of the work side by side. */
.ab-approach { padding-block: var(--section); }
.ab-approach__head { grid-column: 1 / 6; }
.ab-approach__text { grid-column: 7 / 12; padding-top: 0.4rem; }
p.ab-approach__closing {
  margin-top: 2.2rem; padding-left: clamp(20px, 2vw, 32px);
  border-left: 1px solid var(--sage-light);
  font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.3;
  color: var(--ink);
}
.ab-pair {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: end;
  margin-top: clamp(72px, 9vw, 140px);
}
.ab-pair__item--portrait { grid-column: 1 / 6; }
.ab-pair__item--portrait .frame { aspect-ratio: 4 / 5; }
.ab-pair__item--moment { grid-column: 6 / 13; }
.ab-pair__item--moment .frame { aspect-ratio: 3 / 2; }
.ab-pair figcaption {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  margin-top: 1rem;
  font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--muted);
}
.ab-pair__label {
  font-family: var(--sans); font-style: normal; font-size: 0.64rem; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--sage);
}

/* 4. Outside of photography: lighter, staggered, a bit more playful. */
.ab-outside { padding-block: var(--section); background: var(--cream); }
.ab-outside__head { max-width: 40em; margin: 0 auto clamp(64px, 7vw, 110px); text-align: center; }
.ab-outside__head .ab-h2 { margin-inline: auto; }
.ab-outside__head p:not(.eyebrow) { max-width: 36em; margin-inline: auto; font-size: 1.02rem; }
.ab-interests { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); align-items: start; }
.ab-interest:nth-child(2) { margin-top: clamp(40px, 6vw, 96px); }
.ab-interest__media {
  aspect-ratio: 4 / 5; margin-bottom: 1.4rem;
  transition: transform 0.9s var(--ease-out);
}
.ab-interest:hover .ab-interest__media { transform: translateY(-6px); }
.ab-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 24px; text-align: center;
  background: var(--linen);
  border: 1px dashed var(--sage-light);
}
.ab-placeholder__label { font-size: 0.62rem; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; color: var(--sage); }
.ab-placeholder__hint { max-width: 18em; font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.4; color: var(--muted); }
.ab-interest__num { font-size: 0.66rem; letter-spacing: 0.2em; color: var(--muted); }
.ab-interest__title { margin: 0.3rem 0 0.4rem; font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 2.2vw, 2rem); color: var(--ink); }
.ab-interest__note { font-size: 0.95rem; color: var(--muted); }

/* 5. Closing: quiet and simple, no big image. */
.ab-cta { padding-block: var(--section); text-align: center; }
.ab-cta__title {
  max-width: 15ch; margin: 0 auto 1.8rem;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.6rem, 5.6vw, 5.2rem); line-height: 1.04; letter-spacing: -0.015em;
  color: var(--ink);
}
.ab-cta__body { max-width: 30em; margin: 0 auto 2.6rem; }
.ab-cta__email { margin-top: 2rem; font-size: 0.92rem; color: var(--muted); }
.ab-cta__email a { color: var(--ink); border-bottom: 1px solid var(--sage-light); transition: border-color 0.4s; }
.ab-cta__email a:hover { border-color: var(--ink); }

@media (max-width: 900px) {
  .ab-intro, .ab-little, .ab-approach, .ab-pair { grid-template-columns: minmax(0, 1fr); }
  .ab-intro > *, .ab-little > *, .ab-approach > *, .ab-pair > * { grid-column: 1; grid-row: auto; }
  .ab-intro__title { margin-bottom: 36px; }
  .ab-intro__portrait { width: 88%; margin-bottom: 56px; }
  .ab-intro__portrait .frame { aspect-ratio: 4 / 5; }
  .ab-caption { right: calc(-1 * clamp(20px, 6vw, 32px)); }
  .ab-big { margin-bottom: 40px; }
  .ab-little__lead { margin-bottom: 48px; }
  .ab-little__text { padding-top: 0; }
  .ab-little__second { width: 64%; }
  .ab-wide { height: auto; aspect-ratio: 4 / 3; }
  .ab-approach__head .ab-h2 { margin-bottom: 1.6rem; }
  .ab-pair { margin-top: 64px; row-gap: 48px; }
  .ab-pair__item--portrait { width: 84%; }
  .ab-interests { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .ab-interest:nth-child(2) { margin-top: 0; }
  .ab-interest__media { aspect-ratio: 3 / 2; }
}

/* Experience */
.steps { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.steps .h2 { grid-column: 1 / 5; position: sticky; top: 120px; align-self: start; }
.steps__list { grid-column: 6 / 13; }
.step {
  display: grid; grid-template-columns: 80px 1fr; column-gap: 24px;
  padding: 2.2rem 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--taupe); line-height: 1.2; }
.step__title { margin: 0 0 0.6rem; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.15; }
.step p { color: var(--muted); max-width: 34em; }

.collections { background: var(--cream); }
.collections__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.collection {
  display: flex; flex-direction: column;
  padding: clamp(32px, 3.5vw, 56px);
  border: 1px solid var(--line);
  background: var(--ivory);
}
.collection--featured { background: var(--linen); border-color: var(--sand); }
.collection .eyebrow { margin-bottom: 1rem; }
.collection__name { margin: 0; font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.05; }
.collection__text { flex: 1; margin: 1.4rem 0 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.97rem; line-height: 1.7; color: var(--muted); }
.collection .text-link { align-self: flex-start; }
.collections__foot { margin: clamp(48px, 6vw, 80px) auto 0; max-width: 36em; text-align: center; }
.collections__note { margin: 0 0 2rem; color: var(--muted); font-size: 1rem; line-height: 1.7; }

.pair-split { display: grid; grid-template-columns: 5fr 7fr; gap: var(--seam); align-items: stretch; padding-top: var(--section); }
.pair-split .frame--l { aspect-ratio: auto; height: 100%; }

.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.faq .h2 { grid-column: 1 / 5; }
.faq__list { grid-column: 6 / 13; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 1.6rem 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary span { position: relative; flex: none; width: 14px; height: 14px; }
.faq__item summary span::before, .faq__item summary span::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: var(--ink);
  transition: transform 0.5s var(--ease-out);
}
.faq__item summary span::after { transform: rotate(90deg); }
.faq__item[open] summary span::after { transform: rotate(0); }
.faq__answer { padding: 0 0 1.8rem; max-width: 36em; color: var(--muted); }

@media (max-width: 900px) {
  .steps .h2, .steps__list, .faq .h2, .faq__list { grid-column: 1 / -1; position: static; }
  .collections__grid { grid-template-columns: 1fr; }
  .pair-split { grid-template-columns: 1fr; }
  .pair-split .frame--l { height: auto; aspect-ratio: 3 / 2; }
  .step { grid-template-columns: 56px 1fr; }
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  padding-top: calc(var(--header-h) + clamp(32px, 6vw, 96px));
  padding-bottom: var(--section);
}
.contact__aside { grid-column: 1 / 6; align-self: start; position: sticky; top: 100px; }
.contact__main { grid-column: 7 / 13; padding-top: 4%; }
.contact__details { display: grid; gap: 1.2rem; margin-top: 2.4rem; }
.contact__details .eyebrow { margin-bottom: 0.2rem; }
.contact__details dd { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.contact__details a:hover { color: var(--taupe); }

.form { margin-top: clamp(40px, 5vw, 72px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem var(--gap); }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field--hp { position: absolute; left: -9999px; }
.field label { font-size: 0.66rem; font-weight: 400; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.field label span { letter-spacing: 0.1em; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.75rem 0 0.7rem;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent;
  font-family: var(--serif); font-size: 1.3rem; color: var(--ink);
  transition: border-color 0.4s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field ::placeholder { color: var(--clay); opacity: 0.8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #9a4b3c; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 3rem; }
.form__status { margin: 0; font-size: 0.9rem; color: var(--muted); }
.form__status.is-error { color: #9a4b3c; }
.form__success { padding: 3rem 0; border-top: 1px solid var(--line); }
.form.is-sent .form__grid, .form.is-sent .form__foot { display: none; }

@media (max-width: 900px) {
  .contact__aside, .contact__main { grid-column: 1 / -1; position: static; }
  .contact__main { order: -1; padding-top: 0; }
  .contact { row-gap: 72px; }
}
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }

/* 404 */
.not-found { padding-top: calc(var(--header-h) + 40px); padding-bottom: var(--section); text-align: center; }
.not-found .frame { margin-bottom: clamp(48px, 6vw, 88px); }

/* 9. Wedding gallery & lightbox ------------------------------------------- */
/* Gallery opening. Landscape cover: title, then the photo edge to edge at
   full screen height. Portrait cover: title beside the photo, which fills
   the right of the screen top to bottom. */
.wedding .page-head { padding-bottom: clamp(40px, 5vw, 80px); }
.wedding__cover .frame { width: 100%; aspect-ratio: auto; height: min(100vh, 66vw); }
.wedding__intro--p {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  padding-top: var(--header-h);
}
.wedding__intro--p .wedding__head { text-align: left; padding-top: 0; }
.wedding__intro--p .wedding__head .lead { margin-inline: 0; }
.wedding__intro--p .wedding__cover .frame { height: calc(100vh - var(--header-h)); min-height: 560px; }

@media (max-width: 900px) {
  .wedding__intro--p { grid-template-columns: minmax(0, 1fr); }
  .wedding__intro--p .wedding__head { text-align: center; padding-top: clamp(48px, 10vw, 96px); padding-bottom: clamp(40px, 5vw, 80px); }
  .wedding__intro--p .wedding__head .lead { margin-inline: auto; }
  .wedding__cover .frame { height: auto; aspect-ratio: 4 / 3; }
  .wedding__intro--p .wedding__cover .frame { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
}
.wedding__story {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  padding-block: clamp(72px, 10vw, 160px);
}
.wedding__details { grid-column: 2 / 5; display: grid; gap: 1.6rem; align-self: start; }
.wedding__details .eyebrow { margin-bottom: 0.3rem; }
.wedding__details dd { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.wedding__text { grid-column: 6 / 12; }
.wedding__text p:not(.lead) { color: var(--muted); max-width: 36em; }
.wedding__story--solo .wedding__text { grid-column: 3 / 11; text-align: center; }
.wedding__story--solo .wedding__text p { margin-inline: auto; }

/* Couple testimonials: italic serif quote, names in small sage capitals.
   Used on gallery pages (large), the Portfolio page and homepage covers. */
.couple-quote blockquote p {
  margin: 0;
  font-family: var(--serif); font-style: italic; font-weight: 300; line-height: 1.35;
  color: var(--ink);
}
.couple-quote blockquote p::before, .feature__quote-text::before { content: "\201C"; }
.couple-quote blockquote p::after, .feature__quote-text::after { content: "\201D"; }
.couple-quote figcaption, .feature__quote-name {
  display: flex; align-items: center; gap: 14px;
  margin-top: 1.2rem;
  font-family: var(--sans); font-style: normal; font-size: 0.66rem; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--sage);
}
.couple-quote figcaption::before, .feature__quote-name::before { content: ""; width: 28px; height: 1px; background: var(--sage); }
.wedding__words { padding-block: clamp(72px, 10vw, 150px); }
.couple-quote--large { max-width: 900px; margin: 0 auto; text-align: center; }
.couple-quote--large blockquote p { font-size: clamp(1.7rem, 3vw, 2.7rem); }
.couple-quote--large figcaption { justify-content: center; margin-top: 2rem; }
.story__quote { margin: 0 0 2rem; max-width: 28em; }
.story__quote blockquote p { font-size: clamp(1.25rem, 1.6vw, 1.45rem); }
.feature__quote { grid-column: 2; max-width: 34em; margin: 14px 0 0; }
.feature__quote-text {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.4; color: var(--muted);
}
.feature__quote-name { margin-top: 0.7rem; }

/* Gallery: photos run edge to edge with thin seams, so it reads as one
   continuous spread. Every row fills the width; paired photos share a height. */
.gallery { display: grid; gap: var(--seam); }
.g-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--seam);
  padding-inline: var(--seam);
  align-items: stretch;
}
.g-row--full { padding-inline: 0; }
.g-row--full .frame { grid-column: 1 / -1; aspect-ratio: auto; height: min(100vh, 66vw); }
.g-row--wide .frame { grid-column: 1 / -1; aspect-ratio: auto; height: min(92vh, 62vw); }
.g-row--pair .frame { aspect-ratio: 4 / 5; }
.g-row--pair .frame:first-child { grid-column: 1 / 7; }
.g-row--pair .frame:last-child { grid-column: 7 / 13; }
.g-row--duo .frame--p { grid-column: 1 / 6; aspect-ratio: 4 / 5; }
.g-row--duo .frame--l { grid-column: 6 / 13; aspect-ratio: auto; height: 100%; }
.g-row--flip .frame--p { grid-column: 8 / 13; grid-row: 1; }
.g-row--flip .frame--l { grid-column: 1 / 8; grid-row: 1; }
/* A lone portrait fills the screen's height. */
.g-row--single .frame { grid-column: 1 / -1; justify-self: center; width: auto; height: min(100vh, 130vw); aspect-ratio: 4 / 5; }

@media (max-width: 900px) {
  .wedding__details, .wedding__text { grid-column: 1 / -1; }
  .wedding__details { grid-template-columns: repeat(3, 1fr); gap: 16px; order: 2; }
  .wedding__story { row-gap: 48px; }
  .g-row--full .frame { height: auto; aspect-ratio: 4 / 3; }
  .g-row--wide .frame { height: auto; aspect-ratio: 3 / 2; }
  .g-row--duo .frame--p, .g-row--flip .frame--p,
  .g-row--duo .frame--l, .g-row--flip .frame--l { grid-column: 1 / -1; grid-row: auto; }
  .g-row--duo .frame--l, .g-row--flip .frame--l { height: auto; aspect-ratio: 3 / 2; }
  .g-row--single .frame { width: 100%; height: auto; }
}
@media (max-width: 560px) {
  .wedding__details { grid-template-columns: 1fr; }
}

.next-story {
  display: flex; flex-direction: column; align-items: center; gap: 48px;
  padding-block: var(--section);
  text-align: center;
}
.next-story__link { position: relative; display: flex; flex-direction: column; align-items: center; }
.next-story__link .eyebrow { margin-bottom: 1.2rem; }
.next-story__title { font-size: clamp(3rem, 8vw, 7rem); line-height: 1; transition: color 0.6s var(--ease); }
.next-story__place { margin-top: 1rem; font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.next-story__thumb {
  position: absolute; top: 50%; left: 50%; z-index: -1;
  width: clamp(180px, 20vw, 300px); aspect-ratio: 4 / 5;
  opacity: 0; transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 0.7s var(--ease), transform 1s var(--ease-out);
  pointer-events: none;
}
.next-story__link:hover .next-story__thumb { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.next-story__link:hover .next-story__title { color: #fff; }
.next-story__link:hover .next-story__title em { color: #fff; }
@media (hover: none) { .next-story__thumb { display: none; } }

.lightbox {
  position: fixed; inset: 0; z-index: 120;
  display: flex; flex-direction: column;
  background: rgba(247, 243, 236, 0.985);
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
.lightbox[hidden] { display: flex; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease); }
.lightbox__stage { flex: 1; display: grid; place-items: center; min-height: 0; padding: clamp(20px, 4vw, 56px) clamp(16px, 4vw, 56px) 0; }
.lightbox__img {
  max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto;
  object-fit: contain;
  opacity: 0; transform: scale(0.985);
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease-out);
}
.lightbox__img.is-loaded { opacity: 1; transform: none; }
.lightbox__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px clamp(16px, 4vw, 56px);
  font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
}
.lightbox__count { font-family: var(--serif); font-size: 1rem; letter-spacing: 0.12em; color: var(--ink); }
.lightbox__controls { display: flex; gap: clamp(20px, 3vw, 44px); }
.lightbox__controls button { letter-spacing: inherit; text-transform: inherit; padding: 8px 0; transition: color 0.4s; }
.lightbox__controls button:hover { color: var(--ink); }
.lightbox-open { overflow: hidden; }

/* 10. Footer --------------------------------------------------------------- */
.site-footer { background: var(--ivory); }
.site-footer__insta { padding-top: var(--section); text-align: center; }
.site-footer__handle { display: inline-flex; flex-direction: column; align-items: center; margin-bottom: clamp(32px, 4vw, 56px); }
.site-footer__handle .eyebrow { margin-bottom: 0.6rem; }
.site-footer__at { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--ink); transition: color 0.5s; }
.site-footer__handle:hover .site-footer__at { color: var(--taupe); }
.insta-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.insta-strip a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--linen); }
.insta-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), opacity 0.6s; }
.insta-strip a:hover img { transform: scale(1.04); opacity: 0.9; }
@media (max-width: 720px) { .insta-strip { grid-template-columns: repeat(3, 1fr); } }

.site-footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-block: clamp(72px, 9vw, 130px);
}
.site-footer__statement { margin-top: 1.4rem; max-width: 22em; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--muted); }
.site-footer__col .eyebrow { margin-bottom: 1.2rem; }
.site-footer__col li { padding: 0.2rem 0; font-size: 0.95rem; }
.site-footer__col a { transition: color 0.4s; }
.site-footer__col a:hover { color: var(--taupe); }
.site-footer__bar {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 28px 36px;
  border-top: 1px solid var(--line);
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.site-footer__bar p { margin: 0; }
.site-footer__bar a:hover { color: var(--ink); }
@media (max-width: 800px) {
  .site-footer__main { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* 11. Motion --------------------------------------------------------------- */
.veil {
  position: fixed; inset: 0; z-index: 150;
  background: var(--ivory);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.55s var(--ease);
}
.js .veil { opacity: 1; animation: veil-fallback 0.8s var(--ease) 3s forwards; }
.js.is-ready .veil { opacity: 0; animation: none; }
.js.is-leaving .veil { opacity: 1; }
@keyframes veil-fallback { to { opacity: 0; } }

/* Cross-page view transitions: the page crossfades, the header stays put and
   a wedding's cover morphs between the home/portfolio card and its gallery.
   Browsers without support keep the veil fade above. */
@view-transition { navigation: auto; }
.js.vt .veil { display: none; }
.site-header { view-transition-name: site-header; }
::view-transition-group(*) { animation-duration: 0.9s; animation-timing-function: var(--ease-out); }
::view-transition-old(*), ::view-transition-new(*) { height: 100%; object-fit: cover; overflow: clip; }
::view-transition-old(root) { animation: vt-out 0.45s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.7s var(--ease) 0.15s both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
.no-anim, .no-anim img { transition: none !important; }

/* Smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.2s var(--ease) var(--delay, 0ms), transform 1.4s var(--ease-out) var(--delay, 0ms);
}
.js [data-reveal="image"] { transform: none; clip-path: inset(6% 0 0 0); transition: opacity 1.2s var(--ease), clip-path 1.6s var(--ease-out); }
.js [data-reveal="image"] img { transform: scale(1.06); transition: transform 2s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.js [data-reveal="image"].is-in img { transform: none; }
.js [data-reveal="image"].is-in .frame__open:hover img { transform: scale(1.025); }

.js [data-parallax] img,
.js [data-reveal="image"] [data-parallax] img {
  transform: translate3d(0, var(--py, 0%), 0) scale(1.12);
  transition: none;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal="image"] { opacity: 1; transform: none; clip-path: none; }
  .js [data-reveal="image"] img, .hero__media img { transform: none; }
}


/* Google reviews: one quiet quote per page, set like a pull quote. */
.review { margin: 0; }
.review blockquote p {
  margin: 0;
  font-family: var(--serif); font-style: italic; font-weight: 300; line-height: 1.4;
  color: var(--ink);
}
.review blockquote p::before { content: "\201C"; }
.review blockquote p::after { content: "\201D"; }
.review figcaption {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  margin-top: 1.6rem;
}
.review__name { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.review__source {
  font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--sage); border-bottom: 1px solid transparent; transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.review__source:hover { color: var(--ink); border-bottom-color: currentColor; }

/* Between sections: centred, introduced by a short vertical hairline. */
.review-band { padding-block: clamp(24px, 3vw, 48px) clamp(80px, 10vw, 150px); }
.section + .review-band { margin-top: calc(var(--section) * -0.45); }
.review-band + .section { padding-top: calc(var(--section) * 0.55); }
.meet + .review-band { margin-top: calc(var(--section) * -0.4); }
.review-band:has(+ .cta) { padding-bottom: calc(var(--section) * 0.9); }
.review--band { max-width: 860px; margin: 0 auto; text-align: center; }
.review--band::before {
  content: ""; display: block; width: 1px; height: clamp(48px, 6vw, 80px);
  margin: 0 auto clamp(32px, 4vw, 52px); background: var(--sage-light);
}
.review--band blockquote p { font-size: clamp(1.45rem, 2.5vw, 2.25rem); }
.review--band figcaption { justify-content: center; }
.review--band .review__name::after { content: "\00B7"; margin-left: 14px; color: var(--clay); }

/* Beside the inquiry form: smaller, with the hairline rule used elsewhere. */
.review--aside {
  margin-top: clamp(36px, 4vw, 56px);
  padding-left: clamp(20px, 2vw, 28px);
  border-left: 1px solid var(--sage-light);
}
.review--aside blockquote p { font-size: clamp(1.2rem, 1.5vw, 1.4rem); }
.review--aside figcaption { margin-top: 1.1rem; flex-direction: column; gap: 4px; }

@media (max-width: 900px) {
  .review--band figcaption { flex-direction: column; align-items: center; gap: 6px; }
  .review--band .review__name::after { content: none; }
}

/* Gallery starts straight after the cover now that the story text is gone. */
.wedding__intro + .gallery { margin-top: clamp(56px, 8vw, 120px); }
