/* Destination Wedding Japan · design system v03 (13 October 2026)
   Goal (Tracey): "clean and professional with a few tricks and motion".
   This file loads last and is the single source for: the type scale, labels, links,
   surfaces, photo shapes and the interior page kit. Per-section sizes in earlier files
   are superseded here on purpose; ":not(#_)" lifts a rule above section-level selectors
   without !important. Source: independent art direction review, 12 October. */

:root{
  --h1:clamp(44px,4.6vw,72px);
  --h2:clamp(34px,3.2vw,52px);
  --statement:clamp(24px,2vw,32px);
  --h3:clamp(22px,1.7vw,26px);
  --label-size:11px;
  --label-track:.16em;
  --olive-band:color-mix(in srgb,#879191 22%,#FAF6F5);
  --rule:color-mix(in srgb,var(--ink) 40%,transparent);
  --photo-max:88svh;
}

/* ---------- Type scale: five sizes ---------- */
main h1:not(#_){font-size:var(--h1);line-height:1.02;letter-spacing:-.01em}
main h2:not(#_){font-size:var(--h2);line-height:1.06;letter-spacing:-.005em}
main h3:not(#_){font-size:var(--h3);line-height:1.18}
main .statement:not(#_){font-size:var(--statement);line-height:1.16}
.footer-heading p:not(#_){font-size:var(--h2)}
.cover-home .cover-title h1:not(#_){font-size:clamp(52px,5.4vw,84px)}
main h1 em:not(#_),main h2 em:not(#_){margin-left:.6em;font-size:.88em}
.home-invitation h2 em:not(#_){margin-left:0}
.place-name:not(#_),.place-row h3:not(#_){font-size:clamp(26px,2.2vw,36px)}

/* ---------- One label style: small tracked capitals ---------- */
.eyebrow:not(#_),figcaption.photo-label:not(#_),.cover-caption:not(#_),.stage-figure figcaption:not(#_){font-family:var(--body);font-size:var(--label-size);letter-spacing:var(--label-track);text-transform:uppercase;font-weight:500;line-height:1.5}
figcaption.photo-label:not(#_){color:var(--muted);padding-top:12px}
.eyebrow::before{background:color-mix(in srgb,currentColor 45%,transparent)}
.chapter-num{color:var(--muted)}

/* ---------- Three link styles: text link, button, navigation ---------- */
.text-link:not(#_),.cover-link:not(#_),.invitation-link:not(#_),.review-profile:not(#_),.journal-more:not(#_){font-family:var(--body);font-size:13.5px;font-weight:500;letter-spacing:.02em;padding:12px 0 10px;background:linear-gradient(var(--rule),var(--rule)) 0 100%/100% 1px no-repeat;transition:background-color .3s}
.text-link:hover:not(#_),.cover-link:hover:not(#_),.invitation-link:hover:not(#_),.review-profile:hover:not(#_){background-image:linear-gradient(var(--gold),var(--gold))}
.cover-home .cover-link:not(#_){background-image:linear-gradient(#ffffffb0,#ffffffb0)}
.invitation-link span:not(#_),.cover-link span:not(#_){font-size:18px}
.related .text-link:not(#_),.home-routes .text-link:not(#_){font-family:var(--serif);font-size:var(--h3);font-weight:500;letter-spacing:0}
.chapter-body .button,.chapter-body .text-link,.meet-actions{margin-top:30px}
.chapter-body .button{display:inline-flex}

/* ---------- Three surfaces: Snow, Carbon, one Grey Olive band ---------- */
.home-stories:not(#_),.plan-team:not(#_),.meet-two-teams:not(#_),.invitation:not(#_){background:var(--olive-band)}
.questions:not(#_),.plan-process:not(#_),.meet-japan:not(#_){background:var(--paper)}
.invitation::before{display:none}

/* ---------- Photographs keep their shape ---------- */
/* Every framed photograph is drawn at its own aspect ratio, never taller than the screen. */
.photo-window[style*="--ar"]{height:auto!important;width:min(100%,calc(var(--photo-max) * var(--ar)));min-height:0!important}
.photo-window[style*="--ar"] img{height:100%!important;min-height:0!important;max-height:none!important;aspect-ratio:auto}
.cover-plan:not(#_){--push:1}
/* Strips: one height everywhere, a calm run you can scroll or step through */
.work-strip:not(#_){overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin-left:calc(-1 * var(--gutter));margin-right:calc(-1 * var(--gutter));padding:0 var(--gutter);outline-offset:4px}
.work-strip::-webkit-scrollbar{display:none}
.strip-track:not(#_){transform:none;gap:20px}
.strip-frame:not(#_){scroll-snap-align:start}
/* A definite width avoids Safari collapsing auto-sized flex frames and their captions. */
.strip-frame .photo-window[style*="--ar"]{height:min(64svh,620px)!important;width:calc(min(64svh,620px) * var(--ar));max-width:none;aspect-ratio:var(--ar)}
.strip-frame .photo-window img{width:100%}
.strip-nav{display:flex;gap:12px;justify-content:flex-end;margin-top:18px;grid-column:1/-1}
.work-strip:not(#_){scroll-padding-inline:var(--gutter)}
.strip-nav button{width:46px;height:46px;border-radius:50%;border:1px solid color-mix(in srgb,currentColor 40%,transparent);background:transparent;color:inherit;font-size:18px;display:grid;place-items:center;transition:border-color .3s,opacity .3s}
.strip-nav button:hover:not(:disabled){border-color:var(--gold)}
.strip-nav button:disabled{opacity:.3;cursor:default}

/* ---------- Interior page kit ---------- */
/* B · chapter pair: heading left, words right (unchanged). */
/* C · a landscape opens the chapter as a full-width break, at its true shape. */
.photo-break{padding:var(--space) var(--gutter) 0}
.photo-break+.chapter,.photo-break+section{padding-top:clamp(56px,6vw,96px)}
.photo-break .photo-insert{margin:0}
.photo-break .photo-insert.landscape .photo-window{margin:0 auto}
.photo-break .photo-insert.portrait{max-width:640px;margin:0 auto}
.photo-break .photo-insert figcaption{text-align:left}
/* D · a portrait beside the chapter's words, filling the empty columns. */
.with-portrait.chapter:not(#_){align-items:start}
.with-portrait>.photo-insert:not(#_){grid-column:1/6;grid-row:1/span 4;margin:0;position:sticky;top:calc(var(--header-h) + 24px)}
.with-portrait>.chapter-copy .chapter-head:not(#_),.with-portrait .chapter-head:not(#_){grid-column:7/13;position:static}
.with-portrait>.chapter-copy .chapter-body:not(#_),.with-portrait .chapter-body:not(#_){grid-column:7/13}
.with-portrait.portrait-right>.photo-insert:not(#_){grid-column:8/13}
.with-portrait.portrait-right .chapter-head:not(#_),.with-portrait.portrait-right .chapter-body:not(#_){grid-column:1/7}
.with-portrait>.photo-insert .photo-window{width:100%}
/* Planning and Meet use their own chapter grids; the same rule applies. */
.plan-section.with-portrait>.plan-title,.plan-section.with-portrait>.plan-body,.plan-section.with-portrait>.plan-columns,.plan-section.with-portrait>.text-link,.plan-section.with-portrait>.page-review{grid-column:7/13}
.plan-section.with-portrait.portrait-right>.plan-title,.plan-section.with-portrait.portrait-right>.plan-body,.plan-section.with-portrait.portrait-right>.plan-columns{grid-column:1/7}
.meet-chapter.with-portrait .meet-section-heading:not(#_),.meet-chapter.with-portrait .meet-section-body:not(#_){grid-column:7/13;position:static}
.meet-chapter.with-portrait.portrait-right .meet-section-heading:not(#_),.meet-chapter.with-portrait.portrait-right .meet-section-body:not(#_){grid-column:1/7}
/* Chapters that already carry a photograph: heading and words stay together beside it. */
.chapter.with-photo .chapter-copy:not(#_){display:block;grid-column:1/6;grid-row:1;align-self:center}
.chapter.with-photo.reverse .chapter-copy:not(#_){grid-column:8/13}
.chapter.with-photo .chapter-head,.chapter.with-photo .chapter-body{grid-column:auto}
.chapter.with-photo .chapter-figure:not(#_){grid-row:1;align-self:center}
.chapter.with-photo .chapter-figure .photo-window{margin-left:auto}
.chapter.with-photo.reverse .chapter-figure .photo-window{margin-left:0}
/* Openings: the introduction aligns with the chapter headings. */
.page-lead>.lead-detail:not(#_){grid-column:1/8}
.page-lead>.lead-detail:has(.page-review)>.lead-copy:not(#_){grid-column:1/7}

/* ---------- Openings ---------- */
.cover-title h1:not(#_){max-width:18ch}
.cover::after{background:linear-gradient(180deg,#00000099 0%,#00000026 22%,transparent 44%),linear-gradient(0deg,#000000b8 0%,#00000059 30%,transparent 62%)}
.cover-page .cover-title:not(#_){bottom:auto}

/* ---------- Reviews: one block style (Tracey asked for a coloured block, 27 Sept) ---------- */
.page-review .quote-mark:not(#_){display:none}
.plan-process>.review-wide:not(#_){grid-column:2/12;text-align:left;padding:clamp(32px,3.6vw,56px)}
.plan-process>.review-wide blockquote:not(#_){font-size:var(--statement);margin:0 0 24px}
.plan-process>.review-wide figcaption:not(#_){margin:0}

/* ---------- Homepage ---------- */
.home-stories:not(#_){padding-top:var(--space)}
.home-heroes:not(#_){padding:0 0 clamp(56px,6vw,96px)}
.home-heroes .work-strip{margin-top:0}

.home-stories .story:nth-child(2) .story-media{margin-bottom:0}
.home-stories .story:nth-child(2) .eyebrow{margin-top:24px}
.home-places .place-index:not(#_){align-self:start}
.places-copy .statement:not(#_){line-height:1.16}
.page-home .steps>li:nth-child(n):not(#_){margin-top:0}
.film-pair-section .section-title{display:block}
.film-pair{display:grid;grid-template-columns:1fr 1fr;gap:var(--gap);padding:0 var(--gutter)}
.film-item{margin:0}
.film-item .film-player{position:relative;aspect-ratio:16/9;height:auto}
.film-item .film-play img{width:100%;height:100%;object-fit:cover}
.film-item .play-label:not(#_){left:28px;top:auto;bottom:28px;margin:0;width:96px;height:96px;font-size:10px;transform:none}
.film-line{font-family:var(--body);font-size:var(--label-size);letter-spacing:var(--label-track);text-transform:uppercase;font-weight:500;color:var(--muted);padding-top:14px}
.film-pair-section .film-frame{height:auto;min-height:0;clip-path:inset(0 var(--film-inset,0px) 0 var(--film-inset,0px))}
.film-pair-section .film-note{padding:18px var(--gutter) 0}

/* ---------- Planning ---------- */
.plan-guests .plan-inset-photo:not(#_){position:static;margin:0;grid-column:9/13;grid-row:1;align-self:end}
.plan-inset-photo .photo-window:not(#_){border:0;box-shadow:none}
.plan-guests .plan-wide-photo:not(#_){grid-column:1/9}
.plan-leads .lead-copy:first-child:not(#_){font-family:var(--serif);font-size:var(--statement);line-height:1.18}
@media(max-width:1599px){
  .plan-index .chapter-name{display:none}
  .plan-index a[aria-current] .chapter-name{display:inline}
  html:not(.js) .plan-index .chapter-name{display:inline}
}

/* ---------- Meet ---------- */
.meet-two-teams .meet-section-heading:not(#_),.meet-memories .meet-section-heading:not(#_){text-align:left;grid-column:1/6;position:sticky}
.meet-two-teams .meet-section-heading .eyebrow:not(#_),.meet-memories .meet-section-heading .eyebrow:not(#_){justify-content:flex-start}
.meet-two-teams .meet-section-heading .eyebrow::after,.meet-memories .meet-section-heading .eyebrow::after{display:none}
.meet-two-teams .meet-section-heading h2:not(#_){margin:0}
.meet-two-teams .meet-section-body:not(#_),.meet-memories .meet-section-body:not(#_){grid-column:7/12;text-align:left}
.meet-two-teams .statement:not(#_),.meet-memories .statement:not(#_){text-align:left;margin-left:0;max-width:24ch}
.meet-press h2:not(#_){font-family:var(--body);font-size:var(--label-size);letter-spacing:var(--label-track);line-height:1.5}
.meet-press li:nth-child(n):not(#_){font-family:var(--body);font-size:13px;letter-spacing:.2em;text-transform:uppercase;font-style:normal;font-weight:500}

/* ---------- Real weddings ---------- */
.stories-page .story-grid:not(#_){display:block}
.stories-page .story:nth-child(n):not(#_){display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap);align-items:center;margin:0;padding:clamp(40px,4vw,64px) 0;border-top:1px solid var(--hair)}
.stories-page .story-figure{grid-column:1/8;margin:0}
.stories-page .story-words{grid-column:9/13}
.stories-page .story.text-only:not(#_){align-items:start}
/* A story without a photograph is set as an index entry: its title where the photograph would sit, its words in the same column as the others. */
.stories-page .story.text-only .story-words:not(#_){grid-column:1/-1;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap)}
.stories-page .story.text-only h3:not(#_){grid-column:1/8;grid-row:1/span 3;font-size:var(--statement);line-height:1.16;max-width:18ch;margin:0}
.stories-page .story.text-only .story-words>:not(h3){grid-column:9/13}
.stories-page .story h3:not(#_){margin:0 0 14px}
.stories-page .story .photo-window[style*="--ar"]{aspect-ratio:3/2;width:100%}
.journal-explorer .place-row:not(#_){grid-template-columns:1fr auto}
.journal-explorer .place-row.same-place:not(#_){padding:2px 0 12px;border-top:0}
.journal-explorer .place-row.same-place .journal-kind:not(#_){font-family:var(--body);font-size:13px;letter-spacing:.02em;color:var(--muted)}
.journal-explorer .place-row .place-name:not(#_){font-size:var(--h3)}
.journal-explorer .stage-figure figcaption:not(#_){left:0;bottom:0;padding:9px 14px;background:var(--dark);color:var(--on-dark)}

/* ---------- Questions and answers ---------- */
.faq-list summary:not(#_){font-family:var(--reading,var(--body));font-size:18px;font-weight:400}
.faq-list summary>span:not(#_){border:0;width:24px;height:24px;font-size:20px}
.faq-list details[open] summary>span:not(#_){background:none;color:inherit}

/* ---------- Footer ---------- */
.footer-heading:not(#_){padding-bottom:clamp(40px,4vw,64px);margin-bottom:clamp(40px,4vw,64px)}

/* ---------- Phones and tablets ---------- */
@media(max-width:900px){
  .with-portrait>.photo-insert:not(#_),.with-portrait.portrait-right>.photo-insert:not(#_){position:static;grid-column:1/-1;grid-row:auto;width:84%;margin:0 0 36px}
  .with-portrait.portrait-right>.photo-insert:not(#_){margin-left:auto}
  .photo-break{padding:56px var(--gutter) 0}
  .photo-break .photo-insert.landscape{margin:0 calc(-1 * var(--gutter))}
  .photo-break .photo-insert.landscape figcaption{padding-left:var(--gutter)}
  .chapter.with-photo .chapter-copy:not(#_),.chapter.with-photo.reverse .chapter-copy:not(#_){grid-column:1/-1;grid-row:auto}
  .page-lead>.lead-detail:not(#_),.page-lead>.lead-detail:has(.page-review)>.lead-copy:not(#_){grid-column:1/-1}
  .film-pair{grid-template-columns:1fr;padding:0;gap:36px}
  .film-line{padding-left:var(--gutter)}
  .stories-page .story:nth-child(n):not(#_){display:block}
  .stories-page .story-figure{margin:0 0 20px}
  .stories-page .story.text-only .story-words:not(#_){display:block}
  .stories-page .story.text-only h3:not(#_){margin:0 0 14px}
  .meet-two-teams .meet-section-heading:not(#_),.meet-memories .meet-section-heading:not(#_){position:static}
  .plan-guests .plan-inset-photo:not(#_){width:60%;margin:16px 0 0 auto}
  .strip-frame .photo-window[style*="--ar"]{height:min(56svh,520px)!important}
}
@media(prefers-reduced-motion:reduce){
  .film-pair-section .film-frame{clip-path:none!important}
}

/* ======================================================================
   Phones, tablets and touch: independent mobile review, 12 October.
   ====================================================================== */

/* Small fixes at every width */
.review-carousel>.quote-mark:not(#_){display:none}
.related .text-link:not(#_),.home-routes .text-link:not(#_),.meet-actions .text-link:not(#_){margin-left:0}
.button[disabled]:not(#_){opacity:.45;cursor:not-allowed}
.pending-action:not(#_),button[disabled].text-link:not(#_){background:none;opacity:1;color:var(--muted);cursor:default}
.chapter-head:not(#_){margin-bottom:28px}
.header.menu-open:not(#_){transform:none}
html:has(.header.menu-open){overflow:hidden}
@media(hover:none){a:active,summary:active,button:active{opacity:.6}.place-row:active::after{transform:scaleX(1)}}

/* Touch tablets wider than 900px get the swipe row, never the hover-only stage. */
@media(min-width:901px) and (hover:none){
  .explorer:not(#_){display:block}
  .explorer-stage:not(#_){position:relative;top:auto;height:auto;min-height:0;max-height:none;margin:0 calc(-1 * var(--gutter)) 36px;padding:0 var(--gutter);background:transparent;display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
  .stage-figure:nth-child(n):not(#_){position:relative;inset:auto;flex:none;width:min(60vw,700px);height:auto;visibility:visible;clip-path:none;scroll-snap-align:start;transition:none}
  .stage-figure .photo-window:not(#_){aspect-ratio:3/2;height:auto;width:100%}
  .stage-figure .photo-window img:not(#_){height:100%;object-fit:cover}
  .stage-figure figcaption:not(#_){position:static;color:var(--muted);text-shadow:none;padding:10px 0 0;background:none}
  .home-places .stage-figure figcaption:not(#_){color:color-mix(in srgb,var(--on-dark) 75%,transparent)}
  .journal-explorer .place-index:not(#_){columns:2;column-gap:var(--gap)}
  .journal-explorer .place-row:not(#_){break-inside:avoid}
}

@media(max-width:900px){
  /* Portrait chapters: words return to the full width under the photograph. */
  .with-portrait>.chapter-copy .chapter-head:not(#_),.with-portrait>.chapter-copy .chapter-body:not(#_),.with-portrait.portrait-right>.chapter-copy .chapter-head:not(#_),.with-portrait.portrait-right>.chapter-copy .chapter-body:not(#_),
  .with-portrait .chapter-head:not(#_),.with-portrait .chapter-body:not(#_),.with-portrait.portrait-right .chapter-head:not(#_),.with-portrait.portrait-right .chapter-body:not(#_),
  .plan-section.with-portrait>*:not(#_),.meet-chapter.with-portrait .meet-section-heading:not(#_),.meet-chapter.with-portrait .meet-section-body:not(#_),
  .meet-two-teams .meet-section-heading:not(#_),.meet-memories .meet-section-heading:not(#_),.meet-two-teams .meet-section-body:not(#_),.meet-memories .meet-section-body:not(#_),
  .plan-guests .plan-wide-photo:not(#_),.plan-process>.review-wide:not(#_){grid-column:1/-1}

  /* Photo runs: one even height, each photograph whole, its width following its shape. */
  .strip-track:not(#_){align-items:flex-start;gap:12px}
  .strip-frame .photo-window[style*="--ar"]:not(#_){height:min(58vw,50svh)!important;width:auto!important;max-width:88vw;aspect-ratio:var(--ar)}

  /* Places and Journal cards: landscape cards, the Miyakojima print shown whole. */
  .stage-figure:nth-child(n):not(#_){width:84vw;height:auto}
  .journal-explorer .stage-figure:nth-child(n):not(#_){width:80vw;height:auto}
  .stage-figure .photo-window:not(#_){aspect-ratio:3/2;height:auto;width:100%}
  .stage-figure .photo-window img:not(#_){height:100%;object-fit:cover}
  .stage-figure.is-print .stage-link:not(#_){padding:0;background:transparent}
  .stage-figure.is-print .photo-window:not(#_){background:var(--dark);box-shadow:none}
  .stage-figure.is-print .photo-window img:not(#_){object-fit:contain}
  .stage-figure figcaption:not(#_),.journal-explorer .stage-figure figcaption:not(#_){position:static;background:none;color:var(--muted);text-shadow:none;padding:10px 0 0}
  .home-places .stage-figure figcaption:not(#_){color:color-mix(in srgb,var(--on-dark) 75%,transparent)}
  .journal-explorer .place-row:not(#_){padding:10px 0}
  .journal-explorer .place-row .place-name:not(#_){font-size:20px}

  /* Films: a small play pill at the bottom left, clear of faces. */
  .film-item .play-label:not(#_){width:auto;height:40px;flex-direction:row;gap:8px;padding:0 16px;border-radius:999px;left:14px;bottom:14px;font-size:11px}
  .film-item .play-label::before{display:none}
  .film-item .play-label span:not(#_){font-size:14px}

  /* Homepage steps: the numeral beside its heading, so the section reads in half the length. */
  .page-home .steps>li:nth-child(n):not(#_){display:grid;grid-template-columns:auto 1fr;column-gap:16px;align-items:baseline;margin:0 0 36px;padding-top:22px}
  .page-home .steps>li>span:not(#_){font-size:34px;margin:0}
  .page-home .steps>li>h3:not(#_){margin:0 0 12px}
  .page-home .steps>li>p:not(#_){grid-column:1/-1}

  /* Planning index: a soft edge shows it scrolls. */
  .plan-index-track:not(#_){-webkit-mask-image:linear-gradient(90deg,#000 86%,transparent);mask-image:linear-gradient(90deg,#000 86%,transparent)}
  .plan-index a:not(#_){font-size:11px}

  /* Comfortable tap targets and small-text floors. */
  .header-contact:not(#_){min-height:44px}
  .breadcrumb a:not(#_){display:inline-block;padding:11px 0}
  .review-profile:not(#_),.page-review figcaption a:not(#_),.review-slide figcaption a:not(#_){display:inline-block;padding:10px 0}
  .footer-link:not(#_){padding:10px 0}
  .wordmark small:not(#_){font-size:9.5px}
  .story .credit:not(#_),.film-note:not(#_){font-size:13px}
  .faq-list summary:not(#_){padding:18px 0}
}

/* Phones and tablets in portrait: an interior opening is the photograph first, then the title on paper,
   so the headline never sits on the couple. The homepage keeps its overlay. */
@media(max-width:900px){
  .cover-page:not(#_){display:flex;flex-direction:column;min-height:0;padding:0;background:var(--paper);color:var(--ink)}
  .cover-page::after{display:none}
  .cover-page .cover-media:not(#_){position:relative;inset:auto;z-index:0;width:100%;aspect-ratio:4/5;max-height:78svh}
  .cover-page .cover-media img:not(#_){object-position:var(--focus,50% 50%)}
  .cover-page .cover-media::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#000000a8 0%,#00000055 14%,#00000000 30%)}
  .cover-page .cover-caption:not(#_){order:1;margin:0;padding:10px var(--gutter) 0;color:var(--muted);opacity:1}
  .cover-page .cover-title:not(#_){order:2;align-self:stretch;padding:30px var(--gutter) 0;color:var(--ink)}
  .cover-page .cover-caption:not(#_){align-self:stretch}
  .cover-page .cover-title .eyebrow:not(#_){color:var(--muted);margin-bottom:16px}
  .cover-page .cover-title h1:not(#_){text-shadow:none;max-width:none;color:var(--ink)}
  .breadcrumb-over:not(#_){display:none}
  .cover-page+.page-lead:not(#_){padding-top:28px}
}

/* Without JavaScript the menu button cannot open anything; the footer carries the navigation. */
@media(max-width:1180px){html:not(.js) .menu-toggle,html:not(.js) .primary-nav{display:none}}

/* Contact: the header's "Begin your story" would link to the page you are on. */
.header-contact[aria-current="page"]:not(#_){visibility:hidden}
/* Home, second story: both Jinya photographs kept, as a calm pair with no overlap. */
.home-stories .story-second:nth-child(n):not(#_){display:block;position:static;width:56%;margin:12px 0 0 auto;box-shadow:none;transform:none}

/* Photo runs inside interior pages (v04, Tracey's photo picks): one calm row after a chapter, same height and controls as every other run. */
.page-run{padding:0 var(--gutter)}
.page-run .work-strip:not(#_){margin-top:0;margin-bottom:0}

/* Home, "Let's make a little history" (Tracey, 13 Oct): on wider screens the photograph runs the full
   height of the section, from the top of the heading to the last link, cropped to fill. Phones keep the whole frame. */
@media(min-width:901px){
  .page-home .intro-head:not(#_){grid-column:1/6;grid-row:1}
  .page-home .intro-copy:not(#_){grid-column:1/6;grid-row:2;align-self:end}
  .page-home .intro-figure:not(#_){grid-column:7/-1;grid-row:1/3;align-self:stretch;margin:0 calc(-1 * var(--gutter)) 0 0;display:flex;flex-direction:column}
  .page-home .intro-figure .photo-window[style*="--ar"]:not(#_){position:relative;flex:1;width:100%!important;height:auto!important;aspect-ratio:auto;min-height:0}
  .page-home .intro-figure .photo-window img:not(#_){position:absolute;inset:0;width:100%;height:100%!important;object-fit:cover;object-position:50% 40%}
}

/* Planning, team and full planning chapters: on narrower desktops the words kept only the 18px column gap
   from the photograph beside them. A minimum of breathing room at every width (crowd check, 13 Oct). */
@media(min-width:901px){
  .plan-team-copy:not(#_),.plan-production-copy:not(#_){padding-left:clamp(16px,2.4vw,40px)}
}

/* Home, closing invitation (Tracey, 13 Oct: the split "What are you / imagining?" didn't read).
   A bookend to the opening: there the words sit left and the photograph right; here the photograph
   leads on the left and the question reads whole on the right. Phones keep their stacked layout. */
@media(min-width:901px){
  .home-invitation:not(#_){align-items:center}
  .home-invitation .invitation-figure:not(#_){grid-column:1/7;grid-row:1;margin:0}
  .home-invitation .invitation-figure figcaption:not(#_){text-align:left}
  .home-invitation .invitation-copy:not(#_){display:block;grid-column:8/13;grid-row:1}
  .home-invitation .eyebrow:not(#_){justify-content:flex-start;margin-bottom:28px}
  .home-invitation .eyebrow::after{display:none}
  .home-invitation h2:not(#_){display:block;font-size:var(--h1);line-height:1.02;text-align:left;pointer-events:auto}
  .home-invitation h2 em:not(#_){display:block;margin-left:.6em;font-size:1em}
  .home-invitation .invitation-copy>p:not(.eyebrow):not(#_){text-align:left;margin:36px 0 0;max-width:44ch}
  .home-invitation .invitation-link:not(#_){margin-top:32px}
}

/* Planning, 03 Full planning (Tracey, 13 Oct: the column looked blank beside the long text).
   Two photographs stacked, filling the column for as long as the words run. */
@media(min-width:901px){
  .plan-production-photos{grid-column:1/7;margin-left:calc(-1 * var(--gutter));display:flex;flex-direction:column;gap:clamp(28px,3vw,48px)}
  .plan-production-photos .plan-production-photo:not(#_){position:static;margin:0;grid-column:auto}
}
@media(max-width:900px){
  /* Phones and tablets keep the single photograph Tracey liked (13 Oct); the second is a desktop device to fill the column. */
  .plan-production-photos .plan-production-photo+.plan-production-photo:not(#_){display:none}
}
/* The chapter index is solid, so text scrolling under it never shows through. */
.plan-index:not(#_){background:var(--paper);backdrop-filter:none;-webkit-backdrop-filter:none}

/* Planning, 07 Photography & film: a portrait (Tracey's vows frame, 13 Oct) sits beside the chapter title, not across the page. */
@media(min-width:901px){
  .plan-film>.plan-title:not(#_){grid-column:1/6;grid-row:1;align-self:center}
  .plan-film>.plan-wide-photo.is-portrait-figure:not(#_),.plan-film>.plan-wide-photo:has(.is-portrait):not(#_){grid-column:7/12;grid-row:1;margin:0 0 clamp(56px,6vw,100px)}
  .plan-film>.plan-wide-photo:has(.is-portrait) .photo-window:not(#_){width:100%}
  .plan-film>.plan-wide-photo:has(.is-portrait) figcaption:not(#_){padding-left:0}
}

/* Planning, 02 (Tracey's longer text, 13 Oct): the founders' photograph stays in view while the words scroll past. */
@media(min-width:901px){
  .plan-team .plan-team-photo:not(#_){position:sticky;top:calc(var(--header-h) + 90px);align-self:start}
  .header-hidden .plan-team .plan-team-photo:not(#_){top:90px}
  .plan-team:not(#_){align-items:start}
  .plan-team .plan-team-copy:not(#_){grid-column:8/13}
  .plan-team .plan-title h2:not(#_){max-width:20ch;text-wrap:balance}
}

/* Planning, 04: Michelle and Abhi's ceremony under the Izu photograph, the width of their story below it (Tracey, 13 Oct). */
.plan-story-photo:not(#_){grid-column:4/10;margin:0 0 clamp(40px,4vw,64px)}
.plan-story-photo .photo-window:not(#_){width:100%}
@media(max-width:900px){.plan-story-photo:not(#_){margin:44px calc(-1 * var(--gutter)) 36px}.plan-story-photo figcaption:not(#_){padding-left:var(--gutter)}}

/* Portrait chapters: short words sit centred against the photograph instead of leaving a gap below them;
   long words run past a photograph that stays in view (13 Oct, Travel concierge). */
@media(min-width:901px){
  .with-portrait.chapter>.chapter-copy:not(#_){display:block;grid-column:7/13;grid-row:1/span 4;align-self:center}
  .with-portrait.chapter.portrait-right>.chapter-copy:not(#_){grid-column:1/7}
  .with-portrait.chapter>.photo-insert:not(#_){align-self:start}
}

/* Review quotes as a black circle (Tracey, 13 Oct: the square block looked blocky). One style for every page review. */
.page-review:not(#_){aspect-ratio:1;border-radius:50%;width:min(100%,400px);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:13%;margin-left:auto;margin-right:auto}
.page-review blockquote:not(#_){font-size:clamp(21px,1.7vw,27px);line-height:1.2;max-width:none;margin:0 0 18px}
.page-review figcaption:not(#_){border-top:0;padding:0;font-size:11.5px;line-height:1.7}
.page-review figcaption:not(#_)::before{content:'';display:block;width:36px;height:1px;margin:0 auto 14px;background:var(--gold)}
.plan-process>.review-wide.page-review:not(#_){grid-column:5/9;width:min(100%,440px);padding:13%;text-align:center}
.plan-process>.review-wide blockquote:not(#_){font-size:clamp(22px,1.8vw,28px);margin:0 0 18px}
.page-lead>.lead-detail:has(.page-review)>.page-review:not(#_){align-self:center}
@media(max-width:900px){.page-review:not(#_){width:min(100%,340px)}.plan-process>.review-wide.page-review:not(#_){width:min(100%,340px)}}
/* Planning 08: the circle sits under the words, beside the photograph, never over it. */
@media(min-width:901px){
  .plan-process.with-portrait>.review-wide.page-review:not(#_){grid-column:7/13;justify-self:center;margin-top:clamp(48px,5vw,80px)}
  .plan-process.with-portrait.portrait-right>.review-wide.page-review:not(#_){grid-column:1/7}
}

/* Meet, Creative Team: black-and-white then colour, stacked as one pair (Tracey, 13 Oct). */
.meet-creative-photo:has(+ .meet-creative-second):not(#_){margin-bottom:clamp(14px,1.6vw,24px)}
/* Two photographs opening one chapter, stacked as a pair (Meet, Dee's chapter). */
.photo-break .photo-insert+.photo-insert:not(#_){margin-top:clamp(14px,1.6vw,24px)}
/* Meet, left-aligned chapters: body paragraphs line up with the statements (no stray centring indent). */
.meet-memories .meet-section-body p:not(#_),.meet-two-teams .meet-section-body p:not(#_){margin-left:0}

/* Meet opening: the closing line under the gold rule is set as a serif statement, not bold body text (Tracey, 13 Oct). */
.meet-lead .lead-copy:last-child:not(#_){font-family:var(--serif);font-size:var(--statement);line-height:1.2;font-weight:400}
/* ...centred, like "And we've watched the couples themselves change, too." above it (Tracey, 13 Oct). Phones keep both left-aligned. */
@media(min-width:901px){.meet-lead .lead-copy:last-child:not(#_){text-align:center;text-wrap:balance}}

/* Real weddings (Tracey, 13 Oct): every story has its own photograph, alternating sides on wider screens. */
@media(min-width:901px){
  .stories-alternate .story.has-photo:nth-child(n):not(#_){grid-template-columns:repeat(12,minmax(0,1fr));align-items:center;padding:clamp(48px,5vw,88px) 0}
  .stories-alternate .story.has-photo .story-figure:not(#_){grid-column:1/8;grid-row:1}
  .stories-alternate .story.has-photo .story-words:not(#_){grid-column:9/13;grid-row:1}
  .stories-alternate .story.has-photo:nth-child(even) .story-figure:not(#_){grid-column:6/13}
  .stories-alternate .story.has-photo:nth-child(even) .story-words:not(#_){grid-column:1/5}
}
.stories-alternate .story .photo-window[style*="--ar"]:not(#_){aspect-ratio:3/2;width:100%}

/* Space after a dark button before the words that follow it (Tracey, 13 Oct: the line under "Tell us about your wedding" was touching). */
.chapter-body .button:not(#_),.plan-body .button:not(#_),.meet-section-body .button:not(#_){margin-bottom:28px}

/* Enquiry: the approved field list as the form (Tracey, 13 Oct). Label, then its hint, then the field. */
.enquiry-form .form-row:not(#_){align-items:stretch}
.enquiry-form label:not(#_){display:flex;flex-direction:column}
.enquiry-form label>input:not(#_){margin-top:auto;padding-top:22px}
.enquiry-form .field-label:not(#_){display:block}
.enquiry-form .field-hint:not(#_){display:block;margin-top:8px;font-size:15px;line-height:1.5;letter-spacing:0;text-transform:none;font-weight:400;color:var(--muted)}
.enquiry-form textarea:not(#_){margin-top:14px}
.enquiry-form .preview-notice:not(#_){font-size:13px;color:var(--muted);margin:4px 0 22px}

/* Enquiry on desktop: heading above the form, one calm centred column, like the phone layout (Tracey, 13 Oct). */
@media (min-width:901px){
  .enquiry-chapter.chapter.longform .chapter-head:not(#_){grid-column:3/11;position:static;margin-bottom:48px}
  .enquiry-chapter.chapter.longform .chapter-head h2:not(#_){max-width:none}
  .enquiry-chapter.chapter.longform .chapter-body:not(#_){grid-column:3/11}
}
@media (min-width:1500px){
  .enquiry-chapter.chapter.longform .chapter-head:not(#_),.enquiry-chapter.chapter.longform .chapter-body:not(#_){grid-column:4/10}
}

/* Enquiry: optional marker, the two acknowledgements, the thank-you (Tracey, 13 Oct). */
.enquiry-form .field-optional:not(#_){letter-spacing:.04em;text-transform:none;color:var(--muted);font-weight:400}
.enquiry-form .form-acks:not(#_){margin:8px 0 26px;padding-top:26px;border-top:1px solid var(--form-border)}
.enquiry-form label.ack:not(#_){display:flex;flex-direction:row;align-items:flex-start;gap:14px;margin:0 0 18px;font-size:15px;line-height:1.55;letter-spacing:0;text-transform:none;font-weight:400}
.enquiry-form label.ack[hidden]:not(#_){display:none}
.enquiry-form label.ack input:not(#_){flex:none;width:18px;height:18px;margin:3px 0 0;padding:0;border:0;appearance:auto;accent-color:var(--ink)}
#enquiry-preview .enquiry-copy-head:not(#_){margin-top:30px}
#enquiry-preview a:not(#_){color:inherit}

/* Footer: the photographs are our own work (Tracey, 13 Oct). */
.footer .footer-photos:not(#_){max-width:62ch;margin:44px 0 0;font-size:13px;line-height:1.6;opacity:.72}

/* Openings where the couple is left of centre: keep the headline narrow so it never crosses them (13 Oct). */
@media (min-width:901px){.cover-narrow-title .cover-title h1:not(#_){max-width:none}}

/* Desktop crop anchor for openings where a centred crop would cut off heads (13 Oct). */
@media (min-width:901px){.cover-media[data-desk-focus] img:not(#_){object-position:var(--focus-desk,50% 50%)}}

/* ---------- QA audit fixes, 13 Oct 2026 (review/qa-audit-2026-10-13/QA-AUDIT-REPORT.md) ---------- */
/* Captions laid over photographs stay light; the paper-caption grey had outranked them (LG-02, A11Y-05, SM-06). */
.night-figure figcaption.photo-label:not(#_){color:#ffffffc7;padding-top:0}
.experience-figure figcaption.photo-label:not(#_){color:#fff;padding-top:0}
@media (min-width:901px) and (hover:hover){.stage-figure figcaption.photo-label:not(#_){left:0;bottom:0;padding:9px 14px;background:var(--dark);color:var(--on-dark);text-shadow:none}}   /* on a small dark label, as on Real weddings, so it reads on snow too (QA retest R3-02) */
/* Planning chapter index: each link keeps its chapter name for screen readers (A11Y-03, A11Y-13). */
.plan-index .chapter-name:not(#_){display:inline;position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.plan-index a[aria-current] .chapter-name:not(#_),html:not(.js) .plan-index .chapter-name:not(#_){position:static;width:auto;height:auto;overflow:visible;clip:auto;clip-path:none}
html:has(.plan-index){scroll-padding-top:calc(var(--header-h) + 74px)}
/* Focus you can see over photographs, on the home row and film, and in the enquiry form (A11Y-06, A11Y-07, A11Y-08). */
.breadcrumb-over a:focus-visible:not(#_){outline:2px solid #fff;outline-offset:2px;box-shadow:0 0 0 6px #00000073}
.home-heroes:not(#_){overflow-clip-margin:10px}
.film-play:focus-visible:not(#_){outline:none}
.film-play:focus-visible::after{content:"";position:absolute;inset:8px;z-index:1;border:2px solid #fff;outline:2px solid var(--dark);pointer-events:none}   /* above the photograph, which has its own layer (QA retest R3-01) */
.enquiry-form :is(input,select,textarea):focus-visible:not(#_){outline:2px solid var(--ink);outline-offset:4px}
.enquiry-form label.ack input:focus-visible:not(#_){outline:2px solid var(--ink);outline-offset:3px}
/* End-of-row buttons stay focusable, shown faint (A11Y-11). */
.strip-nav button[aria-disabled="true"]:not(#_),.review-buttons button[aria-disabled="true"]:not(#_){cursor:default}   /* faded by colour, not opacity, so the focus ring stays clear (QA retest R3-03) */
.strip-nav button[aria-disabled="true"]:not(#_),.strip-nav button[aria-disabled="true"]:hover:not(#_){color:color-mix(in srgb,currentColor 30%,transparent);border-color:color-mix(in srgb,currentColor 40%,transparent)}
.review-buttons button[aria-disabled="true"]:not(#_),.review-buttons button[aria-disabled="true"]:hover:not(#_){background:transparent;color:color-mix(in srgb,var(--on-dark) 30%,transparent);border-color:color-mix(in srgb,var(--on-dark) 11%,transparent)}
.palette-lab[hidden]:not(#_){display:none}
/* The 404 page: one calm column under the site header (SM-01, LG-01, A11Y-02). */
.page-404 main:not(#_){padding:calc(var(--header-h) + clamp(72px,14vh,160px)) var(--gutter) clamp(96px,14vh,160px);display:block}
.page-404 .lost:not(#_){max-width:34rem;display:grid;gap:26px;justify-items:start}
/* Opening headlines keep their descenders on phones (SM-02). */
@media (max-width:900px){.cover-page .cover-title:not(#_){padding-bottom:.35em}}
/* Meet opening: the same line length as every other opening (LG-05). */
@media (min-width:901px){.meet-lead .lead-copy:not(.statement):not(#_){max-width:calc(var(--text-lead) * 31.7);justify-self:center;width:100%}}   /* about 56 characters; on desktop only, and the closing line and its rule share the paragraphs' edges (QA retest R2-03) */
/* Captions start at their photograph's edge, however narrow the photograph (LG-06). */
@media (min-width:901px){
 .photo-break .photo-insert.landscape[style*="--ar"] figcaption:not(#_){width:min(100%,calc(var(--photo-max) * var(--ar)));margin-inline:auto;padding-left:0}
 .chapter.with-photo:not(.reverse) .chapter-figure[style*="--ar"] figcaption:not(#_){width:min(100%,calc(var(--photo-max) * var(--ar)));margin-left:auto;padding-right:0}
}
/* One rhythm between chapters, with or without a side photograph (LG-11). */
.chapter+.chapter.with-photo:not(#_){padding-top:0}
/* Real weddings story titles are h2 now, with the same look as the h3 they were (A11Y-17; size matched in the QA retest, R2-01). */
.stories-page .story h2.story-title:not(#_){font-size:var(--h3);line-height:1.18;letter-spacing:-.01em;display:flex;justify-content:space-between;gap:20px;align-items:baseline;margin:0 0 14px}
/* A move that stops (A11Y-19), links big enough to tap (A11Y-20), film captions inside the margin (SM-11), an unsquashed chevron (SM-09). */
.motion .cover-link span:not(#_){animation-iteration-count:1}   /* one move, over well inside five seconds (QA retest A11Y-19) */
.copy-action a:not(#_){display:inline-block;padding:3px 0}
@media (max-width:900px){.film-line:not(#_){padding-right:var(--gutter)}}
.primary-nav summary::after{flex-shrink:0}
/* Enquiry form: the note above it, and a message beside any answer that needs attention (Tracey, 13 Oct). */
.enquiry-form .form-note:not(#_){font-size:15px;line-height:1.5;color:var(--muted);margin:0 0 30px}
.enquiry-form .field-error:not(#_){display:block;margin-top:8px;font-size:14px;line-height:1.4;letter-spacing:0;text-transform:none;font-weight:500;color:#8a2b20}
.enquiry-form [aria-invalid="true"]:not(#_){border-bottom-color:#8a2b20}
.enquiry-form label.ack:not(#_){flex-wrap:wrap}
.enquiry-form label.ack .field-error:not(#_){flex-basis:100%;margin:2px 0 0 32px}
.enquiry-form label.ack>span:not(.field-error):not(#_){flex:1 1 0;min-width:0}   /* the sentence beside its box (QA retest R4-02) */
/* Pale openings: a slightly deeper shade so the breadcrumb, eyebrow and header read (QA A11Y-04, LG-03, SM-04). */
.cover.cover-pale::after{background:linear-gradient(180deg,#000000c2 0%,#00000047 24%,transparent 48%),linear-gradient(0deg,#000000c7 0%,#00000073 34%,transparent 66%)}
@media (min-width:901px){.breadcrumb-over.on-pale:not(#_),.cover-pale .cover-title .eyebrow:not(#_){text-shadow:0 1px 10px #00000099}}   /* over the photograph only; on phones the eyebrow sits on paper */
@media (max-width:900px){.cover-pale .cover-media::after{background:linear-gradient(180deg,#000000c4 0%,#00000073 16%,#00000000 34%)}}
/* Mobile Safari findings (QA IOS-06, IOS-11). The YouTube arrow is set in Outfit, which has the glyph, so Safari doesn't draw an emoji;
   the space under the footer, behind Safari's toolbar and in the end-of-page bounce, takes the footer's colour. */
.film-note a span:not(#_){font-family:var(--body)}
html:not(#_){background:var(--dark)}

/* ---------- QA retest fixes, 14 Oct 2026 (review/qa-audit-2026-10-13/QA-RETEST-REPORT.md) ---------- */
/* Enquiry: a focus ring clears the hint above its answer. The answers stay exactly where they were (R4-03). */
.enquiry-form .field-hint:not(#_){margin-bottom:8px}
.enquiry-form label>input:not(#_){padding-top:14px}
.enquiry-form label>select:not(#_){margin-top:2px}
.enquiry-form label>textarea:not(#_){margin-top:6px}
/* Short screens (a landscape phone, or a laptop at 200% zoom): the shade behind the header covers the header's height (R3-06). */
@media (max-width:900px) and (max-height:540px){.cover-page .cover-media:not(#_)::after{background:linear-gradient(180deg,#000000c4 0,#00000080 64px,#00000000 150px)}}
/* Home, the bamboo photograph (Tracey, 14 Oct): it fills its section on landscape screens instead of keeping its true shape;
   on tall tablets the section reads as it does on a phone, photograph then words, so the place name sits on the photograph (QA retest R2-09). */
@media (min-width:901px) and (orientation:landscape){.home-elopements .night-figure .photo-window[style*="--ar"]:not(#_){width:100%;height:100%!important;aspect-ratio:auto}}
@media (min-width:901px) and (orientation:portrait){
  .home-elopements:not(#_){min-height:0;display:block;background:var(--dark)}
  .home-elopements .night-figure:not(#_){position:relative}
  .home-elopements .night-figure .photo-window:not(#_){position:relative}
  .home-elopements .night-figure:not(#_)::after{background:linear-gradient(0deg,var(--dark) 0%,transparent 40%)}
  .home-elopements .night-figure figcaption:not(#_){left:var(--gutter);right:auto;bottom:16px}
  .home-elopements .night-copy:not(#_){margin:0;padding:24px var(--gutter) 84px;width:auto}
}
/* Photo rows: a long caption wraps under its photograph instead of widening the frame and leaving a gap (R2-02). */
.strip-frame figcaption:not(#_){width:0;min-width:100%}
/* The phone menu at 320 px: the longest label may wrap, so the chevron stays inside the margin (R2-06). */
@media (max-width:339px){.primary-nav summary:not(#_){white-space:normal;text-align:left;gap:12px}.primary-nav summary:not(#_),.nav-direct:not(#_){line-height:1.2;padding-top:21px;padding-bottom:21px}}
