/* ==========================================================================
   Gareth Edwards Photography — main stylesheet
   Warm, documentary, editorial. Animations use transform/opacity/clip-path
   only, and everything respects prefers-reduced-motion.
   ========================================================================== */

:root {
  /* Colour */
  --paper: #f4efe7;
  --paper-2: #ebe3d6;
  --paper-3: #ddd2bf;
  --ink: #1d1a16;
  --ink-2: #4a443c;
  --ink-3: #665d52; /* passes AA on both paper tones */
  --moss: #4d5839;
  --clay: #964d2b; /* deepened from #a85a35 so small text passes WCAG AA (5.4:1 on paper) */
  --blush: #f1d8c3;
  --line: rgba(29, 26, 22, 0.14);
  --line-light: rgba(244, 239, 231, 0.2);

  /* Type */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 1.1s;

  /* Layout */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --header-h: 76px;
  --section: clamp(88px, 12vw, 176px);
}

/* ---------- Page transitions (cross-document, progressive) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.45s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in 0.6s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--clay); color: var(--paper); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; background: var(--ink); color: var(--paper);
  transform: translateY(-160%); transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Film-grain texture: a single static layer, cheap to paint */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3, .serif { font-family: var(--serif); font-optical-sizing: auto; }
.display {
  font-weight: 300;
  font-size: clamp(3rem, 1.4rem + 6.6vw, 8.25rem);
  line-height: 0.94;
  letter-spacing: -0.028em;
}
.h1 {
  font-weight: 300;
  font-size: clamp(2.75rem, 1.5rem + 5vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.h2 {
  font-weight: 300;
  font-size: clamp(2.15rem, 1.3rem + 3.4vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.h3 {
  font-weight: 400;
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; font-weight: 300; }
.accent { color: var(--clay); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 600 0.72rem/1 var(--sans);
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.eyebrow--plain::before { display: none; }
.lede {
  font-size: clamp(1.15rem, 1rem + 0.55vw, 1.42rem);
  line-height: 1.6;
  color: var(--ink-2);
}
.prose p + p { margin-top: 1.1em; }
.prose { color: var(--ink-2); max-width: 62ch; }

/* ---------- Layout ---------- */
.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap--narrow { width: min(920px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .eyebrow { color: rgba(244, 239, 231, 0.6); }
.section--dark .lede, .section--dark .prose { color: rgba(244, 239, 231, 0.78); }
.section--tint { background: var(--paper-2); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 7vw, 96px); }
.section-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.3fr 1fr; gap: 40px; }
  .section-head--split > :last-child { justify-self: end; max-width: 44ch; }
}

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; background: var(--paper-3); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media picture, .hero__slide picture, .story-hero__media picture, .cta-band__media picture { height: 100%; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--tall { aspect-ratio: 2 / 3; }
.media--land { aspect-ratio: 3 / 2; }
.media--wide { aspect-ratio: 16 / 9; }
.js .media img { opacity: 0; transition: opacity 0.9s var(--ease-out); }
.js .media img.is-loaded { opacity: 1; }

/* ---------- Links & buttons ---------- */
.link {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding-block: 6px;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right; transition: transform 0.6s var(--ease-out);
}
.link:hover::after { transform: scaleX(0); transform-origin: right; animation: line-in 0.6s 0.25s var(--ease-out) forwards; }
@keyframes line-in { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }
.arrow { display: inline-block; transition: transform 0.5s var(--ease-out); }
/* Arrows slip out to the right and glide back in from the left */
:is(.link, .btn, .card, .next-story):is(:hover, :focus-visible) .arrow { animation: arrow-loop 0.75s var(--ease-out); }
@keyframes arrow-loop {
  0% { transform: none; opacity: 1; }
  40% { transform: translateX(80%); opacity: 0; }
  41% { transform: translateX(-80%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-weight: 600; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
  transition: color 0.5s var(--ease-out), transform 0.7s var(--ease-out);
}
.btn > span:first-child { transition: transform 0.7s var(--ease-out); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--clay); transform: translateY(101%); transition: transform 0.6s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { color: var(--paper); }
.btn--ghost { background: transparent; color: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.btn--ghost:hover { color: var(--paper); box-shadow: inset 0 0 0 1px var(--clay); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; color: var(--ink);
  transition: transform 0.6s var(--ease-out), background-color 0.4s, color 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
[data-header="over"] .site-header:not(.is-scrolled) { color: #fff; }
.site-header.is-scrolled {
  background: rgba(244, 239, 231, 0.9);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.nav-open .site-header { color: var(--paper) !important; background: transparent !important; border-color: transparent !important; transform: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }

.logo { display: inline-flex; align-items: center; line-height: 1; position: relative; z-index: 2; color: inherit; padding-block: 16px; margin-block: -16px; } /* 44px tap target without moving the layout */
/* The wordmark is filled with currentColor, so it reverses out to white over the hero and in the footer */
.logo__mark { display: block; width: clamp(220px, 21vw, 320px); height: auto; transition: opacity 0.4s var(--ease-out), transform 0.8s var(--ease-out); }
.logo:hover .logo__mark { opacity: 0.78; }
.logo__mark--footer { width: clamp(240px, 24vw, 340px); }
.footer__brand .logo { color: var(--paper); }

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { position: relative; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; padding-block: 8px; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-out);
}
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.no-roll .nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { min-height: 44px; padding: 0 22px; }
[data-header="over"] .site-header:not(.is-scrolled) .nav .btn { background: #fff; color: var(--ink); }
[data-header="over"] .site-header:not(.is-scrolled) .nav .btn:hover { color: #fff; }
.burger { position: relative; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; margin-right: -10px; }
.burger span { position: absolute; width: 26px; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease-out), opacity 0.3s; }
.burger span:nth-child(1) { transform: translateY(-5px); }
.burger span:nth-child(2) { transform: translateY(5px); }
.nav-open .burger span:nth-child(1) { transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { transform: rotate(-45deg); }
@media (min-width: 960px) { .nav { display: block; } .burger { display: none; } }

.mobile-nav {
  position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 0.8s var(--ease-io), visibility 0s 0.8s;
}
.nav-open .mobile-nav { clip-path: inset(0); visibility: visible; transition: clip-path 0.8s var(--ease-io), visibility 0s; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.mobile-nav li { overflow: hidden; padding: 0.05em 0.2em 0.2em; margin: -0.05em -0.2em -0.2em; }
.mobile-nav a.mobile-nav__link {
  display: inline-block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.15;
  transform: translateY(110%); transition: transform 0.8s var(--ease-out);
}
.nav-open .mobile-nav a.mobile-nav__link { transform: none; transition-delay: calc(0.25s + var(--i) * 0.06s); }
.mobile-nav__foot { display: grid; gap: 10px; font-size: 0.95rem; color: rgba(244, 239, 231, 0.7); opacity: 0; transition: opacity 0.6s 0.5s; }
.nav-open .mobile-nav__foot { opacity: 1; }
.nav-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; height: 100svh; min-height: 600px; max-height: 1200px; color: #fff; overflow: hidden; background: #2b2520; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slides { transform: scale(1.04); will-change: transform; }
.hero__slide { opacity: 0; transition: opacity 1.8s var(--ease-io); }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide.is-leaving { opacity: 0; z-index: 0; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.hero__slide.is-active img, .hero__slide.is-leaving img { animation: kenburns 10s var(--ease-out) forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.01); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to top, rgba(22, 18, 14, 0.82) 0%, rgba(22, 18, 14, 0.45) 32%, rgba(22, 18, 14, 0) 62%),
    linear-gradient(to bottom, rgba(22, 18, 14, 0.42) 0%, rgba(22, 18, 14, 0) 22%);
}
.hero__content { position: absolute; inset: auto 0 0; z-index: 3; padding-bottom: clamp(36px, 7vh, 88px); }
.hero__grid { display: grid; gap: 28px; align-items: end; }
.hero__title { max-width: none; }
/* Two set lines: "Your day," then "as it really felt." - kept unbroken wherever they fit */
@media (min-width: 600px) { .hero__title em { white-space: nowrap; } }
.hero__title em { color: var(--blush); }
.hero__aside { display: grid; gap: 24px; max-width: 380px; }
.hero__aside p { font-size: 1.05rem; line-height: 1.6; color: rgba(255, 255, 255, 0.86); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.hero__meta {
  display: flex; align-items: center; gap: 18px; margin-top: clamp(28px, 5vh, 56px);
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75);
}
.hero__progress { position: relative; flex: 0 0 120px; height: 1px; background: rgba(255, 255, 255, 0.28); overflow: hidden; }
.hero__progress span { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.hero__progress span.is-running { animation: progress var(--slide-ms, 6500ms) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.hero__count { font-variant-numeric: tabular-nums; }
.hero__caption { margin-left: auto; text-align: right; display: none; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1fr auto; }
  .hero__caption { display: block; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(56px, 10vw, 140px)); padding-bottom: clamp(40px, 6vw, 80px); }
.page-hero__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 48px; } }
.page-hero .lede { max-width: 46ch; }
.page-hero__media { margin-top: clamp(40px, 6vw, 80px); }

/* ---------- Intro / about ---------- */
.intro { row-gap: 56px; align-items: start; }
.intro__text { grid-column: 1 / -1; }
.intro__statement { margin-top: 28px; max-width: 18ch; }
.intro__body { margin-top: 36px; display: grid; gap: 28px; }
.intro__sign { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--clay); }
.intro__collage { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: repeat(6, 1fr); }
.intro__collage .c1 { grid-column: 1 / 5; grid-row: 1; }
/* The inset sits in a cream mount that hugs the photo exactly (align-self stops it stretching to the row height) */
.intro__collage .c2 { grid-column: 4 / 7; grid-row: 1; align-self: start; margin-top: 45%; padding: clamp(8px, 1vw, 14px); background: var(--paper); z-index: 1; }
.intro__collage .c2 .media { display: block; }
@media (min-width: 960px) {
  .intro__text { grid-column: 1 / 7; position: sticky; top: calc(var(--header-h) + 40px); }
  .intro__collage { grid-column: 8 / 13; }
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 32px; border-top: 1px solid var(--line); margin-top: 12px; }
.stat__num { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 10px; font-size: 0.78rem; line-height: 1.4; color: var(--ink-3); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(18px, 2.6vw, 30px); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(1.6rem, 1rem + 2.6vw, 3.1rem); white-space: nowrap; padding-inline: 0.55em; }
.marquee__star { width: 0.9rem; height: 0.9rem; color: var(--clay); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Story cards ---------- */
.stories { display: grid; gap: clamp(56px, 8vw, 32px) clamp(16px, 2.4vw, 40px); }
.card { display: block; }
.card .media img { transition: transform 1.4s var(--ease-out), opacity 0.9s var(--ease-out); }
.card:hover .media img { transform: scale(1.045); }
.card__body { display: grid; gap: 10px; margin-top: 22px; }
.card__meta { display: flex; justify-content: space-between; gap: 16px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.card__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); line-height: 1.05; letter-spacing: -0.015em; }
.card__excerpt { color: var(--ink-2); max-width: 44ch; }
.card__cta { margin-top: 8px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; display: inline-flex; gap: 10px; }
@media (min-width: 900px) {
  .stories { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .stories .card:nth-child(1) { grid-column: 1 / 8; }
  .stories .card:nth-child(2) { grid-column: 9 / 13; margin-top: 38%; }
  .stories .card:nth-child(3) { grid-column: 2 / 7; margin-top: clamp(72px, 8vw, 136px); }
  .stories .card:nth-child(4) { grid-column: 8 / 13; margin-top: 18%; }
}

/* ---------- Approach (dark, sticky media) ---------- */
.approach { row-gap: 56px; }
.approach__media { grid-column: 1 / -1; }
.approach__head { grid-column: 1 / -1; }
.approach__steps { grid-column: 1 / -1; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 8px 28px; padding-block: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line-light); }
.step:last-child { border-bottom: 1px solid var(--line-light); }
.step__num { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); line-height: 1; color: var(--blush); grid-row: span 2; min-width: 1.3em; } /* same width for 01/02/03 so the titles line up */
.step__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.1; }
.step p { color: rgba(244, 239, 231, 0.75); max-width: 48ch; }
@media (min-width: 960px) {
  /* The photo spans both rows, so the steps follow the heading instead of waiting below the photo */
  .approach { grid-template-rows: auto 1fr; row-gap: 0; }
  .approach__media { grid-column: 1 / 6; grid-row: 1 / 3; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
  .approach__head { grid-column: 7 / 13; grid-row: 1; }
  .approach__steps { grid-column: 7 / 13; grid-row: 2; align-self: start; }
}

/* ---------- Horizontal film strip ---------- */
.filmstrip { position: relative; }
.filmstrip__sticky { overflow: hidden; }
.filmstrip__head { padding-bottom: clamp(32px, 5vw, 56px); }
.filmstrip__track {
  display: flex; gap: clamp(12px, 1.6vw, 24px); padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.filmstrip__track::-webkit-scrollbar { display: none; }
.filmstrip__item { flex: 0 0 auto; scroll-snap-align: center; height: min(clamp(300px, 56vh, 600px), 60vw); } /* 60vw keeps landscape frames within 90vw on phones */
.filmstrip__item .media { height: 100%; }
.filmstrip__item.is-land { aspect-ratio: 3 / 2; }
.filmstrip__item.is-port { aspect-ratio: 2 / 3; }
.filmstrip__end { flex: 0 0 auto; display: grid; place-content: center; gap: 20px; padding-inline: clamp(24px, 6vw, 120px); text-align: left; }
/* Desktop: vertical scroll drives the strip sideways */
.filmstrip.is-pinned .filmstrip__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.filmstrip.is-pinned .filmstrip__track { overflow: visible; scroll-snap-type: none; will-change: transform; width: max-content; }

/* ---------- Testimonials ---------- */
.quotes { text-align: center; }
.quotes__stage { display: grid; margin-top: 40px; }
.quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), visibility 0s 0.9s; }
.quote.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0.15s, 0.15s, 0s; }
.quote blockquote p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 1.1rem + 2.1vw, 3rem); line-height: 1.22; letter-spacing: -0.015em; max-width: 26ch; margin-inline: auto; text-wrap: balance; }
.quote figcaption { margin-top: 32px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.quotes__mark { width: 44px; margin: 0 auto; color: var(--clay); }
.quotes__dots { display: flex; justify-content: center; gap: 4px; margin-top: 44px; }
.quotes__dots button { width: 44px; height: 44px; display: grid; place-items: center; }
.quotes__dots button { position: relative; }
.quotes__dots button::before, .quotes__dots button::after { content: ""; position: absolute; left: 9px; top: 21px; width: 26px; height: 2px; background: var(--ink); }
.quotes__dots button::before { opacity: 0.16; transition: opacity 0.4s; }
.quotes__dots button:hover::before { opacity: 0.4; }
.quotes__dots button::after { transform: scaleX(0); transform-origin: left; }
.quotes__dots button[aria-current="true"]::after { transform: scaleX(1); transition: transform 0.6s var(--ease-out); }
.quotes.is-playing .quotes__dots button[aria-current="true"]::after { transform: scaleX(0); animation: dot-fill 7.5s linear forwards; transition: none; }
.quotes.is-paused .quotes__dots button[aria-current="true"]::after, .quotes.is-away .quotes__dots button[aria-current="true"]::after { animation-play-state: paused; }
@keyframes dot-fill { to { transform: scaleX(1); } }

/* ---------- Packages ---------- */
.pkgs { display: grid; gap: 20px; }
@media (min-width: 960px) { .pkgs { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pkg {
  position: relative; display: flex; flex-direction: column; gap: 22px;
  padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line); background: var(--paper);
  transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out);
}
.pkg:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(29, 26, 22, 0.35); }
/* A soft light that follows the pointer across the card */
.pkg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.6s var(--ease-out);
  background: radial-gradient(460px circle at var(--x, 50%) var(--y, 0%), rgba(150, 77, 43, 0.09), transparent 62%);
}
.pkg--featured::after { background: radial-gradient(460px circle at var(--x, 50%) var(--y, 0%), rgba(241, 216, 195, 0.11), transparent 62%); }
.pkg:hover::after { opacity: 1; }
.pkg--featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pkg--featured .pkg__desc, .pkg--featured .pkg__list { color: rgba(244, 239, 231, 0.78); }
.pkg--featured .pkg__list li { border-color: var(--line-light); }
.pkg__badge { position: absolute; top: 0; right: clamp(28px, 3vw, 44px); transform: translateY(-50%); padding: 7px 14px; border-radius: 999px; background: var(--clay); color: var(--paper); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.pkg__name { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2rem); font-weight: 400; line-height: 1.1; }
.pkg__price { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 2.2rem + 2.6vw, 4.4rem); line-height: 1; letter-spacing: -0.03em; }
.pkg__price small { display: block; margin-bottom: 10px; font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.6; }
.pkg__hours { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); }
.pkg--featured .pkg__hours { color: var(--blush); }
.pkg__desc { color: var(--ink-2); }
.pkg__list { list-style: none; padding: 0; margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.pkg__list li { display: grid; grid-template-columns: 18px 1fr; gap: 14px; padding-block: 12px; border-top: 1px solid var(--line); }
.pkg__list svg { width: 16px; margin-top: 6px; color: var(--clay); }
.pkg--featured .pkg__list svg { color: var(--blush); }
.pkg .btn { margin-top: auto; }
.pkg--featured .btn { background: var(--paper); color: var(--ink); }
.pkg--featured .btn:hover { color: var(--paper); }

.pkg-teaser { display: grid; border-top: 1px solid var(--line); }
.pkg-teaser a { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 24px; padding-block: clamp(22px, 3vw, 34px); border-bottom: 1px solid var(--line); transition: padding 0.6s var(--ease-out), color 0.4s; }
.pkg-teaser a:hover { padding-left: 14px; color: var(--clay); }
.pkg-teaser__name { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.9rem); line-height: 1.1; }
.pkg-teaser__price { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 1.1rem + 1vw, 2.1rem); }
.pkg-teaser__meta { grid-column: 1 / -1; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }

.addons { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .addons { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 40px; } }
.addon { padding-block: 28px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
@media (min-width: 900px) { .addon { border-bottom: 0; border-top: 1px solid var(--ink); } }
.addon h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; }
.addon p { color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: clamp(20px, 2.6vw, 30px);
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.7rem); line-height: 1.25;
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--clay); }
.faq__icon { position: relative; flex: 0 0 18px; height: 18px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon::after { transform: rotate(0); }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size 0.6s var(--ease-out), content-visibility 0.6s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq__answer { padding-bottom: 28px; max-width: 64ch; color: var(--ink-2); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; background: #2b2520; isolation: isolate; }
.cta-band__media { position: absolute; inset: -12% 0; z-index: -1; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(22, 18, 14, 0.68), rgba(22, 18, 14, 0.42)); }
.cta-band__inner { padding-block: clamp(110px, 18vw, 240px); display: grid; justify-items: center; text-align: center; gap: 28px; }
.cta-band .h1 { max-width: 14ch; }
.cta-band .h1 em { color: var(--blush); }
.cta-band p { max-width: 46ch; color: rgba(255, 255, 255, 0.85); }

/* ---------- Weddings index ---------- */
.story-list { display: grid; gap: clamp(72px, 11vw, 160px); }
.story-row { display: grid; gap: 28px; align-items: center; }
.story-row .card__title { font-size: clamp(2.2rem, 1.4rem + 3vw, 4.4rem); }
.story-row__num { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.3rem; color: var(--clay); }
.story-row__body { display: grid; gap: 18px; justify-items: start; }
@media (min-width: 900px) {
  .story-row { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); }
  .story-row .story-row__media { grid-column: 1 / 8; }
  .story-row .story-row__body { grid-column: 9 / 13; }
  .story-row:nth-child(even) .story-row__media { grid-column: 6 / 13; grid-row: 1; }
  .story-row:nth-child(even) .story-row__body { grid-column: 1 / 5; grid-row: 1; }
}

/* ---------- Story page ---------- */
.story-hero { position: relative; height: 100svh; min-height: 560px; max-height: 1100px; color: #fff; overflow: hidden; background: #2b2520; }
.story-hero__media { position: absolute; inset: 0; }
.story-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.story-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 18, 14, 0.7), rgba(22, 18, 14, 0) 55%), linear-gradient(to bottom, rgba(22, 18, 14, 0.4), rgba(22, 18, 14, 0) 22%); }
.story-hero__content { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: clamp(40px, 8vh, 96px); display: grid; gap: 20px; }
.story-hero .eyebrow { color: rgba(255, 255, 255, 0.8); }
.story-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-block: 28px; border-block: 1px solid var(--line); }
@media (min-width: 700px) { .story-meta { grid-template-columns: repeat(4, 1fr); } }
.story-meta dt { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.story-meta dd { margin-top: 6px; font-family: var(--serif); font-size: 1.15rem; }
.story-intro { display: grid; gap: 40px; }
.story-blocks { display: grid; gap: clamp(16px, 2.4vw, 40px); }
.sb-full .media { aspect-ratio: 3 / 2; }
.sb-full.is-portrait { width: min(100%, 760px); margin-inline: auto; }
.sb-full.is-portrait .media { aspect-ratio: 2 / 3; }
.sb-pair, .sb-trio { display: grid; gap: clamp(16px, 2.4vw, 40px); }
@media (min-width: 700px) {
  .sb-pair { grid-template-columns: 1fr 1fr; align-items: start; }
  .sb-pair > :nth-child(2) { margin-top: 12%; }
  .sb-trio { grid-template-columns: repeat(3, 1fr); }
  .sb-trio > :nth-child(2) { margin-top: 8%; }
}
.sb-note { display: grid; gap: 32px; align-items: center; padding-block: clamp(32px, 6vw, 96px); }
.sb-note__text { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.25; letter-spacing: -0.01em; max-width: 22ch; }
@media (min-width: 900px) {
  .sb-note { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); }
  .sb-note .sb-note__text { grid-column: 2 / 7; }
  .sb-note > .zoom { grid-column: 8 / 13; }
}
.zoom { position: relative; display: block; cursor: zoom-in; }
.story-quote { text-align: center; }
.story-quote blockquote p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); line-height: 1.45; max-width: 40ch; margin-inline: auto; }
.story-quote figcaption { margin-top: 28px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244, 239, 231, 0.6); }
.next-story { position: relative; display: block; overflow: hidden; color: #fff; background: #2b2520; }
.next-story .media { position: absolute; inset: 0; background: none; }
.next-story .media img { transition: transform 1.6s var(--ease-out), opacity 0.9s; }
.next-story:hover .media img { transform: scale(1.05); }
.next-story::after { content: ""; position: absolute; inset: 0; background: rgba(22, 18, 14, 0.5); transition: background 0.6s; }
.next-story:hover::after { background: rgba(22, 18, 14, 0.4); }
.next-story__inner { position: relative; z-index: 1; padding-block: clamp(100px, 16vw, 200px); display: grid; justify-items: center; text-align: center; gap: 18px; }
.next-story .eyebrow { color: rgba(255, 255, 255, 0.8); }

/* ---------- Portfolio ---------- */
.filters { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.filters__pill { display: none; }
.js .filters .filters__pill {
  display: block; position: absolute; left: 0; top: 0; z-index: 0; border-radius: 999px; background: var(--ink); pointer-events: none;
  transition: transform 0.7s var(--ease-out), width 0.7s var(--ease-out), height 0.7s var(--ease-out), opacity 0.6s;
}
.js .filters .filters__pill.no-anim { transition: none; }
.filter { position: relative; z-index: 1; min-height: 44px; padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; transition: background 0.4s, color 0.4s, box-shadow 0.4s; }
.filter:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.js .filter[aria-pressed="true"] { background: transparent; box-shadow: inset 0 0 0 1px transparent; transition: color 0.5s 0.1s, box-shadow 0.4s; }
.masonry { columns: 2 160px; column-gap: clamp(10px, 1.6vw, 24px); }
@media (min-width: 900px) { .masonry { columns: 3; } }
@media (min-width: 1400px) { .masonry { columns: 4; } }
.masonry__item { break-inside: avoid; margin-bottom: clamp(10px, 1.6vw, 24px); }
.masonry__item[hidden] { display: none; }
.masonry__item .media img { transition: transform 1.2s var(--ease-out), opacity 0.9s var(--ease-out); }
.masonry__item a:hover .media img { transform: scale(1.04); }
::view-transition-group(*) { animation-duration: 0.6s; animation-timing-function: var(--ease-out); }

/* ---------- Lightbox ---------- */
/* The photo grows out of its thumbnail (FLIP, in JS); only the backdrop and chrome fade */
.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--paper); overflow: hidden;
}
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox::backdrop { background: rgba(20, 17, 14, 0.96); transition: opacity 0.55s var(--ease-out); }
@starting-style { .lightbox[open]::backdrop { opacity: 0; } }
.lightbox.is-closing::backdrop { opacity: 0; }
.lightbox__bar, .lightbox__caption, .lightbox__nav { transition: opacity 0.5s 0.3s var(--ease-out); }
@starting-style { .lightbox[open] .lightbox__bar, .lightbox[open] .lightbox__caption, .lightbox[open] .lightbox__nav { opacity: 0; } }
.lightbox.is-closing .lightbox__bar, .lightbox.is-closing .lightbox__caption, .lightbox.is-closing .lightbox__nav { opacity: 0; transition-delay: 0s; transition-duration: 0.25s; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(244, 239, 231, 0.7); font-variant-numeric: tabular-nums; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 var(--gutter); touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; transition: opacity 0.35s var(--ease-out), filter 0.35s var(--ease-out); }
.lightbox__stage img.is-swapping { opacity: 0; filter: blur(6px); }
.lightbox__caption { padding: 16px var(--gutter) 22px; text-align: center; font-size: 0.92rem; color: rgba(244, 239, 231, 0.7); min-height: 3.4em; }
.lightbox__btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; transition: background 0.3s, transform 0.6s var(--ease-out); }
.lightbox__btn:hover { background: rgba(244, 239, 231, 0.1); }
.lightbox__btn svg { width: 22px; }
.lightbox__nav { position: absolute; top: 50%; margin-top: -24px; z-index: 1; display: none; }
.lightbox__nav--prev { left: 8px; } .lightbox__nav--next { right: 8px; }
@media (hover: hover) and (min-width: 700px) { .lightbox__nav { display: grid; } }
/* With the custom cursor, the halves of the stage are the prev/next controls */
.has-cursor .lightbox__nav { opacity: 0; pointer-events: none; }
.has-cursor .lightbox__nav:focus-visible { opacity: 1; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 7vw, 96px); }
@media (min-width: 960px) { .contact { grid-template-columns: 5fr 7fr; align-items: start; } .contact__aside { position: sticky; top: calc(var(--header-h) + 32px); } }
.contact__aside { display: grid; gap: 32px; }
.contact__details { display: grid; gap: 22px; }
.contact__details dt { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.contact__details dd { margin-top: 4px; font-family: var(--serif); font-size: 1.25rem; }
.contact__email { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.form { display: grid; gap: 30px; }
.form__row { display: grid; gap: 30px; }
@media (min-width: 700px) { .form__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { position: relative; display: grid; gap: 8px; min-width: 0; align-content: start; }
.field label, .field legend { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; font: inherit; font-size: 1.1rem; color: var(--ink);
  padding: 10px 0 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent;
  -webkit-appearance: none; appearance: none; outline: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231d1a16' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 28px; }
.field textarea { min-height: 150px; resize: vertical; }
.field__line { position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); pointer-events: none; }
.field:focus-within .field__line { transform: scaleX(1); }
.field.has-error .field__line { transform: scaleX(1); background: #b3261e; }
.field__error { font-size: 0.85rem; color: #b3261e; min-height: 0; }
.form__note { font-size: 0.88rem; color: var(--ink-3); }
.form__success { display: none; padding: clamp(32px, 4vw, 56px); background: var(--paper-2); }
.form.is-sent { display: none; }
.form.is-sent + .form__success { display: grid; gap: 16px; animation: rise 0.9s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(88px, 12vw, 160px); padding-bottom: 32px; }
.footer__cta { display: grid; gap: 28px; padding-bottom: clamp(64px, 9vw, 120px); border-bottom: 1px solid var(--line-light); }
.footer__cta .h1 em { color: var(--blush); }
.footer__email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; justify-self: start; }
.footer__email { font-family: var(--serif); font-weight: 300; font-size: clamp(1.25rem, 0.8rem + 2.2vw, 2.6rem); position: relative; overflow-wrap: anywhere; }
.footer__email::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform-origin: left; transition: transform 0.6s var(--ease-out); }
.footer__email:hover::after { transform: scaleX(0.3); }
.footer__cols { display: grid; gap: 36px; grid-template-columns: repeat(2, 1fr); padding-block: 56px; }
@media (min-width: 900px) { .footer__cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer__cols h2 { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244, 239, 231, 0.5); margin-bottom: 16px; font-family: var(--sans); }
.footer__cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__cols a { color: rgba(244, 239, 231, 0.85); transition: color 0.3s; }
.footer__cols a:hover { color: var(--blush); }
.footer__brand { grid-column: 1 / -1; display: grid; gap: 16px; max-width: 34ch; color: rgba(244, 239, 231, 0.7); }
@media (min-width: 900px) { .footer__brand { grid-column: auto; } }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 0.8rem; color: rgba(244, 239, 231, 0.5); }
.to-top { display: inline-flex; gap: 8px; align-items: center; padding-block: 11px; margin-block: -11px; }

/* ---------- Copy button ---------- */
.copy {
  position: relative; display: inline-grid; height: 34px; padding: 0 15px; border-radius: 999px; overflow: hidden;
  font: 600 0.64rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: inherit;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 26%, transparent);
  transition: box-shadow 0.4s, transform 0.7s var(--ease-out);
}
.copy:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 65%, transparent); }
.copy__a, .copy__b { grid-area: 1 / 1; align-self: center; justify-self: center; transition: transform 0.6s var(--ease-out), opacity 0.6s; }
.copy__b { transform: translateY(130%); opacity: 0; color: var(--clay); }
.site-footer .copy__b { color: var(--blush); }
.copy.is-copied .copy__a { transform: translateY(-130%); opacity: 0; }
.copy.is-copied .copy__b { transform: none; opacity: 1; }

/* ---------- Success tick ---------- */
.tick { width: 56px; fill: none; stroke: var(--clay); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.tick circle { stroke-dasharray: 151; stroke-dashoffset: 151; transform: rotate(-90deg); transform-origin: center; }
.tick path { stroke-dasharray: 36; stroke-dashoffset: 36; }
.form.is-sent + .form__success .tick circle { animation: draw 1.1s 0.2s var(--ease-io) forwards; }
.form.is-sent + .form__success .tick path { animation: draw 0.6s 1s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Scroll progress hairline ---------- */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--clay); transform: scaleX(0); transform-origin: left; opacity: 0; transition: opacity 0.4s; }
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: progress linear both; animation-timeline: scroll(root); }
  .site-header.is-scrolled .scroll-progress { opacity: 1; }
}

/* ---------- Letter roll (buttons + nav) ---------- */
.roll { position: relative; display: inline-block; vertical-align: top; }
.roll__chars { display: inline-flex; height: 1.3em; line-height: 1.3; overflow: hidden; }
.roll__ch { display: inline-block; white-space: pre; text-shadow: 0 1.3em currentColor; transition: transform 0.6s var(--ease-out); transition-delay: calc(var(--ci) * 16ms); }
:is(a, button):is(:hover, :focus-visible) .roll__ch { transform: translateY(-1.3em); }

/* ---------- Photo frames inset on hover ---------- */
.js :is(.card, .zoom) .media.is-revealed { clip-path: inset(0); opacity: 1; transform: none; transition: clip-path 1s var(--ease-out); transition-delay: 0s; }
.js .card:hover .media.is-revealed { clip-path: inset(10px); }
.js .zoom:hover .media.is-revealed { clip-path: inset(6px); }

/* ---------- Custom cursor (fine pointers only, added by JS) ---------- */
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor :is(input, textarea, select) { cursor: auto !important; }
.cursor { position: fixed; inset: 0; z-index: 400; pointer-events: none; opacity: 0; transition: opacity 0.4s; mix-blend-mode: difference; }
.cursor.is-visible { opacity: 1; }
.cursor[data-state="hidden"] { opacity: 0; }
.cursor[data-state="label"] { mix-blend-mode: normal; }
.cursor__ring, .cursor__dot { position: absolute; top: 0; left: 0; will-change: transform; }
.cursor__circle {
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: width 0.55s var(--ease-out), height 0.55s var(--ease-out), background-color 0.45s, border-color 0.45s;
}
.cursor[data-state="link"] .cursor__circle { width: 54px; height: 54px; border-color: rgba(255, 255, 255, 0.5); }
.cursor[data-state="press"] .cursor__circle { width: 26px; height: 26px; }
.cursor[data-state="label"] .cursor__circle { width: 92px; height: 92px; background: var(--paper); border-color: transparent; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.35); }
.cursor__label {
  font: 600 0.6rem/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); text-align: center;
  opacity: 0; transform: scale(0.6); transition: opacity 0.3s, transform 0.5s var(--ease-out);
}
.cursor[data-state="label"] .cursor__label { opacity: 1; transform: none; transition-delay: 0.08s; }
.cursor__dot i { position: absolute; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #fff; transition: transform 0.4s var(--ease-out); }
.cursor:is([data-state="link"], [data-state="label"]) .cursor__dot i { transform: scale(0); }

/* ==========================================================================
   Motion
   ========================================================================== */

/* Split-text headlines: each word rises out of a mask */
/* The mask is padded well beyond the line box (and pulled back with negative margins, so layout is unchanged)
   so Fraunces' italic overhangs and descenders - the f in "felt", the y in "really" - are never clipped */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.12em 0.22em 0.3em; margin: -0.12em -0.22em -0.3em; }
.js [data-split].is-settled .w { overflow: visible; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--d, 0s) + var(--wi) * 0.055s); }
.js [data-split].is-in .w > span { transform: none; }

/* Generic fade-up */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }

/* Image reveals: a small family of entrances so a long gallery never repeats itself.
   Every variant animates only clip-path, opacity and scale/translate on the image. */
.js [data-reveal^="image"] { opacity: 1; transform: none; transition: clip-path 1.4s var(--ease-io), opacity 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal^="image"] img { scale: 1.18; transition: scale 1.8s var(--ease-out), opacity 0.9s var(--ease-out), transform 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal^="image"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal^="image"].is-in img { scale: var(--s-end, 1); }
.js [data-reveal="image"] { clip-path: inset(100% 0 0 0); }                 /* rises from below */
.js [data-reveal="image-down"] { clip-path: inset(0 0 100% 0); }            /* drops from the top */
.js [data-reveal="image-left"] { clip-path: inset(0 100% 0 0); }            /* sweeps in from the left */
.js [data-reveal="image-left"] img { translate: -4% 0; transition-property: scale, opacity, transform, translate; transition-duration: 1.8s, 0.9s, 1.4s, 1.6s; }
.js [data-reveal="image-right"] { clip-path: inset(0 0 0 100%); }           /* sweeps in from the right */
.js [data-reveal="image-right"] img { translate: 4% 0; transition-property: scale, opacity, transform, translate; transition-duration: 1.8s, 0.9s, 1.4s, 1.6s; }
.js :is([data-reveal="image-left"], [data-reveal="image-right"]).is-in img { translate: 0 0; }
.js [data-reveal="image-split"] { clip-path: inset(0 50% 0 50%); transition-duration: 1.6s, 0.9s; }  /* opens like curtains */
.js [data-reveal="image-iris"] { clip-path: inset(18% 24% 18% 24%); opacity: 0; transition-duration: 1.5s, 1.1s; } /* opens like an aperture */
.js [data-reveal="image-iris"].is-in { opacity: 1; }
.js [data-reveal="image-iris"] img { scale: 1.3; }

/* Rise: the whole frame lifts and settles, used for grids and trios */
.js [data-reveal="rise"] { opacity: 0; transform: translate3d(0, 64px, 0) scale(0.965); transition: opacity 1.1s var(--ease-out), transform 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="rise"] img { scale: 1.08; transition: scale 1.8s var(--ease-out), opacity 0.9s var(--ease-out), transform 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="rise"].is-in { opacity: 1; transform: none; }
.js [data-reveal="rise"].is-in img { scale: 1; }

/* Full-width story photos keep drifting gently inside their frame as you scroll (where supported) */
@supports (animation-timeline: view()) {
  .js .sb-full .media { --s-end: 1.1; }
  .js .sb-full .media.is-revealed img { animation: frame-drift linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes frame-drift { from { translate: 0 -4.5%; } to { translate: 0 4.5%; } }
}

/* Staggered children */
.js [data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--si, 0) * 0.09s + var(--d, 0s)); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

/* Hero intro sequence (runs on load, not on scroll) */
.js .hero [data-hero-in] { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0.9s); }
.js .is-ready .hero [data-hero-in], .js .is-ready.hero [data-hero-in], .js .is-ready .story-hero [data-hero-in] { opacity: 1; transform: none; }
.js .story-hero [data-hero-in] { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0.6s); }
.js .story-hero__media img { transform: scale(1.1); transition: transform 2.6s var(--ease-out), opacity 0.9s; }
.js .is-ready .story-hero__media img { transform: scale(1); }

[data-parallax] { will-change: transform; }

/* Scroll cue */
.scroll-cue { position: relative; width: 1px; height: 46px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; inset: 0; background: #fff; animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .js [data-split] .w > span, .js [data-reveal], .js [data-stagger] > *, .js .hero [data-hero-in], .js .story-hero [data-hero-in] { transform: none !important; opacity: 1 !important; transition: none !important; }
  .js [data-reveal^="image"] { clip-path: none !important; opacity: 1 !important; }
  .js [data-reveal] img, .js .story-hero__media img { scale: 1 !important; translate: none !important; transform: none !important; animation: none !important; }
  .hero__slide img { animation: none !important; transform: none; }
  .roll__ch { transform: none !important; transition: none !important; }
  .js :is(.card, .zoom):hover .media.is-revealed { clip-path: inset(0) !important; }
  .marquee__track { animation: none; }
  [data-parallax] { transform: none !important; }
  @view-transition { navigation: none; }
}
.story-row__venue { margin-top: -6px; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--clay); }
/* Once a photo has arrived, hover effects respond instantly (no leftover cascade delay) */
.js .media.is-revealed img { transition-delay: 0s; }
/* Hero heading: small keyword line above the display headline, both inside one h1 */
.hero__h1 { margin: 0; font-weight: inherit; }
.hero__h1 > span { display: block; }
.hero__kicker { color: rgba(255, 255, 255, 0.82); margin-bottom: clamp(14px, 2vw, 24px); }
/* Privacy policy */
.legal h2 { margin-top: 2.4em; margin-bottom: 0.6em; color: var(--ink); }
.legal ul { padding-left: 1.2em; display: grid; gap: 0.5em; margin: 1em 0; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ink); font-weight: 600; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }
.form__note a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Wedding touches: hairline rings, invitation frames, a seal, a countdown
   ========================================================================== */
.rings { fill: none; stroke: currentColor; stroke-width: 1.1; }
.marquee .rings { width: 1.5rem; height: auto; color: var(--clay); flex-shrink: 0; }

/* A centred rule broken by the rings, like the divider on an order of service */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; width: min(220px, 60%); color: currentColor; opacity: 0.75; }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.5; }
.ornament .rings { width: 30px; height: auto; flex-shrink: 0; }
.ornament--left { justify-content: flex-start; width: 150px; }
.ornament--left::before { display: none; }
.footer__cta .ornament { color: var(--blush); }

/* Invitation-card frame: a fine double hairline set in from the edge, drawn in when the section arrives */
.cta-band, .next-story { --frame: clamp(14px, 2.2vw, 30px); }
.cta-band::before, .next-story::before, .pkg--featured::before {
  content: ""; position: absolute; inset: var(--frame, 10px); z-index: 1; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.34);
  outline: 1px solid rgba(255, 255, 255, 0.16); outline-offset: -6px;
  transition: clip-path 1.6s var(--ease-io), opacity 1s var(--ease-out);
}
.pkg--featured { --frame: 10px; }
.pkg--featured::before { border-color: rgba(244, 239, 231, 0.18); outline-color: rgba(244, 239, 231, 0.08); }
.js .cta-band:not(.is-framed)::before, .js .next-story:not(.is-framed)::before { clip-path: inset(50% 50% 50% 50%); opacity: 0; }
.js .cta-band.is-framed::before, .js .next-story.is-framed::before { clip-path: inset(0 0 0 0); opacity: 1; }
.next-story__inner, .cta-band__inner { z-index: 2; }

/* The seal: wording set around a ring, turning as the page scrolls */
.seal { position: absolute; left: -7%; bottom: -9%; z-index: 2; width: clamp(104px, 11vw, 156px); height: auto; color: var(--ink); background: var(--paper); border-radius: 50%; padding: 6px; pointer-events: none; }
.seal text { font: 600 13.5px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; fill: currentColor; }
.seal__rule, .seal__rings circle { fill: none; stroke: currentColor; stroke-width: 1; }
.seal__rule { opacity: 0.3; }
.seal__rings { color: var(--clay); stroke: var(--clay); }
.seal__rings circle { stroke: var(--clay); stroke-width: 1.3; }
.seal__spin { transform-origin: 100px 100px; animation: seal-spin 60s linear infinite; }
@supports (animation-timeline: scroll()) {
  .seal__spin { animation: seal-spin linear both; animation-timeline: scroll(root); animation-duration: auto; }
}
@keyframes seal-spin { to { transform: rotate(360deg); } }
@media (max-width: 959px) { .seal { left: auto; right: -2%; bottom: -6%; } }

/* Countdown under the wedding date */
.field__hint { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--clay); min-height: 1.4em; opacity: 0; transform: translateY(4px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.field__hint.is-shown { opacity: 1; transform: none; }
.field.has-error .field__hint { display: none; }

/* Confetti flecks on a sent enquiry */
.confetti { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; border-radius: 1px; }

@media (prefers-reduced-motion: reduce) {
  .seal__spin { animation: none !important; }
  .js .cta-band::before, .js .next-story::before { clip-path: none !important; opacity: 1 !important; transition: none !important; }
}
.cta-band__inner, .next-story__inner { position: relative; }

/* ---------- Collections page ---------- */
.pkg__price small { display: none; }
.pkg__who { font-family: var(--serif); font-style: italic; font-size: 1.12rem; line-height: 1.45; color: var(--ink); }
.pkg--featured .pkg__who { color: var(--paper); }
.pkg__list li.pkg__plus { display: block; font-weight: 600; color: var(--ink); }
.pkg--featured .pkg__list li.pkg__plus { color: var(--paper); }
.addon__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.addon__price { flex-shrink: 0; font-family: var(--serif); font-size: 1.2rem; color: var(--clay); }
@media (min-width: 900px) { .addons { row-gap: 8px; } }

.booking { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .booking { grid-template-columns: repeat(4, 1fr); border-top: 0; gap: clamp(24px, 3vw, 48px); } }
.booking__step { display: grid; gap: 10px; align-content: start; padding-block: 28px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .booking__step { border-bottom: 0; border-top: 1px solid var(--ink); } }
.booking__num { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem); line-height: 1; color: var(--clay); }
.booking__title { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; }
.booking__step p { color: var(--ink-2); }

/* Bespoke: a wide card beneath the three collections */
.pkg--bespoke { margin-top: 20px; gap: 28px; background: var(--paper-2); border-color: var(--line); }
.pkg--bespoke .pkg__list li:first-child { border-top: 0; }
.pkg__price--quote { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); font-style: italic; }
.pkg-bespoke__intro { display: grid; gap: 16px; align-content: start; }
.pkg-bespoke__cta { display: grid; gap: 20px; align-content: space-between; }
.pkg-bespoke__cta .btn { margin-top: 0; justify-self: start; }
@media (min-width: 960px) {
  .pkg--bespoke { display: grid; grid-template-columns: 1.15fr 1.2fr 0.9fr; column-gap: clamp(32px, 4vw, 64px); align-items: start; }
  .pkg--bespoke .pkg__list { margin-top: 6px; }
  .pkg-bespoke__cta { align-self: stretch; }
}

/* ==========================================================================
   About page
   ========================================================================== */
.intro__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

.about-hero { padding-top: calc(var(--header-h) + clamp(40px, 8vw, 120px)); padding-bottom: clamp(32px, 5vw, 64px); }
.about-hero__grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: end; }
.about-hero__text { display: grid; gap: clamp(22px, 3vw, 36px); align-content: end; }
.about-hero__title { font-size: clamp(3.4rem, 1.4rem + 9vw, 11rem); line-height: 0.9; }
.about-hero__title em { display: block; color: var(--clay); }
.about-hero__text .lede { max-width: 44ch; }
.about-hero__media { margin: 0; }
.about-hero__media figcaption { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 0.98rem; color: var(--ink-3); }
@media (min-width: 960px) {
  .about-hero__grid { grid-template-columns: 1.55fr 1fr; }
  .about-hero__media { margin-bottom: -18vh; position: relative; z-index: 1; }
}

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); margin: 0; }
.facts > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(odd) { padding-right: 16px; }
.facts dt { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 8px 0 0; font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); line-height: 1.15; }
@media (min-width: 960px) {
  .facts { grid-template-columns: repeat(3, 1fr); max-width: 58%; }
  .facts > div { border-bottom: 0; padding-right: 24px; }
}

/* Beliefs: big italic numerals in an editorial list */
.beliefs { list-style: none; padding: 0; margin: 0; display: grid; border-top: 1px solid var(--line); }
.belief { display: grid; grid-template-columns: auto 1fr; gap: 8px clamp(20px, 4vw, 64px); padding-block: clamp(28px, 4vw, 52px); border-bottom: 1px solid var(--line); }
.belief__num { grid-row: span 2; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(3rem, 2rem + 4vw, 6.5rem); line-height: 0.85; color: var(--clay); min-width: 1.6em; }
.belief__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.8rem); line-height: 1.05; }
.belief p { color: var(--ink-2); max-width: 56ch; }
@media (min-width: 960px) {
  .belief { grid-template-columns: 0.6fr 1.2fr 1.4fr; align-items: baseline; }
  .belief__num { grid-row: auto; }
}

.about-quote { text-align: center; }
.about-quote .ornament { margin: 0 auto 36px; color: var(--blush); }
.about-quote blockquote { margin: 0; }
.about-quote blockquote p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 3.1rem); line-height: 1.22; max-width: 28ch; margin: 0 auto; text-wrap: balance; }
.about-quote__who { margin-top: 32px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244, 239, 231, 0.6); }

/* The day, as a scrolling row on phones and a staggered line on desktop */
.dayline { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.dayline::-webkit-scrollbar { display: none; }
.dayline__item { flex: 0 0 72%; scroll-snap-align: start; display: grid; gap: 10px; align-content: start; }
.dayline__num { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--clay); }
.dayline__title { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.dayline__item p { color: var(--ink-2); font-size: 0.98rem; }
@media (min-width: 960px) {
  .dayline { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; padding: 0; overflow: visible; border-top: 1px solid var(--line); padding-top: 40px; }
  .dayline__item { flex: 1 1 0; }
  .dayline__item:nth-child(even) { margin-top: 64px; }
}

.offclock { display: grid; gap: 32px; }
@media (min-width: 960px) { .offclock { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; } }

/* Keep each field's animated underline attached to its input, even when a hint or error sits beneath it */
.field { grid-template-columns: minmax(0, 1fr); }
.field > input, .field > select, .field > textarea { grid-row: 2; grid-column: 1; }
.field > .field__line { grid-row: 2; grid-column: 1; position: relative; align-self: end; left: auto; right: auto; bottom: auto; }
.field > label { grid-row: 1; }
.field input, .field select { height: 50px; line-height: 1.4; }
.field input[type="date"] { -webkit-appearance: none; appearance: none; min-height: 50px; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }

/* Areas covered */
.areas { display: grid; gap: 32px; padding-top: clamp(24px, 4vw, 48px); border-top: 1px solid var(--line); }
@media (min-width: 960px) { .areas { grid-template-columns: 1fr 1.2fr; gap: 64px; } }
.areas__list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.areas__list li { padding: 9px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 0.92rem; }

/* 404 */
.notfound { min-height: 80vh; display: grid; align-content: center; }
.notfound__links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 40px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: 1; }

/* The Gmail address is long, so keep it on one line within phone widths */
.contact__aside, .contact__details, .contact__details > div { min-width: 0; }
.contact__email a { font-size: clamp(0.98rem, 4.5vw, 1.25rem); overflow-wrap: anywhere; min-width: 0; }
.footer__email { font-size: clamp(1.02rem, 0.55rem + 2.1vw, 2.6rem); }
/* Key facts stack as label-and-value rows on phones */
@media (max-width: 599px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div, .facts > div:nth-child(odd) { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; }
  .facts dd { margin: 0; text-align: right; }
}

/* ==========================================================================
   Journal
   ========================================================================== */
.post-lead { margin-bottom: clamp(56px, 7vw, 96px); }
.post-lead .card { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .post-lead .card { grid-template-columns: 1.7fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
  .post-lead .card__body { margin-top: 0; }
  .post-lead .card__meta { justify-content: flex-start; gap: 24px; }
}
.post-grid { display: grid; gap: clamp(48px, 6vw, 72px) clamp(16px, 2.4vw, 40px); }
@media (min-width: 900px) {
  .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .post-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.post-card .card__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.post-lead .card__title { font-size: clamp(1.9rem, 1.3rem + 2vw, 3.1rem); }

.article__head { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px)); }
.article__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; align-items: center; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: clamp(28px, 4vw, 44px); }
.article__meta .link { color: var(--ink); font-size: 0.72rem; }
.article__title { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.6rem); margin-bottom: 26px; }
.article__by { margin-top: 18px; font-size: 0.9rem; color: var(--ink-3); }
.article__cover { margin-top: clamp(36px, 5vw, 64px); }
.article__body { max-width: none; padding-block: clamp(48px, 7vw, 88px) clamp(64px, 9vw, 120px); font-size: 1.12rem; display: grid; gap: 1.1em; }
.article__body > * { width: min(100%, 680px); margin: 0 auto; }
.article__body h2 { color: var(--ink); margin-top: 1.5em; margin-bottom: -0.2em; }
.article__body ul { padding-left: 1.2em; display: grid; gap: 0.55em; margin-top: 0; margin-bottom: 0; }
.article__body strong { color: var(--ink); font-weight: 600; }
.article__body a:not(.zoom) { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }
.article__body .article__img, .article__body .article__pair { width: 100%; margin: 1.4em 0; }
.article__pair { display: grid; gap: clamp(12px, 1.8vw, 24px); }
@media (min-width: 700px) { .article__pair { grid-template-columns: 1fr 1fr; } }
.article__img .media { aspect-ratio: 3 / 2; }
.article__pair .media { aspect-ratio: 4 / 5; }
.article__tip { margin-top: 1.6em; padding: clamp(24px, 3vw, 36px); background: var(--paper-2); display: grid; gap: 14px; color: var(--ink); }
.article__tip .ornament { color: var(--clay); }
