/* ==========================================================================
   Portfolio stories, the inquiry form on every page, the floating CTA,
   video player, lightbox and price calculator. Uses the site.css tokens.
   ========================================================================== */

/* ---------- Header CTA ---------- */
.nav-cta { --btn-bg: var(--rose-deep); --btn-bd: var(--rose-deep); min-height: 44px; padding-inline: 20px; }
.nav-cta:hover { --btn-bg: var(--blue-deep); --btn-bd: var(--blue-deep); }
.header-cta { display: none; --btn-bg: var(--rose-deep); --btn-bd: var(--rose-deep); margin-left: auto; }
@media (max-width: 1040px) {
  .header-cta { display: inline-flex; }
  .nav .nav-cta { display: none; }
  .site-header__in { gap: 10px; }
}
@media (max-width: 380px) { .header-cta { padding-inline: 12px; font-size: 12.5px; } }

/* ---------- Chips (filters) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 8px 16px; border: 1px solid #C5CEDC; border-radius: 999px; background: var(--white); color: var(--blue-deep); font: 500 15px/1 var(--f-body); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.chip:hover { border-color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--paper); }

/* ---------- Portfolio cards ---------- */
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 5vw, 72px) clamp(24px, 4vw, 56px); margin-top: clamp(26px, 3vw, 40px); }
.story-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; gap: clamp(24px, 3vw, 40px); }
.story-card { display: grid; gap: 18px; align-content: start; color: inherit; text-decoration: none; }
.story-card[hidden] { display: none; }
.story-card__media { aspect-ratio: 4 / 5; }
.story-grid--3 .story-card__media { aspect-ratio: 4 / 5; }
.story-card:hover .story-card__media img { transform: scale(1.03); }
.story-card__film { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(250, 250, 247, .92); font: 700 12px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); }
.story-card__body { display: grid; gap: 8px; }
.story-card__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.story-card__title { font: 400 clamp(26px, 2.6vw, 34px)/1.1 var(--f-display); color: var(--blue-deep); }
.story-grid--3 .story-card__title { font-size: clamp(22px, 2vw, 26px); }
.story-card__place { font-family: var(--f-typed); font-size: 14.5px; color: var(--muted); }
.story-card__kind { font: 700 12.5px/1.3 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.story-card__text { color: var(--muted); max-width: 52ch; }
.story-card:hover .story-card__title { color: var(--blue); }
.stories__count { margin-top: 14px; font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 960px) { .story-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .story-grid--3 > :nth-child(3) { display: none; } }
@media (max-width: 640px) { .story-grid, .story-grid--3 { grid-template-columns: minmax(0, 1fr); } .story-grid--3 > :nth-child(3) { display: grid; } }

/* ---------- Single story (gallery) ---------- */
.gs-hero { padding-block: clamp(48px, 7vw, 96px) clamp(22px, 3vw, 36px); }
.gs-hero__in { display: grid; gap: 16px; justify-items: center; text-align: center; }
.gs-hero h1 { font-size: var(--fs-hero); line-height: 1; }
.gs-hero__place { font-family: var(--f-typed); font-size: 16px; color: var(--muted); }
.gs-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin-top: 4px; }
.gs-intro { padding-block: clamp(20px, 3vw, 40px) clamp(48px, 6vw, 88px); }
.gs-intro__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(28px, 6vw, 96px); align-items: start; max-width: 1080px; }
.gs-intro__text > p:first-child { font: 400 clamp(22px, 2.2vw, 28px)/1.42 var(--f-display); color: var(--blue-deep); }
.gs-facts { display: grid; gap: 18px; padding: clamp(20px, 2.4vw, 28px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.gs-facts dl { display: grid; margin: 0; }
.gs-facts dl div { display: grid; gap: 4px; padding: 11px 0; border-top: 1px solid var(--line); }
.gs-facts dl div:first-child { border-top: 0; padding-top: 0; }
.gs-facts dt { font: 700 12px/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.gs-facts dd { margin: 0; font-size: 15.5px; }
@media (max-width: 860px) { .gs-intro__in { grid-template-columns: minmax(0, 1fr); } }

.container--gallery { max-width: calc(1280px + 40px); }
.masonry { display: flex; gap: clamp(20px, 4vw, 64px); align-items: flex-start; }
.masonry__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: clamp(20px, 4vw, 64px); }
.masonry__item { display: block; background: var(--airmail); cursor: zoom-in; }
.masonry__item img { width: 100%; height: auto; }
@media (max-width: 760px) {
  /* stretch, not flex-start: shrink-wrapped links had 0-width images, so every lazy photo counted as visible and loaded at once (TF-01) */
  .masonry { flex-direction: column; align-items: stretch; gap: 14px; }
  .masonry__col { display: contents; }
  .masonry__item { width: 100%; }
}
.gs-pause { padding-block: clamp(56px, 8vw, 112px); }
.gs-pause__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; max-width: 1080px; padding-block: clamp(28px, 4vw, 48px); border-block: 1px dashed #B9C4D6; }
.gs-pause__line { font: 400 clamp(22px, 2.4vw, 30px)/1.3 var(--f-display); color: var(--blue-deep); max-width: 34ch; }
@media (max-width: 760px) { .gs-pause__in { grid-template-columns: minmax(0, 1fr); } }
.gs-film .yt { max-width: 1080px; }
.gs-related { padding-bottom: clamp(40px, 5vw, 64px); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2147483600; display: grid; place-items: center; background: rgba(20, 24, 33, .94); }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; }
.lightbox__close, .lightbox__nav { position: absolute; border: 0; background: rgba(250, 250, 247, .12); color: #fff; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 28px; line-height: 1; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; margin-top: -24px; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #D2D9E8; font: 700 13px/1 var(--f-label); letter-spacing: .16em; }
.lightbox__img { transition: opacity .2s var(--ease); }
.lightbox.is-loading .lightbox__img { opacity: .55; }
.lightbox.is-loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 3px solid rgba(250, 250, 247, .25); border-top-color: #fff; border-radius: 50%; animation: wwi-spin .8s linear infinite; pointer-events: none; }
@keyframes wwi-spin { to { transform: rotate(360deg); } }
.lightbox__close:focus-visible, .lightbox__nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* phones: arrows stay visible, at the bottom beside the counter (swipe also works) */
@media (max-width: 640px) {
  .lightbox__img { max-width: 100vw; max-height: calc(100dvh - 140px); }
  .lightbox__nav { top: auto; bottom: max(10px, env(safe-area-inset-bottom)); margin-top: 0; width: 52px; height: 52px; background: rgba(250, 250, 247, .16); }
  .lightbox__nav--prev { left: 14px; }
  .lightbox__nav--next { right: 14px; }
  .lightbox__count { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 19px); }
}

/* ---------- YouTube (lite) ---------- */
.yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue-deep); border-radius: 2px; }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.yt.is-playing .yt__play, .yt.is-playing img { display: none; }

/* ---------- Inquiry section (every page) ---------- */
.inquiry { padding-block: var(--section); background: var(--white); border-top: 1px solid var(--line); }
.inquiry__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.inquiry__pitch { display: grid; gap: 18px; }
.inquiry__pitch h2 { font-size: clamp(36px, 4.4vw, 58px); }
.inquiry__promises { list-style: none; display: grid; gap: 14px; margin-top: 6px; }
.inquiry__promises li { position: relative; padding-left: 30px; color: var(--muted); }
.inquiry__promises li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 13px; height: 7px; border-left: 2px solid var(--rose-deep); border-bottom: 2px solid var(--rose-deep); transform: rotate(-45deg); }
.inquiry__promises b { color: var(--ink); font-weight: 600; }
.inquiry__review { margin-top: 10px; padding: 20px 22px; background: var(--airmail); border-radius: var(--radius); }
.inquiry__review blockquote { margin: 0; font: 400 19px/1.4 var(--f-display); color: var(--blue-deep); }
.inquiry__review figcaption { margin-top: 10px; font: 700 12.5px/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.inquiry__card { padding: 12px; background: var(--chevron); box-shadow: var(--shadow-lift); }
.inquiry__card .inq { padding: clamp(22px, 3.4vw, 44px); background: var(--paper); }
@media (max-width: 900px) {
  .inquiry__in { grid-template-columns: minmax(0, 1fr); }
  .inquiry__review { display: none; }
}

/* ---------- The form ---------- */
.inq { display: grid; gap: 22px; }
.inq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
@media (max-width: 560px) { .inq__grid { grid-template-columns: minmax(0, 1fr); } }
.inq .field > label .opt, .inq summary .opt { font: 400 13px/1 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.inq .check-inline { margin-top: 2px; }
.inq .field input:disabled { background: var(--airmail); color: var(--muted); }
.inq .field select { appearance: auto; }
.inq .fieldset > legend { margin-bottom: 10px; }
.inq__more summary { cursor: pointer; font: 700 13px/1.2 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); list-style: none; }
.inq__more summary::-webkit-details-marker { display: none; }
.inq__more summary::before { content: "+ "; }
.inq__more[open] summary::before { content: "– "; }
.inq__more .field { margin-top: 12px; }
.inq__foot { display: grid; gap: 12px; justify-items: start; padding-top: 4px; }
.inq__submit { min-height: 56px; padding-inline: 30px; font-size: 16px; }
.inq__note { font-size: 13.5px; color: var(--muted); }
.inq__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inq__error { padding: 14px 16px; border-radius: var(--radius); background: #F6DCD8; color: #7C2E26; }
.inq .is-invalid { border-color: #A4423A !important; box-shadow: 0 0 0 3px rgba(164, 66, 58, .14) !important; }
.inq.is-sending .inq__submit { opacity: .6; pointer-events: none; }
.inq--full .inq__submit { width: 100%; }
.inq--full .inq__foot { justify-items: stretch; text-align: center; }

/* ---------- Floating CTA ---------- */
.float-cta {
  position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 80; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px 14px 18px; border-radius: 999px;
  background: var(--blue-deep); color: var(--paper); text-decoration: none; box-shadow: 0 12px 30px -10px rgba(47, 62, 99, .6);
  font: 700 15px/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase;
  transform: translate(-50%, 0); opacity: 1; transition: transform .3s var(--ease), opacity .3s var(--ease), background .2s var(--ease);
}
.float-cta:hover { background: var(--blue); color: var(--paper); }
.float-cta.is-away { transform: translate(-50%, 140%); opacity: 0; pointer-events: none; }
.float-cta__dot { width: 9px; height: 9px; border-radius: 50%; background: #9FD3A8; box-shadow: 0 0 0 4px rgba(159, 211, 168, .25); }
.float-cta__sub { font: 400 12.5px/1 var(--f-body); letter-spacing: 0; text-transform: none; opacity: .75; padding-left: 10px; border-left: 1px solid rgba(250, 250, 247, .3); }
@media (max-width: 640px) {
  .float-cta { left: 0; right: 0; bottom: 0; transform: none; justify-content: center; border-radius: 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px -12px rgba(47, 62, 99, .5); }
  .float-cta.is-away { transform: translateY(110%); }
}
/* keep the "to top" button above the floating CTA */
#to_top_scrollup { bottom: 86px !important; }

/* ---------- Films: formats + recent films ---------- */
.formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.format { display: grid; gap: 10px; align-content: start; padding: clamp(20px, 2.4vw, 28px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.format__len { font: 400 clamp(30px, 3vw, 40px)/1 var(--f-display); color: var(--blue-deep); }
.format__len small { font-size: .5em; color: var(--muted); }
.format h3 { font-size: 21px; }
.format p { color: var(--muted); font-size: 15.5px; }
.format__in { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.format--add { background: var(--sand); border-color: transparent; }
@media (max-width: 960px) { .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .formats { grid-template-columns: minmax(0, 1fr); } }
.format-adds { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.films-yt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.films-yt__item { display: grid; gap: 14px; align-content: start; }
.films-yt__item h3 { font-size: 22px; }
.films-yt__item .card__meta { margin-top: -4px; }
@media (max-width: 900px) { .films-yt { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pricing calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.calc__steps { display: grid; gap: clamp(28px, 3.4vw, 40px); }
.calc__step { display: grid; gap: 14px; border: 0; padding: 0; margin: 0; }
.calc__step > legend { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; font: 400 clamp(22px, 2.2vw, 28px)/1.2 var(--f-display); color: var(--blue-deep); }
.calc__step > legend b { font: 400 18px/1 var(--f-display); color: var(--rose-deep); }
.calc__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.calc__opts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .calc__opts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .calc__opts, .calc__opts--4 { grid-template-columns: minmax(0, 1fr); } }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__box { display: grid; gap: 6px; height: 100%; padding: 18px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease); }
.opt__name { font: 400 21px/1.2 var(--f-display); color: var(--blue-deep); }
.opt__desc { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.opt__price { font: 700 13px/1.2 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.opt__badge { justify-self: start; padding: 4px 9px; border-radius: 999px; background: var(--rose); font: 700 11px/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); }
.opt:hover .opt__box { border-color: #AEBBD0; }
.opt input:checked + .opt__box { border-color: var(--blue-deep); background: var(--airmail); box-shadow: inset 0 0 0 1px var(--blue-deep); }
.opt input:focus-visible + .opt__box { outline: 2px solid var(--blue); outline-offset: 2px; }
.opt input:disabled + .opt__box { opacity: .45; cursor: not-allowed; }
.hours { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; background: var(--white); border: 1px dashed #B9C4D6; border-radius: var(--radius); }
.hours .label { margin-right: 6px; }
.adds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .adds { grid-template-columns: minmax(0, 1fr); } }
.add { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; }
.add input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue-deep); }
.add__n { font-weight: 600; color: var(--ink); font-size: 15.5px; }
.add__d { grid-column: 2 / 4; font-size: 14px; color: var(--muted); }
.add__p { font: 700 13px/1.4 var(--f-label); letter-spacing: .1em; color: var(--blue); white-space: nowrap; }
.add:has(input:checked) { border-color: var(--blue-deep); background: var(--airmail); }
.add[hidden] { display: none; }
.calc__sum { position: sticky; top: 104px; padding: 12px; background: var(--chevron); box-shadow: var(--shadow-lift); }
.calc__sum-in { display: grid; gap: 16px; padding: clamp(20px, 2.6vw, 32px); background: var(--paper); }
.calc__lines { display: grid; gap: 8px; }
.calc__line { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.calc__line b { font-weight: 600; white-space: nowrap; }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1.5px solid var(--blue-deep); }
.calc__total .price { font-size: clamp(36px, 4vw, 48px); }
.calc__get h3 { font: 700 12.5px/1.2 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.calc__get .checks { gap: 7px; font-size: 15px; }
.calc__small { font-size: 13.5px; color: var(--muted); }
.calc__sum .btn { width: 100%; }
@media (max-width: 960px) { .calc { grid-template-columns: minmax(0, 1fr); } .calc__sum { position: static; } }

/* What's included table */
.incl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.incl { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.incl th, .incl td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.incl thead th { font: 400 20px/1.2 var(--f-display); color: var(--blue-deep); background: var(--airmail); }
.incl thead th small { display: block; margin-top: 4px; font: 700 12px/1.2 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.incl tbody th { font-weight: 500; color: var(--ink); width: 34%; }
.incl .grp th { padding-top: 22px; font: 700 12.5px/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--rose-deep); background: var(--paper); }
.incl td.y::before { content: "✓ "; color: var(--blue); font-weight: 700; }
.incl td.n { color: #A8AEBA; }
.incl .pick { background: rgba(232, 238, 246, .45); }
.yt > .yt__play { left: 50% !important; top: 50% !important; bottom: auto !important; right: auto !important; }
.page-films .reel--yt .yt { aspect-ratio: 16 / 9; }
.header-cta { white-space: nowrap; }
@media (max-width: 560px) {
  .nav-toggle { font-size: 0; gap: 0; padding: 8px 12px; }
  .header-cta { padding-inline: 14px; }
  .brand { gap: 8px; }
}
@media (max-width: 400px) { .brand__name { font-size: 18px; } .brand__mark { width: 30px; } }

/* ==========================================================================
   1.4.0: fixes from the technical audit (audit/TECH_FINDINGS.md, ids TF-xx)
   ========================================================================== */

/* TF-23: one name for the main action; on phones the header button shows "Check date" (the name stays "Check your date") */
@media (max-width: 380px) { .header-cta { letter-spacing: .1em; padding-inline: 11px; } .site-header__in { gap: 8px; } }
@media (max-width: 500px) {
  .header-cta__mid { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* TF-22: the page does not scroll behind the open mobile menu */
@media (max-width: 1040px) { html.nav-open, html.nav-open body { overflow: hidden; } }

/* TF-05: story pages on phones: compact title block, the lead paragraph, then the photos; the rest of
   the story and the facts open with "Read the story" (all of it stays in the HTML). */
.gs-more { display: none; }
@media (max-width: 760px) {
  .gs-hero { padding-block: 18px 10px; }
  .gs-hero__in { gap: 8px; }
  .gs-hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .gs-hero__place { font-size: 15px; }
  .gs-tags { gap: 6px; margin-top: 2px; }
  .gs-intro { padding-block: 8px 24px; }
  .gs-intro__in { gap: 14px; }
  .gs-intro__text > p:first-child { font-size: 19px; line-height: 1.45; }
  .js .gs-intro:not(.is-open) .gs-intro__text > :not(:first-child),
  .js .gs-intro:not(.is-open) .gs-facts { display: none; }
  .js .gs-intro:not(.is-open) .gs-intro__text > p:first-child { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
  .js .gs-more { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; color: var(--blue); font: 700 14px/1.2 var(--f-label); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
  .gs-more span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--airmail); color: var(--blue-deep); font: 400 18px/1 var(--f-body); letter-spacing: 0; }
}

/* TF-03: the cookie card (plugin Minimal Photo Privacy, styled here, plugin untouched): under the menu
   and the lightbox, compact on phones, and the floating button moves up while it is shown. */
.mpp-card { z-index: 45 !important; }
.mpp-ok { min-height: 40px; min-width: 64px; }
.mpp-close { width: 40px !important; height: 40px !important; top: 2px !important; right: 2px !important; line-height: 40px !important; }
.mpp-link { display: inline-flex; align-items: center; min-height: 40px; font-size: 13px !important; }
.mpp-form-privacy { font-size: 13px !important; opacity: 1 !important; color: var(--muted) !important; }
@media (min-width: 641px) and (max-width: 1160px) {
  /* the floating button sits bottom-centre: on tablets and small laptops the card waits above its level */
  .mpp-card { bottom: 84px !important; }
}
@media (max-width: 640px) {
  .mpp-card { left: 8px !important; right: 8px !important; bottom: max(8px, env(safe-area-inset-bottom)) !important; width: auto !important; padding: 6px 6px 6px 14px !important; display: flex; align-items: center; gap: 4px 10px; }
  .mpp-card .mpp-copy, .mpp-card .mpp-close { display: none !important; }
  .mpp-card .mpp-title { margin: 0 !important; flex: 1 1 auto; font-size: 14px !important; line-height: 1.3; }
  .mpp-card .mpp-actions { margin: 0 !important; flex: none; gap: 6px; }
  /* the full-width bottom bar lifts above the card while the card is shown */
  body:has(.mpp-card:not([hidden])) .float-cta { bottom: calc(max(8px, env(safe-area-inset-bottom)) + 64px); border-radius: 999px; left: 12px; right: 12px; padding-block: 14px; }
}

/* TF-23: content is never hidden for good behind the floating button */
.site-footer { padding-bottom: 96px; }
@media (max-width: 640px) { .site-footer { padding-bottom: 84px; } }

/* TF-28: price calculator on phones and tablets: a slim bar with the total while choosing */
.calc-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 81; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -10px 26px -14px rgba(47, 62, 99, .45); }
.calc-bar[hidden] { display: none; }
.calc-bar__l { display: grid; gap: 2px; font: 700 12.5px/1.2 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.calc-bar__total { font: 500 24px/1.1 var(--f-body); letter-spacing: -.02em; text-transform: none; color: var(--blue-deep); font-variant-numeric: lining-nums tabular-nums; }
html.calc-bar-on .float-cta { transform: translate(-50%, 140%); opacity: 0; pointer-events: none; }
@media (max-width: 640px) { html.calc-bar-on .float-cta { transform: translateY(110%); } }
html.calc-bar-on .mpp-card { bottom: calc(76px + env(safe-area-inset-bottom)) !important; }

/* TF-19: nothing a visitor reads under 12 px */
.opt__badge { font-size: 12px; }
.inq .field > label .opt, .inq summary .opt { font-size: 13px; }

/* TF-20: tap targets */
.inq__more summary { display: inline-flex; align-items: center; min-height: 40px; }
.check-inline { min-height: 40px; }
.faq summary { min-height: 48px; }

/* TF-21: "not included" in the pricing table is readable, not a pale grey */
.incl td.n { color: #5F6675; }

/* 1.5.1: the comparison table on phones: a narrow label column that stays on the left, and plan columns
   narrow enough that two plans show side by side with the third peeking (swipe for the rest) */
@media (max-width: 600px) {
  .incl { min-width: 0; width: auto; font-size: 14px; line-height: 1.4; }
  .incl th, .incl td { padding: 10px 8px; }
  .incl tbody th[scope="row"], .incl thead th:first-child { position: sticky; left: 0; z-index: 1; width: 40%; min-width: 118px; max-width: 132px; background: var(--white); box-shadow: 1px 0 0 var(--line); }
  .incl thead th:first-child { background: var(--airmail); }
  .incl thead th { font-size: 16px; }
  .incl thead th small { font-size: 12px; letter-spacing: .08em; }
  .incl td, .incl thead th:not(:first-child) { min-width: 88px; width: 88px; }
  .incl .grp th { padding-top: 18px; }
}

/* 1.5.1: floating things never overlap. The "to top" button (plugin) waits until about one and a half
   screens have been scrolled (class from site.js) and steps aside while the cookie note or the lightbox
   is open; the floating "Check your date" and the price bar hide behind an open lightbox. */
html:not(.is-scrolled-far) #to_top_scrollup,
html.lb-open #to_top_scrollup,
body:has(.mpp-card:not([hidden])) #to_top_scrollup { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
html.lb-open .float-cta, html.lb-open .calc-bar, html.lb-open .mpp-card { visibility: hidden !important; }

/* 1.5.1: the short form's "+ Add a few words (optional)" reads with spaces, at 13 px+ */
.inq__more summary { gap: 6px; font-size: 13px; letter-spacing: .12em; }
.inq__more summary::before { content: "+"; }
.inq__more[open] summary::before { content: "–"; }
.inq summary .opt { margin-left: 2px; font-size: 13px; }
/* story gallery: same width and margins as the text above it */
.container--gallery { max-width: calc(var(--container) + 40px); }
/* film posters: on phones the play button is a compact round button at the bottom left, off the poster's title */
@media (max-width: 640px) {
  .yt > .yt__play.play { left: 12px !important; top: auto !important; bottom: 12px !important; transform: none; padding: 6px; gap: 0; font-size: 0; letter-spacing: 0; }
}
/* story list: an odd last card sits in the middle of its row (only while no filter hides cards) */
@media (min-width: 641px) {
  .story-grid:not(.story-grid--3):not(:has(> .story-card[hidden])) > .story-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - clamp(24px, 4vw, 56px) / 2); }
}
