/* The Tiber House: shared styles ("the site as a film").
   No black or brown blocks: soft bone and oat paper, warm graphite text.
   The only deep darks on the page come from the photographs. */

:root {
  --bone: #f1ece4;
  --oat: #e8e0d4;
  --linen: #f7f3ec;
  --graphite: #34312e;
  --graphite-2: #5e5852;
  --smoke: #696158;   /* small labels: darkened from #8e867d to pass 4.5:1 contrast on every background */
  --gold: #a88b5f;
  --rule: rgba(52, 49, 46, .14);

  --display: "Libre Caslon Display", "Big Caslon", Georgia, serif;
  --text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --sec: clamp(3.5rem, 7vw, 6.5rem);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--graphite);
  font: 350 16.5px/1.7 var(--text);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
figure { margin: 0; }
::selection { background: #e6d9bd; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.12; margin: 0; letter-spacing: -.005em; }
.h3 { font-family: var(--display); font-size: 1.6rem; margin: 0 0 .6rem; }
.label { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--smoke); margin: 0 0 1.4rem; font-weight: 400; }
.link { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: color .25s, border-color .25s; }
.link:hover { color: var(--gold); }
.btn {
  display: inline-flex; align-items: center; gap: .7em;
  font: 500 .92rem var(--text); letter-spacing: .02em; text-decoration: none;
  color: var(--linen); background: var(--graphite);
  padding: 1em 1.7em; border: 0; cursor: pointer;
  transition: background .3s var(--ease);
}
.btn:hover { background: var(--gold); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- nav: light text over the opening stills, paper once you scroll ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s; }
.nav::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(20, 18, 16, .38), transparent); pointer-events: none; transition: opacity .4s; }
.nav.solid { background: rgba(241, 236, 228, .96); color: var(--graphite); box-shadow: 0 1px 0 var(--rule); }
.nav.solid::before { opacity: 0; }
.nav-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 20px var(--gutter); max-width: none; }
.wordmark { font-family: var(--display); font-size: 1.3rem; text-decoration: none; letter-spacing: .01em; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; margin: 0; padding: 0; font-size: .88rem; letter-spacing: .03em; }
.nav-links a { text-decoration: none; opacity: .85; transition: opacity .25s; }
.nav-links a:hover, .nav-links a[aria-current] { opacity: 1; }
.nav-cta { border-bottom: 1px solid currentColor; padding-bottom: 2px; opacity: 1 !important; }
.burger { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: block; background: none; border: 0; color: inherit; font: 500 .9rem var(--text); cursor: pointer; padding: 6px 0; }
  .drawer {
    position: fixed; inset: 0; z-index: 60; background: var(--bone); color: var(--graphite);
    display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: var(--gutter);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .drawer.open { opacity: 1; visibility: visible; }
  .drawer a { font-family: var(--display); font-size: 2.3rem; text-decoration: none; line-height: 1.2; }
  .drawer .drawer-cta { font: 500 1rem var(--text); border-bottom: 1px solid; align-self: flex-start; margin-top: 1.4rem; }
  .drawer-close { position: absolute; top: 18px; right: var(--gutter); background: none; border: 0; font: 500 .9rem var(--text); color: inherit; cursor: pointer; }
}
@media (min-width: 901px) { .drawer { display: none; } }

/* ---------- opening: full-screen stills, small title card, a subtitle ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; color: #fff; }
.stills, .still { position: absolute; inset: 0; }
.still { opacity: 0; transition: opacity 1.8s ease; }
.still.on { opacity: 1; }
.still img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 8s linear; }
.still.on img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(20, 18, 16, .55)); pointer-events: none; }
.title-card { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(2.5rem, 7vh, 4.5rem); text-align: center; padding: 0 var(--gutter); }
.hero h1 { margin: 0; }
.t-name { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: .06em; }
.subtitle { margin: .8rem auto 0; font-size: clamp(.95rem, 1.3vw, 1.08rem); letter-spacing: .02em; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.frame-count { position: absolute; z-index: 2; right: var(--gutter); bottom: 1.4rem; font-size: .75rem; letter-spacing: .2em; opacity: .75; }
@media (max-width: 760px) {
  .still img { object-position: var(--pos-m, 50% 50%); }
  .subtitle br { display: none; }
  .frame-count { display: none; }
}
@media (prefers-reduced-motion: reduce) { .still, .still img { transition: none; transform: none; } }

/* ---------- inquiry: right under the opening ---------- */
.inquire { background: var(--linen); padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--rule); }
.inq-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 3rem; margin-bottom: 1.8rem; }
.inq-head p { margin: 0; max-width: 56ch; color: var(--graphite-2); font-size: .97rem; }
.inq-head a { text-decoration: none; border-bottom: 1px solid; }
.form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem 1.8rem; align-items: end; }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field.wide { grid-column: span 2; }
.field.notes { grid-column: span 3; }
.field label { font-size: .8rem; letter-spacing: .03em; color: var(--smoke); }
.field input, .field select {
  font: 400 1rem var(--text); color: var(--graphite); background: transparent;
  border: 0; border-bottom: 1px solid rgba(52, 49, 46, .35); border-radius: 0; padding: .5rem 0; width: 100%;
  -webkit-appearance: none; appearance: none; transition: border-color .25s;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--graphite) 50%), linear-gradient(135deg, var(--graphite) 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.field input::placeholder { color: rgba(52, 49, 46, .55); }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--gold); }
.form-foot { display: flex; justify-content: flex-end; }
.form-success { display: none; }
.form-success.show { display: block; }
@media (max-width: 900px) { .form { grid-template-columns: 1fr 1fr; } .field.notes, .form-foot { grid-column: span 2; } .form-foot { justify-content: flex-start; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .field.wide, .field.notes, .form-foot { grid-column: auto; } }

/* ---------- opening scene: one widescreen still with subtitles under it ---------- */
.opening { padding: var(--sec) 0 calc(var(--sec) * .8); }
.wide-still { aspect-ratio: 2.39 / 1; overflow: hidden; max-width: 1100px; margin: 0 auto; }
.wide-still img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.subs { max-width: 46rem; margin: 2rem auto 0; text-align: center; }
.subs p { margin: 0 0 .9rem; font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--graphite-2); }
@media (max-width: 760px) { .wide-still { aspect-ratio: 16 / 10; } }

/* ---------- the day, in scenes ---------- */
.day { padding: 0 0 var(--sec); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.sec-head a { font-size: .9rem; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.sec-head.center p { margin: .2rem 0 0; max-width: 44rem; color: var(--graphite-2); }
.scene + .scene { margin-top: clamp(2rem, 4vw, 3rem); }
.scene-label { display: flex; align-items: baseline; gap: .9rem; margin: 0 0 .9rem; font-family: var(--display); font-size: 1.25rem; }
.scene-label span { font-family: var(--text); font-size: .72rem; letter-spacing: .2em; color: var(--smoke); }
.row { display: flex; gap: 8px; }
.row + .row { margin-top: 8px; }
.row > a { flex: var(--r) 1 0%; aspect-ratio: var(--r); overflow: hidden; background: var(--oat); cursor: zoom-in; }
.row img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.row a:hover img { transform: scale(1.02); }
@media (max-width: 760px) {
  .row { flex-wrap: wrap; gap: 6px; }
  .row + .row { margin-top: 6px; }
  .row > a.l { flex: 1 1 100%; }
  .row > a.p { flex: 1 1 calc(50% - 3px); }
}

/* ---------- words from couples ---------- */
.words { background: var(--oat); padding: var(--sec) 0; text-align: center; }
.lead-quote { margin: 0 auto; max-width: 44rem; }
.lead-quote p { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.25; margin: 0; }
.lead-quote cite, .quotes cite { display: block; margin-top: 1rem; font-style: normal; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--smoke); }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem 4rem; max-width: 60rem; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; text-align: left; }
.quotes blockquote { margin: 0; }
.quotes p { margin: 0; font-size: .95rem; color: var(--graphite-2); }
.google { margin: clamp(2.2rem, 4vw, 3rem) 0 0; font-size: .92rem; color: var(--graphite-2); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- collections as title cards ---------- */
.collections { padding: var(--sec) 0; }
.coll + .coll { margin-top: clamp(3rem, 6vw, 5rem); }
.coll-still { overflow: hidden; }
.coll-still img { width: 100%; height: 100%; object-fit: cover; }
.coll-sig .coll-still, .coll-heir .coll-still { aspect-ratio: 2.39 / 1; }
.coll-sig .coll-still img { object-position: 60% 100%; }
.coll-ess .coll-still { aspect-ratio: 2.39 / 1; }
.coll-ess .coll-still img { object-position: 50% 40%; }
.coll-title { text-align: center; max-width: 50rem; margin: clamp(1.6rem, 3vw, 2.2rem) auto 0; }
.coll-name { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; margin: 0; letter-spacing: .02em; }
.coll-tag { margin: .7rem 0 0; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--smoke); }
.coll-price { margin: .9rem 0 1.1rem; font-family: var(--display); font-size: 1.25rem; }
.credits { margin: 0 auto; max-width: 48rem; color: var(--graphite-2); line-height: 2; font-size: .95rem; }
.credits i { font-style: normal; color: var(--gold); margin: 0 .45em; }
.addons { text-align: center; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--rule); }
.addons .label { margin-bottom: .6rem; }
.addons .btn { margin-top: 1.8rem; }
@media (max-width: 760px) {
  .coll-sig .coll-still, .coll-ess .coll-still, .coll-heir .coll-still { aspect-ratio: 4 / 3; max-width: none; }
  .coll-sig .coll-still img { object-position: 74% 100%; }
}

/* ---------- film ---------- */
.film { background: var(--oat); padding: var(--sec) 0; }
.film-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.film-still { aspect-ratio: 3 / 2; overflow: hidden; }
.film-still img { width: 100%; height: 100%; object-fit: cover; }
.film-copy p { color: var(--graphite-2); max-width: 40ch; margin: 1.2rem 0 1.4rem; }
@media (max-width: 760px) { .film-grid { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about { padding: var(--sec) 0; }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about-img { aspect-ratio: 4 / 5; overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { max-width: 50ch; color: var(--graphite-2); }
.about-copy .h2 { margin-bottom: 1.2rem; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--rule); }
.steps li { counter-increment: s; padding: .9rem 0 .9rem 2.2rem; border-bottom: 1px solid var(--rule); position: relative; color: var(--graphite-2); font-size: .95rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: .9rem; font-family: var(--display); color: var(--gold); }
.steps b { font-weight: 500; color: var(--graphite); }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } .about-img { width: 80%; } }

/* ---------- faq ---------- */
.faq { padding: 0 0 var(--sec); }
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 2rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0; font-family: var(--display); font-size: 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--text); font-weight: 300; color: var(--gold); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.3rem; max-width: 62ch; color: var(--graphite-2); }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- footer as end credits ---------- */
.credits-roll { background: var(--oat); padding: calc(var(--sec) * .6) 0 1.6rem; text-align: center; }
.end-title { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: .06em; margin: 0 0 1.8rem; }
.roll { margin: 0 auto; max-width: 52rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem 2rem; }
.roll div { padding: 0; }
.roll dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--smoke); margin-bottom: .3rem; }
.roll dd { margin: 0; }
.roll a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.roll a:hover { border-color: var(--graphite); }
.roll-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.8rem; margin: 1.8rem 0 0; font-size: .88rem; }
.roll-links a { text-decoration: none; color: var(--graphite-2); }
.roll-links a:hover { color: var(--graphite); }
.roll-fine { margin: 1.2rem 0 0; font-size: .78rem; color: var(--smoke); }

/* ---------- sticky phone button ---------- */
.sticky { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; display: none; transform: translateY(140%); transition: transform .4s var(--ease); }
.sticky .btn { width: 100%; justify-content: center; box-shadow: 0 10px 30px rgba(52, 49, 46, .25); }
.sticky.show { transform: none; }
@media (max-width: 760px) { .sticky { display: flex; } }

/* ---------- lightbox on paper, not black ---------- */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(241, 236, 228, .98); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 86vh; width: auto; height: auto; box-shadow: 0 20px 60px rgba(52, 49, 46, .18); }
.lb-btn { position: absolute; background: none; border: 0; color: var(--graphite); font: 400 .95rem var(--text); cursor: pointer; padding: 14px; }
.lb-btn:hover { color: var(--gold); }
.lb-close { top: 10px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--smoke); font-size: .82rem; letter-spacing: .1em; }
.credits span { white-space: nowrap; }
.credits i.eol { visibility: hidden; }
.coll-tag { text-wrap: balance; }
.early-quote cite a { white-space: nowrap; }
@media (max-width: 560px) { .early-quote cite .sep { display: none; } .early-quote cite a { display: table; margin: .45rem auto 0; } }
@media (max-width: 760px) { .hero::after { background: linear-gradient(transparent 45%, rgba(20, 18, 16, .65)); } }

/* =========================================================
   Inner pages: shorter openings, plain page headers, articles
   ========================================================= */
.hero-short { height: 82vh; height: 82svh; }
.form-note { margin: 1.2rem 0 0; font-size: .8rem; color: var(--smoke); }
.opening-text { padding: var(--sec) 0 calc(var(--sec) * .7); }
.opening-text .subs { margin-top: 0; }
.opening-text .h2 { margin-bottom: 1.4rem; }
.coll-still { --pos: 50% 50%; }
.coll-still img { object-position: var(--pos); }
.coll-still.diptych { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; aspect-ratio: 2.39 / 1; }
.coll-still.diptych img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.coll-ess .coll-still.diptych { max-width: none; }
@media (max-width: 760px) {
  .coll-still.diptych, .coll-ess .coll-still.diptych { aspect-ratio: 4 / 3; max-width: none; }
}

/* plain pages: the nav is solid from the start, so leave room under it */
.page-head { padding: calc(84px + var(--sec) * .6) 0 calc(var(--sec) * .5); }
.page-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; margin: 0; letter-spacing: -.005em; }
.page-sub { margin: 1rem 0 0; max-width: 48ch; color: var(--graphite-2); font-size: 1.05rem; }
.page-head .label a { text-decoration: none; }
.page-head .label a:hover { color: var(--graphite); }
.wrap.narrow { max-width: calc(42rem + 2 * var(--gutter)); }
.post-meta { margin: 1rem 0 0; font-size: .88rem; color: var(--smoke); }

/* article */
.post-hero { aspect-ratio: 16 / 9; overflow: hidden; max-width: calc(1100px + 2 * var(--gutter)); margin: 0 auto; }
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: var(--sec); font-size: 1.05rem; }
.post-body p, .post-body li { color: var(--graphite-2); }
.post-body h2, .post-body h3, .post-body h4 { font-family: var(--display); font-weight: 400; color: var(--graphite); line-height: 1.25; margin: 2.2rem 0 .6rem; }
.post-body h2 { font-size: 1.7rem; }
.post-body h3, .post-body h4 { font-size: 1.4rem; }
.post-body ul, .post-body ol { padding-left: 1.2rem; }
.post-body li { margin: .35rem 0; }
.post-body li::marker { color: var(--gold); }
.post-body a:not(.link):not(.btn) { color: var(--graphite); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.post-end { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); font-size: .97rem; }
.related { padding: 0 0 var(--sec); }
.rel { display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline; padding: 1rem 0; border-top: 1px solid var(--rule); text-decoration: none; }
.rel:last-child { border-bottom: 1px solid var(--rule); }
.rel-title { font-family: var(--display); font-size: 1.25rem; line-height: 1.3; }
.rel-meta { flex: none; font-size: .82rem; color: var(--smoke); }
.rel:hover .rel-title { color: var(--gold); }
@media (max-width: 560px) { .rel { flex-direction: column; gap: .2rem; } }

/* journal index */
.journal { padding: 0 0 var(--sec); }
.entries { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.entry { display: block; text-decoration: none; }
.entry-lead { grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 5fr; gap: 0 clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.entry-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--oat); margin-bottom: 1rem; }
.entry-lead .entry-img { margin-bottom: 0; }
.entry-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.entry:hover .entry-img img { transform: scale(1.02); }
.entry-meta { margin: 0 0 .5rem; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); }
.entry-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; margin: 0 0 .6rem; }
.entry-lead .entry-title { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.entry-excerpt { margin: 0; color: var(--graphite-2); font-size: .97rem; }
.entry:hover .entry-title { color: var(--gold); }
@media (max-width: 760px) {
  .entries { grid-template-columns: 1fr; }
  .entry-lead { display: block; }
  .entry-lead .entry-img { margin-bottom: 1rem; }
}

/* closing band */
.closing { background: var(--linen); padding: calc(var(--sec) * .75) 0; border-top: 1px solid var(--rule); }
.closing-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.closing-h { font-family: var(--display); font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin: 0; }

/* 404 */
.notfound { padding: calc(84px + var(--sec) * .6) 0 var(--sec); }
.notfound .wrap { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.nf-still { aspect-ratio: 2 / 3; overflow: hidden; }
.nf-still img { width: 100%; height: 100%; object-fit: cover; }
.nf-copy p { color: var(--graphite-2); }
.nf-links { display: flex; flex-wrap: wrap; gap: .8rem 2rem; margin-top: 1.8rem; }
@media (max-width: 760px) { .notfound .wrap { grid-template-columns: 1fr; } .nf-still { width: 60%; } }
.opening-text + .collections { padding-top: calc(var(--sec) * .3); }
.post-body > :first-child { margin-top: 0; }
section.post-body { padding-top: 0; }

/* film section: a strip of 35mm frames under the copy */
.film-strip { margin-top: clamp(1.8rem, 4vw, 3rem); }
.film-strip .row > a { background: var(--bone); }

/* homepage: one still opening photo, no crossfade or slow zoom */
.hero-static .still img { transform: none; transition: none; }
.hero-static .still { --pos-m: 66% 50%; }

/* a photo alone on its row stays a sensible size instead of filling the full width */
.row > a:only-child { flex: 0 1 auto; width: min(100%, calc(62% * var(--r)), 62%); margin: 0 auto; }
@media (max-width: 760px) { .row > a:only-child { width: 100%; } }

/* =========================================================
   Galleries as horizontal strips: one line of photos that runs
   off the right edge of the screen, scrolled with the arrows
   ========================================================= */
main { overflow-x: clip; }
.strip-wrap { position: relative; margin-right: calc(50% - 50vw); }   /* runs to the screen edge with the photos, so the arrows sit at the edge */
.strip {
  display: flex; gap: 8px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-behavior: smooth;
  scrollbar-width: none;
  padding-right: var(--gutter);
}
.strip::-webkit-scrollbar { display: none; }
.strip .row, .strip .row + .row { display: contents; margin: 0; }
.strip .row > a, .strip .row > a:only-child {
  flex: 0 0 auto; height: var(--strip-h); width: auto; aspect-ratio: var(--r);
  margin: 0; scroll-snap-align: start;
}
.day .strip, .film-strip .strip { --strip-h: clamp(300px, 58vh, 600px); }
.film-strip .strip { --strip-h: clamp(220px, 40vh, 420px); }
@media (max-width: 760px) {
  .strip { gap: 6px; scroll-snap-type: x mandatory; }
  .day .strip { --strip-h: min(62vh, 460px); }
  .film-strip .strip { --strip-h: 240px; }
  .strip .row > a.p, .strip .row > a.l { flex: 0 0 auto; }
}

/* the arrows */
.strip-btn {
  position: absolute; top: 50%; z-index: 5; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(247, 243, 236, .92); color: var(--graphite);
  box-shadow: 0 6px 20px rgba(52, 49, 46, .18);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .25s, background .25s;
}
.strip-btn:hover { background: #fff; }
.strip-btn svg { width: 20px; height: 20px; }
.strip-btn.next { right: max(16px, calc(var(--gutter) * .6)); }
.strip-btn.prev { left: -12px; }
.strip-btn[hidden] { display: none; }
@media (max-width: 760px) { .strip-btn { width: 40px; height: 40px; } .strip-btn.prev { left: 4px; } .strip-btn.next { right: 8px; } }
.strip-count { margin: .7rem 0 0; font-size: .78rem; letter-spacing: .14em; color: var(--smoke); }

@media (max-width: 760px) { .roll { grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; } }

/* the first review, right after the opening, so trust comes early */
.early-quote { margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; max-width: 44rem; text-align: center; }
.early-quote p { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3; margin: 0; }
.early-quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--smoke); }
.early-quote cite a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.words .quotes { margin-top: 0; }

/* phones: show the three essentials first; the rest is one tap away */
.more-toggle { display: none; }
@media (max-width: 760px) {
  .form:not(.show-more) .field.opt { display: none; }
  .more-toggle {
    display: block; justify-self: start; background: none; border: 0; padding: .2rem 0; cursor: pointer;
    font: 500 .9rem var(--text); color: var(--graphite); border-bottom: 1px solid currentColor;
  }
  .form.show-more .more-toggle { display: none; }
}

/* "See a whole wedding": links from the homepage to the venue posts */
.full-weds { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--rule); }
.full-weds .label { margin-bottom: 1.2rem; }
.fw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.fw-card { display: block; color: inherit; text-decoration: none; }
.fw-still { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--oat); }
.fw-still img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fw-card:hover .fw-still img { transform: scale(1.03); }
.fw-venue { margin: .9rem 0 0; font-family: var(--display); font-size: 1.35rem; color: var(--graphite); }
.fw-meta { margin: .3rem 0 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); }
@media (max-width: 760px) { .fw-grid { grid-template-columns: 1fr; } }

/* Real-wedding posts: one continuous gallery in justified rows (the Aperhouse client-gallery layout).
   Each photo grows in proportion to its shape, so every row fills the width at an even height. */
.venue-gallery { padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(1rem, 3vw, 2rem); }
.vg-wrap { max-width: 1680px; margin: 0 auto; padding: 0 var(--gutter); }
.jrows { --row: clamp(220px, 24vw, 340px); --gap: 8px; display: flex; flex-wrap: wrap; gap: var(--gap); }
.jrows::after { content: ""; flex-grow: 999999; }
.jrows .row, .jrows .row + .row { display: contents; margin: 0; }
.jrows .row > a, .jrows .row > a.l, .jrows .row > a.p, .jrows .row > a:only-child {
  flex: calc(var(--r) * 100) 1 calc(var(--r) * var(--row)); width: auto; margin: 0;
  aspect-ratio: var(--r); max-height: calc(var(--row) * 1.5);
  overflow: hidden; border-radius: 4px; background: var(--oat); cursor: zoom-in;
}
@media (max-width: 760px) { .jrows { --row: 150px; --gap: 4px; } }

/* Real-wedding posts, editorial layout: a hand-set rhythm of blocks so the standout frames get room.
   full = edge-to-edge standout; pair/trio = equal-height rows; offset = big frame + smaller one staggered
   (offset-r: the big one on the right); solo = one frame centred with space around it. */
.vgal { --g: clamp(8px, 1.1vw, 14px); display: flex; flex-direction: column; gap: var(--g); }
.vgal .row, .vgal .row + .row { display: flex; gap: var(--g); margin: 0; flex-wrap: nowrap; align-items: flex-start; }
.vgal .row > a, .vgal .row > a.l, .vgal .row > a.p, .vgal .row > a:only-child {
  flex: var(--r) 1 0%; width: auto; margin: 0; aspect-ratio: var(--r);
  overflow: hidden; border-radius: 4px; background: var(--oat); cursor: zoom-in;
}
.vgal .row.full { margin: clamp(1.5rem, 4vw, 3.5rem) calc(-1 * var(--gutter)); }
.vgal .row.full > a { flex: 1 1 100%; border-radius: 0; aspect-ratio: auto; height: min(calc(100vw / var(--r)), 88vh); }
.vgal .row.solo { justify-content: center; margin: clamp(1rem, 3vw, 2.5rem) 0; }
.vgal .row.solo > a { flex: 0 0 auto; width: min(62%, calc(80vh * var(--r))); }
/* offset / offset-r: same as a pair (equal heights, so a landscape beside a portrait reads as big + small with no gaps) */
@media (max-width: 760px) {
  .vgal { --g: 6px; }
  .vgal .row.trio { flex-wrap: wrap; }
  .vgal .row.trio > a:nth-child(3) { flex: 1 1 100%; }
  .vgal .row.solo > a { width: 78%; }
  .vgal .row.full > a { height: auto; aspect-ratio: var(--r); }
}

/* Reviews: the featured review runs full width; the rest flow into two balanced columns (no gaps under short quotes) */
.quotes { display: block; columns: 2; column-gap: 4rem; }
.quotes blockquote { break-inside: avoid; margin: 0 0 2.4rem; }
.quotes blockquote.featured { column-span: all; max-width: 46rem; margin: 0 auto 3rem; text-align: center; }
.quotes blockquote.featured p { font-family: var(--display); font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; color: var(--graphite); }
@media (max-width: 760px) { .quotes { columns: 1; } .quotes blockquote.featured { text-align: left; } }

/* Homepage: short Collections band that links to /collections */
.coll-band { background: var(--oat); padding: clamp(2rem, 4.5vw, 3.2rem) 0; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.band-price { margin: .35rem 0 .3rem; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--graphite); }
.band-note { margin: 0; color: var(--smoke); max-width: 36rem; }

/* Collections page */
.receive { padding: 0 0 var(--sec); }
.receive .h2 { margin-bottom: 1.4rem; }
.receive-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.receive-list li { color: var(--graphite-2); padding-left: 1.2rem; position: relative; }
.receive-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.receive-list b { color: var(--graphite); font-weight: 500; }
.collections-work { padding-top: var(--sec); }
.page-head + .collections { padding-top: calc(var(--sec) * .25); }
.coll-band + .day { padding-top: calc(var(--sec) * .8); }

/* =========================================================
   Collections page (redesign 2026-11-03)
   ========================================================= */
.c-hero { position: relative; height: var(--h, min(78vh, 760px));   /* --h is set from edit mode's resize handle */ min-height: 440px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.c-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20, 18, 16, .3), transparent 32%, transparent 48%, rgba(20, 14, 10, .58)); pointer-events: none; }
.c-hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(2.2rem, 7vh, 4.5rem); }
.c-hero .label { color: rgba(255, 255, 255, .85); }
.c-title { margin: .4rem 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 7vw, 5.6rem); line-height: 1; }
.c-sub { margin: .9rem 0 0; max-width: 34rem; font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(255, 255, 255, .92); }

.c-intro { padding: var(--sec) 0 calc(var(--sec) * .6); text-align: center; }
.c-intro p { margin: 0 auto; max-width: 40rem; font-family: var(--display); font-size: clamp(1.25rem, 2.1vw, 1.6rem); line-height: 1.5; color: var(--graphite); }
.c-intro p.c-note { margin-top: 1.8rem; max-width: 32rem; font-family: var(--text); font-size: .98rem; line-height: 1.6; color: var(--smoke); }

.c-cards { padding: 0 0 var(--sec); }
.c-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2.2rem); align-items: start; }
.c-card { background: var(--linen); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.c-card.featured { border-color: var(--gold); box-shadow: 0 24px 50px -38px rgba(52, 49, 46, .55); }
.c-still { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--oat); }
.c-still img { width: 100%; height: 100%; object-fit: cover; }
.c-body { padding: clamp(1.4rem, 2.5vw, 2rem); display: flex; flex-direction: column; flex: 1; }
.c-flag { align-self: flex-start; margin: 0 0 .8rem; padding: .3rem .7rem; border-radius: 999px; background: var(--gold); color: #fff; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.c-name { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 2.6vw, 2.4rem); line-height: 1; }
.c-tag { margin: .6rem 0 0; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--smoke); }
.c-price { margin: 1.1rem 0 1.2rem; font-family: var(--display); font-size: 1.35rem; color: var(--graphite); }
.c-list { list-style: none; margin: 0 0 1.6rem; padding: 0; border-top: 1px solid var(--rule); }
.c-list li { padding: .62rem 0; border-bottom: 1px solid var(--rule); font-size: .93rem; color: var(--graphite-2); }
.c-body .link { margin-top: auto; align-self: flex-start; }

.c-compare { padding: 0 0 var(--sec); }
.c-compare .h2 { margin-bottom: 1.6rem; }
.cmp-scroll { overflow-x: auto; }
.cmp { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .93rem; }
.cmp th, .cmp td { padding: .85rem 1rem; border-bottom: 1px solid var(--rule); text-align: center; color: var(--graphite-2); font-weight: 400; }
.cmp thead th { font-family: var(--display); font-size: 1.25rem; color: var(--graphite); border-bottom-color: var(--graphite); }
.cmp tbody th { text-align: left; color: var(--graphite); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { font-family: var(--display); font-size: 1.15rem; color: var(--graphite); border-bottom: 0; }

.c-interlude { position: relative; height: var(--h, min(70vh, 640px)); min-height: 380px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.c-interlude > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-interlude::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(20, 14, 10, .6)); pointer-events: none; }
.c-quote { position: relative; z-index: 1; margin: 0; padding: 0 var(--gutter) clamp(2.2rem, 6vh, 4rem); max-width: 48rem; text-align: center; color: #fff; }
.c-quote p { margin: 0; font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.3; }
.c-quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }

.c-receive, .c-addons { padding: var(--sec) 0 0; }
.c-receive .h2, .c-addons .h2 { margin-bottom: 1.8rem; }
.rec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); }
.rec { border-top: 1px solid var(--graphite); padding-top: 1rem; }
.rec-n { margin: 0 0 .7rem; font-size: .72rem; letter-spacing: .2em; color: var(--gold); }
.rec h3, .add h3 { margin: 0 0 .45rem; font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: var(--graphite); }
.rec p:not(.rec-n), .add p { margin: 0; font-size: .93rem; color: var(--graphite-2); }
.add-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(1.2rem, 3vw, 2.5rem); }
.add { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.c-booking { padding: var(--sec) 0; }
.c-booking .h2 { margin-bottom: 1.2rem; }

@media (max-width: 900px) {
  .c-grid { grid-template-columns: 1fr; max-width: 34rem; margin: 0 auto; }
  .rec-grid, .add-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .rec-grid, .add-grid { grid-template-columns: 1fr; }
  .c-hero { height: 70vh; }
  .c-interlude { height: 56vh; }
}
@media (max-width: 600px) {
  .cmp { min-width: 0; font-size: .8rem; }
  .cmp th, .cmp td { padding: .6rem .3rem; }
  .cmp tbody th { padding-left: 0; width: 34%; }
  .cmp thead th { font-size: 1rem; }
  .cmp tbody tr:last-child th, .cmp tbody tr:last-child td { font-size: .95rem; }
}
.c-weddings { padding: var(--sec) 0; border-top: 1px solid var(--rule); }
.c-weddings .sec-head { margin-bottom: 1.6rem; }
.c-list li.c-plus { color: var(--graphite); font-weight: 500; }
