/* design\components.css: EngageZing's components (design\components.md), on the tokens of system.css only. */

/* ---------- the page: light since 29 Oct (ice ground, navy words); navy only where footage or the brand's night sits ---------- */
*, *::before, *::after { box-sizing: border-box; }
body { background: var(--c-ground); color: var(--c-ink); }
body, button, input, select, textarea { font-family: var(--font-text); }
::selection { background: var(--c-azure); color: var(--c-night); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 3px; border-radius: 4px; }
:is(.site-header, .site-footer, .band--footage, .band--night, .band--night2, .hero, .exit, .callbar, .plan__stage, .ocard, .calc__year) :focus-visible { outline-color: var(--c-accent); }
main { display: block; overflow-x: clip; }
h1, h2, h3, .h-display { font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 700; line-height: var(--lh-head); letter-spacing: -0.012em; margin: 0; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.005em; }
p { margin: 0; }
.lead { font-size: var(--fs-lead); color: var(--c-ink-soft); max-width: 40em; text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max-w)); margin-inline: auto; }

/* ---------- bands: the ground of each part (ice by default; footage and night carry light words) ---------- */
.band { position: relative; padding-block: var(--section-y); background: var(--c-ground); color: var(--c-ink); }
.band--ice { background: var(--c-ground); }
.band--night { background: var(--c-night); color: var(--c-mist); } /* the brand's navy, Joe's swatch for the compare: its line in ice too */
.band--night .lead { color: var(--c-mist); }
.band--night2 { background: var(--c-night-2); color: var(--c-mist); }
/* the rotation (2 Nov): medium is an azure band, navy words, links and notes (7.9:1) */
.band--azure { background: var(--c-azure); color: var(--c-ink); }
.band--azure .lead, .band--azure .cta-note { color: var(--c-ink); }
.band--azure .cta-note svg { color: var(--c-ink); }
.band--azure .text-link { color: var(--c-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.band--azure :focus-visible { outline-color: var(--c-ink); }
.band--night .cta-note { color: var(--c-mist-soft); }
.band--night .cta-note svg { color: var(--c-go); }
.band--night .text-link { color: var(--c-azure); }
/* the designed ground: the logo's four bars as a faint texture in a corner of the band, never one flat fill */
.ground--signal { isolation: isolate; overflow: hidden; }
.ground--signal::before { content: ""; position: absolute; z-index: -1; right: -3%; bottom: -8%; width: min(48vw, 640px); aspect-ratio: 1; pointer-events: none; background: color-mix(in srgb, var(--c-ink) 7%, transparent); -webkit-mask: var(--mark-bars) center / contain no-repeat; mask: var(--mark-bars) center / contain no-repeat; }
.band--azure.ground--signal::before { background: color-mix(in srgb, var(--c-ink) 9%, transparent); }
.band--night.ground--signal::before { background: color-mix(in srgb, var(--c-azure) 13%, transparent); }
.ground--signal > .wrap { position: relative; }
.band--footage { isolation: isolate; overflow: hidden; background: var(--c-night); color: var(--c-mist); }
:is(.band--footage, .band--night2) .lead { color: var(--c-mist-soft); }
.band__video, .band__photo { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; z-index: -2; } /* 1 px past the navy band (kit.md, Video) */
.band__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--c-shade), 0.92) 0%, rgba(var(--c-shade), 0.78) 45%, rgba(var(--c-shade), 0.4) 100%); }
.sec-head { display: grid; gap: var(--space-3); margin-bottom: clamp(2rem, 1.2rem + 2.5vw, 3.5rem); max-width: 46rem; }

/* ---------- buttons: the main button (Joe's green, navy words: a green light to go) and quiet links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 52px; padding: 0.7em 1.5em; border-radius: var(--radius-s); font-family: var(--font-display); font-stretch: 100%; font-weight: 650; font-size: 1.0625rem; letter-spacing: 0.005em; text-decoration: none; cursor: pointer; border: 0; transition: background-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.btn--main { background: var(--c-go); color: var(--c-on-go); box-shadow: 0 10px 28px -12px rgba(30, 143, 30, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 0 rgba(3, 15, 43, 0.14); }
.btn--main:hover { background: var(--c-go-hover); box-shadow: 0 14px 34px -12px rgba(55, 202, 55, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 0 rgba(3, 15, 43, 0.14); }
.btn--main:active { transform: translateY(1px); }
.btn--small { min-height: 44px; padding: 0.5em 1.1em; font-size: 1rem; }
.btn__arrow { flex: none; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.cta-note { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; font-size: var(--fs-ui); color: var(--c-ink-soft); }
.cta-note span { display: inline-flex; align-items: center; gap: 0.4em; }
.cta-note svg { color: var(--c-go-deep); }
:is(.band--footage, .band--night2, .hero, .picker, .exit) .cta-note { color: var(--c-mist-soft); }
:is(.band--footage, .band--night2, .hero, .picker, .exit) .cta-note svg { color: var(--c-go); }
.text-link { color: var(--c-brand-text); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4em; }
:is(.band--footage, .band--night2, .ocard) .text-link { color: var(--c-azure); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
[data-planned].text-link, [data-planned] { opacity: 0.75; }

/* ---------- the clients picker ---------- */
.picker { display: grid; gap: var(--space-3); padding: clamp(1.1rem, 0.8rem + 1vw, 1.6rem); border-radius: var(--radius-m); background: var(--c-glass); border: 1px solid var(--c-glass-line); box-shadow: var(--shadow-l), inset 0 1px 0 rgba(255, 255, 255, 0.07); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); max-width: 34rem; }
.picker__intro { font-size: var(--fs-small); color: var(--c-mist); font-weight: 600; }
.picker__set { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 0.6rem; }
.picker__legend { padding: 0; font-family: var(--font-display); font-stretch: 100%; font-weight: 600; font-size: 1.0625rem; color: var(--c-mist); margin-bottom: 0.6rem; }
.picker__choices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; }
.picker__choice { position: relative; display: block; }
.picker__choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.picker__choice span { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--radius-s); border: 1px solid rgba(224, 244, 255, 0.24); background: rgba(224, 244, 255, 0.06); font-family: var(--font-display); font-stretch: 100%; font-weight: 650; font-size: 1.125rem; color: var(--c-mist); transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.picker__choice:hover span { border-color: rgba(99, 196, 255, 0.7); background: rgba(51, 176, 255, 0.12); }
.picker__choice input:checked + span { background: rgba(0, 197, 251, 0.16); border-color: var(--c-accent); box-shadow: var(--glow-s); }
.picker__choice input:focus-visible + span { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.picker__btn { width: 100%; }

/* ---------- the stop icon (one per moving part) ---------- */
.stop { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-glass-line); background: rgba(3, 15, 43, 0.55); color: var(--c-mist); cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color var(--dur-fast) var(--ease-out); }
.stop:hover { background: rgba(18, 36, 90, 0.85); }
.band:not(.band--footage, .band--night2) > .stop, .who__stop { background: var(--c-paper); color: var(--c-ink); border-color: var(--c-ground-line); box-shadow: var(--shadow-s); }
.band:not(.band--footage, .band--night2) > .stop:hover, .who__stop:hover { background: var(--c-ground-deep); }
.stop .stop__play { display: none; }
.stop[aria-pressed="true"] .stop__play { display: inline; }
.stop[aria-pressed="true"] .stop__pause { display: none; }
.stop--corner { position: absolute; right: var(--gutter); bottom: var(--gutter); z-index: 5; }

/* ---------- glass: a card over footage ---------- */
.glass { background: var(--c-glass); border: 1px solid var(--c-glass-line); border-radius: var(--radius-m); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); }
.signal-icon { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--g-signal); color: var(--c-on-brand); box-shadow: 0 6px 18px -6px rgba(0, 197, 251, 0.8); }

/* ---------- the header: a solid night bar ---------- */
.skip { background: var(--c-azure); color: var(--c-night); padding: 0.6em 1em; border-radius: var(--radius-s); font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(3, 15, 43, 0.94); border-bottom: 1px solid var(--c-night-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header__in { display: flex; align-items: center; gap: clamp(0.75rem, 0.3rem + 1.4vw, 2rem); height: var(--header-h); width: min(100% - 2 * var(--gutter), 1360px); margin-inline: auto; }
.site-header__logo { display: block; flex: none; line-height: 0; }
.site-header__logo img { height: 42px; width: auto; }
.site-header__nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(0.25rem, 0.1rem + 0.8vw, 1.4rem); list-style: none; margin: 0; padding: 0; }
.nav__item a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 0.35rem; color: var(--c-mist-soft); text-decoration: none; font-weight: 600; font-size: 1rem; border-bottom: 2px solid transparent; transition: color var(--dur-fast) var(--ease-out); }
.nav__item a:hover { color: var(--c-mist); }
.nav__item a[aria-current="page"] { color: var(--c-mist); border-bottom-color: var(--c-accent); }
/* Services (5 Nov; 8 Nov, Joe: "when you click services, the menu quickly disappears"): the word Services is a button
   that opens a panel of the 15 service pages (two columns) and keeps it open until it is pressed again, a click or tap
   lands outside it, Escape is pressed or the focus leaves it (core.js, menus()). No hover: a panel that hover opens
   closes as the pointer leaves, and a click on it went to the Services page. The panel's first link, "All services",
   goes to the Services page. Shown by its button's aria-expanded alone (no :has, no :hover, no :focus-within). */
.nav__item--group { position: relative; }
.nav__group { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 44px; margin: 0; padding: 0 0.35rem; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--c-mist-soft); font: 600 1rem/1.2 var(--font-ui); cursor: pointer; transition: color var(--dur-fast) var(--ease-out); }
.nav__group:hover, .nav__group[aria-expanded="true"] { color: var(--c-mist); }
.nav__group[data-current] { color: var(--c-mist); border-bottom-color: var(--c-accent); }
.nav__group svg { flex: none; transition: transform var(--dur-fast) var(--ease-out); }
.nav__group[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__sub { position: absolute; top: 100%; left: -1rem; display: none; grid-template-columns: repeat(2, minmax(15rem, 1fr)); gap: 0 1rem; width: max-content; margin: 0; padding: 0.75rem; list-style: none; background: var(--c-night); border: 1px solid var(--c-night-line); border-radius: var(--radius-s); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.nav__group[aria-expanded="true"] + .nav__sub { display: grid; }
.nav__sub-all { grid-column: 1 / -1; border-bottom: 1px solid var(--c-night-line); margin-bottom: 0.25rem; }
.nav__sub a { display: flex; align-items: center; min-height: 40px; padding-inline: 0.6rem; border-radius: 8px; border-bottom: 0; font-size: 0.95rem; color: var(--c-mist-soft); white-space: nowrap; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { color: var(--c-mist); background: var(--c-night-line); }
.nav__phone { display: none; }
.site-header__phone { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; color: var(--c-mist); text-decoration: none; font-weight: 600; font-size: 1rem; white-space: nowrap; }
.site-header__phone svg { color: var(--c-accent); }
.site-header__phone:hover span { text-decoration: underline; text-underline-offset: 4px; }
.site-header__cta { flex: none; white-space: nowrap; }
.site-header__menu { display: none; flex: none; width: 44px; height: 44px; border-radius: var(--radius-s); border: 1px solid var(--c-glass-line); background: transparent; color: var(--c-mist); cursor: pointer; }
.site-header__menu-bars { display: grid; gap: 4px; justify-items: center; }
.site-header__menu-bars i { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast); }
.site-header[data-open] .site-header__menu-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .site-header__menu-bars i:nth-child(2) { opacity: 0; }
.site-header[data-open] .site-header__menu-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1180px) { .site-header__in > .site-header__phone span { display: none; } }
@media (max-width: 980px) {
  .site-header__menu { display: inline-grid; place-items: center; order: 3; }
  .site-header__cta { margin-left: auto; }
  .site-header__in > .site-header__phone { display: none; }
  .site-header__nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: var(--space-3) var(--gutter) var(--space-4); background: var(--c-night); border-bottom: 1px solid var(--c-night-line); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
  .site-header[data-open] .site-header__nav { display: block; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__item a { width: 100%; min-height: 52px; font-size: 1.125rem; border-bottom: 1px solid var(--c-night-line); }
  .nav__item a[aria-current="page"] { border-bottom-color: var(--c-accent); }
  .nav__phone { display: block; padding-top: var(--space-3); }
  /* the phone and tablet menu: Services is an accordion, the whole row its button */
  .site-header__nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav__group { justify-content: space-between; width: 100%; min-height: 52px; padding-inline: 0.35rem 1rem; font-size: 1.125rem; text-align: left; border-bottom: 1px solid var(--c-night-line); }
  .nav__group[data-current] { border-bottom-color: var(--c-accent); }
  .nav__sub { position: static; width: auto; padding: 0.25rem 0 0.5rem 0.75rem; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .nav__group[aria-expanded="true"] + .nav__sub { display: block; }
  .nav__sub a { min-height: 44px; font-size: 1rem; white-space: normal; }
}
@media (max-width: 520px) {
  .site-header__logo img { height: 34px; }
  .site-header__cta { display: none; }
  .site-header__menu { margin-left: auto; }
}

/* ---------- the footer ---------- */
.site-footer { background: var(--c-night); border-top: 1px solid var(--c-night-line); padding-top: clamp(3rem, 2rem + 3vw, 5rem); }
.site-footer__in { width: min(100% - 2 * var(--gutter), var(--max-w)); margin-inline: auto; display: grid; grid-template-columns: 1.2fr 0.8fr 2.1fr 1.1fr; gap: clamp(2rem, 1rem + 2.5vw, 3.5rem); }
.site-footer__logo img { height: 46px; width: auto; }
.site-footer__line { margin-top: var(--space-3); color: var(--c-mist-soft); max-width: 22rem; font-size: var(--fs-small); }
.site-footer__cta { margin-top: var(--space-4); }
.site-footer__title { font-family: var(--font-display); font-stretch: 100%; font-weight: 650; font-size: 1rem; color: var(--c-mist); margin-bottom: var(--space-3); }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.site-footer__col a, .site-footer__contact > a { display: inline-flex; min-height: 40px; align-items: center; color: var(--c-mist-soft); text-decoration: none; font-size: var(--fs-small); }
.site-footer__col a:hover, .site-footer__contact > a:hover { color: var(--c-mist); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__contact { display: grid; align-content: start; justify-items: start; }
/* the nine channels (8 Nov, with the blog): three to a row on the computer, as on the tablet, so none stands alone */
@media (min-width: 981px) { .site-footer__contact .social { max-width: calc(3 * 44px + 2 * 0.5rem); } }
.site-footer__contact address { font-style: normal; color: var(--c-mist-soft); font-size: var(--fs-small); padding-block: 0.5rem; }
.social { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.social__link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--c-night-line); color: var(--c-mist-soft); transition: color var(--dur-fast), border-color var(--dur-fast), background-color var(--dur-fast); }
.social__link:hover { color: var(--c-night); background: var(--c-azure); border-color: var(--c-azure); }
.site-footer__legal { width: min(100% - 2 * var(--gutter), var(--max-w)); margin: clamp(2.5rem, 1.5rem + 3vw, 4rem) auto 0; padding-block: var(--space-4); border-top: 1px solid var(--c-night-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); color: var(--c-mist-soft); font-size: var(--fs-ui); }
.site-footer__legal ul { list-style: none; display: flex; gap: var(--space-4); margin: 0; padding: 0; }
.site-footer__legal a { color: var(--c-mist-soft); display: inline-flex; min-height: 40px; align-items: center; }
/* the 15 service pages (Joe, 4 Nov): one list in two columns, read down; across the footer on a tablet, in three */
.site-footer__col--services ul { display: block; columns: 2; column-gap: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.site-footer__col--services li { break-inside: avoid; }
.site-footer__col--services a { min-height: 36px; padding-block: 0.3rem; line-height: 1.3; }
@media (max-width: 980px) { .site-footer__in { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } .site-footer__col--services { grid-column: 1 / -1; grid-row: 2; } .site-footer__col--services ul { columns: 3; } }
@media (max-width: 760px) { .site-footer__col--services ul { columns: 2; } }
@media (max-width: 560px) { .site-footer__in { grid-template-columns: 1fr; } .site-footer__legal { padding-bottom: 6rem; } }

/* ---------- the exit popup ---------- */
.exit { margin: auto; padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: min(100% - 2rem, 34rem); color: var(--c-mist); }
.exit::backdrop { background: rgba(1, 6, 20, 0.72); backdrop-filter: blur(4px); }
.exit__in { position: relative; display: grid; gap: var(--space-3); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-radius: var(--radius-l); background: radial-gradient(120% 80% at 100% 0%, rgba(18, 109, 238, 0.35), transparent 60%), var(--c-night-2); border: 1px solid var(--c-glass-line); box-shadow: var(--shadow-l); opacity: 0; transform: translateY(14px) scale(0.98); transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out); }
.exit[data-kit-on] .exit__in { opacity: 1; transform: none; }
.exit__signal { display: inline-flex; align-items: flex-end; gap: 4px; height: 26px; }
.exit__signal i { width: 9px; border-radius: 3px; background: var(--g-signal); }
.exit__signal i:nth-child(1) { height: 30%; } .exit__signal i:nth-child(2) { height: 55%; } .exit__signal i:nth-child(3) { height: 78%; } .exit__signal i:nth-child(4) { height: 100%; background: var(--c-accent); box-shadow: 0 0 14px var(--c-glow); }
.exit__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); padding-right: 2.5rem; }
.exit__line { color: var(--c-mist-soft); }
.picker--exit { max-width: none; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.exit__close { position: absolute; top: 0.85rem; right: 0.85rem; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--c-glass-line); background: transparent; color: var(--c-mist); cursor: pointer; }
.exit__close:hover { background: rgba(224, 244, 255, 0.08); }
html[data-kit-modal] { overflow: hidden; }

/* ---------- the call bar on the phone ---------- */
.callbar { position: fixed; left: 0.75rem; right: 0.75rem; bottom: max(0.75rem, env(safe-area-inset-bottom)); z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.5rem; padding: 0.5rem; border-radius: var(--radius-m); background: rgba(10, 26, 68, 0.92); border: 1px solid var(--c-glass-line); box-shadow: var(--shadow-l); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); visibility: hidden; transform: translateY(calc(100% + 1.5rem)); transition: transform var(--dur-med) var(--ease-out), visibility 0s linear var(--dur-med); }
.callbar[data-kit-on] { visibility: visible; transform: none; transition: transform var(--dur-med) var(--ease-out), visibility 0s; }
.callbar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--radius-s); font-family: var(--font-display); font-stretch: 100%; font-weight: 650; text-decoration: none; font-size: 1rem; }
.callbar__call { color: var(--c-mist); border: 1px solid var(--c-glass-line); }
.callbar__cta { background: var(--c-go); color: var(--c-on-go); }
@media (min-width: 900px) { .callbar { display: none; } }

/* ---------- the FAQ ---------- */
.faq-list { display: grid; gap: 0.75rem; }
.faq-list details { border-radius: var(--radius-m); background: var(--c-paper); border: 1px solid var(--c-line); box-shadow: var(--shadow-s); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; min-height: 44px; font-family: var(--font-display); font-stretch: 100%; font-weight: 650; font-size: 1.15rem; color: var(--c-ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--c-brand-text); border-bottom: 2.5px solid var(--c-brand-text); transform: rotate(45deg) translate(-2px, -2px); transition: transform var(--dur-fast) var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-list details > :not(summary) { padding: 0 1.35rem 1.25rem; color: var(--c-ink-soft); max-width: 44rem; }

/* ---------- Part 2 (2 Nov): the inner pages' shared patterns (design\components.md, "Patterns for Part 2") ---------- */
/* a framed picture on a band: its clip or photo 1 px past its box (kit.md, Video), its scene in glass over it */
.frame { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-l); background: var(--c-night-2); box-shadow: var(--shadow-lift); }
.band--night .frame { box-shadow: 0 0 0 1px var(--c-night-line), 0 30px 70px -30px rgba(0, 0, 0, 0.6); }
.frame__media { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.frame .frame__scene { position: absolute; z-index: 1; } /* two classes: a scene's own style, injected later, sets position: relative */

/* the inner headers */
.ihero h1 { font-size: var(--fs-h1); line-height: var(--lh-head); text-wrap: balance; }
.ihero .lead { margin-top: 1rem; }
.ihero__cta { display: grid; justify-items: start; gap: 0.85rem; margin-top: 1.75rem; }
.band--night .ihero__cta .cta-note, .band--footage .ihero__cta .cta-note { color: var(--c-mist-soft); }

/* a section's words beside or above its picture */
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-cta { display: grid; justify-items: start; gap: 0.85rem; margin-top: 1.5rem; }
.sec-head--center + .sec-cta, .sec-cta--center { justify-items: center; }

/* the services of a group, each its name and one line, marked by the logo's bars */
.svc-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.95rem; }
.svc-list li { position: relative; display: grid; gap: 0.15rem; padding-left: 2rem; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 0.2rem; width: 1.15rem; height: 1.15rem; background: var(--g-signal); -webkit-mask: var(--mark-bars) center / contain no-repeat; mask: var(--mark-bars) center / contain no-repeat; }
.svc-list b { font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 650; font-size: 1.15rem; line-height: 1.25; }
.svc-list span { color: var(--c-ink-soft); font-size: 1.0625rem; }
:is(.band--night, .band--footage, .glass) .svc-list span { color: var(--c-mist-soft); }
.band--azure .svc-list span { color: var(--c-ink); }
.band--azure .svc-list li::before { background: var(--c-ink); }
/* a service's title as the link to its own page (Joe, 4 Nov): underlined, thicker on hover */
.svc-link { color: inherit; text-decoration: underline; text-decoration-color: var(--c-brand); text-decoration-thickness: 2px; text-underline-offset: 0.22em; transition: text-decoration-color var(--dur-fast) var(--ease-out); }
.svc-link:hover { text-decoration-thickness: 3px; text-decoration-color: currentColor; }
:is(.band--night, .band--footage, .glass) .svc-link { text-decoration-color: var(--c-azure); }
.band--azure .svc-link { text-decoration-color: var(--c-ink); }
.svc-link[data-planned] { text-decoration: none; }
/* the same as white cards in a row */
.svc-cards { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.svc-cards li { display: grid; align-content: start; gap: 0.35rem; padding: 1.25rem 1.35rem 1.35rem; border-radius: var(--radius-m); background: var(--c-paper); color: var(--c-ink); box-shadow: var(--shadow-s); }
.svc-cards li::before { content: ""; width: 1.4rem; height: 1.4rem; margin-bottom: 0.35rem; background: var(--g-signal); -webkit-mask: var(--mark-bars) center / contain no-repeat; mask: var(--mark-bars) center / contain no-repeat; }
.svc-cards b { font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 650; font-size: 1.15rem; line-height: 1.25; }
.svc-cards span { color: var(--c-ink-soft); font-size: 1rem; }

/* a glass card that fills line by line over a photo (the kit's sequence with its hold) */
.seq { display: grid; gap: 0.5rem; padding: 1rem 1.1rem; color: var(--c-mist); }
.seq [data-kit-at] { display: flex; align-items: center; gap: 0.6rem; font-size: 1rem; line-height: 1.3; opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 10px)); }
.seq [data-kit-at]:first-child { font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 650; font-size: 1.1rem; }
.seq [data-kit-at] i { flex: none; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--c-azure); }
.seq [data-kit-at] i.bad { background: var(--c-mist-soft); }
.seq [data-kit-at] i.good { background: var(--c-go); }

/* a section with questions: the words beside the list */
.pfaq__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.pfaq__side { display: grid; gap: 1rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.pfaq__side h2 { font-size: var(--fs-h2); line-height: var(--lh-head); }
@media (max-width: 900px) { .pfaq__grid { grid-template-columns: 1fr; } .pfaq__side { position: static; } }

/* the closes of Part 2: footage full width, a navy shade only behind the words */
.pclose { padding-block: clamp(5rem, 3.5rem + 6vw, 9rem); }
.pclose__shade { background: linear-gradient(90deg, rgba(var(--c-shade), 0.94) 0%, rgba(var(--c-shade), 0.84) 36%, rgba(var(--c-shade), 0.3) 60%, rgba(var(--c-shade), 0) 78%); }
.pclose--right .pclose__shade { background: linear-gradient(270deg, rgba(var(--c-shade), 0.94) 0%, rgba(var(--c-shade), 0.84) 36%, rgba(var(--c-shade), 0.3) 60%, rgba(var(--c-shade), 0) 78%); }
.pclose__in { display: grid; grid-template-columns: minmax(0, 34rem) minmax(0, 1fr); }
.pclose--right .pclose__in { grid-template-columns: minmax(0, 1fr) minmax(0, 34rem); }
.pclose--right .pclose__words { grid-column: 2; }
.pclose__words h2 { font-size: clamp(2.1rem, 1.3rem + 2.4vw, 3.2rem); line-height: var(--lh-head); text-wrap: balance; }
.pclose__words .lead { margin-top: 1rem; color: var(--c-mist); }
@media (max-width: 760px) {
  .pclose { padding-top: 0; }
  .pclose :is(.band__video, .band__photo) { inset: -1px -1px auto; height: 19rem; }
  .pclose__shade, .pclose--right .pclose__shade { inset: 0 0 auto; height: 19rem; background: linear-gradient(180deg, rgba(var(--c-shade), 0) 0%, rgba(var(--c-shade), 0.25) 55%, rgba(var(--c-shade), 1) 100%); }
  .pclose__in, .pclose--right .pclose__in { grid-template-columns: 1fr; padding-top: 17rem; }
  .pclose--right .pclose__words { grid-column: 1; }
}

/* the kit's rotation inside an inner page's frame or band (kit.md, "The header"): clips of one world taking turns,
   for a header whose clip does not loop seamlessly; each arriving clip starts from its beginning */
.rot { position: absolute; inset: 0; z-index: 0; overflow: hidden; } /* its own layer: the slides' z-index stays under the scene over them */
.rot [data-kit-slide] { position: absolute; inset: 0; margin: 0; visibility: hidden; overflow: hidden; }
.rot [data-kit-slide][data-kit-on] { visibility: visible; z-index: 2; opacity: var(--kit-move, 1); transform: translateX(var(--kit-glide, calc((1 - var(--kit-move, 1)) * 4%))); }
.rot:not(:has([data-kit-slide][data-prev])) [data-kit-slide][data-kit-on] { transform: none; opacity: 1; }
.rot [data-kit-slide][data-prev] { visibility: visible; z-index: 1; opacity: clamp(0, (1 - var(--kit-move, 0)) * 1000, 1); }
.rot:not(:has([data-kit-slide][data-kit-on])) [data-kit-slide]:first-child { visibility: visible; }
.rot [data-kit-slide] video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; clip-path: inset(2px); }
.rot [data-kit-slide] video[data-kit-shown] { clip-path: none; }

/* a photo that moves: it closes in slowly while its part passes through the screen (tied to the scroll, so it never
   moves by itself and needs no stop icon); still where the browser has no scroll timeline, or under reduced motion */
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.12); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) { .drift { animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; } }
}
@media (max-width: 760px) { .chapter--bleed .drift, .pclose .drift { animation: none; } } /* a strip photo stays still: closing in would push it past its shade */

/* the inner header, split: the words beside a framed stage */
.ihero--split { padding-block: calc(var(--header-h) + clamp(2.5rem, 1.5rem + 3vw, 4.5rem)) clamp(3.5rem, 2rem + 4vw, 6rem); }
.ihero__grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(2rem, 1rem + 3.5vw, 4.5rem); align-items: center; }
.ihero__stage { aspect-ratio: 16 / 11; }
@media (max-width: 900px) { .ihero__grid { grid-template-columns: 1fr; } .ihero__stage { aspect-ratio: 4 / 3.4; } }

/* a chapter: its words and its services with a framed picture and the product working over it */
.chapter__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 3.5vw, 4.5rem); align-items: start; }
.chapter__words h2 { font-size: var(--fs-h2); line-height: var(--lh-head); text-wrap: balance; }
.chapter__words .lead { margin-top: 1rem; }
.panel { padding: 1.35rem 1.5rem 1.5rem; color: var(--c-mist); }
.panel .svc-list { margin-top: 0; gap: 0.8rem; }
.panel .svc-list b { font-size: 1.05rem; color: #fff; }
.panel .svc-list span { font-size: 0.975rem; }
@media (max-width: 900px) { .chapter__grid { grid-template-columns: 1fr; } }

/* before and after: the same moment, two endings */
.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 0.5rem + 2vw, 2rem); }
.ba__side { margin: 0; aspect-ratio: 4 / 3.3; }
.ba__tag { position: absolute; z-index: 2; left: 1rem; top: 1rem; padding: 0.4rem 0.8rem; border-radius: 999px; font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 650; font-size: 0.95rem; }
.ba__side--before .ba__tag { background: rgba(var(--c-shade), 0.82); color: var(--c-mist); }
.ba__side--after .ba__tag { background: var(--c-go); color: var(--c-ink); }
.ba__card { position: absolute; z-index: 1; left: 1rem; bottom: 1rem; width: min(20rem, calc(100% - 2rem)); }
@media (max-width: 760px) { .ba { grid-template-columns: 1fr; } }

/* two extras side by side, level (Joe, 4 Nov: the same top, their titles on one line), each with a small card landing
   on its picture; the card denser than the glass elsewhere, so every line reads on a bright photo */
.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 0.5rem + 3vw, 3rem); align-items: start; }
.extra__pic { aspect-ratio: 4 / 4.4; }
.extra__card { position: absolute; z-index: 1; right: 1rem; bottom: 1rem; width: min(17.5rem, calc(100% - 2rem)); background: rgba(var(--c-shade), 0.84); }
.extra h3 { margin-top: 1.25rem; font-size: var(--fs-h3); line-height: 1.2; }
.extra p { margin-top: 0.4rem; max-width: 30em; }
@media (max-width: 760px) { .extras { grid-template-columns: 1fr; } }

/* a part's stop icon in the corner of its picture (every inner page) */
.svc-stop { position: absolute; z-index: 4; }
.svc-stop--top { top: 0.85rem; right: 0.85rem; }

/* a signature scene on the designed ground */
.sig__stage { position: relative; margin-top: clamp(0.5rem, 0rem + 1.5vw, 1.5rem); }

/* a framed photo with a scene over it, on a phone: the photo a tall strip, its faces in the top --strip, the scene in
   the flow over the rest, its stop just above it (the page sets each photo's object-position) */
@media (max-width: 900px) {
  .frame.frame--strip { aspect-ratio: auto; height: auto; min-height: 0; padding: var(--strip, 18rem) 0.75rem 0.75rem; } /* two classes: over a page's own ratio */
  .frame.frame--strip > .frame__scene { position: relative; inset: auto; width: auto; }
  .frame.frame--strip > .strip__stop { inset: calc(var(--strip, 18rem) - 44px - 0.5rem) 0.85rem auto auto; }
}

/* a centered button's note: its lines centered too once it wraps on a phone */
:is(.sec-cta--center, .sec-head--center + .sec-cta) .cta-note { justify-content: center; }

/* the service pages (fix round 4 Nov, R28; src\pages\_svc.mjs; components.md, "The service pages"): one shape for
   fifteen pages, each with its own photos, scenes and words. A photo's crop comes with it: --pos, and --pos-m on the
   phone, where a framed photo becomes a strip (--strip tall) with its scene under its faces. */
.svc-page :is(.frame__media, .band__photo, .band__video) { object-position: var(--pos, 50% 50%); }
.shero { padding-block: calc(var(--header-h) + clamp(2rem, 1rem + 3vw, 4rem)) clamp(3.5rem, 2rem + 4vw, 6rem); overflow-x: clip; }
.shero__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: center; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; font-family: var(--font-ui); font-weight: 600; font-size: 0.95rem; color: var(--c-mist-soft); }
.crumb a { color: var(--c-azure); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.shero h1 { font-size: var(--fs-h1); line-height: var(--lh-head); text-wrap: balance; }
.shero .lead { margin-top: 1rem; }
.shero__media { height: clamp(36rem, 30rem + 8vw, 42rem); margin-right: calc((min(100vw - 2 * var(--gutter), var(--max-w)) - 100vw) / 2); border-radius: var(--radius-l) 0 0 var(--radius-l); }
.shero__scene, .sees__scene { width: min(25rem, calc(100% - 2rem)); }
.sees__scene { width: min(23rem, calc(100% - 2rem)); }
.shero__scene--bl, .sees__scene--bl { left: 1rem; bottom: 1rem; }
.shero__scene--tl, .sees__scene--tl { left: 1rem; top: 1rem; }
.shero__scene--br, .sees__scene--br { right: 1.5rem; bottom: 1rem; }
.shero__scene--tr, .sees__scene--tr { right: 1.5rem; top: 1rem; }
.shero__host, .sees__host { width: 100%; height: 100%; }
.shero__card, .sees__card { width: min(21rem, calc(100% - 2rem)); }
.shero__stop, .sees__stop { top: 0.85rem; right: 0.85rem; }
.shero__stop { right: 1.5rem; }
.shero__stop--l, .sees__stop--l { right: auto; left: 0.85rem; }
.svc-page .ba { position: relative; }
.ba__card--right { left: auto; right: 1rem; }
.ba__card--top { bottom: auto; top: 3.6rem; }
.svc-page .how__stop { top: -3.4rem; right: 0; }
.sees__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 1rem + 3.5vw, 4.5rem); align-items: start; }
.sees__media { aspect-ratio: 4 / 3.1; margin-top: clamp(2.5rem, 1rem + 4vw, 5.5rem); }
@media (max-width: 900px) {
  .shero__grid, .sees__grid { grid-template-columns: 1fr; }
  .shero__media { height: auto; margin-right: 0; border-radius: var(--radius-l); }
  .sees__media { margin-top: 0; aspect-ratio: auto; }
  .sees__words { order: -1; }
  .svc-page .frame--strip > .frame__media { object-position: var(--pos-m, var(--pos, 50% 30%)); }
  .svc-page .frame--strip > :is(.shero__stop, .sees__stop) { left: auto; right: 0.85rem; }
}
@media (max-width: 760px) {
  .svc-page .pclose :is(.band__photo, .band__video) { object-position: var(--pos-m, var(--pos, 50% 50%)); }
  .svc-page .ba__side { aspect-ratio: 4 / 4.6; }
  .svc-page .ba__side > .frame__media { object-position: var(--pos-m, var(--pos, 50% 30%)); }
  .svc-page .ba__card { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; width: auto; }
  .svc-page #how .sig__stage { margin-top: 2.8rem; }
  .svc-page .how__stop { top: -3rem; right: 0; }
  .svc-page .pclose > .stop--corner { top: 0.85rem; bottom: auto; }
}
/* the AI chat page's 24-hour dial: a little larger, so its smallest labels stay at 13 px */
.page-4x-conversions .shero__scene { width: min(26rem, calc(100% - 1.2rem)); }
.page-4x-conversions .shero__scene--bl { left: 0.6rem; }
@media (max-width: 900px) { .page-4x-conversions .frame.frame--strip { padding-inline: 0.45rem; } }
/* the Search Box page's new-clients list: room for its longest source beside each row's label */
.page-search-box-optimization .shero__scene { width: min(27.5rem, calc(100% - 2rem)); }
/* Near-Me's chart on a narrow card: the key stacks, so the month's pop sits beside it, not over it (the home page's chart keeps its own) */
@container (max-width: 420px) { .svc-page [data-scene="out-work"] .key { flex-direction: column; gap: 4px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.01ms !important; } }
