.stories-page-hero.subpage-hero.dark { min-height: min(72svh, 760px); padding-bottom: clamp(3rem, 6vw, 6rem); }
.stories-page-hero.subpage-hero.dark::after { background: linear-gradient(90deg, rgba(10,11,9,.55), rgba(10,11,9,.08)), linear-gradient(0deg, rgba(10,11,9,.35), transparent); }
.stories-page-hero h1 { font-size: clamp(2.7rem, 5.5vw, 5.4rem); line-height: 1.02; }
.stories-page-hero h1 em { font-weight: 400; }
.stories-page-hero .subpage-lede { font-size: clamp(1rem, 1.35vw, 1.2rem); }

.collection-nav { position: sticky; top: var(--stories-header-height, 80px); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 0 var(--pad); border-bottom: 1px solid var(--line); background: var(--paper); }
.collection-label, .collection-note { font-size: .58rem; letter-spacing: .17em; text-transform: uppercase; }
.collection-note { color: rgba(23,24,18,.6); }
.collection-nav > div { display: flex; gap: clamp(2rem, 5vw, 5rem); }
.collection-nav a { display: inline-flex; align-items: baseline; gap: .65rem; padding: 1.5rem 0; border-bottom: 2px solid transparent; font-size: .78rem; letter-spacing: .06em; }
.collection-nav a > span { color: var(--sage); font-size: .55rem; }
.collection-nav a[aria-current="location"], .collection-nav a:hover { border-bottom-color: var(--ink); }
.collection-nav a:focus-visible, .photograph-image:focus-visible, .film-play:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[data-story-section], .photograph-card { scroll-margin-top: calc(var(--stories-header-height, 80px) + 6rem); }
.collection-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; margin: 0 auto clamp(2.5rem, 5vw, 5rem); max-width: 1440px; }
.collection-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3.7vw, 3.6rem); font-weight: 400; line-height: 1.07; letter-spacing: -.04em; }
.collection-heading h2 em { font-weight: 400; }
.collection-heading > p { max-width: 320px; margin: 0; font-family: var(--serif); font-size: 1.05rem; line-height: 1.75; color: rgba(23,24,18,.7); }
.photograph-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(3rem, 6vw, 6rem) clamp(1rem, 2.5vw, 3rem); max-width: 1440px; margin: auto; align-items: start; }
.photograph-card { min-width: 0; grid-column: span 7; }
.photograph-card:nth-child(4n + 2) { grid-column: 9 / span 4; margin-top: clamp(3rem, 7vw, 7rem); }
.photograph-card:nth-child(4n + 3) { grid-column: span 5; }
.photograph-card:nth-child(4n + 4) { grid-column: 7 / span 6; margin-top: clamp(3rem, 7vw, 7rem); }
.photograph-image { display: block; position: relative; width: 100%; padding: 0; border: 0; background: var(--soft); overflow: hidden; cursor: zoom-in; }
.photograph-image img { width: 100%; height: auto; }
.photograph-enlarge { position: absolute; bottom: 1rem; right: 1rem; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; color: var(--white); background: rgba(23,24,18,.55); border: 1px solid rgba(255,255,255,.5); border-radius: 50%; transition: background .25s; }
.photograph-image:hover .photograph-enlarge { background: var(--ink); }
.photograph-caption { display: grid; grid-template-columns: 1.5rem 1fr; gap: 1rem; padding-top: 1.5rem; }
.photograph-number { padding-top: .15rem; font-size: .58rem; letter-spacing: .08em; color: var(--sage); }
.photograph-caption .kicker { margin-bottom: .6rem; color: rgba(23,24,18,.65); font-size: .56rem; }
.photograph-caption h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.75rem); font-weight: 400; line-height: 1.2; }
.photograph-copy { max-width: 430px; margin: .7rem 0 0; font-family: var(--serif); color: rgba(23,24,18,.7); line-height: 1.65; }

.films-section { color: var(--white); background: #1c201b; }
.films-section .collection-heading > p { color: rgba(251,250,246,.7); }
.films-section .kicker { color: #c1c6b4; }
.film-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3rem, 5vw, 5rem) clamp(1.25rem, 3vw, 3rem); max-width: 1440px; margin: 0 auto; }
.film-card { min-width: 0; }
.film-featured { grid-column: 1 / -1; }
.film-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0e100d; }
.film-cover { position: absolute; inset: 0; }
.film-cover::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: rgba(10,12,9,.28); }
.film-cover img { width: 100%; height: 100%; object-fit: cover; }
.film-pending { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%,-50%); padding: .8rem 1.25rem; color: var(--white); background: rgba(14,16,13,.65); border: 1px solid rgba(255,255,255,.5); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.film-play { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; width: 100%; color: var(--white); background: transparent; border: 0; cursor: pointer; font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; }
.film-play-icon { display: grid; place-items: center; padding-left: .2rem; width: clamp(3.5rem, 6vw, 5.5rem); height: clamp(3.5rem, 6vw, 5.5rem); border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(14,16,13,.35); font-size: 1rem; transition: color .25s, background .25s; }
.film-play:hover .film-play-icon { color: var(--ink); background: var(--white); }
.film-play:focus-visible { outline-offset: -8px; }
.film-player { display: block; width: 100%; height: 100%; object-fit: contain; }
.film-player:focus-visible { outline: 2px solid var(--white); outline-offset: -3px; }
.film-player[hidden], .film-cover[hidden], .film-play[hidden], .film-pending[hidden], .film-error[hidden] { display: none; }
.film-caption { display: grid; gap: .75rem; padding-top: 1.5rem; }
.film-caption .kicker { font-size: .56rem; margin-bottom: .65rem; }
.film-caption h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 2rem); font-weight: 400; line-height: 1.2; }
.film-caption > p { margin: 0; max-width: 400px; font-family: var(--serif); color: rgba(251,250,246,.7); line-height: 1.7; }
.film-featured .film-caption { grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; }
.film-featured .film-caption > p { justify-self: end; }
.film-error { margin: 1rem 0 0; line-height: 1.6; font-size: .85rem; }
.films-footer { max-width: 1440px; display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding-top: 2rem; margin: clamp(3rem, 6vw, 6rem) auto 0; border-top: 1px solid rgba(251,250,246,.25); }
.films-footer > p { margin: 0; font-family: var(--serif); font-size: 1.05rem; }
.films-footer .text-link { margin-top: 0; }

@media (max-width: 900px) {
  .collection-note { display: none; }
  .collection-heading { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
  .photograph-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photograph-card, .photograph-card:nth-child(n) { grid-column: auto; margin-top: 0; }
  .photograph-copy { font-size: .95rem; }
}
@media (max-width: 600px) {
  .stories-page-hero.subpage-hero.dark { min-height: 62svh; }
  .stories-page-hero > img { object-position: 60% center; }
  .collection-nav { gap: 1rem; }
  .collection-label { display: none; }
  .collection-nav > div { width: 100%; justify-content: space-around; gap: 1.5rem; }
  .collection-nav a { padding: 1.2rem 0; }
  .photograph-grid, .film-grid { grid-template-columns: 1fr; }
  .photograph-caption { padding-top: 1rem; }
  .film-featured { grid-column: auto; }
  .film-featured .film-caption { grid-template-columns: 1fr; gap: .75rem; }
  .film-featured .film-caption > p { justify-self: start; }
  .films-footer { align-items: flex-start; flex-direction: column; }
}

/* Complete wedding journals */
.story-journals { overflow: hidden; }
.journal-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 3vw, 3rem); max-width: 1500px; margin: 0 auto; align-items: start; }
.journal-card { min-width: 0; }
.journal-card:nth-child(4n + 1) { grid-column: 1 / span 8; }
.journal-card:nth-child(4n + 2) { grid-column: 9 / span 4; margin-top: clamp(7rem, 14vw, 14rem); }
.journal-card:nth-child(4n + 3) { grid-column: 1 / span 5; }
.journal-card:nth-child(4n + 4) { grid-column: 6 / span 7; margin-top: clamp(4rem, 8vw, 8rem); }
.journal-image { position: relative; display: block; overflow: hidden; background: var(--soft); }
.journal-card:nth-child(4n + 1) .journal-image, .journal-card:nth-child(4n + 4) .journal-image { aspect-ratio: 16 / 10; }
.journal-card:nth-child(4n + 2) .journal-image { aspect-ratio: 4 / 5; }
.journal-card:nth-child(4n + 3) .journal-image { aspect-ratio: 4 / 3; }
.journal-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,13,10,.4), transparent 42%); opacity: .75; transition: opacity .45s; }
.journal-image img { height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.journal-image > span { position: absolute; z-index: 1; left: clamp(1rem, 2vw, 2rem); right: clamp(1rem, 2vw, 2rem); bottom: clamp(1rem, 2vw, 2rem); display: flex; justify-content: space-between; align-items: center; color: var(--white); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.journal-image b { font-size: 1rem; font-weight: 400; }
.journal-image:hover img { transform: scale(1.025); }
.journal-image:hover::after { opacity: 1; }
.journal-image:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.journal-caption { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: 1.35rem; }
.journal-caption .kicker { margin-bottom: .7rem; color: var(--sage); font-size: .55rem; }
.journal-caption h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.45rem, 2.6vw, 2.55rem); font-weight: 400; line-height: 1.06; letter-spacing: -.035em; }
.journal-caption h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.journal-caption > p:last-child { max-width: 520px; margin: .9rem 0 0; color: rgba(23,24,18,.67); font-family: var(--serif); line-height: 1.65; }

/* Individual wedding story */
.story-detail-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.story-detail-hero > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; animation: story-hero-in 1.35s cubic-bezier(.2,.7,.2,1) both; }
.story-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,8,.55), rgba(8,10,8,.08) 67%), linear-gradient(0deg, rgba(8,10,8,.7), transparent 55%); }
.story-detail-title { position: relative; z-index: 1; width: 100%; padding: 10rem var(--pad) clamp(3.5rem, 7vw, 7rem); }
.story-detail-title .kicker { margin-bottom: 1.2rem; }
.story-detail-title h1 { max-width: 930px; margin: 0; font-family: var(--serif); font-size: clamp(2.7rem, 6.5vw, 6.8rem); font-weight: 400; line-height: .92; letter-spacing: -.055em; }
.story-detail-title > p { max-width: 610px; margin: 1.8rem 0 0; font-family: var(--serif); font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.65; }
.story-scroll-link { display: inline-flex; align-items: center; gap: 1.5rem; margin-top: 2rem; padding-bottom: .35rem; border-bottom: 1px solid rgba(255,255,255,.7); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; }
.story-introduction { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; max-width: 1180px; margin: 0 auto; padding: clamp(5rem, 9vw, 9rem) var(--pad); }
.story-introduction .kicker { margin: .4rem 0 0; color: var(--sage); }
.story-introduction > p:last-child { max-width: 730px; margin: 0; font-family: var(--serif); font-size: clamp(1.45rem, 3vw, 3.05rem); line-height: 1.15; letter-spacing: -.035em; }
.story-gallery { display: block; width: 100%; margin: 0 auto; padding: 0 var(--pad) clamp(5rem, 9vw, 9rem); }
.gallery-row { display: grid; grid-template-columns: var(--gallery-columns, 1fr); gap: clamp(.7rem, 1.25vw, 1.35rem); width: 80%; max-width: 1264px; margin: 0 auto clamp(.8rem, 1.5vw, 1.6rem); align-items: stretch; }
.gallery-row-single-portrait { max-width: 656px; }
.gallery-row .gallery-item, .gallery-row .gallery-item.is-portrait, .gallery-row .gallery-item.gallery-full { display: block; min-width: 0; width: 100%; min-height: 0; margin: 0; padding: 0; transform: none; }
.gallery-item button { position: relative; display: block; width: 100%; height: 100%; max-width: none; padding: 0; overflow: hidden; border: 0; background: var(--soft); cursor: zoom-in; }
.gallery-item img { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; object-fit: cover; transition: transform .75s cubic-bezier(.2,.7,.2,1); }
.gallery-item button:hover img { transform: scale(1.018); }
.gallery-item button:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.gallery-item button > span { position: absolute; right: 1rem; bottom: 1rem; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; color: var(--white); background: rgba(23,24,18,.55); border: 1px solid rgba(255,255,255,.55); border-radius: 50%; opacity: 0; transition: opacity .25s, background .25s; }
.gallery-item button:hover > span, .gallery-item button:focus-visible > span { opacity: 1; }
.story-pagination { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.story-pagination a { display: flex; flex-direction: column; gap: .8rem; padding: clamp(2rem, 4vw, 4rem) var(--pad); }
.story-pagination a + a { align-items: flex-end; text-align: right; border-left: 1px solid var(--line); }
.story-pagination span { color: var(--sage); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; }
.story-pagination strong { font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.8rem); font-weight: 400; }
.story-pagination a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

@keyframes story-hero-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 900px) {
  .journal-card:nth-child(4n + 1) { grid-column: 1 / span 8; }
  .journal-card:nth-child(4n + 2) { grid-column: 9 / span 4; margin-top: 5rem; }
  .journal-card:nth-child(4n + 3) { grid-column: 1 / span 5; }
  .journal-card:nth-child(4n + 4) { grid-column: 6 / span 7; margin-top: 3rem; }
  .story-gallery { padding-right: clamp(.8rem, 3vw, 1.5rem); padding-left: clamp(.8rem, 3vw, 1.5rem); }
  .gallery-row { gap: clamp(.5rem, 1.5vw, .9rem); margin-bottom: clamp(.5rem, 1.5vw, .9rem); }
}

@media (max-width: 600px) {
  .stories-page-hero > img { object-position: 58% center; }
  .journal-grid { grid-template-columns: 1fr; gap: 4rem; }
  .journal-card, .journal-card:nth-child(n) { grid-column: auto; margin-top: 0; }
  .journal-card .journal-image, .journal-card:nth-child(4n + 1) .journal-image, .journal-card:nth-child(4n + 2) .journal-image, .journal-card:nth-child(4n + 4) .journal-image { aspect-ratio: 4 / 5; }
  .journal-card:nth-child(4n + 3) .journal-image { aspect-ratio: 4 / 3; }
  .story-detail-hero { min-height: 78svh; }
  .story-detail-title { padding-bottom: 3rem; }
  .story-detail-title h1 { font-size: clamp(2.5rem, 14vw, 4.3rem); }
  .story-detail-title > p { max-width: 92%; font-size: 1rem; }
  .story-introduction { grid-template-columns: 1fr; gap: 1.2rem; }
  .gallery-row { display: block; width: 100%; max-width: none; margin-bottom: 0; }
  .gallery-row .gallery-item, .gallery-row .gallery-item.is-portrait, .gallery-row .gallery-item.gallery-full { margin-bottom: .7rem; }
  .gallery-item button { width: 100%; max-width: none; height: auto; }
  .gallery-item img { width: 100%; height: auto; max-height: none; object-fit: contain; }
  .gallery-item button > span { opacity: 1; }
  .story-pagination { grid-template-columns: 1fr; }
  .story-pagination a + a { align-items: flex-start; text-align: left; border-top: 1px solid var(--line); border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .story-detail-hero > img { animation: none; }
  .journal-image img, .gallery-item img { transition: none; }
}
