/* 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 { width: min(100% - 2 * var(--gutter), var(--max-w)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }
.section--alt { background: var(--c-paper-alt); }
.section__head { display: grid; gap: var(--space-3); max-width: 800px; margin-bottom: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); }
.section__head h2 { font-size: var(--fs-h2); }
.section__head p { max-width: 60ch; color: var(--c-ink-soft); font-size: var(--fs-lead); }
.section__head--center { margin-inline: auto; justify-items: center; text-align: center; }
.section__head--center p { margin-inline: auto; }

/* ---------- buttons and links ---------- */
.btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 54px; padding: 0 1.55rem; border: 1px solid transparent; border-radius: var(--radius-s); font-family: var(--font-ui); font-stretch: var(--stretch-ui); font-weight: 700; font-size: 1.06rem; letter-spacing: .01em; line-height: 1.1; text-align: center; text-decoration: none; cursor: pointer; transition: box-shadow var(--dur-fast), transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.btn--main { background: var(--c-brand); color: var(--c-on-brand); }
.btn--main:hover { box-shadow: 0 0 0 4px var(--c-glow), 0 12px 32px rgb(255 153 0 / .2); transform: translateY(-1px); }
.btn--main:active { background: var(--c-brand-dark); transform: none; box-shadow: none; }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line-strong); }
.btn--ghost:hover { border-color: var(--c-ink); }
.btn__arrow { flex: none; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .btn__arrow, .link:hover .btn__arrow { transform: translateX(3px); }
.cta { display: grid; justify-items: start; gap: .7rem; }
.cta--center { justify-items: center; text-align: center; }
.cta__note { color: var(--c-ink-soft); font-size: var(--fs-small); }
.link { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; color: var(--c-ink); font-family: var(--font-ui); font-stretch: var(--stretch-ui); font-weight: 700; font-size: 1rem; text-decoration: none; }
.link .btn__arrow { color: var(--c-brand); }
.link:hover { color: var(--c-brand-text); }

/* ---------- the header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: clamp(.75rem, 2.2vw, 2.5rem); height: var(--header-h); padding-inline: var(--gutter); background: rgb(0 0 0 / .82); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid rgb(255 255 255 / .07); }
.site-header__logo { display: block; flex: none; line-height: 0; border-radius: var(--radius-s); }
.site-header__logo img { display: block; width: auto; height: 46px; mix-blend-mode: screen; }
.site-header__nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.25rem); margin: 0; padding: 0; list-style: none; }
.nav__item a { position: relative; display: inline-block; padding: .6rem 0; color: var(--c-ink-soft); font-family: var(--font-ui); font-stretch: var(--stretch-ui); font-weight: 600; font-size: .98rem; letter-spacing: .01em; text-decoration: none; transition: color var(--dur-fast); }
.nav__item a::after { content: ''; position: absolute; left: 0; right: 0; bottom: .25rem; height: 2px; background: var(--c-brand); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-med) var(--ease-out); }
.nav__item a:hover, .nav__item a[aria-current="page"] { color: var(--c-ink); }
.nav__item a:hover::after, .nav__item a[aria-current="page"]::after { transform: scaleX(1); }
.site-header__cta { display: inline-flex; flex: none; align-items: center; min-height: 44px; padding: 0 1.15rem; border-radius: var(--radius-s); background: var(--c-brand); color: var(--c-on-brand); font-family: var(--font-ui); font-stretch: var(--stretch-ui); font-weight: 700; font-size: .96rem; text-decoration: none; white-space: nowrap; transition: box-shadow var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
.site-header__cta:hover { box-shadow: 0 0 0 4px var(--c-glow); transform: translateY(-1px); }
.site-header__menu { display: none; }
@media (max-width: 980px) {
  .site-header__cta { margin-inline-start: auto; }
  .site-header__menu { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--c-line-strong); border-radius: var(--radius-s); background: transparent; color: var(--c-ink); cursor: pointer; }
  .site-header__bars { display: grid; gap: 4px; width: 18px; }
  .site-header__bars i { display: block; height: 2px; background: currentColor; transition: transform var(--dur-fast), opacity var(--dur-fast); }
  .site-header__bars i:first-child { background: var(--c-brand); }
  .site-header[data-open] .site-header__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header[data-open] .site-header__bars i:nth-child(2) { opacity: 0; }
  .site-header[data-open] .site-header__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-header__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: var(--space-2) var(--gutter) var(--space-4); background: rgb(0 0 0 / .97); border-bottom: 1px solid var(--c-line); }
  .site-header[data-open] .site-header__nav { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--c-line); color: var(--c-ink); font-size: 1.2rem; }
  .nav__item a::after { display: none; }
}
@media (max-width: 420px) {
  .site-header { gap: .6rem; }
  .site-header__logo img { height: 36px; }
  .site-header__cta { min-height: 42px; padding: 0 .8rem; font-size: .88rem; }
}

/* ---------- the footer ---------- */
.site-footer { border-top: 1px solid var(--c-line); background: var(--c-paper); padding-block: var(--space-6) var(--space-4); }
.site-footer__in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-5) var(--space-4); }
.site-footer__logo { display: inline-block; line-height: 0; }
.site-footer__logo img { display: block; width: auto; height: 58px; mix-blend-mode: screen; }
.site-footer__line { margin-top: var(--space-3); max-width: 20ch; font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 800; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.12; }
.site-footer__cta { display: grid; justify-items: start; gap: .7rem; margin-top: var(--space-4); }
.site-footer__title { margin-bottom: var(--space-3); color: var(--c-ink-soft); font-family: var(--font-ui); font-stretch: var(--stretch-ui); font-weight: 600; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; }
.site-footer__col ul { display: grid; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.site-footer__col a { display: inline-flex; align-items: center; min-height: 40px; color: var(--c-ink); text-decoration: none; font-size: 1.05rem; transition: color var(--dur-fast); }
.site-footer__col a:hover { color: var(--c-brand-text); }
.site-footer__contact { display: grid; gap: .4rem; }
.site-footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2) var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--c-line); color: var(--c-ink-soft); font-size: var(--fs-small); }
.site-footer__legal ul { display: flex; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.site-footer__legal a { display: inline-flex; align-items: center; min-height: 40px; color: var(--c-ink-soft); text-decoration: none; }
.site-footer__legal a:hover { color: var(--c-ink); }
@media (max-width: 720px) { .site-footer__in { grid-template-columns: 1fr; } }

/* ---------- the stop icon (one per moving part, top right) ---------- */
.stop { position: absolute; top: var(--space-3); right: var(--space-3); z-index: 8; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--c-glass-line); border-radius: 50%; background: var(--c-glass); color: var(--c-ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.stop:hover { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand); }
.stop svg { width: 14px; height: 14px; }

/* ---------- surfaces ---------- */
.glass { background: var(--c-glass); border: 1px solid var(--c-glass-line); -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25); }
.panel { background: var(--c-raised); border: 1px solid var(--c-line); border-radius: var(--radius-l); }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 .65rem; border-radius: 999px; background: var(--c-brand-light); color: var(--c-brand-text); font-family: var(--font-ui); font-stretch: var(--stretch-ui); font-weight: 600; font-size: .8125rem; line-height: 1; white-space: nowrap; }

/* A live card: a booking, a call answered (the header's cards). */
.note-card { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .85rem; width: max-content; max-width: min(330px, 100%); padding: .8rem 1.15rem .8rem .85rem; border-radius: var(--radius-m); box-shadow: var(--shadow-m); }
.note-card__icon { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c-brand); color: var(--c-on-brand); }
.note-card__icon svg { width: 18px; height: 18px; }
.note-card__title { color: var(--c-ink); font-family: var(--font-ui); font-stretch: var(--stretch-ui); font-weight: 700; font-size: 1rem; line-height: 1.25; }
.note-card__sub { color: var(--c-ink-soft); font-size: .875rem; line-height: 1.35; }

/* ---------- the clients picker ---------- */
.picker { position: relative; display: grid; gap: var(--space-3); padding: clamp(1.1rem, .8rem + 1vw, 1.6rem); border: 1px solid var(--c-glass-line); border-radius: var(--radius-l); background: var(--c-glass); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); box-shadow: var(--shadow-l); }
.picker::before { content: ''; position: absolute; top: -1px; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, var(--c-brand), rgb(255 153 0 / 0) 88%); }
.picker--bare { padding: 0; border: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.picker--bare::before { display: none; }
.picker__set { min-width: 0; margin: 0; padding: 0; border: 0; }
.picker__legend { margin-bottom: var(--space-2); padding: 0; color: var(--c-ink); font-family: var(--font-ui); font-stretch: var(--stretch-ui); font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.picker__choices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; }
.picker__choice { position: relative; display: block; }
.picker__choice input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.picker__choice span { display: grid; place-items: center; min-height: 52px; border: 1px solid var(--c-line-strong); border-radius: var(--radius-s); background: rgb(255 255 255 / .04); color: var(--c-ink); font-family: var(--font-ui); font-stretch: var(--stretch-ui); font-weight: 700; font-size: 1.15rem; line-height: 1; transition: border-color var(--dur-fast), background-color var(--dur-fast), color var(--dur-fast); }
.picker__choice:hover span { border-color: var(--c-brand); }
.picker__choice input:checked + span { border-color: var(--c-brand); background: var(--c-brand); color: var(--c-on-brand); }
.picker__choice input:focus-visible + span { outline: 2px solid var(--c-brand); outline-offset: 2px; }
.picker__go { width: 100%; }
.picker__note { color: var(--c-ink-soft); font-size: var(--fs-small); text-align: center; }

/* ---------- the logo's peak: the foot of a part, the top of a band ---------- */
.peak { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 5; display: block; width: 100%; height: clamp(24px, 4vw, 58px); overflow: visible; pointer-events: none; }
.peak--top { top: -1px; bottom: auto; }
.peak__ground { fill: var(--c-paper); }
.peak__up, .peak__down { fill: none; stroke-width: 2px; vector-effect: non-scaling-stroke; stroke-linecap: square; }
.peak__up { stroke: var(--c-brand); }
.peak__down { stroke: rgb(255 255 255 / .9); }

/* ---------- a band of footage, darkened only behind its words ---------- */
.band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(6.5rem, 4rem + 8vw, 11rem) clamp(5rem, 3.5rem + 6vw, 9rem); }
.band__media { position: absolute; inset: 0; z-index: -2; }
.band__media video, .band__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 62% 66% at 50% 56%, rgb(0 0 0 / .82), rgb(0 0 0 / .5) 72%, rgb(0 0 0 / .32)); }
.band__in { position: relative; display: grid; justify-items: center; gap: var(--space-3); text-align: center; }
.band__in h2 { max-width: 17ch; font-size: var(--fs-h1); }
.band__in > p { max-width: 46ch; color: #DCDCDC; font-size: var(--fs-lead); }
.band .picker { width: min(100%, 540px); margin-top: var(--space-2); text-align: left; }
.band .stop { top: auto; bottom: var(--space-3); }

/* ---------- questions ---------- */
.faq { display: grid; max-width: 940px; border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 1.35rem 0; color: var(--c-ink); font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: var(--fs-h3); line-height: 1.3; list-style: none; cursor: pointer; transition: color var(--dur-fast); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 16px; height: 16px; background: linear-gradient(var(--c-brand), var(--c-brand)) center / 100% 2px no-repeat, linear-gradient(var(--c-brand), var(--c-brand)) center / 2px 100% no-repeat; transition: transform var(--dur-med) var(--ease-out); }
.faq summary:hover { color: var(--c-brand-text); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { max-width: 68ch; padding: 0 0 1.5rem; color: var(--c-ink-soft); }

/* ---------- the exit popup ---------- */
.exit { width: min(100% - 2rem, 560px); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; background: transparent; color: var(--c-ink); overflow: visible; }
.exit::backdrop { background: rgb(0 0 0 / .74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.exit__in { position: relative; display: grid; gap: var(--space-3); padding: 0 clamp(1.3rem, 1rem + 2vw, 2.4rem) clamp(1.4rem, 1rem + 2vw, 2.4rem); border: 1px solid var(--c-line-strong); border-radius: var(--radius-l); background: var(--c-paper-alt); box-shadow: var(--shadow-l); overflow: hidden; opacity: 0; transform: translateY(14px) scale(.985); 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__peak { position: relative; height: 46px; margin-inline: calc(-1 * clamp(1.3rem, 1rem + 2vw, 2.4rem)); }
.exit__peak .peak { top: 12px; bottom: auto; height: 34px; }
.exit__peak .peak__ground { fill: none; }
.exit__title { padding-right: 2.6rem; font-size: clamp(1.55rem, 1.15rem + 1.6vw, 2.15rem); }
.exit__line { color: var(--c-ink-soft); }
.exit__close { position: absolute; top: .8rem; right: .8rem; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--c-line-strong); border-radius: 50%; background: var(--c-paper-alt); color: var(--c-ink); cursor: pointer; }
.exit__close:hover { border-color: var(--c-brand); color: var(--c-brand-text); }
html[data-kit-modal] { overflow: hidden; }

/* ---------- the bar on the phone ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: auto 1fr; gap: .6rem; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: rgb(0 0 0 / .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--c-line); transform: translateY(110%); transition: transform var(--dur-med) var(--ease-out); }
.callbar[data-kit-on] { transform: none; }
.callbar a { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 1.1rem; border-radius: var(--radius-s); font-family: var(--font-ui); font-stretch: var(--stretch-ui); font-weight: 700; font-size: 1rem; text-decoration: none; }
.callbar__alt, .callbar__call { border: 1px solid var(--c-line-strong); color: var(--c-ink); }
.callbar__cta { background: var(--c-brand); color: var(--c-on-brand); }
@media (min-width: 900px) { .callbar { display: none; } }

/* ---------- the thank-you and 404 pages ---------- */
.thanks, .not-found { display: grid; align-content: center; justify-items: start; gap: var(--space-3); width: min(100% - 2 * var(--gutter), 880px); min-height: 62svh; margin-inline: auto; padding-block: var(--section-y); }
.thanks__headline, .not-found__headline { font-size: var(--fs-h1); }
.thanks__body, .not-found__body { max-width: 56ch; color: var(--c-ink-soft); font-size: var(--fs-lead); }
.thanks__next { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.thanks__next a, .not-found__home { display: inline-flex; align-items: center; min-height: 52px; padding: 0 1.4rem; border: 1px solid var(--c-line-strong); border-radius: var(--radius-s); color: var(--c-ink); font-family: var(--font-ui); font-stretch: var(--stretch-ui); font-weight: 700; text-decoration: none; }
.thanks__next li:first-child a { border-color: var(--c-brand); background: var(--c-brand); color: var(--c-on-brand); }
.thanks__next a:hover, .not-found__home:hover { box-shadow: 0 0 0 4px var(--c-glow); }

@media (prefers-reduced-motion: reduce) {
  .btn, .site-header__cta, .exit__in, .callbar, .nav__item a::after, .faq summary::after { transition: none; }
}
