/* Wedding pages, editorial layout. A full-screen painted view of Florence opens
   the page; numbered chapters, a timeline, a dark price list and one large
   pull quote follow. Loaded before brand.css; scoped to body.wd-editorial. */
body.wd-editorial { --wd-night: #560A36; --wd-ivory: #FBF9F4; --wd-gold: #DCB870; --wd-line-dark: rgba(251, 249, 244, .22); }

/* Dark surfaces re-point the brand tokens so headings and labels turn light. */
body.wd-editorial :is(.wd-cine, .wd-packages-section, .cm-inquiry .inquiry-copy) {
  --hui-ink: #FBF9F4; --hui-text: #FBF9F4; --hui-brass-text: #DCB870; --hui-stone: #D5CCBE; --hui-text-secondary: #D5CCBE;
  --hui-burgundy: #DCB870; --ink: #FBF9F4; --text: #FBF9F4; --cm-gold: #DCB870; --cm-muted: #D5CCBE; --cm-line: rgba(251, 249, 244, .22);
  color: #FBF9F4;
}

/* ---------- Opening ---------- */
body.commission-editorial.weddings-page.wd-editorial .wd-hero.wd-cine {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
  max-width: none; margin: 0; padding: 0; min-height: calc(100vh - 150px); min-height: calc(100svh - 150px);
  overflow: hidden; background: var(--wd-night); text-align: left; gap: 0;
}
.wd-cine-bg { position: absolute; inset: 0; z-index: -1; animation: wdCurtain 1.5s cubic-bezier(.65, 0, .2, 1) both; }
.wd-cine-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: wdSettle 2.6s cubic-bezier(.2, .75, .2, 1) both, wdDrift 30s ease-in-out 2.6s infinite alternate; }
.wd-cine-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(86, 10, 54, .34) 0%, rgba(86, 10, 54, .30) 30%, rgba(86, 10, 54, .78) 72%, rgba(86, 10, 54, .94) 100%), linear-gradient(90deg, rgba(86, 10, 54, .55) 0%, rgba(86, 10, 54, 0) 62%); }
body.wd-editorial .wd-cine-inner { padding-block: clamp(3rem, 9vh, 6rem) clamp(1.5rem, 3.5vh, 2.5rem); }
body.commission-editorial.weddings-page.wd-editorial .wd-cine .wd-hero-copy { max-width: 62rem; }
body.commission-editorial.weddings-page.wd-editorial .wd-cine .cm-eyebrow { color: var(--wd-gold); margin-bottom: 1.25rem; }
body.commission-editorial.weddings-page.wd-editorial .wd-cine h1 { font-size: clamp(42px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -.03em; }
body.wd-editorial .wd-cine h1 .cm-h1-kicker { color: #FBF9F4; margin-bottom: 1.5rem; }
body.wd-editorial .wd-cine h1 .cm-h1-kicker::before { transform-origin: left center; }
.wd-line { display: block; overflow: hidden; padding-bottom: .08em; }
.wd-line > * { display: inline-block; }
body.commission-editorial.weddings-page.wd-editorial .wd-cine h1 em { display: inline-block; }
body.commission-editorial.weddings-page.wd-editorial .wd-cine .wd-hero-lede { max-width: 34rem; margin: 1.5rem 0 1.75rem; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.75; color: rgba(251, 249, 244, .9); }
body.wd-editorial .wd-cine .cm-hero-note { color: rgba(251, 249, 244, .72); }
/* On the painting the main button turns ivory. */
/* brand.css paints buttons from --hui-ink and --hui-ivory, so the pair is swapped on the button itself. */
body.wd-editorial :is(.wd-cine, .wd-packages-section) .cm-button--primary { --hui-ink: #FBF9F4; --hui-ivory: #560A36; }
body.wd-editorial .wd-packages-section .cm-button--outline { --hui-ivory: transparent; --hui-ink: #FBF9F4; }
body.wd-editorial .wd-packages-section .cm-button--outline:is(:hover, :focus-visible) { --hui-ink: #FBF9F4; --hui-ivory: #560A36; }
.wd-cine-facts { list-style: none; margin: 0 auto; padding-block: 1.25rem 1.25rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 2rem; border-top: 1px solid var(--wd-line-dark); }
.wd-cine-facts li { display: flex; flex-direction: column; gap: .3rem; }
.wd-cine-facts strong { font: 400 1.1875rem/1.25 var(--hui-font-heading, "Playfair Display", Georgia, serif); color: #FBF9F4; }
.wd-cine-facts span { font-size: .8125rem; line-height: 1.5; color: rgba(251, 249, 244, .72); }
.wd-cine-credit { margin: 0 auto; padding-bottom: 1rem; font-size: .6875rem; letter-spacing: .06em; color: rgba(251, 249, 244, .55); }
@keyframes wdCurtain { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes wdSettle { from { transform: scale(1.16); } to { transform: scale(1.04); } }
@keyframes wdDrift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.2%, -1.6%, 0); } }
@keyframes wdLineUp { from { transform: translateY(110%); } to { transform: none; } }
@keyframes wdFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes wdRule { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Chapter numerals ---------- */
.wd-chapter-no { display: inline-flex; align-items: center; margin-right: .9em; font: italic 400 1.5em/1 var(--hui-font-heading, "Playfair Display", Georgia, serif); letter-spacing: 0; text-transform: none; }
.wd-chapter-no::after { content: ""; display: inline-block; width: 2.25rem; height: 1px; margin-left: .7em; background: currentColor; opacity: .7; }

/* ---------- I. The approach: studio photograph beside the words ---------- */
body.wd-editorial .wd-approach-section { padding-block: clamp(4rem, 9vw, 7.5rem) clamp(3rem, 7vw, 6rem); }
.wd-approach { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.wd-approach-figure { position: sticky; top: 6.5rem; margin: 0; }
.wd-approach-figure picture, .wd-approach-figure img { display: block; width: 100%; height: auto; }
.wd-approach-figure picture { box-shadow: 0 30px 60px -34px rgba(86, 10, 54, .55); }
.wd-approach-figure figcaption { margin-top: .9rem; font-size: .75rem; line-height: 1.6; color: var(--hui-stone, #67565E); }
body.wd-editorial .wd-approach-copy { max-width: 36rem; padding-top: clamp(0rem, 3vw, 3rem); }
body.wd-editorial .wd-approach-copy .cm-eyebrow { margin-bottom: 1.5rem; }
body.wd-editorial .wd-approach-copy h2 { margin: 0 0 1.75rem; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -.02em; }
body.wd-editorial .wd-approach-copy p:not(.cm-eyebrow) { margin: 0 0 1.25rem; line-height: 1.85; }

/* ---------- II. The day, as a timeline ---------- */
body.commission-editorial.weddings-page.wd-editorial .cm-process { background: transparent; padding-block: clamp(3rem, 7vw, 6rem); border-top: 1px solid rgba(38, 23, 31, .12); }
body.commission-editorial.weddings-page.wd-editorial .cm-process h2 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.08; }
body.commission-editorial.weddings-page.wd-editorial .cm-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; list-style: none; }
body.commission-editorial.weddings-page.wd-editorial .cm-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--hui-ink, #26171F); opacity: .35; transform-origin: left center; transform: scaleX(var(--wd-progress, 1)); }
body.commission-editorial.weddings-page.wd-editorial .cm-steps li { position: relative; display: block; margin: 0; padding: 2.75rem 0 0; border: 0; }
body.commission-editorial.weddings-page.wd-editorial .cm-steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--hui-ivory, #FBF9F4); border: 1px solid var(--hui-ink, #26171F); }
body.commission-editorial.weddings-page.wd-editorial .cm-steps .cm-step-number { display: block; margin: 0 0 .75rem; font: italic 400 clamp(52px, 6vw, 88px)/1 var(--hui-font-heading, "Playfair Display", Georgia, serif); color: var(--hui-brass, #A6989F); opacity: .55; }
body.commission-editorial.weddings-page.wd-editorial .cm-steps h3 { margin: 0 0 .75rem; font-size: clamp(22px, 2vw, 28px); }
body.commission-editorial.weddings-page.wd-editorial .cm-steps p { margin: 0; line-height: 1.8; }

/* ---------- III. How I paint people ---------- */
.wd-people { padding-block: clamp(3.5rem, 8vw, 7rem); border-top: 1px solid rgba(38, 23, 31, .12); overflow-x: clip; }
.wd-people-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(2rem, 5vw, 4rem); }
.wd-people-head .cm-eyebrow { grid-column: 1 / -1; margin: 0; }
body.wd-editorial .wd-people-head h2 { margin: 0; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.08; }
.wd-people-note { margin: 0; line-height: 1.8; color: var(--hui-stone, #67565E); }
.wd-people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); align-items: start; }
.wd-people-grid figure { margin: 0; }
.wd-people-grid figure:nth-child(2) { margin-top: clamp(2rem, 6vw, 5rem); translate: 0 var(--wd-drift, 0%); will-change: translate; }
.wd-people-grid img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 28%; }
.wd-people-grid figcaption { display: flex; flex-direction: column; gap: .25rem; margin-top: .9rem; }
.wd-people-grid figcaption span:first-child { font: 400 1.375rem/1.25 var(--hui-font-heading, "Playfair Display", Georgia, serif); color: var(--hui-ink, #26171F); }
.wd-people-grid figcaption span:last-child { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hui-stone, #67565E); }
.wd-people-more { margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------- IV. Packages as a price list on a dark ground ---------- */
body.commission-editorial.weddings-page.wd-editorial .wd-packages-section { background: var(--wd-night); box-shadow: 0 0 0 100vmax var(--wd-night); clip-path: inset(0 -100vmax); padding-block: clamp(4rem, 9vw, 7rem); margin-block: 0 clamp(3rem, 6vw, 5rem); border: 0; }
body.commission-editorial.weddings-page.wd-editorial .wd-packages-section h2 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.08; }
body.commission-editorial.weddings-page.wd-editorial .wd-packages-section .cm-section-note { color: #D5CCBE; }
body.commission-editorial.weddings-page.wd-editorial .wd-packages { display: block; margin-top: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid var(--wd-line-dark); }
body.commission-editorial.weddings-page.wd-editorial .wd-package { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .6fr) minmax(0, .8fr) auto; grid-template-areas: "name size price cta" "desc size price cta"; grid-template-rows: auto auto; grid-auto-rows: auto; grid-row: auto; height: auto; min-height: 0; align-items: center; gap: .4rem clamp(1.25rem, 3vw, 3rem); margin: 0; padding: clamp(1.5rem, 3vw, 2.5rem) 0; background: none; border: 0; border-bottom: 1px solid var(--wd-line-dark); box-shadow: none; text-align: left; }
body.commission-editorial.weddings-page.wd-editorial .wd-package h3 { grid-area: name; margin: 0; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.1; }
body.commission-editorial.weddings-page.wd-editorial .wd-package-description { grid-area: desc; margin: 0; max-width: 26rem; font-size: .9375rem; line-height: 1.6; color: #D5CCBE; }
body.commission-editorial.weddings-page.wd-editorial .wd-package-size { grid-area: size; margin: 0; font: 500 .8125rem/1.4 var(--hui-font-body, "Jost", Arial, sans-serif); letter-spacing: .12em; text-transform: uppercase; color: #D5CCBE; }
body.commission-editorial.weddings-page.wd-editorial .wd-package-price { grid-area: price; margin: 0; font: 400 clamp(24px, 2.8vw, 38px)/1.1 var(--hui-font-heading, "Playfair Display", Georgia, serif); color: var(--wd-gold); text-align: right; }
body.commission-editorial.weddings-page.wd-editorial .wd-package .wd-package-cta { grid-area: cta; white-space: nowrap; }

/* ---------- V. One large quotation ---------- */
body.commission-editorial.weddings-page.wd-editorial .wd-testimonials { padding-block: clamp(4rem, 9vw, 7.5rem); border-top: 1px solid rgba(38, 23, 31, .12); }
body.commission-editorial.weddings-page.wd-editorial .wd-testimonial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); margin-top: clamp(1.5rem, 4vw, 3rem); }
body.commission-editorial.weddings-page.wd-editorial .wd-testimonial-card { margin: 0; padding: 1.75rem 0 0; background: none; border: 0; border-top: 1px solid rgba(38, 23, 31, .2); box-shadow: none; }
body.commission-editorial.weddings-page.wd-editorial .wd-testimonial-card:first-child { position: relative; grid-column: 1 / -1; padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(.5rem, 2vw, 1.5rem); border-top: 0; text-align: center; }
body.commission-editorial.weddings-page.wd-editorial .wd-testimonial-card:first-child::before { content: "\201C"; position: absolute; left: 50%; top: 0; transform: translateX(-50%); font: 400 clamp(90px, 12vw, 160px)/1 var(--hui-font-heading, "Playfair Display", Georgia, serif); color: var(--hui-brass, #A6989F); opacity: .5; }
body.commission-editorial.weddings-page.wd-editorial .wd-testimonial-card:first-child p { max-width: 20em; margin: 0 auto 1.5rem; font: italic 400 clamp(26px, 4.2vw, 54px)/1.22 var(--hui-font-heading, "Playfair Display", Georgia, serif); letter-spacing: -.01em; color: var(--hui-ink, #26171F); }

/* ---------- VII. Closing inquiry on a dark ground ---------- */
body.commission-editorial.weddings-page.wd-editorial .cm-inquiry { background: var(--wd-night); border-top: 0; padding-block: clamp(4rem, 9vw, 7rem); }
body.commission-editorial.weddings-page.wd-editorial .cm-inquiry .inquiry-copy h2 { font-size: clamp(36px, 5vw, 68px); line-height: 1.05; }
body.commission-editorial.weddings-page.wd-editorial .cm-inquiry .inquiry-copy :is(p, span) { color: #D5CCBE; }
body.commission-editorial.weddings-page.wd-editorial .cm-inquiry .inquiry-copy .cm-eyebrow { color: var(--wd-gold); }
body.commission-editorial.weddings-page.wd-editorial .cm-inquiry .inquiry-contact a > * { color: #FBF9F4; }

/* ---------- Motion hooks (driven by weddings-motion.js) ---------- */
.wd-approach-figure picture { overflow: hidden; }

/* ---------- Tablets and phones ---------- */
@media (max-width: 899px) {
  .wd-cine-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wd-approach { grid-template-columns: minmax(0, 1fr); }
  /* On small screens the words come first; the studio photograph follows as a
     short strip cropped to the brush and palette. */
  .wd-approach-figure { position: static; order: 2; max-width: none; margin-top: .5rem; }
  .wd-approach-figure img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 62% 60%; }
  .wd-approach-figure picture { box-shadow: none; }
  body.wd-editorial .wd-approach-section { padding-block: 3rem 2.5rem; }
  .wd-people-head { grid-template-columns: minmax(0, 1fr); }
  body.commission-editorial.weddings-page.wd-editorial .wd-package { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "size size" "desc desc" "cta cta"; grid-template-rows: auto auto auto auto; align-items: baseline; row-gap: .6rem; }
  body.commission-editorial.weddings-page.wd-editorial .wd-package .wd-package-cta { justify-self: start; margin-top: .75rem; }
}
@media (max-width: 699px) {
  body.commission-editorial.weddings-page.wd-editorial .wd-hero.wd-cine { min-height: calc(100vh - 118px); min-height: calc(100svh - 118px); }
  .wd-cine-bg img { object-position: 46% 30%; }
  body.commission-editorial.weddings-page.wd-editorial .wd-cine h1 { font-size: clamp(40px, 11.6vw, 56px); }
  body.wd-editorial .wd-cine-inner { padding-block: 2.25rem 1.25rem; }
  body.commission-editorial.weddings-page.wd-editorial .wd-cine .wd-hero-lede { margin: 1.1rem 0 1.4rem; }
  body.wd-editorial .wd-cine h1 .cm-h1-kicker { margin-bottom: 1.1rem; }
  .wd-cine-facts { gap: .9rem 1.25rem; padding-block: 1rem; }
  .wd-cine-facts strong { font-size: 1.0625rem; }
  .wd-cine-facts span { font-size: .75rem; }
  /* The day becomes a vertical line with three stops. */
  body.commission-editorial.weddings-page.wd-editorial .cm-steps { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; padding-left: 1.75rem; }
  body.commission-editorial.weddings-page.wd-editorial .cm-steps::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: center top; transform: scaleY(var(--wd-progress, 1)); }
  body.commission-editorial.weddings-page.wd-editorial .cm-steps li { padding: 0; }
  body.commission-editorial.weddings-page.wd-editorial .cm-steps li::before { left: -1.75rem; top: .9rem; }
  /* Portraits become a strip to swipe, with the next one peeking in. */
  .wd-people-grid { display: flex; gap: .875rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-right: -24px; padding-right: 24px; }
  .wd-people-grid::-webkit-scrollbar { display: none; }
  .wd-people-grid figure { flex: 0 0 76%; scroll-snap-align: start; }
  .wd-people-grid figure:nth-child(2) { margin-top: 0; translate: none; will-change: auto; }
  body.commission-editorial.weddings-page.wd-editorial .wd-testimonial-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .wd-people-grid img { transition: transform 1.2s cubic-bezier(.2, .75, .2, 1); }
  .wd-people-grid figure { overflow: hidden; }
  .wd-people-grid figure:hover img { transform: scale(1.035); }
}
@media (prefers-reduced-motion: reduce) {
  .wd-cine-bg, .wd-cine-bg img, .wd-line > *, body.wd-editorial .wd-cine :is(.cm-eyebrow, .cm-h1-kicker, .cm-h1-kicker::before, .wd-hero-lede, .wd-hero-actions, .cm-hero-note), .wd-cine-facts, .wd-cine-credit { animation: none !important; }
}
@media print { .wd-cine-bg, .wd-line > *, .wd-cine * { animation: none !important; } }

/* The opening definition of the service, set slightly larger than the text after it. */
body.wd-editorial .wd-approach-copy p.wd-define { font-size: 1.0625rem; line-height: 1.8; color: var(--hui-ink, #26171F); }

/* ---------- Opening with a photograph: the picture stays clear of the words ---------- */
@media (min-width: 900px) {
  .wd-cine--photo .wd-cine-bg { inset: 0 0 0 auto; width: min(52%, 820px); }
  .wd-cine--photo .wd-cine-bg img { object-position: 50% 46%; }
  .wd-cine--photo .wd-cine-bg::after { background: linear-gradient(90deg, var(--wd-night) 0%, rgba(86, 10, 54, .5) 12%, rgba(86, 10, 54, 0) 34%), linear-gradient(180deg, rgba(86, 10, 54, 0) 58%, rgba(86, 10, 54, .92) 100%); }
  body.commission-editorial.weddings-page.wd-editorial .wd-cine--photo .wd-hero-copy { max-width: 50%; }
  body.commission-editorial.weddings-page.wd-editorial .wd-cine--photo h1 { font-size: clamp(40px, 4.7vw, 70px); }
}
@media (max-width: 899px) {
  body.commission-editorial.weddings-page.wd-editorial .wd-hero.wd-cine.wd-cine--photo { justify-content: flex-start; min-height: 0; }
  .wd-cine--photo .wd-cine-bg { position: relative; inset: auto; z-index: 0; flex: none; width: 100%; height: min(78vw, 50svh); overflow: hidden; }
  .wd-cine--photo .wd-cine-bg img { position: absolute; inset: 0; object-position: 50% 47%; }
  .wd-cine--photo .wd-cine-bg::after { background: linear-gradient(180deg, rgba(86, 10, 54, 0) 72%, var(--wd-night) 100%); }
  body.wd-editorial .wd-cine--photo .wd-cine-inner { padding-block: 1.1rem 1.25rem; }
}

/* iPhone gives a date field its own width and centred text, which pushed "Wedding date" out of
   the form. Hold it to the form's width and left-align it like every other field. */
.form-group input[type="date"] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
  text-align: left;
}
.form-group input[type="date"]::-webkit-date-and-time-value { min-height: 1.6em; text-align: left; }

/* Smoother blend between the Tyrian wall and the photograph (owner, 22 Nov 2026): eased, many-stop
   gradients kept to the edge of the picture so the colour does not wash over it, and the gently
   drifting photo is clipped to its box so no hard edge shows where the colour meets the picture. */
@media (min-width: 900px) {
  .wd-cine--photo .wd-cine-bg { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 2px, #000 5px); mask-image: linear-gradient(90deg, transparent 0, transparent 2px, #000 5px); }
  .wd-cine--photo .wd-cine-bg::after {
    background:
      linear-gradient(90deg, rgb(86, 10, 54) 0%, rgba(86, 10, 54, .88) 3%, rgba(86, 10, 54, .7) 7%, rgba(86, 10, 54, .5) 12%, rgba(86, 10, 54, .31) 17%, rgba(86, 10, 54, .16) 23%, rgba(86, 10, 54, .06) 29%, rgba(86, 10, 54, 0) 35%),
      linear-gradient(180deg, rgba(86, 10, 54, 0) 64%, rgba(86, 10, 54, .1) 73%, rgba(86, 10, 54, .3) 82%, rgba(86, 10, 54, .6) 91%, rgba(86, 10, 54, .9) 100%);
  }
}
@media (max-width: 899px) {
  .wd-cine--photo .wd-cine-bg::after {
    background: linear-gradient(180deg, rgba(86, 10, 54, 0) 66%, rgba(86, 10, 54, .1) 75%, rgba(86, 10, 54, .32) 84%, rgba(86, 10, 54, .62) 92%, rgb(86, 10, 54) 100%);
  }
}

/* The package Hui recommends (owner, 22 Nov 2026): a quiet gold line under the size, on the Tyrian wall only. */
body.commission-editorial.weddings-page.wd-editorial .wd-package-pick { display: block; margin-top: .45rem; font: 500 .6875rem/1.4 var(--hui-font-body, "Jost", Arial, sans-serif); letter-spacing: .16em; text-transform: uppercase; color: var(--wd-gold); }

/* ---------- Framed film opening (main wedding pages, 22 Nov 2026) ----------
   After Aman's framed film: one portrait frame hangs on the Tyrian wall and a slow film made from
   two photographs plays inside it. The frame opens from the bottom up, like a curtain rising. Shot 1
   starts close on the couple's painting on the easel and
   pulls back to reveal the painter above Florence; it dissolves into the wide shot under the trees,
   which drifts upward, then dissolves back. One cycle is 20 s. Only transform and opacity move, so it
   stays smooth on phones. The words sit either side and simply fade in once the frame has opened. */
body.commission-editorial.weddings-page.wd-editorial .wd-hero.wd-cine.wd-cine--framed { justify-content: center; }
body.commission-editorial.weddings-page.wd-editorial .wd-cine.wd-cine--framed .wd-framed {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  gap: clamp(2rem, 4.5vw, 5rem); padding-block: clamp(2.5rem, 6vh, 4rem) clamp(2rem, 5vh, 3rem);
}
body.commission-editorial.weddings-page.wd-editorial .wd-cine.wd-cine--framed .wd-hero-copy { max-width: 30rem; justify-self: end; }
body.commission-editorial.weddings-page.wd-editorial .wd-cine.wd-cine--framed h1 { font-size: clamp(34px, 3.9vw, 60px); }
body.commission-editorial.weddings-page.wd-editorial .wd-cine.wd-cine--framed .wd-hero-aside { max-width: 21rem; justify-self: start; }
body.commission-editorial.weddings-page.wd-editorial .wd-cine.wd-cine--framed .wd-hero-lede { margin: 0 0 1.75rem; }
.wd-film { margin: 0; display: flex; flex-direction: column; align-items: center; }
.wd-film-frame {
  position: relative; height: min(68vh, 660px); height: min(68svh, 660px); aspect-ratio: 3 / 4;
  outline: 1px solid rgba(220, 184, 112, .45); outline-offset: 12px; box-shadow: 0 44px 80px -42px rgba(20, 0, 10, .75);
  animation: wdFade 1.2s ease .2s both;
}
.wd-film-reel { position: absolute; inset: 0; overflow: hidden; background: #3E0727; animation: wdFilmRise 1.6s cubic-bezier(.65, 0, .2, 1) .15s both; }
@keyframes wdFilmRise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.wd-film-shot { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; will-change: transform, opacity; backface-visibility: hidden; }
.wd-film-close { object-position: 50% 40%; transform-origin: 30% 60%; animation: wdShotClose 20s linear .15s infinite both; }
.wd-film-wide { object-position: 50% 50%; opacity: 0; animation: wdShotWide 20s linear .15s infinite both; }
.wd-film figcaption { margin-top: 1.6rem; font-style: italic; font-size: .9375rem; color: rgba(251, 249, 244, .62); text-align: center; animation: wdFade 1s ease 2.1s both; }
/* Shot 1: 9 s pull-back from the canvas, 1.5 s dissolve out, hidden, 1.5 s dissolve back in at the start. */
@keyframes wdShotClose {
  0% { opacity: 1; transform: scale(1.85); animation-timing-function: cubic-bezier(.42, 0, .22, 1); }
  45% { opacity: 1; transform: scale(1.02); animation-timing-function: linear; }
  52.5% { opacity: 0; transform: scale(1); }
  55% { opacity: 0; transform: scale(1.85); }
  92.5% { opacity: 0; transform: scale(1.85); }
  100% { opacity: 1; transform: scale(1.85); }
}
/* Shot 2: the wide view dissolves in and drifts gently upward, then dissolves away. */
@keyframes wdShotWide {
  0% { opacity: 0; transform: scale(1.08) translate3d(0, 3%, 0); }
  45% { opacity: 0; transform: scale(1.08) translate3d(0, 3%, 0); }
  52.5% { opacity: 1; transform: scale(1.08) translate3d(0, 2.2%, 0); }
  92.5% { opacity: 1; transform: scale(1.08) translate3d(0, -2.6%, 0); }
  100% { opacity: 0; transform: scale(1.08) translate3d(0, -3%, 0); }
}
/* The words arrive once the frame has opened. */

/* Tablets and phones: the film comes first, centred, then the words. */
@media (max-width: 899px) {
  body.commission-editorial.weddings-page.wd-editorial .wd-cine.wd-cine--framed .wd-framed { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: 2rem 2rem; text-align: center; }
  body.commission-editorial.weddings-page.wd-editorial .wd-cine.wd-cine--framed .wd-hero-copy,
  body.commission-editorial.weddings-page.wd-editorial .wd-cine.wd-cine--framed .wd-hero-aside { justify-self: center; max-width: 34rem; }
  body.commission-editorial.weddings-page.wd-editorial .wd-cine.wd-cine--framed h1 { font-size: clamp(34px, 9vw, 52px); }
  .wd-cine--framed .wd-film { order: -1; }
  .wd-film-frame { height: auto; width: min(100%, 26rem); outline-offset: 9px; }
  body.wd-editorial .wd-cine.wd-cine--framed h1 .cm-h1-kicker::before { display: none; }
  body.wd-editorial .wd-cine.wd-cine--framed .wd-hero-actions { justify-content: center; align-items: center; }
  .wd-film figcaption { margin-top: 1.2rem; }
}
@media (max-width: 699px) {
  body.commission-editorial.weddings-page.wd-editorial .wd-hero.wd-cine.wd-cine--framed { min-height: 0; }
  .wd-film-frame { width: calc(100% - 1.25rem); }
}
@media (prefers-reduced-motion: reduce) {
  .wd-film-frame, .wd-film-reel, .wd-film figcaption { animation: none !important; }
  .wd-film-close { animation: none !important; transform: none; opacity: 1; }
  .wd-film-wide { animation: none !important; opacity: 0; }
}
@media print { .wd-film-frame, .wd-film-reel, .wd-film-shot, .wd-film figcaption { animation: none !important; } .wd-film-wide { display: none; } }

/* Framed film for the destination pages (Lake Como, Amalfi): shot 1 is the place, pushing slowly
   in towards the boat or the town; it dissolves into the painter at the easel, which pulls back
   from the canvas, and back again. Same 20 s cycle and the same frame as the main pages. */
.wd-film-place { object-position: 50% 50%; transform-origin: 50% 55%; animation: wdShotPlace 20s linear .15s infinite both; }
body.lake-como-page .wd-film-place { object-position: 75% 50%; transform-origin: 68% 56%; }
body.amalfi-coast-page .wd-film-place { object-position: 62% 50%; transform-origin: 62% 52%; }
.wd-film-painter { object-position: 50% 40%; transform-origin: 30% 60%; opacity: 0; animation: wdShotPainter 20s linear .15s infinite both; }
@keyframes wdShotPlace {
  0% { opacity: 1; transform: scale(1); animation-timing-function: cubic-bezier(.42, 0, .22, 1); }
  45% { opacity: 1; transform: scale(1.14); animation-timing-function: linear; }
  52.5% { opacity: 0; transform: scale(1.16); }
  55% { opacity: 0; transform: scale(1); }
  92.5% { opacity: 0; transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes wdShotPainter {
  0% { opacity: 0; transform: scale(1.6); }
  45% { opacity: 0; transform: scale(1.6); }
  52.5% { opacity: 1; transform: scale(1.52); animation-timing-function: cubic-bezier(.42, 0, .22, 1); }
  92.5% { opacity: 1; transform: scale(1.02); }
  100% { opacity: 0; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .wd-film-place { animation: none !important; transform: none; opacity: 1; }
  .wd-film-painter { animation: none !important; opacity: 0; }
}
@media print { .wd-film-painter { display: none; } }

/* Planning notes: the lead word of each note (Season., Light., The easel. ...) in Tyrian, so it
   reads apart from the sentence that follows. Tyrian sits on the ivory page; gold stays on the wall. */
body.wd-editorial .wd-destination-notes .wd-details-list li > strong { color: #66023C; }
