/* design\components.css: the CSS of the components in design\components.md, the director's: the header, the footer,
   the exit popup, the call bar, the stop icon, and each section pattern, card, form box and call-to-action block as the
   home page built them. Every page loads it (the build copies it to site\assets\css\components.css). Every page uses these
   classes as they are; a page's own CSS only places and sizes its parts, with the tokens of system.css. */

/* ---------- Layout ---------- */
.wrap { box-sizing: border-box; width: 100%; max-width: calc(var(--max-w) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.band { position: relative; padding-block: var(--section-y); }
.band--alt { background: var(--c-paper-alt); }
.band--navy { background: var(--c-brand); color: var(--c-on-ink-soft); overflow: hidden; }
.band--navy h2, .band--navy h3 { color: var(--c-on-ink); }
body:not(.page-home) main { padding-top: var(--header-h); }

/* A section's head: its headline (one message) and one line under it. */
.head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 60px); }
.head h2 { font: 800 var(--fs-h2)/1.08 var(--font-display); letter-spacing: var(--track-h2); color: var(--c-ink); }
.head p { font-size: var(--fs-lead); line-height: 1.5; color: var(--c-ink-soft); max-width: 620px; }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.head--center p { margin-inline: auto; }
.on-dark .head h2, .band--navy .head h2 { color: var(--c-on-ink); }
.on-dark .head p, .band--navy .head p { color: var(--c-on-ink-soft); }

/* ---------- The sweep: the wing's tapered gold stroke under what is "you" ---------- */
.sweep { --sweep-y: 98%; --sweep-h: 0.3em; background: var(--sweep-img) no-repeat 0 var(--sweep-y) / 100% var(--sweep-h); padding-bottom: 0.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (prefers-reduced-motion: no-preference) {
  .sweep--draw { animation: sweep-draw 0.9s var(--ease-out) 0.45s both; }
  @supports (animation-timeline: view()) {
    .sweep--view { animation: sweep-draw linear both; animation-timeline: view(); animation-range: entry 70% cover 40%; }
  }
}
@keyframes sweep-draw { from { background-size: 0% var(--sweep-h); } to { background-size: 100% var(--sweep-h); } }

/* ---------- Buttons and links ---------- */
.btn { --btn-h: 52px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--btn-h); padding: 0 24px; border-radius: var(--radius-s); border: 1px solid transparent; font: 600 var(--fs-ui)/1.15 var(--font-ui); letter-spacing: 0.005em; text-align: center; text-decoration: none; cursor: pointer; transition: background-color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast); }
.btn .i-arrow { flex: none; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn--gold { background: var(--c-accent); color: var(--c-on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(16, 24, 40, 0.1), var(--shadow-gold); }
.btn--gold:hover { background: var(--c-accent-hover); transform: translateY(-1px); }
.btn--gold:active { transform: none; }
.btn--line { background: transparent; color: var(--c-on-ink); border-color: rgba(255, 255, 255, 0.34); }
.btn--line:hover { border-color: var(--c-on-ink); background: rgba(255, 255, 255, 0.06); }
.btn--s { --btn-h: 42px; padding: 0 16px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }
.btn:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 3px; }
.on-dark .btn:focus-visible, .site-header .btn:focus-visible, .site-footer .btn:focus-visible, .callbar .btn:focus-visible { outline-color: var(--c-on-ink); }

.link-quiet { display: inline-flex; align-items: center; gap: 8px; font: 600 var(--fs-ui)/1.3 var(--font-ui); color: var(--c-ink); text-decoration: underline; text-decoration-color: rgba(16, 24, 40, 0.25); text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color var(--dur-fast); }
.link-quiet:hover { text-decoration-color: var(--c-accent); }
.link-quiet .i-arrow { transition: transform var(--dur-fast) var(--ease-out); }
.link-quiet:hover .i-arrow { transform: translateX(3px); }
.on-dark .link-quiet { color: var(--c-on-ink); text-decoration-color: rgba(255, 255, 255, 0.35); }
.on-dark .link-quiet:hover { text-decoration-color: var(--c-accent); }
.on-dark :focus-visible { outline-color: var(--c-on-ink); }

.stars { display: inline-flex; gap: 1px; color: var(--c-accent); vertical-align: -2px; }
.i { display: inline-block; flex: none; }

/* ---------- The header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); color: var(--c-on-ink); background: rgba(16, 24, 40, 0.97); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06); }
.page-home .site-header { background: rgba(16, 24, 40, 0.86); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
@supports (animation-timeline: scroll()) {
  .page-home .site-header { animation: bar-solid linear both; animation-timeline: scroll(root); animation-range: 0 240px; }
}
@keyframes bar-solid {
  from { background-color: rgba(11, 17, 32, 0.22); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1); }
  to { background-color: rgba(16, 24, 40, 0.97); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 32px -14px rgba(0, 0, 0, 0.5); }
}
.site-header__in { box-sizing: border-box; height: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.site-header__logo { flex: none; display: block; line-height: 0; border-radius: 6px; }
.site-header__logo img { height: 46px; width: auto; }
.site-header__nav { flex: 1; min-width: 0; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__link, .nav__group { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; border-radius: 8px; background: none; color: rgba(255, 255, 255, 0.86); font: 500 15px/1 var(--font-ui); text-decoration: none; cursor: pointer; white-space: nowrap; transition: color var(--dur-fast), background-color var(--dur-fast); }
.nav__link:hover, .nav__group:hover, .nav__group[aria-expanded="true"] { color: var(--c-on-ink); background: rgba(255, 255, 255, 0.07); }
.nav__link[aria-current="page"] { color: var(--c-on-ink); box-shadow: inset 0 -2px 0 var(--c-accent); border-radius: 0; }
.nav__group .i-chev { opacity: 0.7; transition: transform var(--dur-fast); }
.nav__group[aria-expanded="true"] .i-chev { transform: rotate(180deg); }
.nav__item--group { position: relative; }
.nav__sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 12px); left: -8px; min-width: 320px; background: var(--c-paper); border-radius: 16px; box-shadow: var(--shadow-l); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--dur-fast), transform var(--dur-fast) var(--ease-out), visibility 0s var(--dur-fast); }
.nav__sub::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.nav__sub a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--c-ink); font: 500 15px/1.3 var(--font-ui); text-decoration: none; }
.nav__sub a:hover { background: var(--c-paper-alt); }
.nav__sub a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--c-accent); }
.nav__sub [data-planned] { color: var(--c-ink-2); }
.nav__more { display: none; }
.site-header__actions { flex: none; margin-left: auto; display: flex; align-items: center; gap: 18px; }
.site-header__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--c-on-ink); font: 600 15px/1 var(--font-ui); text-decoration: none; white-space: nowrap; }
.site-header__phone .i-phone { color: var(--c-accent); }
.site-header__phone span { display: none; }
.site-header__book { color: rgba(255, 255, 255, 0.86); font: 500 15px/1 var(--font-ui); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 5px; white-space: nowrap; }
.site-header__book:hover { color: var(--c-on-ink); text-decoration-color: var(--c-accent); }
.site-header__menu { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.04); color: var(--c-on-ink); cursor: pointer; place-items: center; padding: 0; }
.site-header__menu .i-close { display: none; }
.site-header[data-open] .site-header__menu .i-burger { display: none; }
.site-header[data-open] .site-header__menu .i-close { display: block; }
.site-header :focus-visible { outline: 2px solid var(--c-on-ink); outline-offset: 2px; }

@media (min-width: 1181px) {
  .nav__item--group:hover .nav__sub, .nav__item--group:focus-within .nav__sub, .nav__group[aria-expanded="true"] + .nav__sub { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
}
@media (min-width: 1400px) { .site-header__phone span { display: inline; } }
@media (max-width: 1180px) {
  .site-header__menu { display: grid; }
  .site-header__book { display: none; }
  .site-header__phone { width: 44px; height: 44px; justify-content: center; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.2); }
  .site-header__nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 59; display: none; flex-direction: column; overflow-y: auto; padding: 8px var(--gutter) 40px; background: var(--c-brand); }
  .site-header[data-open] .site-header__nav { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav__link, .nav__group { width: 100%; justify-content: space-between; padding: 18px 2px; font: 700 20px/1.2 var(--font-display); color: var(--c-on-ink); border-radius: 0; }
  .nav__link[aria-current="page"] { box-shadow: none; color: var(--c-accent-on-ink); }
  .nav__sub { position: static; display: none; min-width: 0; padding: 0 0 14px; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav__group[aria-expanded="true"] + .nav__sub { display: block; }
  .nav__sub a { color: var(--c-on-ink-soft); padding: 10px 0 10px 14px; font-size: 16px; }
  .nav__sub a:hover { background: none; color: var(--c-on-ink); }
  .nav__sub [data-planned] { color: var(--c-on-ink-soft); }
  .nav__more { display: grid; gap: 18px; margin-top: 28px; justify-items: start; }
  .nav__more .btn { justify-self: stretch; }
  .nav__book, .nav__phone { display: inline-flex; align-items: center; gap: 10px; color: var(--c-on-ink); font: 600 17px/1.2 var(--font-ui); text-decoration: none; }
  .nav__phone .i-phone, .nav__book .i-out { color: var(--c-accent); }
  .nav__hours { color: var(--c-on-ink-soft); font-size: 15px; }
}
@media (max-width: 760px) {
  .site-header__logo img { height: 38px; }
  .site-header__cta { display: none; }
  .site-header__actions { gap: 10px; }
}

/* ---------- The stop icon ---------- */
/* a kit tour's own stop (not a [data-stop] icon): the same two glyphs, one at a time */
[data-kit-tabs-stop] .stop__play { display: none; }
[data-kit-tabs-stop][aria-pressed="true"] .stop__play { display: inline; }
[data-kit-tabs-stop][aria-pressed="true"] .stop__pause { display: none; }
.stop { position: absolute; z-index: 8; width: 38px; height: 38px; padding: 0; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(16, 24, 40, 0.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--c-on-ink); cursor: pointer; transition: background-color var(--dur-fast); }
.stop:hover { background: rgba(16, 24, 40, 0.78); }
.stop:focus-visible { outline: 2px solid var(--c-on-ink); outline-offset: 2px; }
.stop--light { background: var(--c-paper); color: var(--c-ink); border-color: var(--c-line-strong); box-shadow: var(--shadow-s); }
.stop--light:hover { background: var(--c-paper-alt); }
.stop--light:focus-visible { outline-color: var(--c-ink); }

/* ---------- The form box: the clients picker ---------- */
.picker-box { box-sizing: border-box; background: var(--c-paper); border-radius: var(--radius-m); padding: 22px 22px 18px; box-shadow: var(--shadow-l); border: 1px solid rgba(255, 255, 255, 0.7); color: var(--c-ink); }
.picker { display: grid; gap: 14px; }
.picker__set { border: 0; margin: 0; padding: 0; min-width: 0; }
.picker__legend { padding: 0; margin-bottom: 12px; font: 700 17px/1.3 var(--font-display); color: var(--c-ink); }
.picker__choices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.picker__choices > .field__error { grid-column: 1 / -1; }
.picker__choice { position: relative; display: block; cursor: pointer; }
.picker__choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.picker__num { position: relative; display: grid; place-items: center; height: 56px; border-radius: 12px; border: 1px solid var(--c-line-strong); background: var(--c-paper-alt); color: var(--c-ink); font: 800 21px/1 var(--font-display); letter-spacing: -0.01em; overflow: hidden; transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.25s var(--ease-out), box-shadow 0.25s; }
.picker__num::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 9px; height: 7px; background: var(--sweep-img) no-repeat 0 100% / 100% 100%; transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-out) 0.05s; }
.picker__choice:hover .picker__num { border-color: var(--c-ink); }
.picker__choice input:focus-visible + .picker__num { outline: 2px solid var(--c-accent-text); outline-offset: 2px; }
.picker__choice input:checked + .picker__num { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-on-ink); transform: translateY(-2px); box-shadow: var(--shadow-m); }
.picker__choice input:checked + .picker__num::after { transform: none; }
.picker__echo { min-height: 1.45em; margin: -2px 0 0; font: 500 14px/1.45 var(--font-ui); color: var(--c-ink-soft); text-align: center; }
.picker__echo [data-v] { display: none; color: var(--c-accent-text); font-weight: 600; }
.picker:has(input:checked) .picker__echo-none { display: none; }
.picker:has(input[value="5"]:checked) [data-v="5"], .picker:has(input[value="10"]:checked) [data-v="10"], .picker:has(input[value="20"]:checked) [data-v="20"], .picker:has(input[value="50"]:checked) [data-v="50"], .picker:has(input[value="50+"]:checked) [data-v="50+"] { display: inline; }
.picker__go { --btn-h: 56px; font-size: 16px; }
.picker__line { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 0; margin: 0; font: 500 13.5px/1.4 var(--font-ui); color: var(--c-ink-soft); }
.picker__line > span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 12px; border-radius: 50%; background: var(--c-accent); vertical-align: 3px; }
.picker__line a { color: var(--c-ink); text-underline-offset: 3px; }

/* ---------- Form fields and the steps of a kit form ---------- */
.field { display: grid; gap: 6px; }
.field__label { font: 600 14px/1.3 var(--font-ui); color: var(--c-ink); }
.field__opt { font-weight: 400; color: var(--c-ink-soft); }
.field__input { box-sizing: border-box; width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--c-line-strong); border-radius: 10px; background: var(--c-paper); color: var(--c-ink); font: 400 16px/1.2 var(--font-text); transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.field__input:hover { border-color: var(--c-ink-soft); }
.field__input:focus { outline: none; border-color: var(--c-ink); box-shadow: 0 0 0 3px rgba(197, 164, 109, 0.45); }
.field__input[aria-invalid="true"] { border-color: var(--c-error); }
.field__error { margin: 0; font: 500 13.5px/1.35 var(--font-ui); color: var(--c-error); }
.xform { display: grid; gap: 16px; }
.xform__step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 14px; }
.xform__step > .picker__legend { margin-bottom: 0; }
.xform__marks { list-style: none; margin: 0 0 -4px; padding: 0; display: flex; gap: 6px; }
.xform__marks li { height: 4px; flex: 1; border-radius: 4px; background: var(--c-line); transition: background-color 0.3s; }
.xform__marks li[aria-current="step"], .xform__marks li[data-kit-past] { background: var(--c-accent); }
.xform__row { display: flex; align-items: center; gap: 12px; }
.xform__send { flex: 1; --btn-h: 54px; }
.xform__back { flex: none; height: 54px; padding: 0 14px; border: 0; background: none; color: var(--c-ink-soft); font: 600 15px/1 var(--font-ui); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.xform__back:hover { color: var(--c-ink); }
.xform[data-kit-sending] .xform__send { opacity: 0.7; pointer-events: none; }

/* ---------- The exit popup ---------- */
.exit { box-sizing: border-box; width: calc(100% - 32px); max-width: 560px; max-height: calc(100vh - 32px); margin: auto; padding: 0; border: 0; background: transparent; overflow: visible; color: var(--c-ink); }
.exit:focus, .exit:focus-visible { outline: none; } /* the dialog itself takes focus on opening: its controls keep their rings */
.exit::backdrop { background: rgba(11, 17, 32, 0.64); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
html[data-kit-modal] { overflow: hidden; }
.exit__in { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--c-paper); box-shadow: 0 40px 100px -24px rgba(0, 0, 0, 0.55); max-height: calc(100vh - 32px); overflow-y: auto; }
.exit[data-kit-on] .exit__in { animation: exit-in 0.5s var(--ease-out) both; }
@keyframes exit-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
.exit__band { position: relative; overflow: hidden; padding: 30px 72px 26px 32px; background: var(--c-brand); color: var(--c-on-ink); }
.exit__feathers { position: absolute; right: -40px; bottom: -60px; width: 380px; height: auto; fill: var(--c-accent); opacity: 0.13; pointer-events: none; }
.exit__title { position: relative; color: var(--c-on-ink); font: 800 clamp(23px, 2.6vw, 29px)/1.15 var(--font-display); letter-spacing: -0.02em; }
.exit__sub { position: relative; margin-top: 10px; color: var(--c-on-ink-soft); font-size: 16px; line-height: 1.45; }
.exit__body { padding: 22px 32px 26px; }
.exit__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; padding: 0; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); color: var(--c-on-ink); cursor: pointer; }
.exit__close:hover { background: rgba(255, 255, 255, 0.14); }
.exit__close:focus-visible { outline: 2px solid var(--c-on-ink); outline-offset: 2px; }
@media (max-width: 520px) { .exit__band { padding: 26px 64px 22px 22px; } .exit__body { padding: 20px 20px 22px; } }
/* The holiday offer (15 Nov, Adam's words): the gold kicker with its gift, his three ticks on the pale panel, one
   button to the booking calendar, his small line under it. */
.exit__kicker { position: relative; display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--c-accent-on-ink); font: 700 var(--fs-micro)/1.35 var(--font-ui); letter-spacing: 0.12em; text-transform: uppercase; }
.exit__gift { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(197, 164, 109, 0.5); background: rgba(197, 164, 109, 0.12); color: var(--c-accent); }
.exit__gift .i-gift { width: 18px; height: 18px; }
.exit--offer .exit__sub { max-width: 440px; }
.exit--offer .exit__body { display: grid; gap: 18px; }
.exit__ticks { list-style: none; margin: 0; padding: 18px 20px; display: grid; gap: 12px; border-radius: var(--radius-s); border: 1px solid var(--c-line); background: var(--c-paper-alt); }
.exit__ticks li { display: flex; align-items: flex-start; gap: 12px; color: var(--c-ink); font: 600 var(--fs-body)/1.4 var(--font-ui); }
.exit__ticks .i-check { flex: none; width: 22px; height: 22px; margin-top: 1px; padding: 4px; box-sizing: border-box; border-radius: 50%; background: var(--c-accent); color: var(--c-on-accent); }
.exit__cta { --btn-h: 56px; font-size: 1rem; }
.exit__cta .i-out { flex: none; }
.exit__fine { margin: -6px 0 0; text-align: center; color: var(--c-ink-soft); font-size: var(--fs-small); line-height: 1.45; }
@media (max-width: 520px) { .exit__ticks { padding: 16px; } .exit__ticks li { font-size: 1rem; } }

/* ---------- The call bar on the phone ---------- */
.callbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 55; display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 8px; border-radius: 18px; background: rgba(16, 24, 40, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 44px -12px rgba(0, 0, 0, 0.55); transform: translateY(calc(100% + 24px)); transition: transform 0.45s var(--ease-out); }
.callbar[data-kit-on] { transform: none; }
.callbar__call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 52px; height: 52px; padding: 0 16px; box-sizing: border-box; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.24); color: var(--c-on-ink); font: 600 15px/1 var(--font-ui); text-decoration: none; }
.callbar__call .i-phone { color: var(--c-accent); }
.callbar__cta { --btn-h: 52px; padding: 0 12px; font-size: 14.5px; }
.callbar :focus-visible { outline: 2px solid var(--c-on-ink); outline-offset: 2px; }
@media (max-width: 420px) { .callbar__call span { display: none; } .callbar__call { padding: 0; } }
@media (min-width: 900px) { .callbar { display: none; } }

/* ---------- The footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--c-brand); color: var(--c-on-ink-soft); padding-top: clamp(56px, 7vw, 96px); font-size: 15px; line-height: 1.5; }
.site-footer__feathers { position: absolute; right: -60px; bottom: -40px; width: min(820px, 80vw); height: auto; fill: var(--c-accent); opacity: 0.08; pointer-events: none; }
.site-footer__in { position: relative; box-sizing: border-box; max-width: calc(var(--max-w) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: 1.35fr 1.1fr 0.9fr 1.1fr; gap: 40px; }
.site-footer__logo { display: inline-block; line-height: 0; }
.site-footer__logo img { width: 230px; height: auto; }
.site-footer__line { margin-top: 18px; color: var(--c-on-ink); font: 700 21px/1.3 var(--font-display); letter-spacing: -0.01em; }
.site-footer__cta { margin-top: 22px; }
.site-footer__title { margin: 6px 0 16px; color: var(--c-accent-on-ink); font: 700 13px/1 var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer a { color: var(--c-on-ink-soft); text-decoration: none; transition: color var(--dur-fast); }
.site-footer a:hover { color: var(--c-on-ink); }
.site-footer a[data-planned] { color: var(--c-on-ink-soft); }
.site-footer a.btn--gold, .site-footer a.btn--gold:hover { color: var(--c-on-accent); }
.site-footer__strong { color: var(--c-on-ink) !important; font: 700 19px/1.2 var(--font-display); }
.site-footer__book { display: inline-flex; align-items: center; gap: 8px; color: var(--c-on-ink) !important; font-weight: 600; text-decoration: underline !important; text-decoration-color: rgba(255, 255, 255, 0.3) !important; text-underline-offset: 4px; }
.site-footer__book .i-out { color: var(--c-accent); }
.site-footer__base { position: relative; box-sizing: border-box; max-width: calc(var(--max-w) + 2 * var(--gutter)); margin: clamp(48px, 6vw, 72px) auto 0; padding: 22px var(--gutter) 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; border-top: 1px solid rgba(255, 255, 255, 0.09); font-size: 14px; }
.site-footer__profiles { display: flex !important; flex-wrap: wrap; gap: 8px 22px !important; }
.site-footer__profiles a { color: var(--c-on-ink); font-weight: 600; }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.site-footer__legal ul { display: flex; gap: 22px; }
.site-footer :focus-visible { outline: 2px solid var(--c-on-ink); outline-offset: 2px; }
@media (max-width: 1000px) { .site-footer__in { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 899px) { .site-footer { padding-bottom: 84px; } }
@media (max-width: 600px) { .site-footer__in { grid-template-columns: 1fr; gap: 32px; } .site-footer__logo img { width: 200px; } }

/* ---------- Glass over footage, and the booking card ---------- */
.glass { background: var(--c-glass); -webkit-backdrop-filter: blur(var(--blur)) saturate(170%); backdrop-filter: blur(var(--blur)) saturate(170%); border: 1px solid var(--c-glass-edge); border-radius: var(--radius-m); box-shadow: var(--shadow-l), inset 0 1px 0 rgba(255, 255, 255, 0.9); color: var(--c-ink); }
/* The booking card: who booked (the business, its trade and town), the "Booked" stamp, the job, and where it came from
   with the gold sweep under the source. */
.bcard { box-sizing: border-box; display: grid; gap: 3px; padding: 15px 18px 16px; }
.bcard__head { display: flex; align-items: center; gap: 12px; padding-bottom: 11px; margin-bottom: 7px; border-bottom: 1px solid rgba(16, 24, 40, 0.09); }
.bcard__av { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--c-ink); color: var(--c-accent-on-ink); font: 800 14px/1 var(--font-display); letter-spacing: 0.03em; }
.bcard__av--mark .i-mark { width: 22px; height: 22px; color: var(--c-accent); }
.bcard__who { flex: 1; min-width: 0; display: grid; gap: 3px; }
.bcard__name { font: 700 15px/1.2 var(--font-display); color: var(--c-ink); }
.bcard__sub { font: 500 13px/1.2 var(--font-ui); color: var(--c-ink-soft); }
.bcard__stamp { flex: none; align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px 6px 8px; border-radius: 999px; border: 1.5px solid var(--c-accent); color: var(--c-accent-text); font: 700 13px/1 var(--font-ui); background: rgba(255, 255, 255, 0.75); }
.bcard__stamp .i-check { width: 14px; height: 14px; }
.bcard__job { margin: 0; font: 600 17px/1.25 var(--font-ui); color: var(--c-ink); }
.bcard__src { margin: 0; font: 500 14px/1.4 var(--font-ui); color: var(--c-ink-soft); }
.bcard__src b { font-weight: 600; color: var(--c-ink-2); background: var(--sweep-img) no-repeat 0 100% / 100% 0.36em; padding-bottom: 2px; }

/* ---------- A framed stage: footage or a photo in a rounded frame, a picture over it ---------- */
.stage { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--c-brand-dark); isolation: isolate; }
.stage > video, .stage > img, .stage__media > video, .stage__media > img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.stage__media { position: absolute; inset: 0; overflow: hidden; }
.stage__shade { position: absolute; inset: 0; pointer-events: none; }

/* ---------- Cards ---------- */
.card { background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--radius-m); box-shadow: var(--shadow-s); }

/* The faint feather lines on a navy ground (one corner, bleeding off it). */
.feathers { fill: var(--c-accent); opacity: 0.09; pointer-events: none; }

/* ---------- Call-to-action rows ---------- */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(32px, 4vw, 48px); }
.cta-row--center { justify-content: center; text-align: center; }
.cta-row__line { color: var(--c-ink-soft); font-size: 15px; }
.on-dark .cta-row__line { color: var(--c-on-ink-soft); }

/* ---------- The tour: tab cards beside one stage (kit tabs) ---------- */
.tcard { position: relative; overflow: hidden; display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; width: 100%; padding: 15px 18px 16px 16px; text-align: left; border: 1px solid var(--c-line); border-radius: 16px; background: transparent; color: var(--c-ink); font: inherit; cursor: pointer; transition: background-color var(--dur-fast), box-shadow var(--dur-fast), border-color var(--dur-fast); }
.tcard:hover { background: var(--c-paper-alt); }
.tcard[aria-selected="true"] { background: var(--c-paper); border-color: transparent; box-shadow: var(--shadow-m); }
.tcard[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c-accent); }
.tcard__n { padding-top: 3px; color: var(--c-ink-soft); font: 800 13px/1 var(--font-display); letter-spacing: 0.04em; }
.tcard[aria-selected="true"] .tcard__n { color: var(--c-accent-text); }
.tcard__body { display: grid; gap: 3px; min-width: 0; }
.tcard__when { font: 700 18px/1.25 var(--font-display); color: var(--c-ink); }
.tcard__svc { font: 600 13.5px/1.3 var(--font-ui); color: var(--c-accent-text); }
.tcard__line { margin-top: 3px; font-size: 15px; line-height: 1.45; color: var(--c-ink-soft); }
.tcard__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--kit-fill, 0) * 100%); background: var(--c-accent); }
.tcard:focus-visible { outline: 2px solid var(--c-accent-text); outline-offset: 2px; }

/* ---------- Compare: drag a line between two sides (kit compare) ---------- */
.cmp { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-l); background: var(--c-brand-dark); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.cmp__side { position: absolute; inset: 0; overflow: hidden; }
.cmp .after { clip-path: inset(0 0 0 calc(var(--kit-v, 0.44) * 100%)); }
.cmp__photo { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.cmp .before .cmp__photo { filter: grayscale(0.92) contrast(0.92) brightness(0.96); }
.cmp__tag { position: absolute; top: 20px; z-index: 2; padding: 9px 13px; border-radius: 10px; font: 700 14px/1 var(--font-ui); letter-spacing: 0.01em; }
.before .cmp__tag { left: 20px; background: rgba(16, 24, 40, 0.72); color: var(--c-on-ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cmp__tag--gold { right: 20px; background: var(--c-paper); color: var(--c-ink); box-shadow: inset 0 0 0 1.5px var(--c-accent), var(--shadow-m); }
.cmp__cards { position: absolute; z-index: 2; bottom: 24px; width: 300px; margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.before .cmp__cards { left: 20px; }
.after .cmp__cards { right: 20px; }
.cmp__card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 10px; padding: 13px 15px; border-radius: 14px; font: 600 15px/1.3 var(--font-ui); }
.cmp__card b { font-weight: 600; }
.cmp__card--todo { grid-template-columns: 1fr; background: rgba(255, 255, 255, 0.8); color: var(--c-ink-soft); box-shadow: var(--shadow-s); }
.cmp__card--todo span { justify-self: start; padding: 3px 8px; border-radius: 6px; border: 1px dashed var(--c-line-strong); font: 600 12.5px/1.2 var(--font-ui); color: var(--c-ink-soft); }
.cmp__card--done { background: var(--c-paper); color: var(--c-ink); box-shadow: var(--shadow-m); }
.cmp__card--done .i-check { width: 26px; height: 26px; padding: 5px; box-sizing: border-box; border-radius: 50%; background: var(--c-accent); color: var(--c-on-accent); }
.cmp__card--done span { font: 700 13px/1 var(--font-ui); color: var(--c-accent-text); }
.cmp [data-kit-whole] { transition: opacity 0.2s, visibility 0s; }
.cmp [data-kit-under] { opacity: 0; transition: opacity 0.2s, visibility 0s 0.2s; }
.cmp input[type="range"] { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp .handle { position: absolute; top: 0; bottom: 0; left: calc(var(--kit-v, 0.44) * 100%); z-index: 4; width: 0; pointer-events: none; opacity: clamp(0, calc((min(var(--kit-v, 0.44), 1 - var(--kit-v, 0.44)) - 0.03) * 14), 1); }
.cmp input:focus-visible + .handle { opacity: 1; }
.handle__line { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--c-on-ink); box-shadow: 0 0 14px rgba(0, 0, 0, 0.35); }
.handle__knob { position: absolute; top: var(--knob-y, 104px); left: -25px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--c-accent); color: var(--c-on-accent); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.85), var(--shadow-l); }
.cmp input:focus-visible + .handle .handle__knob { outline: 2px solid var(--c-on-ink); outline-offset: 5px; }
.handle__hint { position: absolute; top: calc(var(--knob-y, 104px) + 60px); left: 0; transform: translateX(-50%); padding: 5px 11px; border-radius: 999px; background: rgba(16, 24, 40, 0.78); color: var(--c-on-ink); font: 600 13px/1 var(--font-ui); white-space: nowrap; }
.cmp[data-kit-touched] .handle__hint { display: none; }

/* ---------- The calculator (kit worth and its year) ---------- */
.worth { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius-l); background: var(--c-paper); box-shadow: var(--shadow-m); }
.worth__controls { display: grid; align-content: center; gap: 26px; padding: clamp(24px, 3.2vw, 44px); }
.worth__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.worth__label label { font: 600 16px/1.3 var(--font-ui); color: var(--c-ink); }
.worth__label output { font: 800 24px/1 var(--font-display); color: var(--c-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.worth__range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 2px 0 0; background: transparent; cursor: pointer; }
.worth__range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--c-accent) var(--kit-fill, 50%), var(--c-line) var(--kit-fill, 50%)); }
.worth__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--c-paper); border: 2px solid var(--c-accent); box-shadow: var(--shadow-m); }
.worth__range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--c-line); }
.worth__range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--c-accent); }
.worth__range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--c-paper); border: 2px solid var(--c-accent); box-shadow: var(--shadow-m); }
.worth__range:focus-visible { outline: 2px solid var(--c-accent-text); outline-offset: 2px; border-radius: 10px; }
.worth__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(197, 164, 109, 0.5), var(--shadow-m); }
.worth__range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(197, 164, 109, 0.5), var(--shadow-m); }
.worth__scale { display: flex; justify-content: space-between; margin-top: -4px; font: 500 13px/1 var(--font-ui); color: var(--c-ink-soft); }
.worth__note { padding-top: 16px; border-top: 1px solid var(--c-line); font-size: 14px; line-height: 1.5; color: var(--c-ink-soft); }
.worth__pic { position: relative; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; min-height: 470px; padding: clamp(24px, 3vw, 40px); background: var(--c-brand); color: var(--c-on-ink); }
.worth__title { color: var(--c-accent-on-ink); font: 700 15px/1.2 var(--font-ui); }
.worth__total { display: grid; gap: 6px; margin-top: 8px; }
.worth__total > b { font: 800 clamp(2.5rem, 1.6rem + 2.6vw, 3.75rem)/1 var(--font-display); letter-spacing: -0.025em; color: var(--c-on-ink); font-variant-numeric: tabular-nums; }
.worth__total > span { font-size: 16px; color: var(--c-on-ink-soft); }
.worth__total > span b { color: var(--c-on-ink); font-weight: 700; }
.worth__chart { position: relative; min-height: 220px; }
.worth__line { position: absolute; left: 0; right: 0; top: 0; bottom: 24px; width: 100%; height: calc(100% - 24px); overflow: visible; clip-path: inset(-12px calc((1 - var(--kit-year, 1)) * 100%) -12px -12px); }
.worth__path { fill: none; stroke: var(--c-accent); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 2px var(--c-brand)) drop-shadow(0 0 1px var(--c-brand)); }
/* the staircase rides above the months' tokens, a navy halo keeping it clear of them */
.worth__line { z-index: 2; }
.worth__area { fill: rgba(197, 164, 109, 0.12); stroke: none; }
.worth__months { position: relative; z-index: 1; height: 100%; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; align-items: end; }
.worth__month { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; }
.worth__tokens { display: flex; flex-wrap: wrap-reverse; justify-content: center; align-content: flex-start; gap: var(--tok-gap, 2px); width: 100%; max-width: 32px; opacity: 0; transform: translateY(10px); }
.worth__month[data-kit-on] .worth__tokens { opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 10px)); }
.worth__token { display: block; width: 8px; height: 8px; border-radius: 2.5px; background: var(--c-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
/* a month's tokens keep the chart's height: home.js sizes them (--tok) so the busiest month still fits its column */
.worth__tokens i { display: block; width: var(--tok, 8px); height: var(--tok, 8px); border-radius: calc(var(--tok, 8px) * 0.3); background: var(--c-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.worth__m { font: 600 13px/1 var(--font-ui); color: var(--c-on-ink-soft); }
.worth__key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13.5px; color: var(--c-on-ink-soft); }
.worth__key .worth__token { display: inline-block; }
.worth__key-line { display: inline-block; width: 22px; height: 3px; margin-left: 10px; border-radius: 3px; background: var(--c-accent); }
.worth__stop { top: 16px; right: 16px; }
.worth__chart { height: 220px; }
@media (max-width: 420px) {
  /* the label above its number, so a bigger number never wraps the row and the calculator keeps its height */
  .worth__label { flex-direction: column; align-items: flex-start; gap: 4px; }
  .worth__total > b { font-size: 2.15rem; }
}

/* ---------- A real review ---------- */
.review { margin: 0; padding: 22px 24px; }
.review__head { display: flex; align-items: center; gap: 10px; font: 600 13px/1 var(--font-ui); color: var(--c-ink-soft); }
.review blockquote { margin: 12px 0 10px; }
.review blockquote p { font-size: 16px; line-height: 1.6; color: var(--c-ink-2); }
.review figcaption { font: 600 15px/1.3 var(--font-ui); color: var(--c-ink); }

/* ---------- Photo tiles (who we help) ---------- */
.tiles { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 14px; }
.tile { position: relative; overflow: hidden; display: block; border-radius: var(--radius-m); background: var(--c-brand); color: var(--c-on-ink); text-decoration: none; isolation: isolate; }
.tile--big { grid-row: span 2; }
.tile__photo { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.tile:hover .tile__photo { transform: scale(1.035); }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 4px; padding: 64px 20px 18px; background: linear-gradient(0deg, rgba(11, 17, 32, 0.92) 0%, rgba(11, 17, 32, 0.62) 55%, rgba(11, 17, 32, 0) 100%); }
.tile__cap > b { font: 700 20px/1.2 var(--font-display); color: var(--c-on-ink); }
.tile__cap > span { font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.86); }
.tile--more { background: var(--c-brand); }
.tile--more .tile__cap { position: absolute; inset: auto 0 0 0; padding: 24px 22px 22px; background: none; }
.tile__feathers { position: absolute; right: -40px; top: -30px; width: 340px; height: auto; fill: var(--c-accent); opacity: 0.14; }
.tile__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--c-accent-on-ink) !important; font: 600 15px/1.2 var(--font-ui); }
.tile:focus-visible { outline: 3px solid var(--c-accent-text); outline-offset: 3px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 240px 240px; } .tile--big { grid-column: span 2; grid-row: auto; } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 230px; } .tile--big { grid-column: auto; } }

/* ==========================================================================================================
   Part 2: the inner pages' patterns (components.md, "Part 2 patterns"). None of these classes is on the home page.
   ========================================================================================================== */

/* ---------- Breadcrumbs ---------- */
.crumbs { position: relative; z-index: 5; font: 500 14px/1.3 var(--font-ui); color: var(--c-ink-soft); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.crumbs li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 10px 2px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.6; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--c-ink); font-weight: 600; }
.on-dark .crumbs { color: var(--c-on-ink-soft); }
.on-dark .crumbs a:hover, .on-dark .crumbs [aria-current] { color: var(--c-on-ink); }

/* ---------- The page header: its own picture, the words on the navy grade, a scene in glass ---------- */
.phead { position: relative; isolation: isolate; overflow: hidden; display: flex; min-height: clamp(640px, calc(100svh - var(--header-h)), 860px); background: var(--c-brand-dark); color: var(--c-on-ink); }
.phead__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--c-brand-dark); }
.phead__media > video, .phead__media > img, .phead__media > picture > img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.phead__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--grade-left); }
.phead__in { position: relative; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding-block: 36px 64px; }
.phead__copy { position: relative; z-index: 3; align-self: center; }
.phead .crumbs { margin-bottom: clamp(18px, 3vw, 34px); }
.phead__title { color: var(--c-on-ink); font: 800 var(--fs-h1)/1.04 var(--font-display); letter-spacing: var(--track-display); max-width: 16ch; }
.phead__line { margin: 18px 0 28px; max-width: 520px; color: rgba(255, 255, 255, 0.88); font-size: var(--fs-lead); line-height: 1.5; }
.phead__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.phead__note { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; font: 500 14px/1.4 var(--font-ui); color: var(--c-on-ink-soft); }
.phead__note > span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 11px 3px; border-radius: 50%; background: var(--c-accent); }
.phead__pic { position: relative; z-index: 2; justify-self: end; width: 100%; max-width: 600px; }
.phead__scene { position: relative; width: 100%; height: 520px; }
.phead__stop { right: var(--gutter); bottom: 22px; }
/* split: the words on navy at the left, the picture framed at the right and bleeding off the page's edge */
.phead--split { background: var(--c-brand); }
.phead--split .phead__media { left: 44%; top: 28px; bottom: 28px; border-radius: var(--radius-l) 0 0 var(--radius-l); }
.phead--split .phead__shade { left: calc(44% - 2px); top: 28px; bottom: 28px; border-radius: var(--radius-l) 0 0 var(--radius-l); background: linear-gradient(90deg, rgba(16, 24, 40, 0.55) 0%, rgba(16, 24, 40, 0) 34%); }
.phead--split .phead__feathers { position: absolute; left: -80px; bottom: -70px; z-index: -1; width: 620px; height: auto; opacity: 0.08; }
.phead--split .phead__in { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
@media (max-width: 1080px) { .phead__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .phead__scene { height: 480px; } }
@media (max-width: 900px) {
  .phead { display: block; min-height: 0; }
  .phead__in { display: block; padding-block: 24px 28px; }
  .phead__shade { background: linear-gradient(180deg, rgba(11, 17, 32, 0.9) 0%, rgba(11, 17, 32, 0.82) 38%, rgba(11, 17, 32, 0.38) 62%, rgba(11, 17, 32, 0.2) 100%); }
  .phead__title { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 2.9rem); }
  .phead__line { margin: 14px 0 22px; }
  .phead__pic { max-width: 560px; margin: 32px auto 0; }
  .phead__scene { height: 470px; }
  .phead__stop { top: 14px; bottom: auto; } /* in view with the header's footage as it first fills the phone */
  .phead--split .phead__media, .phead--split .phead__shade { left: 0; top: auto; bottom: 0; height: 560px; border-radius: 0; }
  /* split: the scene sits under the words, so its stop sits just under the scene, on the photo */
  .phead--split .phead__in { padding-bottom: 60px; }
  .phead--split .phead__stop { top: auto; bottom: 12px; }
}

/* ---------- A part on footage or a photo, full-bleed, its scene in glass and its words beside ---------- */
.bleed { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section-y); background: var(--c-brand-dark); color: var(--c-on-ink); }
.bleed__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.bleed__media > video, .bleed__media > img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.bleed__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(11, 17, 32, 0.88) 0%, rgba(11, 17, 32, 0.66) 38%, rgba(11, 17, 32, 0.22) 64%, rgba(11, 17, 32, 0.12) 100%); }
.bleed__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.bleed__words .head { margin-bottom: 0; }
.bleed__pic { position: relative; }
.bleed__scene { position: relative; width: 100%; height: 560px; }
.bleed__stop { top: 0; right: 0; }
.bleed--flip .bleed__shade { background: linear-gradient(270deg, rgba(11, 17, 32, 0.88) 0%, rgba(11, 17, 32, 0.66) 38%, rgba(11, 17, 32, 0.22) 64%, rgba(11, 17, 32, 0.12) 100%); }
.bleed--flip .bleed__words { order: 2; }
.bleed--flip .bleed__in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
@media (max-width: 900px) {
  .bleed { padding-block: 64px 40px; }
  .bleed__in, .bleed--flip .bleed__in { grid-template-columns: minmax(0, 1fr); }
  .bleed--flip .bleed__words { order: 0; }
  .bleed__shade, .bleed--flip .bleed__shade { background: linear-gradient(180deg, rgba(11, 17, 32, 0.9) 0%, rgba(11, 17, 32, 0.78) 40%, rgba(11, 17, 32, 0.4) 70%, rgba(11, 17, 32, 0.3) 100%); }
  .bleed__scene { height: 520px; }
}

/* ---------- A framed stage (photo or footage) with its scene in glass, the words beside; sides alternate ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split + .split { margin-top: clamp(56px, 7vw, 96px); }
.split--flip { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }
.split--flip > .split__words { order: 2; }
.split__words .head { margin-bottom: 0; }
.split__pic { height: clamp(480px, 44vw, 600px); }
.split__scene, .stage > .split__scene { position: absolute; z-index: 2; } /* two classes: a base scene's own [data-scene] rule sets position: relative */
.split__stop { top: 16px; left: 16px; }
.split__mark { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font: 700 14px/1 var(--font-ui); color: var(--c-accent-text); }
.split__mark b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c-ink); color: var(--c-accent-on-ink); font: 800 15px/1 var(--font-display); }
/* the services of a group, each its line and its link (Services) */
.svc-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.svc-list li { border-bottom: 1px solid var(--c-line); }
.svc-list a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; padding: 16px 2px; color: var(--c-ink); text-decoration: none; }
.svc-list b { font: 700 18px/1.3 var(--font-display); }
.svc-list span { grid-column: 1; font-size: 15px; line-height: 1.45; color: var(--c-ink-soft); }
.svc-list .i-arrow { grid-row: 1 / span 2; grid-column: 2; color: var(--c-accent-text); transition: transform var(--dur-fast) var(--ease-out); }
.svc-list a:hover b { text-decoration: underline; text-decoration-color: var(--c-accent); text-underline-offset: 4px; }
.svc-list a:hover .i-arrow { transform: translateX(3px); }
.on-dark .svc-list { border-color: rgba(255, 255, 255, 0.14); }
.on-dark .svc-list li { border-color: rgba(255, 255, 255, 0.14); }
.on-dark .svc-list a { color: var(--c-on-ink); }
.on-dark .svc-list span { color: var(--c-on-ink-soft); }
.on-dark .svc-list .i-arrow { color: var(--c-accent-on-ink); }
@media (max-width: 900px) {
  .split, .split--flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .split--flip > .split__words { order: 0; }
  .split__pic { height: 640px; }
}

/* ---------- The designed ground: navy, the wing's feathers in a corner, a soft light from the palette ---------- */
.ground { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section-y); background: var(--c-brand); color: var(--c-on-ink-soft); }
.ground::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 55% at 85% 0%, rgba(197, 164, 109, 0.14) 0%, rgba(197, 164, 109, 0) 70%), radial-gradient(50% 60% at 0% 100%, rgba(231, 211, 162, 0.07) 0%, rgba(231, 211, 162, 0) 70%); }
.ground__feathers { position: absolute; right: -60px; bottom: -40px; z-index: -1; width: min(900px, 90vw); height: auto; opacity: 0.08; }
.ground .head h2 { color: var(--c-on-ink); }
.ground .head p { color: var(--c-on-ink-soft); }
.ground__stage { position: relative; max-width: 1180px; margin: 0 auto; }
.ground__scene { position: relative; width: 100%; height: 560px; }
.ground__stop { top: -6px; right: 0; }
.ground .cta-row__line { color: var(--c-on-ink-soft); }

/* ---------- What it changes: two photos of one world, the day-turn scene over them ---------- */
.turn__stage { height: 560px; }
.turn__before, .turn__after { position: absolute; inset: 0; overflow: hidden; }
.turn__before img, .turn__after img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.turn__before img { filter: grayscale(0.72) contrast(0.94) brightness(0.92); }
.turn__before::after { content: ""; position: absolute; inset: 0; background: rgba(16, 24, 40, 0.16); }
.turn__after { clip-path: inset(0 100% 0 0); }
.turn__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(11, 17, 32, 0.72) 0%, rgba(11, 17, 32, 0.32) 30%, rgba(11, 17, 32, 0) 52%); }
.turn__scene { position: absolute; inset: 0; z-index: 2; }
.turn__stop { top: 18px; right: 18px; }
@media (max-width: 760px) {
  .turn__stage { height: 610px; } /* the two photos (330) and the three rows under them, no empty ground below */
  .turn__before, .turn__after { bottom: auto; height: 330px; }
  .turn__shade { display: none; }
  .turn__stop { top: 14px; right: 14px; }
}

/* ---------- What's included: each item with its own photo, its result chip on it (dm-chip) ---------- */
.incl__wrap { position: relative; }
.incl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--incl-n, var(--incl-count, 4)), minmax(0, 1fr)); /* the page's count (inline) until a narrower screen sets --incl-n */ gap: clamp(14px, 1.8vw, 22px); }
.incl--grid { --incl-n: 3; row-gap: 32px; }
.incl__card { display: grid; align-content: start; gap: 0; }
.incl__pic { position: relative; margin: 0; aspect-ratio: 4 / 3.1; overflow: hidden; border-radius: var(--radius-m); background: var(--c-brand-dark); isolation: isolate; }
.incl__pic > img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.incl__pic::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(11, 17, 32, 0.4) 0%, rgba(11, 17, 32, 0) 42%); }
.incl__chip { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 60px; z-index: 2; }
.incl__name { margin-top: 18px; font: 700 var(--fs-h3)/1.25 var(--font-display); color: var(--c-ink); letter-spacing: -0.01em; }
.incl__name a { color: inherit; text-decoration: none; }
.incl__name a:hover { text-decoration: underline; text-decoration-color: var(--c-accent); text-underline-offset: 4px; }
.incl__line { margin-top: 6px; font-size: 15.5px; line-height: 1.5; color: var(--c-ink-soft); }
.incl__stop { top: 10px; right: 10px; z-index: 3; }
@media (max-width: 1080px) { .incl, .incl--grid { --incl-n: 2; } }
@media (max-width: 600px) { .incl, .incl--grid { --incl-n: 1; row-gap: 28px; } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__grid .head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__list { border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; align-items: center; gap: 20px; padding: 22px 2px; font: 700 19px/1.35 var(--font-display); color: var(--c-ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--c-paper-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%23101828' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 50% 55% / 12px; transition: transform var(--dur-fast) var(--ease-out); }
.faq__item[open] summary::after { transform: rotate(180deg); background-color: var(--c-gold-light); }
.faq__item summary:hover { color: var(--c-ink-2); }
.faq__item summary:focus-visible { outline: 2px solid var(--c-accent-text); outline-offset: 2px; border-radius: 6px; }
.faq__a { padding: 0 48px 24px 2px; color: var(--c-ink-2); }
.faq__a p + p { margin-top: 10px; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: minmax(0, 1fr); } .faq__grid .head { position: static; } .faq__item summary { font-size: 17.5px; } .faq__a { padding-right: 8px; } }

/* ---------- The site's form in its own box (SPO's header, Who We Help's way in, Contact) ---------- */
.form-box { box-sizing: border-box; background: var(--c-paper); color: var(--c-ink); border-radius: var(--radius-m); padding: 22px 22px 20px; box-shadow: var(--shadow-l); }
.form-box .xform__step > .picker__legend { margin-bottom: 2px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choices > .field__error { grid-column: 1 / -1; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.choice__face { position: relative; display: flex; align-items: center; gap: 10px; min-height: 54px; box-sizing: border-box; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--c-line-strong); background: var(--c-paper); font: 600 15px/1.3 var(--font-ui); color: var(--c-ink); transition: border-color var(--dur-fast), background-color var(--dur-fast), color var(--dur-fast); }
.choice__face::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--c-line-strong); background: var(--c-paper); box-shadow: inset 0 0 0 4px var(--c-paper); transition: background-color var(--dur-fast), border-color var(--dur-fast); }
.choice:hover .choice__face { border-color: var(--c-ink); }
.choice input:focus-visible + .choice__face { outline: 2px solid var(--c-accent-text); outline-offset: 2px; }
.choice input:checked + .choice__face { border-color: var(--c-ink); background: var(--c-ink); color: var(--c-on-ink); }
.choice input:checked + .choice__face::before { border-color: var(--c-accent); background: var(--c-accent); box-shadow: inset 0 0 0 4px var(--c-ink); }
.xform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.xform__grid .field--wide { grid-column: 1 / -1; }
textarea.field__input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; font: inherit; }
@media (max-width: 520px) { .choices, .xform__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- The close of an inner page: its own shot, the words on the grade, the main button ---------- */
.pclose { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(88px, 10vw, 150px); background: var(--c-brand-dark); color: var(--c-on-ink); }
.pclose__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.pclose__media > video, .pclose__media > img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.pclose__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(11, 17, 32, 0.92) 0%, rgba(11, 17, 32, 0.78) 34%, rgba(11, 17, 32, 0.28) 58%, rgba(11, 17, 32, 0.1) 74%, rgba(11, 17, 32, 0.28) 100%); }
.pclose__in { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 40px; align-items: center; }
.pclose__title { color: var(--c-on-ink); font: 800 clamp(2.3rem, 1.3rem + 3vw, 3.75rem)/1.04 var(--font-display); letter-spacing: var(--track-display); }
.pclose__line { margin: 16px 0 28px; max-width: 480px; color: rgba(255, 255, 255, 0.88); font-size: var(--fs-lead); line-height: 1.5; }
.pclose__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.pclose__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--c-on-ink); font: 600 16px/1 var(--font-ui); text-decoration: none; }
.pclose__phone .i-phone { color: var(--c-accent); }
.pclose__pic { position: relative; justify-self: end; width: 100%; max-width: 420px; }
.pclose__scene { position: relative; width: 100%; height: 300px; }
.pclose__stop { right: var(--gutter); bottom: 22px; }
@media (max-width: 900px) {
  .pclose { padding-top: 320px; padding-bottom: 64px; }
  .pclose__shade { background: linear-gradient(180deg, rgba(11, 17, 32, 0.08) 0%, rgba(11, 17, 32, 0.2) 26%, rgba(11, 17, 32, 0.84) 46%, rgba(11, 17, 32, 0.94) 100%); }
  .pclose__in { grid-template-columns: minmax(0, 1fr); }
  .pclose__pic { position: absolute; top: 40px; left: var(--gutter); right: var(--gutter); width: auto; max-width: 400px; justify-self: stretch; align-self: start; } /* stretch: with justify-self end, the placed picture shrank to nothing */
  .pclose__scene { height: 240px; }
  .pclose__stop { bottom: auto; top: 18px; }
}
