/* /assets/css/core.css */
/* Fonts: Bricolage Grotesque + Inter (SIL OFL), self-hosted copies of the Google Fonts files */
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-2.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-3.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-2.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-3.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-2.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-3.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-2.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-3.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fetch Bus — shared structural styles (preloader, reserve sheet, video, a11y).
   Each home-page version themes these through the --fb-* tokens. */
:root {
  --fb-bg: #fffaf0;
  --fb-ink: #1b2440;
  --fb-surface: #ffffff;
  --fb-line: rgba(27, 36, 64, 0.16);
  --fb-accent: #ffc928;
  --fb-accent-ink: #14306b;
  --fb-accent-2: #1f56b3;
  --fb-radius: 22px;
  --fb-display: "Lilita One", system-ui, sans-serif;
  --fb-body: "Nunito", system-ui, sans-serif;
  --fb-preloader-bg: #ffc928;
  --fb-shadow: 0 6px 0 rgba(20, 48, 107, 0.9);
}

html.fb-lock, html.fb-lock body { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line > span { display: inline-block; will-change: transform; }

/* ---------- Preloader ---------- */
.fb-preloader {
  position: fixed; inset: 0; z-index: 4000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  background: var(--fb-preloader-bg);
}
.fb-preloader__logo {
  width: min(56vw, 17rem); height: auto;
  opacity: 0; filter: blur(14px); transform: scale(0.9) rotate(-6deg);
}
.fb-preloader__road {
  width: min(60vw, 18rem); height: 6px; border-radius: 6px; transform-origin: left center;
  background: repeating-linear-gradient(90deg, var(--fb-accent-ink) 0 18px, transparent 18px 30px);
  transform: scaleX(0);
}
.fb-preloader.is-done { display: none; }
html[data-motion="calm"] .fb-preloader__logo { transform: scale(0.94); }
html[data-motion="calm"] .fb-preloader__road { display: none; }
html.no-js .fb-preloader { display: none; }

/* ---------- Video (Fox 5) ---------- */
.fb-yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer; overflow: hidden; background: #000; border-radius: inherit; }
.fb-yt img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.fb-yt:hover img { transform: scale(1.04); }
.fb-yt__play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  border-radius: 50%; background: var(--fb-accent); box-shadow: 0 6px 0 var(--fb-accent-ink);
  display: grid; place-items: center; transition: transform 0.3s cubic-bezier(.3,1.6,.5,1);
}
.fb-yt:hover .fb-yt__play { transform: scale(1.1) rotate(-6deg); }
.fb-yt__play::after { content: ""; border-left: 24px solid var(--fb-accent-ink); border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 6px; }
.fb-yt-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; border-radius: inherit; }

/* ---------- Marquee ---------- */
[data-marquee] { overflow: hidden; }
[data-marquee] .fb-track { display: flex; width: max-content; animation: fb-marquee var(--fb-marquee-speed, 32s) linear infinite; }
[data-marquee].is-paused .fb-track { animation-play-state: paused; }
[data-marquee][data-dir="rtl"] .fb-track { animation-direction: reverse; }
@keyframes fb-marquee { to { transform: translateX(-50%); } }

/* ---------- Reserve sheet ---------- */
.fb-sheet { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.fb-sheet[hidden] { display: none; }
.fb-sheet__scrim { position: absolute; inset: 0; background: rgba(10, 20, 45, 0.55); opacity: 0; transition: opacity 0.35s; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.fb-sheet__panel {
  position: relative; width: min(100%, 560px); max-height: min(92vh, 860px); max-height: min(92dvh, 860px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--fb-surface); color: var(--fb-ink); font-family: var(--fb-body);
  border-radius: calc(var(--fb-radius) + 6px); padding: 22px 28px 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  transform: translateY(40px) scale(0.96); opacity: 0;
  transition: transform 0.45s cubic-bezier(.2,1.3,.4,1), opacity 0.3s;
}
.fb-sheet.is-open .fb-sheet__scrim { opacity: 1; }
.fb-sheet.is-open .fb-sheet__panel { transform: none; opacity: 1; }
.fb-sheet__top { display: flex; align-items: center; gap: 14px; position: sticky; top: -22px; background: var(--fb-surface); padding: 6px 0 10px; z-index: 1; }
.fb-sheet__progress { flex: 1; height: 10px; border-radius: 10px; background: var(--fb-line); overflow: hidden; }
.fb-sheet__progress span { display: block; height: 100%; background: var(--fb-accent); border-radius: inherit; transform-origin: left; transform: scaleX(0.12); transition: transform 0.5s cubic-bezier(.3,1.3,.5,1); box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); }
.fb-sheet__x { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--fb-line); background: transparent; color: var(--fb-ink); font-size: 26px; line-height: 1; cursor: pointer; flex: none; }
.fb-sheet__x:hover { background: var(--fb-line); }
.fb-sheet__sample { margin: 2px 0 10px; font-size: 13px; font-weight: 700; color: var(--fb-accent-2); }

.fb-step { display: none; }
.fb-step.is-active { display: block; }
.fb-step__eyebrow { margin: 6px 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--fb-accent-2); }
.fb-step__title { overflow-wrap: anywhere; margin: 0 0 8px; font-family: var(--fb-display); font-weight: 400; font-size: clamp(28px, 6vw, 38px); line-height: 1.05; color: var(--fb-ink); }
.fb-step__lede { margin: 0 0 18px; font-size: 17px; line-height: 1.5; }

.fb-field { display: block; margin: 0 0 14px; }
.fb-field > span, .fb-chips legend { display: block; font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.fb-field input, .fb-field select {
  width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 17px; color: var(--fb-ink);
  background: var(--fb-bg); border: 2px solid var(--fb-line); border-radius: 14px; outline: none; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.fb-field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.fb-field input:focus, .fb-field select:focus { border-color: var(--fb-accent-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--fb-accent-2) 22%, transparent); }
.fb-field.is-bad input, .fb-field.is-bad select { border-color: #d6332f; }
.fb-check.is-bad span { color: #b4231f; }

.fb-chips { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.fb-chips legend { width: 100%; padding: 0; }
.fb-chips label { position: relative; }
.fb-chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.fb-chips span { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 2px solid var(--fb-line); font-weight: 800; transition: all .2s; cursor: pointer; }
.fb-chips input:checked + span { background: var(--fb-accent); border-color: var(--fb-accent-ink); color: var(--fb-accent-ink); box-shadow: 0 3px 0 var(--fb-accent-ink); }
.fb-chips input:focus-visible + span { outline: 3px solid var(--fb-accent-2); outline-offset: 2px; }

.fb-check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 18px; font-weight: 700; font-size: 16px; cursor: pointer; }
.fb-check input { width: 24px; height: 24px; flex: none; accent-color: var(--fb-accent-2); margin-top: 1px; }

.fb-deal { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.fb-deal li { padding: 14px 16px 14px 48px; border-radius: 14px; background: var(--fb-bg); position: relative; line-height: 1.45; font-size: 16px; }
.fb-deal li::before { content: "✓"; position: absolute; left: 14px; top: 13px; width: 24px; height: 24px; border-radius: 50%; background: var(--fb-accent); color: var(--fb-accent-ink); display: grid; place-items: center; font-weight: 900; font-size: 14px; }

.fb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px; margin-top: 6px;
  padding: 14px 24px; border: 3px solid var(--fb-accent-ink); border-radius: 999px; cursor: pointer; text-decoration: none;
  background: var(--fb-accent); color: var(--fb-accent-ink); font-family: var(--fb-display); font-size: 20px; letter-spacing: .01em;
  box-shadow: 0 5px 0 var(--fb-accent-ink); transition: transform .15s, box-shadow .15s;
}
.fb-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--fb-accent-ink); }
.fb-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--fb-accent-ink); }
.fb-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.fb-btn--ghost { background: transparent; box-shadow: none; border-color: var(--fb-line); color: var(--fb-ink); font-family: var(--fb-body); font-weight: 800; font-size: 16px; }
.fb-btn--ghost:hover { box-shadow: none; background: var(--fb-bg); }
.fb-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; margin-top: 4px; }
.fb-row .fb-btn { margin-top: 0; }
.fb-step > .fb-btn + .fb-btn { margin-top: 12px; }
.fb-note { font-size: 13px; opacity: .7; margin: -6px 0 16px; }
.fb-dev { font-size: 13px; margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; border: 2px dashed var(--fb-line); opacity: .85; }

.fb-cal__days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 12px; }
.fb-cal__day, .fb-cal__time { border: 2px solid var(--fb-line); background: var(--fb-bg); color: var(--fb-ink); border-radius: 14px; cursor: pointer; font: inherit; font-weight: 800; transition: all .2s; }
.fb-cal__day { padding: 10px 0; display: grid; gap: 2px; justify-items: center; }
.fb-cal__day small { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.fb-cal__day b { font-size: 22px; font-family: var(--fb-display); font-weight: 400; }
.fb-cal__times { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.fb-cal__time { min-height: 44px; padding: 8px 16px; }
.fb-cal__day.is-on, .fb-cal__time.is-on { background: var(--fb-accent); border-color: var(--fb-accent-ink); color: var(--fb-accent-ink); box-shadow: 0 3px 0 var(--fb-accent-ink); }

.fb-next { margin: 0 0 18px; padding-left: 22px; line-height: 1.6; font-size: 16px; }
.fb-done-badge { width: 110px; margin: 6px auto 4px; animation: fb-bounce 1.4s cubic-bezier(.3,1.6,.5,1) both; }
.fb-done-badge img { width: 100%; height: auto; display: block; }
@keyframes fb-bounce { 0% { transform: scale(.3) rotate(-20deg); opacity: 0; } 100% { transform: none; opacity: 1; } }

@media (max-width: 640px) {
  .fb-sheet { padding: 0; align-items: flex-end; }
  .fb-sheet__panel { width: 100%; max-height: 94vh; max-height: 94dvh; border-radius: 26px 26px 0 0; padding: 16px 18px calc(24px + env(safe-area-inset-bottom)); transform: translateY(100%); }
  .fb-sheet__top { top: -16px; }
  .fb-cal__day b { font-size: 18px; }
}

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

/* "first trip on Instagram" note on the done screen */
.fb-ig { margin: 2px 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--fb-bg); font-size: 15px; line-height: 1.45; }
.fb-ig b { font-weight: 700; }

/* big tap-to-answer option cards (single-choice screens) */
.fb-opts { border: 0; padding: 0; margin: 4px 0 14px; display: grid; gap: 10px; }
.fb-opts--row { grid-template-columns: 1fr 1fr; }
.fb-opts label { position: relative; display: block; cursor: pointer; }
.fb-opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.fb-opts span { display: grid; gap: 2px; min-height: 60px; align-content: center; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--fb-line); background: var(--fb-surface); transition: border-color .2s, background .2s, transform .15s; }
.fb-opts b { font-size: 17px; font-weight: 600; }
.fb-opts small { font-size: 14px; opacity: .7; }
.fb-opts--row span { text-align: center; justify-items: center; }
.fb-opts label:hover span { border-color: currentColor; }
.fb-opts input:checked + span { background: var(--fb-accent-2); border-color: var(--fb-accent-2); color: #fff; transform: scale(.985); }
.fb-opts input:checked + span small { opacity: .85; }
.fb-opts input:focus-visible + span { outline: 3px solid var(--fb-accent-2); outline-offset: 2px; }
.fb-btn--back { margin-top: 4px; }
.fb-field[hidden] { display: none !important; }

.fb-err { margin: 10px 0 0; color: #b4231f; font-size: 15px; font-weight: 600; }
.fb-err:empty { display: none; }
.fb-step__title:focus { outline: none; }
.fb-ferr { margin: -6px 0 14px; font-size: 14px; font-weight: 600; line-height: 1.4; color: #B3261E; }
.fb-ferr[hidden] { display: none; }
.fb-note.fb-ferr { margin: 10px 0 0; }

/* /assets/css/intro.css */
/* Loading intro (assets/js/intro.js). The preloader itself goes transparent;
   .fbi__bg is the paper that gets the iris hole, the logo stage sits above it. */
.fb-preloader.fbi { background: transparent; display: block; }
.fbi__bg {
  position: absolute; inset: 0; background: var(--fb-preloader-bg, #FBFAF7);
  --fbi-r: 0px;
  -webkit-mask: radial-gradient(circle at var(--fbi-x, 50%) var(--fbi-y, 50%), transparent var(--fbi-r), #000 calc(var(--fbi-r) + 1px));
          mask: radial-gradient(circle at var(--fbi-x, 50%) var(--fbi-y, 50%), transparent var(--fbi-r), #000 calc(var(--fbi-r) + 1px));
}
.fb-preloader.fbi { --fbi-r: 0px; }
.fbi .fbi__bg { -webkit-mask-image: radial-gradient(circle at var(--fbi-x) var(--fbi-y), transparent var(--fbi-r), #000 calc(var(--fbi-r) + 1px)); mask-image: radial-gradient(circle at var(--fbi-x) var(--fbi-y), transparent var(--fbi-r), #000 calc(var(--fbi-r) + 1px)); }
.fbi__road { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.fbi__edge { stroke: #D3CBB8; stroke-width: 2; fill: none; }
.fbi__dash { stroke: #F4C430; stroke-width: 5; stroke-linecap: round; fill: none; }
.fbi__ring { position: absolute; left: 0; top: 0; border-radius: 50%; border: 7px solid #13295A; opacity: 0; pointer-events: none; will-change: transform, width; }
.fbi__stage { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.fbi__logo { position: relative; width: min(78vw, 420px, 58vh); aspect-ratio: 1; }
.fbi__l { position: absolute; display: block; max-width: none; user-select: none; -webkit-user-drag: none; }
img.fbi__l { width: 100%; height: 100%; object-fit: fill; }
.fbi__vehicle, .fbi__body, .fbi__dogs { position: absolute; inset: 0; }
.fbi__vehicle { opacity: 0; will-change: transform; }
.fbi__body { transform-origin: 50% 62%; will-change: transform; }
.fbi__dog { will-change: transform; }
.fbi__tread { background: url(/assets/img/intro/tread.png) center 0 repeat-y; border-radius: 22% / 12%; }
.fbi__shadow { position: absolute; left: 24%; right: 24%; top: 67.5%; height: 4.5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 30, 50, .28), rgba(20, 30, 50, 0)); }
.fbi__dust { position: absolute; top: 64%; width: 9%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(196, 180, 150, .85), rgba(196, 180, 150, 0)); opacity: 0; }
.fbi__dust:nth-of-type(-n+3) { left: 25%; }
.fbi__dust:nth-of-type(n+4) { left: 66%; }
.fbi__skip {
  position: absolute; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 2;
  padding: 10px 16px; min-height: 44px; border: 1px solid rgba(17, 28, 54, .16); border-radius: 999px;
  background: rgba(255, 255, 255, .8); color: #16233F; font: 600 14px/1 Inter, system-ui, sans-serif; cursor: pointer;
  opacity: 0; animation: fbi-skip .4s ease 1.6s forwards;
}
@keyframes fbi-skip { to { opacity: 1; } }
.fb-preloader.fbi.is-done { display: none; }

/* /assets/css/fx.css */
/* Peekaboo pack (footer) + bus wipe (page transitions). See assets/js/fx.js. */
.foot { position: relative; }
.peek {
  position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  display: flex; align-items: flex-end; gap: clamp(6px, 1.5vw, 18px);
  height: clamp(104px, 11vw, 150px); overflow: hidden; pointer-events: none; z-index: 2;
  padding: 0 4px;
}
.peek__dog { position: relative; height: 100%; flex: none; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; will-change: transform; }
.peek:not(.is-up) .peek__dog { transform: translateY(104%); }
html.no-js .peek__dog, .peek.is-up .peek__dog { transform: none; }
.peek__pose { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; opacity: 0; user-select: none; }
.peek__pose.is-on { opacity: 1; }
@media (min-width: 861px) { .peek { left: auto; right: max(24px, calc((100vw - 1240px) / 2 + 24px)); transform: none; } }

/* bus wipe */
.wipe { position: fixed; inset: 0; z-index: 5000; pointer-events: none; visibility: hidden; }
.wipe.is-on { visibility: visible; pointer-events: auto; }
.wipe__cover { position: absolute; inset: 0; background: var(--paper, #FBFAF7); clip-path: inset(0 100% 0 0); }
.wipe__bus { position: absolute; left: 0; top: 50%; width: min(94vw, 1040px); margin-top: calc(min(94vw, 1040px) / -2.8856 / 2); will-change: transform; transform: translate3d(-120vw, 0, 0); }
.wipe__l { position: absolute; display: block; max-width: none; user-select: none; }
.wipe__grp { position: absolute; inset: 0; will-change: transform; }
.wipe__speed { opacity: 0; }
/* arriving from a wipe: keep the page covered until fx.js takes over */
html.fb-wiping::after { content: ""; position: fixed; inset: 0; z-index: 4999; background: var(--paper, #FBFAF7); animation: fb-unwipe 0s 3s forwards; }
/* failsafe: if fx.js never takes over (GSAP or fx.js failed to load), uncover the page anyway */
@keyframes fb-unwipe { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { html.fb-wiping::after { display: none; } }

/* /assets/css/site.css */
/* Fetch Bus — Home sample D · "Bright & Clean"
   Warm white, logo navy as ink, bus yellow as the single accent. */

/* Fallbacks shaped like the web fonts (size-adjust etc. from the fonts' own metrics): the swap to
   Inter / Bricolage Grotesque then barely moves the text. Arial on Apple and Windows, Roboto on Android. */
@font-face { font-family: "Inter fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); size-adjust: 107.5%; ascent-override: 90.1%; descent-override: 22.4%; line-gap-override: 0%; }
@font-face { font-family: "Inter fallback android"; src: local("Roboto"), local("Roboto-Regular"); size-adjust: 106.9%; ascent-override: 90.6%; descent-override: 22.6%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"); font-weight: 500 900; size-adjust: 92.4%; ascent-override: 100.7%; descent-override: 29.2%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage fallback android"; src: local("Roboto Bold"), local("Roboto-Bold"); font-weight: 500 900; size-adjust: 98.2%; ascent-override: 94.7%; descent-override: 27.5%; line-gap-override: 0%; }
:root {
  --paper: #FBFAF7;
  --sand: #F3F0E8;
  --white: #FFFFFF;
  --navy: #16357A;
  --navy-deep: #0E2557;
  --ink: #111C36;
  --muted: #566079;
  --yellow: #F6B92B;
  --yellow-soft: #FDEFC8;
  --line: rgba(17, 28, 54, 0.11);
  --line-strong: rgba(17, 28, 54, 0.2);
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(17, 28, 54, .05), 0 2px 8px rgba(17, 28, 54, .04);
  --shadow-md: 0 2px 4px rgba(17, 28, 54, .04), 0 12px 32px -8px rgba(17, 28, 54, .14);
  --shadow-lg: 0 4px 8px rgba(17, 28, 54, .04), 0 30px 60px -20px rgba(17, 28, 54, .25);
  --display: "Bricolage Grotesque", "Bricolage fallback", "Bricolage fallback android", "Inter", system-ui, sans-serif;
  --body: "Inter", "Inter fallback", "Inter fallback android", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 40px);

  /* shared engine tokens */
  --fb-bg: var(--paper);
  --fb-ink: var(--ink);
  --fb-surface: #fff;
  --fb-line: var(--line);
  --fb-accent: var(--yellow);
  --fb-accent-ink: var(--ink);
  --fb-accent-2: var(--navy);
  --fb-radius: 16px;
  --fb-display: var(--display);
  --fb-body: var(--body);
  --fb-preloader-bg: var(--paper);
  --fb-shadow: var(--shadow-md);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--yellow); }
h1, h2, h3 { margin: 0; font-family: var(--display); color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow-soft); }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 5000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--navy);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--yellow); }
.h2 {
  font-size: clamp(32px, 5.2vw, 56px); line-height: 1.05; letter-spacing: -0.028em; margin-bottom: 18px; font-weight: 700;
  font-variation-settings: "opsz" 96; text-wrap: balance;
}
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 34em; text-wrap: pretty; }
.small-note { font-size: 14px; color: var(--muted); font-style: italic; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--yellow); color: var(--ink); text-decoration: none;
  font-family: var(--body); font-weight: 600; font-size: 16px; letter-spacing: -0.005em; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 6px 16px -6px rgba(214, 150, 10, .55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s;
  cursor: pointer;
}
.btn:hover { background: #F8C548; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 10px 24px -8px rgba(214, 150, 10, .6); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn--lg { min-height: 60px; padding: 18px 36px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.btn--ghost:hover { background: var(--white); border-color: var(--ink); box-shadow: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); text-decoration: none; min-height: 44px; }
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }

/* ---------- Frames ---------- */
.frame { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--sand); isolation: isolate; }
.frame > img { width: 100%; height: 100%; object-fit: cover; }
.frame > img[data-parallax] { position: absolute; left: 0; top: -7%; height: 114%; }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 1000; transition: background-color .4s, box-shadow .4s, backdrop-filter .4s; }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 76px; transition: height .4s var(--ease); }
.hdr.is-scrolled { background: rgba(251, 250, 247, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.hdr.is-scrolled .hdr__in { height: 64px; }
.hdr__logo { flex: none; display: block; width: 52px; height: 52px; transition: width .4s var(--ease), height .4s var(--ease); }
.hdr.is-scrolled .hdr__logo { width: 46px; height: 46px; }
.hdr__logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(17,28,54,.12)); }
.hdr__nav { display: flex; gap: 30px; margin-left: auto; }
.hdr__nav a { position: relative; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 0; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--yellow); border-radius: 2px; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.hdr__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hdr__nav a[aria-current="page"] { font-weight: 600; }
.hdr__nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__toggle { display: none; }

@media (max-width: 960px) {
  .hdr__nav { display: none; }
  .hdr__in { gap: 10px; height: 64px; }
  .hdr__logo { width: 46px; height: 46px; }
  .hdr__cta { margin-left: auto; }
  .hdr__toggle {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line-strong); background: rgba(255,255,255,.7); cursor: pointer; padding: 0; position: relative; z-index: 2;
  }
  .hdr__toggle i { display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .45s var(--ease); }
  .hdr__toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.75px) rotate(45deg); }
  .hdr__toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }
}
@media (max-width: 360px) { .hdr__cta { padding: 10px 14px; font-size: 14px; } }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 999; background: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 96px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
html.fb-menu-open, html.fb-menu-open body { overflow: hidden; }
html.fb-menu-open .hdr { background: var(--paper); box-shadow: none; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: clamp(30px, 8.5vw, 44px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--ink); text-decoration: none;
  transform: translateY(14px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.menu__nav a span { min-width: 22px; font-variant-numeric: tabular-nums; font-family: var(--body); font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.menu.is-open .menu__nav a { transform: none; opacity: 1; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .04s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .08s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .12s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .16s; }
.menu__foot { display: grid; gap: 10px; text-align: center; color: var(--muted); font-size: 15px; }
.menu__foot p { margin: 0; }
.menu__foot a:not(.btn) { color: var(--ink); }
@media (min-width: 961px) { .menu { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(100px, 13vw, 150px) 0 clamp(56px, 8vw, 110px); }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero__title {
  font-size: clamp(54px, 8.6vw, 116px); line-height: .95; letter-spacing: -0.042em; font-weight: 700;
  font-variation-settings: "opsz" 96; margin: 0 0 28px;
}
.hero__title em { font-style: normal; }
.u { position: relative; display: inline-block; z-index: 0; }
.u::after {
  content: ""; position: absolute; z-index: -1; left: -0.02em; right: 0.12em; bottom: 0.1em; height: 0.2em;
  background: var(--yellow); border-radius: 0.1em; transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s var(--ease) .65s;
}
html.is-intro .u::after, html.no-js .u::after { transform: scaleX(1); }
.hero__sub { font-size: clamp(18px, 1.7vw, 20px); color: var(--muted); max-width: 30em; margin-bottom: 32px; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-bottom: 36px; }
.hero__trial { margin: 0; display: grid; line-height: 1.35; padding-left: 22px; border-left: 1px solid var(--line-strong); }
.hero__trial strong { font-weight: 600; color: var(--ink); }
.hero__trial span { color: var(--muted); font-size: 15px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); opacity: .5; }
.hero__facts a { display: inline-block; padding: 11px 0; margin: -11px 0; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); }
.hero__facts a:hover { color: var(--ink); text-decoration-color: var(--yellow); }

.hero__media { position: relative; padding: 0 0 48px 48px; }
.hero__photo { aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.hero__photo > img[data-parallax] { object-position: 50% 70%; }
.hero__inset {
  position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--r-md);
  border: 6px solid var(--paper); box-shadow: var(--shadow-md);
}
.hero__inset img { object-position: 60% 70%; }
.hero__inset figcaption {
  position: absolute; left: 10px; bottom: 10px; right: 10px; padding: 7px 11px; border-radius: 8px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.25;
}

@media (max-width: 860px) {
  .hero { padding-top: 92px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { padding: 0 0 36px 28px; margin-top: 4px; }
  .hero__photo { aspect-ratio: 5 / 5.4; }
  .hero__inset { width: 42%; border-width: 4px; }
  .hero__ctas .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .hero__ctas { gap: 14px 18px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__trial { border-left: 0; padding-left: 0; width: 100%; text-align: center; }
}

/* ---------- Sections ---------- */
.sec { padding: clamp(72px, 10vw, 140px) 0; }
.sec__head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.sec__head--split > div { max-width: 720px; }
.sec__head--split .h2 { margin-bottom: 0; }
.sec__head--split .lede { margin: 0; max-width: 26em; }
.sec__more { margin: clamp(28px, 4vw, 44px) 0 0; }
.center .sec__more, .sec__more.center { text-align: center; }

/* ---------- Inner page hero (every page except home) ---------- */
.phero { padding: clamp(112px, 13vw, 164px) 0 clamp(48px, 7vw, 96px); }
.phero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.phero__title {
  font-size: clamp(46px, 8vw, 104px); line-height: .96; letter-spacing: -0.042em; font-weight: 700;
  font-variation-settings: "opsz" 96; margin: 0 0 24px;
}
.phero__title em { font-style: normal; }
.phero .lede { font-size: clamp(18px, 1.7vw, 20px); max-width: 31em; margin-bottom: 30px; }
.phero .lede:last-child { margin-bottom: 0; }
.phero .lede a { font-weight: 600; }
.phero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
/* the first plain section after a hero sits closer to it */
.sec--flush { padding-top: clamp(24px, 4vw, 48px); }
@media (max-width: 860px) {
  .phero { padding-top: 100px; }
  .phero__grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .phero__ctas .btn { flex: 1 1 100%; } }

/* Fox 5 */
.fox { padding-top: clamp(40px, 6vw, 80px); }
.fox .h2 { font-size: clamp(28px, 4.2vw, 46px); }
.fox__video { box-shadow: var(--shadow-lg); border-radius: var(--r-lg); }
.fb-yt__play { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: rgba(255,255,255,.95); box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .5s var(--ease); }
.fb-yt__play::after { border-left: 20px solid var(--navy); border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.fb-yt:hover .fb-yt__play { transform: scale(1.06); }
.fb-yt img { transition: transform 1.2s var(--ease); }
.fb-yt:hover img { transform: scale(1.025); }

/* Day */
.day { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.day__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.day__intro { position: sticky; top: 110px; }
.day__photo { aspect-ratio: 16 / 11; margin-top: 32px; }
.day__photo img { object-position: 50% 60%; }
.steps { counter-reset: s; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 34px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .02em; color: var(--navy); padding-top: 8px; }
.step h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.03em; font-weight: 600; line-height: 1.15; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; max-width: 30em; }
@media (max-width: 860px) {
  .day__grid { grid-template-columns: 1fr; }
  .day__intro { position: static; }
  .step { grid-template-columns: 44px 1fr; gap: 12px; padding: 26px 0; }
}

/* Numbers */
.nums { background: var(--navy); color: #fff; padding: clamp(56px, 7vw, 96px) 0; }
.nums__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.num { padding: 6px clamp(16px, 3vw, 40px); border-left: 1px solid rgba(255,255,255,.16); }
.num:first-child { border-left: 0; padding-left: 0; }
.num b {
  display: block; font-family: var(--display); font-weight: 600; font-variation-settings: "opsz" 96;
  font-size: clamp(56px, 7vw, 96px); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
}
.num span { display: block; margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.78); }
.num:nth-child(4) b { color: var(--yellow); }
@media (max-width: 760px) {
  .nums__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .num:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* Reels */
.reels { overflow: hidden; --reels-edge: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); }
.reels .eyebrow { font-size: 15px; }
.reels__carousel { position: relative; }
.reels__scroller {
  overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.reels__scroller::-webkit-scrollbar { display: none; }
.reels__row {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(320px, 30vw, 440px); gap: clamp(16px, 2vw, 24px);
  width: max-content; margin: 0; padding: 8px var(--reels-edge) 18px;
}
.reel {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--sand);
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.reel:hover img { transform: scale(1.04); }
.reel:has(img.duo) { background: var(--navy); }
.reel img.duo { filter: grayscale(1) contrast(1.15) brightness(1.15); mix-blend-mode: screen; opacity: .9; }
.reel__tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 1; padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 15px; font-weight: 650; line-height: 1.2; color: var(--ink);
}
.reel--ph { display: grid; place-items: center; text-align: center; padding: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--sand), #ECE7DB); }
.reel--ph2 { background: linear-gradient(180deg, #E7ECF6, #DCE3F1); }
.reel--ph p { margin: 16px 0 4px; font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.reel--ph small { font-size: 15px; color: var(--muted); }
.reel__play { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255,255,255,.7); }
.reel__play::after { content: ""; border-left: 13px solid var(--navy); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
@media (max-width: 760px) {
  .reels { --reels-edge: var(--gutter); }
  .reels__row { grid-auto-columns: min(84vw, 360px); gap: 14px; padding-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .reel img { transition: none; }
}

/* Pricing */
.pricing { background: var(--white); border-top: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 32px 30px 30px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 18px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.plan__price b { font-family: var(--display); font-size: 56px; line-height: 1; letter-spacing: -0.045em; font-weight: 600; color: var(--ink); }
.plan__price span { color: var(--muted); font-size: 15px; }
.plan__rates { margin: 0; }
.plan__rates > div + div { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan__rates dt { margin-bottom: 6px; color: var(--navy); font-size: 16px; font-weight: 600; }
.plan__rates .plan__price { display: block; }
.plan__rates .plan__price span { display: block; margin-top: 4px; }
.plan__tbd { margin: 8px 0 0; font-size: 13px; color: var(--navy); font-weight: 500; }
.plan ul { margin: 24px 0 28px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; flex: 1; }
.plan li { position: relative; padding-left: 26px; font-size: 16px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 11px; height: 6px; border-left: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy); transform: rotate(-45deg); }
.plans--two { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
.pricing__note { text-align: center; margin: 32px 0 0; color: var(--muted); }
.pricing__note a { font-weight: 600; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 480px; gap: 24px; }
}

/* Deal */
.deal__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); }
.deal__intro { align-self: start; position: sticky; top: 110px; }
.rules li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.rules li:last-child { border-bottom: 1px solid var(--line); }
.rules li > span {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow-soft); color: var(--ink); font-weight: 600; font-size: 14px; margin-top: 1px;
}
.rules h3 { font-family: var(--body); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.rules p { margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .deal__grid { grid-template-columns: 1fr; }
  .deal__intro { position: static; }
}

/* Where */
.where { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.where__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 12px; }
.towns li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 15px; font-weight: 500; background: var(--paper); }
.where__fallback { margin: 20px 0 0; padding: 16px 18px; border-radius: var(--r-md); background: var(--sand); font-size: 16px; }
.where__fallback a { font-weight: 600; }
/* Town map (scripts/townmap.mjs): a real street map (OpenStreetMap, drawn by scripts/basemap.mjs) cropped to the
   towns, the pickup area in SVG, pins and every label as HTML on top */
.tmap { margin: 0; container-type: inline-size; }
.tmap__stage {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: #D7E6F5; box-shadow: 0 1px 2px rgba(14,37,87,.06), 0 12px 32px rgba(14,37,87,.10), inset 0 0 0 1px rgba(22,53,122,.08);
}
.tmap__base { position: absolute; height: auto; max-width: none; display: block; pointer-events: none; user-select: none; }
.tmap__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* the pickup area: one flat shape, multiplied so the roads show through */
.tmap__area { mix-blend-mode: multiply; }
.tmap__area path { stroke-linejoin: round; stroke-linecap: round; }
.tmap__edge { fill: #4A80F0; stroke: #4A80F0; }
.tmap__fill { fill: #CFE0FF; stroke: #CFE0FF; }
.tmap__ctx { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none; }
.tmap__ctx--water { font-size: 12px; font-style: italic; font-weight: 500; letter-spacing: .04em; color: #365B8C; }
.tmap__ctx--place { font-size: 12px; font-weight: 500; color: #4B5362; }
.tmap__credit { position: absolute; right: 8px; bottom: 6px; font-size: 12px; line-height: 1.1; padding: 4px 6px; border-radius: 4px; background: rgba(255,255,255,.9); color: #3F4A60; text-decoration: none; }
.tmap__pins { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.tmap__pin { position: absolute; width: 0; height: 0; }
.tmap__dot {
  position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; box-sizing: border-box;
  background: var(--navy); border: 2.5px solid #fff; box-shadow: 0 1px 4px rgba(14,37,87,.35);
  transition: transform .3s var(--ease), background-color .3s;
}
.tmap__name {
  position: absolute; white-space: nowrap; font-size: 13px; font-weight: 600; line-height: 16px; color: var(--ink);
  padding: 3px 9px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(14,37,87,.16), 0 0 0 1px rgba(14,37,87,.05);
}
.tmap__pin--r .tmap__name { left: 11px; top: -11px; }
.tmap__pin--l .tmap__name { right: 11px; top: -11px; }
.tmap__pin--ru .tmap__name { left: 11px; top: -24px; } .tmap__pin--rd .tmap__name { left: 11px; top: 2px; }
.tmap__pin--lu .tmap__name { right: 11px; top: -24px; } .tmap__pin--ld .tmap__name { right: 11px; top: 2px; }
.tmap__pin--t .tmap__name { left: 0; bottom: 10px; transform: translateX(-50%); }
.tmap__pin--b .tmap__name { left: 0; top: 10px; transform: translateX(-50%); }
.tmap__pin--tr .tmap__name { left: 5px; bottom: 5px; }
.tmap__pin--br .tmap__name { left: 5px; top: 5px; }
.tmap__pin--tl .tmap__name { right: 5px; bottom: 5px; }
.tmap__pin--bl .tmap__name { right: 5px; top: 5px; }
.tmap__pin.is-hit .tmap__dot, .tmap__pin.is-hover .tmap__dot { transform: scale(1.35); box-shadow: 0 0 0 8px rgba(46,107,230,.3); }
.tmap__pin.is-hit .tmap__name, .tmap__pin.is-hover .tmap__name { background: var(--navy); color: #fff; }
.tmap__pin.is-hit, .tmap__pin.is-hover { z-index: 2; }
/* pins drop in once, when the map scrolls into view (tmap.js adds .is-in) */
html:not(.no-js) .tmap:not(.is-in) .tmap__dot { transform: scale(0); }
html:not(.no-js) .tmap:not(.is-in) .tmap__name { opacity: 0; }
.tmap.is-in .tmap__dot { animation: tmap-pop .5s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
.tmap.is-in .tmap__name { animation: tmap-fade .5s ease both; animation-delay: calc(var(--i) * 60ms + 150ms); }
@keyframes tmap-pop { from { transform: scale(0); } 60% { transform: scale(1.3); } to { transform: scale(1); } }
@keyframes tmap-fade { from { opacity: 0; } }
.tmap__cap { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.tmap__key { flex: none; width: 18px; height: 12px; border-radius: 6px; background: #CFE0FF; box-shadow: inset 0 0 0 1.5px #4A80F0; }
/* when the map itself is narrow (phones, small tablets): the zoomed-in view with smaller labels */
.tmap__stage--near { display: none; }
.tmap__stage--near .tmap__name { font-size: 12px; line-height: 14px; padding: 3px 7px; }
.tmap__stage--near .tmap__pin--r .tmap__name, .tmap__stage--near .tmap__pin--l .tmap__name { top: -10px; }
.tmap__stage--near :is(.tmap__pin--ru, .tmap__pin--lu) .tmap__name { top: -22px; } .tmap__stage--near :is(.tmap__pin--rd, .tmap__pin--ld) .tmap__name { top: 2px; }
.tmap__stage--near .tmap__dot { left: -6px; top: -6px; width: 12px; height: 12px; border-width: 2px; }
@container (max-width: 579px) {
  .tmap__stage--wide { display: none; }
  .tmap__stage--near { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .tmap.is-in .tmap__dot, .tmap.is-in .tmap__name { animation: none; }
  html:not(.no-js) .tmap:not(.is-in) .tmap__dot { transform: none; }
  html:not(.no-js) .tmap:not(.is-in) .tmap__name { opacity: 1; }
}
@media (max-width: 860px) { .where__grid { grid-template-columns: 1fr; } }

/* Maxi */
.maxi__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.maxi__photo { aspect-ratio: 1; box-shadow: var(--shadow-lg); }
.maxi__photo img { object-position: 60% 40%; }
.maxi__copy p { color: var(--muted); font-size: 18px; }
.maxi__copy .h2 { margin-bottom: 24px; }
@media (max-width: 860px) { .maxi__grid { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { background: var(--sand); }
.ph-link { display: inline-flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; min-height: 44px; padding-top: 10px; font-weight: 600; color: var(--ink); text-decoration: none; }
.ph-link em { font-style: normal; font-weight: 500; color: var(--navy); font-size: 14px; padding: 2px 8px; border-radius: 6px; background: rgba(22,53,122,.08); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 30px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.quote blockquote { margin: 0; font-family: var(--display); font-size: 21px; line-height: 1.35; letter-spacing: -0.015em; font-weight: 500; color: var(--muted); }
.quote blockquote::before { content: "“"; display: block; font-size: 48px; line-height: .8; color: var(--yellow); margin-bottom: 8px; font-weight: 700; }
.quote figcaption { display: grid; gap: 2px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.quote figcaption span { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; min-height: 44px; font-size: clamp(18px, 1.8vw, 20px); font-weight: 600; letter-spacing: -0.01em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .45s var(--ease), background-color .3s, border-color .3s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background-color: var(--yellow); border-color: var(--yellow); }
.faq__list summary:hover::after { border-color: var(--ink); }
.faq__list details > div { padding: 0 52px 26px 0; color: var(--muted); }
.faq__list details > div p { margin: 0; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .faq__list details > div { padding-right: 0; } }

/* FAQ "ask your own question" row (partials/ask.html, js/ask.js): reads as the list's last line */
.faq__col { min-width: 0; }
.ask { border-bottom: 1px solid var(--line); padding: 24px 0; scroll-margin-top: 96px; }
.ask__line { position: relative; display: grid; min-height: 32px; padding-right: 116px; }
/* prompt and textarea share one cell, so a wrapped prompt still sizes the row */
.ask__q, .ask__prompt { grid-area: 1 / 1; }
.ask__q, .ask__prompt { font-family: var(--body); font-size: clamp(18px, 1.8vw, 20px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.6; }
.ask__q {
  display: block; width: 100%; min-height: 32px; max-height: 180px; margin: 0; padding: 0; resize: none; overflow-y: auto;
  border: 0; border-radius: 0; outline: 0; background: transparent; color: var(--ink); caret-color: var(--navy);
}
.ask__q:focus-visible { outline: 0; }
.ask__prompt { color: var(--muted); pointer-events: none; }
.ask.has-question .ask__prompt { visibility: hidden; } /* the prompt stays until she types, like a placeholder */
.ask__caret {
  display: inline-block; width: 2px; height: 1.05em; margin-left: 4px; vertical-align: -0.15em; border-radius: 1px;
  background: var(--yellow); animation: ask-blink 1.05s step-end 4; /* four blinks, then it stays (nothing keeps moving past 5 s) */
}
@keyframes ask-blink { 50% { opacity: 0; } }
/* focus ring for the borderless textarea lives on the row */
.ask__line:has(.ask__q:focus-visible) { box-shadow: 0 2px 0 var(--navy); }
.ask__go {
  position: absolute; right: 0; top: 0; min-height: 34px; padding: 0 0 0 12px; border: 0; background: transparent;
  color: var(--navy); font: 600 16px/34px var(--body); white-space: nowrap; cursor: pointer;
  opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.ask__go span { display: inline-block; transition: transform .25s var(--ease); }
.ask__go:hover span { transform: translateX(3px); }
.ask.has-question .ask__go:not(:disabled) { opacity: 1; transform: none; pointer-events: auto; }
.ask.is-open .ask__go { display: none; }
.ask__err { margin: 0; font-size: 14px; line-height: 1.45; color: #B3261E; }
.ask__err:empty { display: none; }
.ask__line + .ask__err { margin-top: 6px; }
.ask__contact { padding-top: 20px; animation: ask-in .35s var(--ease) both; }
@keyframes ask-in { from { opacity: 0; transform: translateY(-6px); } }
.ask__lede { margin: 0 0 16px; color: var(--muted); font-size: 16px; }
.ask__fields { display: grid; grid-template-columns: .8fr 1.2fr; gap: 14px; }
.ask__field { display: grid; gap: 6px; min-width: 0; }
.ask__field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.ask__field input {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--white); color: var(--ink); font: 400 16px/1.4 var(--body); transition: border-color .2s, box-shadow .2s;
}
.ask__field input:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px var(--yellow-soft); }
.ask__field input[aria-invalid="true"] { border-color: #B3261E; }
.ask__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ask__send { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.ask__send p { margin: 0; font-size: 14px; color: var(--muted); }
.ask__send a { color: inherit; }
.ask__btn {
  flex: none; display: inline-flex; align-items: center; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px;
  background: var(--navy); color: #fff; font: 600 16px/1.2 var(--body); cursor: pointer; transition: background-color .2s, transform .3s var(--ease);
}
.ask__btn:hover { background: var(--navy-deep); transform: translateY(-1px); }
.ask__btn:disabled { cursor: wait; opacity: .6; transform: none; }
.ask__status { margin: 12px 0 0; font-size: 15px; font-weight: 500; color: #B3261E; }
.ask__status:empty { display: none; }
.ask__status:focus { outline: 0; }
.ask__thanks { display: flex; align-items: center; gap: 14px; animation: ask-in .35s var(--ease) both; }
.ask__line[hidden], .ask__thanks[hidden] { display: none; }
.ask__thanks:focus { outline: 0; }
.ask__thanks p { margin: 0; color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); }
.ask__thanks b { color: var(--ink); font-weight: 600; }
.ask__check {
  position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow);
}
.ask__check::after {
  content: ""; position: absolute; left: 10px; top: 10px; width: 12px; height: 6px;
  border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg);
}
@media (max-width: 600px) {
  .ask__line { padding-right: 0; }
  .ask__go { position: static; display: block; margin-top: 8px; padding: 0; height: 0; min-height: 0; overflow: hidden; }
  .ask.has-question .ask__go:not(:disabled) { height: auto; min-height: 44px; }
  .ask__fields { grid-template-columns: 1fr; }
  .ask__send { flex-direction: column; align-items: stretch; }
  .ask__btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ask__caret { animation: none; }
  .ask__contact, .ask__thanks { animation: none; }
  .ask__go, .ask__go span { transition: none; }
}

/* Final */
.final { position: relative; overflow: hidden; color: #fff; text-align: center; padding: clamp(110px, 16vw, 200px) 0; background: var(--navy-deep); }
.final__bg { position: absolute; inset: 0; overflow: hidden; }
.final__bg img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 50% 65%; }
.final__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,37,87,.62), rgba(14,37,87,.74)); }
.final__in { position: relative; }
.final__title { color: #fff; font-size: clamp(48px, 8.4vw, 112px); line-height: .98; letter-spacing: -0.042em; font-weight: 700; font-variation-settings: "opsz" 96; margin-bottom: 20px; text-wrap: balance; }
.final p { font-size: clamp(18px, 1.8vw, 21px); color: #fff; margin-bottom: 36px; }

/* Footer */
.foot { background: var(--paper); padding: 72px 0 calc(32px + env(safe-area-inset-bottom)); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.foot__brand img { width: 84px; height: 84px; object-fit: contain; margin-bottom: 16px; }
.foot__brand p { color: var(--muted); margin: 0; }
.foot__links { display: grid; gap: 4px; align-content: start; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--ink); text-decoration: none; }
.foot__links a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.foot__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 14px; color: var(--muted); }
.foot__base p { margin: 0; }
.foot__base a { color: var(--muted); }
.foot__base > a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__base p a { display: inline-block; padding: 12px 0; margin: -12px 0; }
@media (max-width: 760px) {
  .foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__brand { grid-column: 1 / -1; }
  .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 900;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transform: translateY(140%); transition: transform .6s var(--ease);
}
.sticky-cta p { margin: 0; display: grid; line-height: 1.25; font-size: 14px; }
.sticky-cta p b { font-weight: 600; }
.sticky-cta p span { color: var(--muted); font-size: 13px; }
.sticky-cta.is-on { transform: none; }
@media (max-width: 760px) { .sticky-cta { display: flex; } }
html.fb-menu-open .sticky-cta, html.fb-lock .sticky-cta { transform: translateY(140%); }

/* ---------- Page-level reveal helpers (page.js) ---------- */
html.js-d [data-d-group] > * { opacity: 0; }

/* ---------- Preloader (refined) ---------- */
.fb-preloader { gap: 32px; }
.fb-preloader__logo { width: min(40vw, 11rem); }
.fb-preloader__road { height: 2px; width: min(40vw, 11rem); background: var(--navy); opacity: .9; }

/* =========================================================
   Reserve sheet — refined overrides of the shared engine
   ========================================================= */
.fb-sheet__scrim { background: rgba(14, 22, 44, .42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.fb-sheet__panel {
  border-radius: 24px; padding: 22px 32px 32px; background: #fff;
  box-shadow: 0 40px 100px -20px rgba(14, 22, 44, .45), 0 0 0 1px rgba(14,22,44,.04);
  transition: transform .6s var(--ease), opacity .4s var(--ease);
  transform: translateY(24px);
}
.fb-sheet__top { background: #fff; }
.fb-sheet__progress { height: 4px; border-radius: 4px; background: var(--sand); }
.fb-sheet__progress span { background: var(--navy); box-shadow: none; transition: transform .6s var(--ease); }
.fb-sheet__x { border: 1px solid var(--line-strong); font-size: 22px; font-weight: 300; color: var(--ink); transition: background-color .25s, border-color .25s; }
.fb-sheet__x:hover { background: var(--sand); border-color: var(--ink); }
.fb-sheet__sample { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .01em; }
.fb-step__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--navy); margin-top: 10px; }
.fb-step__title { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 5vw, 36px); letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 10px; }
.fb-step__lede { color: var(--muted); font-size: 16px; }
.fb-field > span, .fb-chips legend { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.fb-field input, .fb-field select {
  min-height: 50px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.fb-field input::placeholder { color: #6B7285; }
.fb-field input:hover, .fb-field select:hover { border-color: rgba(17,28,54,.35); }
.fb-field input:focus, .fb-field select:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(22,53,122,.12); }
.fb-field.is-bad input, .fb-field.is-bad select { border-color: #C2362F; box-shadow: 0 0 0 4px rgba(194,54,47,.1); }
.fb-chips { gap: 8px; }
.fb-chips span { min-height: 44px; padding: 9px 18px; border: 1px solid var(--line-strong); font-weight: 500; font-size: 15px; background: #fff; }
.fb-chips label:hover span { border-color: rgba(17,28,54,.4); }
.fb-chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: none; }
.fb-chips input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.fb-check { font-weight: 500; font-size: 15px; padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.fb-check input { width: 20px; height: 20px; accent-color: var(--navy); }
.fb-deal { gap: 0; border-top: 1px solid var(--line); margin-bottom: 22px; }
.fb-deal li { background: none; border-bottom: 1px solid var(--line); border-radius: 0; padding: 14px 0 14px 34px; font-size: 15px; color: var(--muted); }
.fb-deal li b { color: var(--ink); font-weight: 600; }
.fb-deal li::before { content: ""; left: 2px; top: 17px; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow-soft); }
.fb-deal li::after { content: ""; position: absolute; left: 8px; top: 23px; width: 8px; height: 4px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.fb-btn {
  min-height: 52px; border: 1px solid transparent; border-radius: 999px;
  background: var(--yellow); color: var(--ink); font-family: var(--body); font-weight: 600; font-size: 16px; letter-spacing: -0.005em;
  box-shadow: 0 6px 16px -8px rgba(214, 150, 10, .6);
  transition: background-color .25s, transform .35s var(--ease), box-shadow .35s var(--ease), opacity .2s;
}
.fb-btn:hover { transform: translateY(-1px); background: #F8C548; box-shadow: 0 10px 22px -10px rgba(214, 150, 10, .65); }
.fb-btn:active { transform: none; box-shadow: 0 4px 10px -6px rgba(214, 150, 10, .6); }
.fb-btn[disabled], .fb-btn[disabled]:hover { opacity: 1; background: var(--sand); color: #8C93A3; box-shadow: none; transform: none; }
.fb-btn--ghost { background: #fff; border-color: var(--line-strong); color: var(--ink); font-family: var(--body); font-weight: 500; font-size: 15px; box-shadow: none; }
.fb-btn--ghost:hover { background: var(--paper); border-color: var(--ink); box-shadow: none; }
.fb-note { font-size: 13px; color: var(--muted); opacity: 1; margin: -4px 0 16px; }
.fb-dev { font-size: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--muted); opacity: 1; }
.fb-cal__days { gap: 8px; }
.fb-cal__day, .fb-cal__time { border: 1px solid var(--line-strong); background: #fff; border-radius: 12px; font-weight: 500; transition: background-color .2s, border-color .2s, color .2s; }
.fb-cal__day:hover, .fb-cal__time:hover { border-color: rgba(17,28,54,.45); }
.fb-cal__day { padding: 10px 0 12px; }
.fb-cal__day small { font-size: 11px; font-weight: 600; color: var(--muted); opacity: 1; }
.fb-cal__day b { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.fb-cal__time { font-size: 15px; }
.fb-cal__day.is-on, .fb-cal__time.is-on { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: none; }
.fb-cal__day.is-on small { color: rgba(255,255,255,.75); }
.fb-next { list-style: decimal; padding-left: 22px; color: var(--muted); font-size: 15px; }
.fb-next li { padding-left: 4px; }
.fb-next b { color: var(--ink); }
.fb-done-badge { width: 84px; animation: d-fade 1s var(--ease) both; }
@keyframes d-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .fb-sheet__panel { border-radius: 22px 22px 0 0; padding: 14px 18px calc(24px + env(safe-area-inset-bottom)); transform: translateY(100%); }
  .fb-cal__day b { font-size: 18px; }
}
.fb-sheet.is-open .fb-sheet__panel { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .u::after { transition: none; transform: scaleX(1); }
  html.js-d [data-d-group] > * { opacity: 1; }
}

/* live Instagram tiles */
.reel--live a { position: absolute; inset: 0; display: block; }
.reel--live .reel__play { position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.45); }
.reel--live .reel__play::after { content: ""; position: absolute; left: 12px; top: 9px; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* {{ lock }} values (span.tok) must look exactly like the words around them: component rules such as
   ".plan__price span" or ".ct__aside li span" are meant for their own labels, not for a value inside a sentence */
.tok.tok { font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; transform: none; transition: none; }

/* anchor targets get tabindex=-1 so keyboard focus can land on them (core.js); no ring around a whole section */
[tabindex="-1"]:focus { outline: none; }

/* ---- keyboard and screen-reader fixes (accessibility sweep, Oct 2026) ---- */
/* focus never lands under the fixed header, or under the phone's bottom bar */
html { scroll-padding-top: 88px; }
@media (max-width: 760px) { html { scroll-padding-bottom: 96px; } }
/* focus rings that show on the dark closing band, and on the FOX 5 tile (its frame clips outlines) */
.final :focus-visible { outline-color: #fff; }
.fb-yt:focus-visible { outline: 3px solid #fff; outline-offset: -3px; box-shadow: inset 0 0 0 6px var(--navy); }
/* the bottom bar steps aside while the menu is open */
html.fb-menu-open .sticky-cta { visibility: hidden; }
/* form fields: a border you can see (3:1) */
.fb-field input, .fb-field select, .ask__field input { border-color: rgba(17,28,54,.5); }
/* Windows high contrast: selected answers and focus stay visible */
@media (forced-colors: active) {
  .fb-opts input:checked + span, .fb-chips input:checked + span, .fb-cal__day.is-on, .fb-cal__time.is-on { outline: 3px solid Highlight; outline-offset: 2px; }
  .ask__line:has(.ask__q:focus-visible) { outline: 2px solid Highlight; }
}

/* /assets/css/pages/dashboard.css */
/* Maxi's dashboard (/dashboard/, js/pages/dashboard.js). Scoped to .dash so nothing leaks into the site.
   Layout: one phone-sized app (header, scrolling middle, tab bar), the Fetch Bus site's own colors and fonts.
   Tablets see it centered in a soft frame; from 960px wide it fills the window with a side menu. Light by default,
   dark with the header's moon button. */
.dash {
  --bg: #FBFAF7; --surface: #FFFFFF; --sunk: #F3F0E8; --frame: #ECE7DA; --frame-shadow: rgba(14, 23, 48, .16);
  --line: rgba(17, 28, 54, .09); --line-strong: rgba(17, 28, 54, .18); --grid: rgba(17, 28, 54, .07);
  --ink: #111C36; --muted: #566079;
  --accent: #16357A; --accent-fill: #16357A; --on-accent-fill: #FFFFFF;
  --sun: #F6B92B; --on-sun: #111C36; --sun-soft: #FDEFC8; --sun-ink: #7A5200;
  --good: #1E7A46; --good-soft: #DDF3E4;
  --bad: #B4302A; --bad-soft: #FBE4E1; --on-bad: #FFFFFF;
  --info-soft: #E6EDFB; --info-ink: #16357A;
  --neutral-soft: #F0EDE5; --neutral-ink: #566079;
  --scrim: rgba(14, 23, 48, .45); --tire: #1B2440;
  --toast: #111C36; --on-toast: #FBFAF7; --toast-act: #F6B92B;
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
/* dark: chosen with the moon button in the header (light is the default), remembered on that device */
.dash[data-theme="dark"] {
  --bg: #0B1430; --surface: #121D41; --sunk: #0E1836; --frame: #060B1D; --frame-shadow: rgba(0, 0, 0, .5);
  --line: rgba(243, 240, 232, .09); --line-strong: rgba(243, 240, 232, .18); --grid: rgba(243, 240, 232, .07);
  --ink: #F3F0E8; --muted: #A3ADC6;
  --accent: #A9C0FF; --accent-fill: #2B4AA0; --on-accent-fill: #FFFFFF;
  --sun: #F6B92B; --on-sun: #111C36; --sun-soft: rgba(246, 185, 43, .15); --sun-ink: #F8CF6B;
  --good: #6FD69A; --good-soft: rgba(111, 214, 154, .14);
  --bad: #FF928A; --bad-soft: rgba(255, 146, 138, .14); --on-bad: #2A0B09;
  --info-soft: rgba(169, 192, 255, .13); --info-ink: #C6D5FF;
  --neutral-soft: rgba(243, 240, 232, .07); --neutral-ink: #A3ADC6;
  --scrim: rgba(0, 0, 0, .55); --tire: #050A1A;
  --toast: #F3F0E8; --on-toast: #0B1430; --toast-act: #16357A;
  color-scheme: dark;
}


.dash, .dash *, .dash *::before, .dash *::after { box-sizing: border-box; }
.dash { position: fixed; inset: 0; z-index: 60; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.5; letter-spacing: normal; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
@media (min-width: 720px) { .dash { background: var(--frame); display: grid; place-items: center; } }
html:has(.dash), body.page-dashboard { overflow: hidden; }
.page-dashboard :is(.hdr, .foot, .sticky-cta, .menu, .fb-preloader, .skip) { display: none !important; }
/* resets at zero specificity, so the component rules below always win */
:where(.dash) :where(button, input, textarea, select) { font: inherit; color: inherit; letter-spacing: inherit; }
:where(.dash) button { cursor: pointer; }
:where(.dash) button:disabled { cursor: default; opacity: .4; }
.dash :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dash h1, .dash h2, .dash h3 { text-wrap: balance; }
.dash [hidden] { display: none !important; }
.dash .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the app frame ---------- */
.app { position: relative; height: 100%; width: 100%; max-width: 440px; margin: 0 auto; display: flex; flex-direction: column; background: var(--bg); overflow: hidden; }
@media (min-width: 720px) { .app { height: min(900px, calc(100% - 48px)); border-radius: 34px; border: 1px solid var(--line); box-shadow: 0 30px 80px var(--frame-shadow); } }

.top { position: relative; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 12px 16px 10px; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.brand img { width: 38px; height: 38px; flex: none; object-fit: contain; }
.brand b { display: block; font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; }
.brand small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.3; white-space: nowrap; }
.brand > div { min-width: 0; overflow: hidden; }
.brand b, .brand small { overflow: hidden; text-overflow: ellipsis; }
.theme-btn .i-sun { display: none; }
.dash[data-theme="dark"] .theme-btn .i-sun { display: block; }
.dash[data-theme="dark"] .theme-btn .i-moon { display: none; }
.icon-btn, .me { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.icon-btn { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.me { border: 0; background: var(--accent-fill); color: var(--on-accent-fill); font-family: var(--display); font-weight: 800; font-size: 16px; }
@media (max-width: 350px) {
  .top { gap: 4px; padding-inline: 10px; }
  .brand { gap: 7px; }
  .brand img { width: 34px; height: 34px; }
  .brand b { font-size: 16px; }
  .brand small { font-size: 11px; }
}

/* the little bus that drives across while things load */
.loader { position: absolute; left: 0; right: 0; top: 100%; height: 46px; pointer-events: none; opacity: 0; transition: opacity .2s; overflow: hidden; }
.app.is-loading .loader { opacity: 1; }
.road { position: absolute; left: 0; right: 0; bottom: 7px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 12px, transparent 12px 22px); }
.app.is-loading .road { animation: road .5s linear infinite; }
.bus { position: absolute; bottom: 4px; left: -80px; width: 72px; height: 40px; }
.app.is-loading .bus { animation: drive 1.45s cubic-bezier(.45, .05, .3, 1) forwards; }
.b-body { fill: var(--sun); } .b-stripe, .b-win { fill: var(--accent-fill); } .b-dog { fill: #A8743F; } .b-ear { fill: #6E4524; } .b-nose { fill: #2A1A0E; }
.b-light { fill: #FFF6D6; } .b-tire { fill: var(--tire); } .b-hub, .b-spoke { fill: var(--sun); } .b-puff { fill: var(--line-strong); }
.wheel { transform-box: fill-box; transform-origin: center; }
.app.is-loading .wheel { animation: spin .32s linear infinite; }
.app.is-loading .bus__top { animation: bob .28s ease-in-out infinite alternate; }
.app.is-loading .b-puff { animation: puff .55s ease-out infinite; }
.app.is-loading .b-puff + .b-puff { animation-delay: .27s; }
@keyframes drive { from { left: -80px; } to { left: calc(100% + 10px); } }
@keyframes road { to { background-position: -22px 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { to { transform: translateY(-1.5px); } }
@keyframes puff { from { opacity: .9; transform: translate(0, 0) scale(.6); } to { opacity: 0; transform: translate(-10px, -4px) scale(1.4); } }

.pull { position: absolute; left: 0; right: 0; top: 100%; display: flex; justify-content: center; align-items: center; gap: 6px; height: 34px; color: var(--muted); font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(-20px); pointer-events: none; }
.pull.is-ready { color: var(--accent); }

.scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px 28px; -webkit-overflow-scrolling: touch; }
.view { display: grid; gap: 14px; }

/* ---------- Home ---------- */
.hello h1 { margin: 6px 0 2px; font-family: var(--display); font-weight: 800; font-size: clamp(29px, 8.4vw, 36px); line-height: 1.02; letter-spacing: -.04em; }
.hello p { margin: 0; color: var(--muted); }
.dash .eyebrow { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.dash .eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--sun); }
.launch-card { display: grid; gap: 10px; padding: 18px; border: 2px solid var(--sun); border-radius: 24px; background: var(--sun-soft); }
.launch-card.is-approved { border-color: var(--good); background: var(--good-soft); }
.launch-card__badge { justify-self: start; margin: 0; padding: 5px 9px; border-radius: 99px; background: var(--sun); color: var(--on-sun); font-size: 11px; line-height: 1; font-weight: 800; letter-spacing: .1em; }
.launch-card.is-approved .launch-card__badge { background: var(--good); color: #fff; }
.launch-card h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 27px; line-height: 1; letter-spacing: -.035em; }
.launch-card > p:not(.launch-card__badge) { margin: 0; color: var(--muted); }
.launch-card__progress { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
.launch-card__progress b { color: var(--ink); }
.launch-card__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.launch-card__link { color: var(--accent); font-weight: 700; text-decoration: none; }
.todo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { position: relative; border: 0; border-radius: 24px; padding: 14px 14px 13px; min-height: 118px; text-align: left; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; overflow: hidden; transition: transform .15s; }
.tile:active { transform: scale(.98); }
.tile--sun { background: var(--sun); color: var(--on-sun); }
.tile--navy { background: var(--accent-fill); color: var(--on-accent-fill); }
.tile b { font-family: var(--display); font-weight: 800; font-size: 50px; line-height: .85; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.tile > span:last-child { font-weight: 600; font-size: 14px; line-height: 1.25; }
.tile__go { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.tile--sun .tile__go { background: rgba(17, 28, 54, .1); }
.tile--navy .tile__go { background: rgba(255, 255, 255, .16); }
.tile__paw { position: absolute; right: -10px; top: 30px; width: 58px; height: 58px; opacity: .16; }

.seg { display: flex; gap: 2px; padding: 4px; background: var(--sunk); border-radius: 99px; }
.seg button { flex: 1; border: 0; background: transparent; border-radius: 99px; padding: 8px 6px; font-weight: 600; font-size: 14px; color: var(--muted); transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px var(--line-strong); }

.dstats { display: grid; gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 16px 16px 14px; min-width: 0; }
.card h2 { margin: 0 0 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-family: var(--body); font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.card h2 span { font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 12.5px; text-align: right; }
.visits { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.big { font-family: var(--display); font-weight: 800; font-size: 54px; line-height: .95; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.delta { display: inline-flex; align-items: center; gap: 3px; padding: 3px 9px 3px 6px; border-radius: 99px; background: var(--good-soft); color: var(--good); font-weight: 700; font-size: 13px; }
.spark { display: block; width: 100%; height: auto; margin-top: 10px; overflow: visible; }
.spark .g { stroke: var(--grid); stroke-width: 1; }
.spark__line { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.spark__dot { fill: var(--accent); }
.spark__halo { fill: var(--accent); opacity: .16; }
.spark .t { fill: var(--muted); font: 500 11px var(--body); }
.spark .v { fill: var(--ink); font: 700 12px var(--body); }

.rows { display: grid; gap: 13px; }
.row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 5px 10px; }
.row__ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--sunk); color: var(--accent); }
.row__lbl { font-weight: 600; font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__num { font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row__num b { font-weight: 700; }
.row__num small { margin-left: 6px; color: var(--muted); font-size: 12.5px; }
.bar { grid-column: 2 / 4; height: 8px; border-radius: 99px; background: var(--sunk); overflow: hidden; }
.bar i, .fbar i { display: block; height: 100%; border-radius: inherit; background: var(--accent-fill); transform-origin: left center; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }

.funnel { display: grid; gap: 4px; }
.fstep__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 600; font-size: 14px; }
.fstep__top b { font-variant-numeric: tabular-nums; font-size: 15px; }
.fbar { height: 30px; margin-top: 6px; border-radius: 10px; background: var(--sunk); overflow: hidden; }
.fbar i.is-goal { background: var(--sun); }
.fdrop { margin: 4px 0 6px; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; }
.fdrop::before { content: ""; width: 10px; height: 10px; border-left: 1.6px solid var(--line-strong); border-bottom: 1.6px solid var(--line-strong); border-radius: 0 0 0 4px; margin: -6px 2px 0 8px; }
.card .chips { margin-top: 12px; }

.prows { display: grid; gap: 10px; }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: 14px; }
.prow span { font-weight: 600; }
.prow b { font-variant-numeric: tabular-nums; }
.prow .bar { grid-column: 1 / 3; height: 5px; }
.prow .bar i { background: var(--accent); opacity: .55; }
.kit { margin-top: 12px; padding: 0; }
.kit summary { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; list-style: none; }
.kit summary::-webkit-details-marker { display: none; }
.kit__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kit__txt b { font-size: 15px; }
.kit__txt small, .kit__msg { color: var(--muted); font-size: 12.5px; }
.kit__chev { color: var(--muted); transition: transform .2s; }
.kit[open] .kit__chev { transform: rotate(180deg); }
.kit__body { padding: 0 16px 16px; }
.kit__msg { margin: 0 0 4px; }
.kit__h { margin: 14px 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.kit__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.kit__item { margin: 0; min-width: 0; }
.kit__pic { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--sunk); }
.kit__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kit__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(17, 28, 54, .28); }
.kit__item figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 5px; font-size: 12px; }
.kit__item figcaption span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.kit__item figcaption a { color: var(--accent); font-weight: 600; text-decoration: none; }
.note { margin: 2px 6px 0; text-align: center; color: var(--muted); font-size: 12.5px; }

/* ---------- chips (status and tags) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; border-radius: 99px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.chip--new { background: var(--accent-fill); color: var(--on-accent-fill); }
.chip--info { background: var(--info-soft); color: var(--info-ink); }
.chip--warn { background: var(--sun-soft); color: var(--sun-ink); }
.chip--good { background: var(--good-soft); color: var(--good); }
.chip--bad { background: var(--bad-soft); color: var(--bad); }
.chip--muted { background: var(--neutral-soft); color: var(--neutral-ink); }

/* ---------- Leads ---------- */
.dsearch { position: relative; margin-top: 6px; }
.dsearch svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.dsearch input { width: 100%; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 16px; padding: 12px 14px 12px 42px; font-size: 16px; }
.dsearch input::placeholder { color: var(--muted); }
.filters { display: flex; gap: 8px; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 99px; padding: 7px 13px; font-weight: 600; font-size: 14px; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.filters .n { font-variant-numeric: tabular-nums; color: var(--muted); }
.filters button[aria-pressed="true"] .n { color: inherit; opacity: .7; }
.list { display: grid; gap: 10px; }
.leads-intro { display: grid; gap: 9px; padding: 18px; border-radius: 24px; background: var(--sun-soft); border: 1px solid color-mix(in srgb, var(--sun) 55%, transparent); }
.leads-intro h2 { margin: 0; font-family: var(--display); font-size: 26px; line-height: 1; letter-spacing: -.035em; }
.leads-intro p { margin: 0; color: var(--muted); }
.leads-intro__key { color: var(--ink) !important; font-size: 13px; font-weight: 700; }
.leads-intro .dbtn { justify-self: start; }
.lead { width: 100%; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; transition: transform .15s, border-color .15s; }
.lead:active { transform: scale(.99); }
.lead__main { display: grid; gap: 1px; min-width: 0; }
.lead__l1 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.lead__name { font-weight: 700; font-size: 16px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead time { flex: none; color: var(--muted); font-size: 12.5px; }
.lead__l2 { color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead .chips { margin-top: 8px; }
.av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: -.02em; }
.av--lg { width: 58px; height: 58px; font-size: 20px; }
.av--sun { background: var(--sun-soft); color: var(--sun-ink); }
.av--info { background: var(--info-soft); color: var(--info-ink); }
.av--good { background: var(--good-soft); color: var(--good); }
.av--neutral { background: var(--neutral-soft); color: var(--ink); }
.empty { padding: 34px 18px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line-strong); border-radius: 22px; }
.empty b { display: block; color: var(--ink); font-family: var(--display); font-size: 20px; letter-spacing: -.02em; margin-bottom: 4px; }

/* entrance: everything rests visible; these only play once when a view is drawn */
.is-entering > *, .is-entering .lead { animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; }
.is-entering > *:nth-child(2) { animation-delay: .05s; } .is-entering > *:nth-child(3) { animation-delay: .1s; }
.is-entering > *:nth-child(4) { animation-delay: .15s; } .is-entering > *:nth-child(5) { animation-delay: .2s; } .is-entering > *:nth-child(n+6) { animation-delay: .25s; }
.list.is-entering .lead { animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.is-entering .spark__line { stroke-dasharray: 1; animation: draw 1.15s .15s cubic-bezier(.3, .7, .2, 1) both; }
.is-entering .spark__area { animation: fade .8s .5s both; }
.is-entering .spark__dot, .is-entering .spark__halo, .is-entering .spark .v { animation: fade .35s 1.15s both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } }

/* ---------- tab bar ---------- */
.tabs { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 10px 8px; background: var(--surface); border-top: 1px solid var(--line); }
.tabs.tabs--gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tabs button { position: relative; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px 4px; border-radius: 14px; color: var(--muted); font-size: 12px; font-weight: 600; }
.tabs button[aria-current="page"] { color: var(--accent); }
.tabs button[aria-current="page"]::after { content: ""; position: absolute; top: -6px; width: 26px; height: 2.5px; border-radius: 0 0 3px 3px; background: var(--accent); }
.badge { position: absolute; top: 1px; left: calc(50% + 7px); min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--bad); color: var(--on-bad); font-size: 11.5px; font-weight: 700; line-height: 19px; font-variant-numeric: tabular-nums; }

/* ---------- toast ---------- */
.toast { position: absolute; left: 16px; right: 16px; bottom: 84px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 16px; border-radius: 16px; background: var(--toast); color: var(--on-toast); font-weight: 500; font-size: 14.5px; opacity: 0; transform: translateY(16px); transition: opacity .22s, transform .22s; pointer-events: none; }
.toast.is-on { opacity: 1; transform: none; pointer-events: auto; }
.toast button { border: 0; background: transparent; color: var(--toast-act); font-weight: 700; padding: 4px 2px; }

/* ---------- bottom sheet ---------- */
.scrim { position: absolute; inset: 0; z-index: 20; background: var(--scrim); opacity: 0; transition: opacity .28s; }
.scrim.is-open { opacity: 1; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 21; max-height: 92%; display: flex; flex-direction: column; background: var(--surface); border-radius: 28px 28px 0 0; box-shadow: 0 -10px 40px var(--frame-shadow); transform: translateY(104%); transition: transform .36s cubic-bezier(.2, .8, .2, 1); }
.sheet.is-open { transform: none; }
.sheet__grab { flex: none; height: 26px; display: grid; place-items: center; touch-action: none; cursor: grab; }
.sheet__grab span { width: 42px; height: 5px; border-radius: 99px; background: var(--line-strong); }
.sheet__x { position: absolute; z-index: 2; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--sunk); color: var(--ink); display: grid; place-items: center; }
.sheet__body { overflow-y: auto; padding: 2px 18px 26px; display: grid; gap: 14px; }
.sheet h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.05; letter-spacing: -.035em; outline: none; }
.sh-head { display: flex; align-items: center; gap: 14px; padding-right: 40px; }
.sh-who { min-width: 0; }
.sh-who p, .sh-p { margin: 2px 0 0; color: var(--muted); }
.sh-h { margin: 6px 0 -4px; display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.saved { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--good); }
.msg { margin: 0; padding: 14px 16px; border-radius: 18px; background: var(--sunk); font-size: 15.5px; line-height: 1.5; }
.msg::before { content: "“"; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 0; vertical-align: -10px; margin-right: 2px; color: var(--accent); }
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.act { border: 1px solid var(--line); background: var(--sunk); border-radius: 18px; padding: 12px 6px 10px; display: flex; flex-direction: column; align-items: center; gap: 5px; font-weight: 600; font-size: 14px; color: var(--ink); }
.act[aria-expanded="true"] { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-accent-fill); }
.preview { padding: 14px; border: 1px dashed var(--line-strong); border-radius: 18px; display: grid; gap: 8px; }
.preview p { margin: 0; }
.preview__cap { color: var(--muted); font-size: 13px; }
.preview__big { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; user-select: all; overflow-wrap: anywhere; }
.preview__big--sm { font-size: 19px; }
.preview__to { color: var(--muted); font-size: 12.5px; }
.bubble { justify-self: end; max-width: 88%; padding: 10px 14px; border-radius: 20px 20px 6px 20px; background: var(--accent-fill); color: var(--on-accent-fill); font-size: 15px; line-height: 1.45; }
.statuses { display: flex; flex-wrap: wrap; gap: 8px; }
.st { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 99px; padding: 8px 14px; font-weight: 600; font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.st[aria-pressed="true"] { border-color: transparent; }
.st--new[aria-pressed="true"] { background: var(--accent-fill); color: var(--on-accent-fill); }
.st--contacted[aria-pressed="true"] { background: var(--info-soft); color: var(--info-ink); }
.st--deferred[aria-pressed="true"] { background: var(--sun-soft); color: var(--sun-ink); }
.st--booked[aria-pressed="true"] { background: var(--good-soft); color: var(--good); }
.st--nofit[aria-pressed="true"] { background: var(--neutral-soft); color: var(--neutral-ink); }
.panel { padding: 14px; border-radius: 18px; background: var(--sun-soft); display: grid; gap: 10px; }
.panel--good { background: var(--good-soft); }
.panel--muted { background: var(--neutral-soft); }
.panel p { margin: 0; }
.panel__h { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.panel__note { font-size: 14px; }
/* ---------- Review and setup (lib/start.mjs) ---------- */
.st-head { display: grid; gap: 4px; }
.st-head h1 { margin: 6px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 7.6vw, 36px); line-height: 1.02; letter-spacing: -.04em; }
.st-head p { margin: 0; color: var(--muted); }
.st-bar { height: 10px; border-radius: 99px; background: var(--sunk); overflow: hidden; margin-top: 8px; }
.st-bar i { display: block; height: 100%; background: var(--sun); border-radius: inherit; transition: width .5s; }
.st-list { display: grid; gap: 10px; }
.st-review { display: grid; gap: 14px; margin-top: 4px; padding: 16px; border: 2px solid var(--sun); border-radius: 24px; background: var(--sun-soft); }
.st-review__head { display: grid; gap: 4px; }
.st-review__head .eyebrow { margin: 0; color: var(--sun-ink); }
.st-review__head h2 { margin: 0; font-family: var(--display); font-size: 26px; letter-spacing: -.03em; }
.st-review__head > p:last-child { margin: 0; color: var(--muted); font-size: 14.5px; }
.st-review .st-task { border-color: color-mix(in srgb, var(--sun) 38%, var(--line)); }
.st-task { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.st-task.is-done { background: var(--good-soft); border-color: transparent; }
.st-task.is-done .st-task__t { text-decoration: line-through; text-decoration-color: var(--good); }
.st-dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; background: var(--surface); color: var(--on-accent-fill); padding: 0; }
button.st-dot { cursor: pointer; }
.is-done .st-dot { background: var(--good); border-color: var(--good); }
.st-task__t { margin: 3px 0 2px; font-weight: 700; font-size: 16px; }
.st-task p { margin: 0; font-size: 14px; color: var(--muted); }
.st-task .st-detail { margin-top: 4px; color: var(--ink); font-weight: 600; }
.st-task ol { margin: 8px 0 0; padding-left: 18px; font-size: 14px; display: grid; gap: 3px; }
.st-task .agr-acts { margin-top: 10px; }
.st-auto { font-size: 12px; color: var(--muted); margin-top: 6px !important; }
.review-head { padding: 18px; border-radius: 24px; background: var(--accent-fill); color: var(--on-accent-fill); }
.review-head .eyebrow { color: var(--sun); }
.review-head h1 { color: var(--on-accent-fill); }
.review-head p { color: color-mix(in srgb, var(--on-accent-fill) 76%, transparent); }
.review-head p b { color: var(--on-accent-fill); }
.review-head .st-bar { background: rgba(255, 255, 255, .18); }
.review-list { display: grid; gap: 12px; }
.review-card { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 16px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.review-card.is-done { border-color: color-mix(in srgb, var(--good) 35%, transparent); background: var(--good-soft); }
.review-card.is-locked { opacity: .82; }
.review-card__num { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-fill); color: var(--on-accent-fill); font-family: var(--display); font-size: 17px; font-weight: 800; }
.review-card.is-done .review-card__num { background: var(--good); color: #fff; }
.review-card__main { min-width: 0; display: grid; gap: 9px; }
.review-card__step { margin: 0; color: var(--muted); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.review-card h2 { margin: -4px 0 0; font-family: var(--display); font-size: 23px; line-height: 1.04; letter-spacing: -.03em; }
.review-card__main > p:not(.review-card__step, .review-card__locked) { margin: 0; color: var(--muted); }
.review-card ol { margin: 0; padding-left: 19px; display: grid; gap: 4px; color: var(--muted); font-size: 14px; }
.review-card__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.review-card__actions .dbtn { padding: 10px 14px; font-size: 14px; text-decoration: none; }
.review-done { min-height: 44px; justify-self: stretch; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); color: var(--ink); padding: 10px 12px; display: flex; justify-content: center; align-items: center; gap: 7px; font-weight: 700; }
.review-card.is-done .review-done { border-color: transparent; background: var(--good); color: #fff; }
.review-card__locked { margin: 0; padding: 11px 12px; border-radius: 14px; background: var(--sunk); color: var(--muted); font-size: 14px; font-weight: 600; }
.review-approve { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; background: var(--sun-soft); color: var(--ink); font-weight: 600; }
.review-approve input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent-fill); }
.review-help { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; border: 1px dashed var(--line-strong); border-radius: 22px; }
.review-help h2, .review-help p { margin: 0; }
.review-help h2 { font-family: var(--display); font-size: 21px; letter-spacing: -.025em; }
.review-help p { color: var(--muted); font-size: 14px; }
.st-help details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 16px; }
.st-help details + details { margin-top: 8px; }
.st-help summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; }
.st-help summary::-webkit-details-marker { display: none; }
.st-help ol { margin: 0 0 14px; padding-left: 18px; display: grid; gap: 4px; font-size: 14.5px; }
.st-acc { display: grid; gap: 0; }
.st-acc > div { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.st-acc b { display: block; font-size: 15px; }
.st-acc span { color: var(--muted); }
.agr-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.agr-acts .dbtn { padding: 10px 16px; font-size: 14.5px; text-decoration: none; }
.agr-form .chips { gap: 6px; }
.agr-l { margin: 2px 0 -4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.agr-in { width: 100%; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 12px; padding: 10px 12px; font-size: 16px; }
.agr-flags { margin: 0; padding-left: 18px; font-size: 14px; color: var(--bad); font-weight: 600; }
.pick { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 99px; padding: 6px 12px; font-weight: 600; font-size: 13.5px; }
.pick[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pick input { border: 0; background: transparent; padding: 0; font-size: 13.5px; min-width: 0; max-width: 132px; }
textarea { width: 100%; min-height: 84px; resize: vertical; border: 1px solid var(--line-strong); background: var(--bg); border-radius: 16px; padding: 12px 14px; font-size: 16px; line-height: 1.45; }
textarea::placeholder { color: var(--muted); }
.answers { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.answers div { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.answers dt { color: var(--muted); }
.answers dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.answers .hot dd { color: var(--bad); }
.dbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 99px; padding: 13px 20px; font-weight: 700; font-size: 15.5px; }
.dbtn--wide { width: 100%; }
.dbtn--sun { background: var(--sun); color: var(--on-sun); }
.dbtn--navy { background: var(--accent-fill); color: var(--on-accent-fill); }
.dbtn--ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink); padding: 10px 16px; font-size: 14.5px; justify-self: start; }
.linkbox { padding: 16px; border-radius: 20px; background: var(--sunk); display: grid; gap: 10px; }
.linkbox p { margin: 0; }
.linkbox__cap { font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.linkbox__url { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 14px; overflow-wrap: anywhere; }
.linkbox__url span { color: var(--muted); }
.linkbox__url b { color: var(--ink); }
.linkbox__note { font-size: 14px; color: var(--muted); }
.facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.facts svg { flex: none; color: var(--good); margin-top: 2px; }
.dmenu { display: grid; gap: 8px; }
.dmenu__item { text-align: left; border: 1px solid var(--line); background: var(--sunk); border-radius: 16px; padding: 14px 16px; font-weight: 600; }
.dmenu__item--muted { color: var(--muted); font-weight: 500; }

/* ---------- first-visit tour ---------- */
.tour { display: grid; gap: 14px; padding: 2px 0 4px; }
.tour > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 16px; }
.tour aside { display: grid; gap: 3px; padding: 14px 15px; border-left: 4px solid var(--sun); border-radius: 4px 16px 16px 4px; background: var(--sun-soft); color: var(--muted); font-style: normal; }
.tour aside b { color: var(--ink); }
.tour-dots { display: flex; justify-content: center; gap: 7px; padding: 2px 0; }
.tour-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.tour-dots span.is-on { width: 24px; border-radius: 99px; background: var(--sun); }
.tour-jobs { display: grid; gap: 8px; }
.tour-jobs div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 16px; background: var(--sunk); }
.tour-jobs b { font-size: 15.5px; }
.tour-jobs span { color: var(--muted); font-size: 14px; }
.tour-skip, .tour-back { min-height: 44px; border: 0; background: transparent; color: var(--muted); font-weight: 700; }
.tour-back { color: var(--accent); }
.help-restart { margin-top: 4px; }

/* ---------- sign in ---------- */
.signin { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; padding: 24px 22px; background: var(--bg); overflow-y: auto; }
.signin__form { width: 100%; max-width: 340px; display: grid; gap: 12px; }
.signin__logo { width: 88px; height: auto; margin-bottom: 4px; }
.signin h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -.04em; line-height: 1; }
.signin p { margin: 0; color: var(--muted); }
.signin label[for="pw"] { font-weight: 600; margin-top: 8px; }
.signin input[type="password"] { width: 100%; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 16px; padding: 13px 14px; font-size: 16px; }
.signin input[aria-invalid="true"] { border-color: var(--bad); }
.signin__err { color: var(--bad) !important; font-size: 14px; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent-fill); flex: none; }
.signin__help, .signin__mock { font-size: 13.5px; text-align: center; }
.signin__mock { color: var(--sun-ink) !important; }

.paw { position: absolute; z-index: 50; width: 18px; height: 18px; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .dash *, .dash *::before, .dash *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* sign-in extras: first-time password setup (Eli), plain-text buttons */
.linkish { border: 0; background: none; padding: 0; color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.signin__ok { color: var(--good) !important; font-weight: 600; }
.signin label[for="setup-key"], .signin label[for="setup-who"], .signin label[for="setup-pw"] { font-weight: 600; margin-top: 8px; }
.signin select { width: 100%; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 16px; padding: 13px 14px; font-size: 16px; color: var(--ink); }
.signin form[hidden] { display: none; }
.load-err { padding: 18px; border-radius: 20px; background: var(--bad-soft); color: var(--bad); font-weight: 600; }
.load-err button { margin-top: 10px; }
.act { text-decoration: none; }

/* ---------- desktop: the whole window, a side menu instead of bottom tabs, wider grids, details in a side panel ---------- */
@media (min-width: 960px) {
  .dash { background: var(--bg); display: block; }
  .app { max-width: none; height: 100%; border: 0; border-radius: 0; box-shadow: none; display: grid; grid-template-columns: 232px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "top top" "tabs scroll"; }
  .top { grid-area: top; padding: 14px 28px 12px; border-bottom-color: var(--line); }
  .top.is-scrolled { border-bottom-color: var(--line); }
  .brand img { width: 42px; height: 42px; }
  .brand b { font-size: 20px; }

  .tabs { grid-area: tabs; display: flex; flex-direction: column; gap: 4px; padding: 20px 14px; border-top: 0; border-right: 1px solid var(--line); background: var(--bg); }
  .tabs button { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 11px 14px; font-size: 15px; color: var(--ink); }
  .tabs button:hover { background: var(--sunk); }
  .tabs button[aria-current="page"] { background: var(--surface); color: var(--accent); box-shadow: 0 1px 2px var(--line-strong); }
  .tabs button[aria-current="page"]::after { display: none; }
  .tabs .badge { position: static; margin-left: auto; }

  .scroll { grid-area: scroll; padding: 26px 36px 48px; }
  .view { max-width: 1160px; margin: 0 auto; gap: 18px; }

  .hello h1 { font-size: 40px; }
  .launch-card { max-width: 820px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 22px 24px; }
  .launch-card__badge, .launch-card h2, .launch-card > p, .launch-card__progress, .launch-card .st-bar { grid-column: 1; }
  .launch-card__actions { grid-column: 2; grid-row: 1 / span 5; flex-direction: column; align-items: stretch; min-width: 180px; }
  .review-list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .review-card:last-child { grid-column: 1 / -1; }
  .review-help { max-width: 720px; }
  .todo { grid-template-columns: repeat(2, minmax(0, 260px)); gap: 14px; }
  .tile { min-height: 132px; padding: 16px; }
  .tile:hover { transform: translateY(-2px); }
  .seg { max-width: 380px; }
  .dstats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
  .card { padding: 20px 22px 18px; }
  .kit { padding: 0; }
  .kit summary { padding: 16px 22px; }
  .kit__body { padding: 0 22px 22px; }
  .kit__grid { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }

  .dsearch { max-width: 560px; }
  .filters { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; }
  .list { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; align-items: start; }
  .lead:hover { border-color: var(--line-strong); }

  .scrim { position: fixed; }
  .sheet { position: fixed; top: 0; bottom: 0; left: auto; right: 0; width: min(520px, 100%); max-height: none; border-radius: 28px 0 0 28px; transform: translateX(104%); box-shadow: -10px 0 40px var(--frame-shadow); }
  .sheet__grab { display: none; }
  .sheet__x { top: 18px; right: 18px; }
  .sheet__body { padding: 26px 28px 32px; }

  .toast { left: auto; right: 28px; bottom: 28px; width: 400px; }
}

/* /assets/css/pages/gallery-admin.css */
/* Gallery administration uses the dashboard's color tokens, including dark mode. */
.ga { padding: 12px 0 24px; gap: 18px; max-width: 1120px; margin-inline: auto; width: 100%; }
.ga h1, .ga h2, .ga h3 { font-family: var(--display); color: var(--ink); letter-spacing: -.035em; }
.ga-intro h1 { font-size: clamp(26px, 6vw, 34px); line-height: 1.1; margin: 0; }
.ga-intro p { color: var(--muted); margin: 0; }
.ga-intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.ga-parent-view { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 10px; }
.ga-parent-view #ga-parent-view-help { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ga .ga-eyebrow { color: var(--accent); letter-spacing: .12em; font-size: 10px; font-weight: 800; }
.ga-segments { display: flex; padding: 4px; border-radius: 18px; background: var(--sunk); gap: 4px; }
.ga-segments button { flex: 1; min-height: 44px; border: 0; background: transparent; border-radius: 14px; font-size: 13px; font-weight: 700; color: var(--muted); }
.ga-segments button[aria-pressed="true"] { background: var(--surface); color: var(--accent); box-shadow: 0 2px 5px var(--line); }
#ga-content { display: grid; gap: 18px; min-width: 0; }
.ga-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(16px, 3vw, 26px); min-width: 0; }
.ga-card h2 { margin: 0 0 8px; font-size: 25px; line-height: 1.12; }
.ga-card h3 { font-size: 23px; margin: 0 0 8px; }
.ga-card p { margin: 0 0 16px; color: var(--muted); }
.ga-heading { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ga-heading h2 { margin: 0; }
.ga-pill { display: inline-block; color: var(--sun-ink); background: var(--sun-soft); padding: 6px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.ga form { display: grid; gap: 16px; }
.ga label:not(.ga-button):not(.ga-picker) { display: grid; gap: 7px; font-size: 13px; font-weight: 650; }
.ga input:not([type="checkbox"]):not([type="file"]), .ga textarea { width: 100%; min-width: 0; min-height: 48px; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 12px; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); }
.ga textarea { resize: vertical; }
.ga-muted { color: var(--muted); font-weight: 400; }
.ga-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line-strong); border-radius: 13px; padding: 10px 14px; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--surface); text-decoration: none; cursor: pointer; line-height: 1.3; text-align: center; }
.ga-button.ga-primary { background: var(--sun); color: var(--on-sun); border-color: transparent; }
.ga-button.ga-quiet { background: transparent; border-color: transparent; color: var(--muted); }
.ga-button.ga-small { min-height: 44px; font-size: 12px; padding: 8px 10px; }
.ga-wide { width: 100%; }
.ga-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ga-inline { display: flex; gap: 8px; align-items: center; }
.ga-inline input { flex: 1; }
.ga .ga-picker { display: grid; place-items: center; text-align: center; gap: 7px; padding: 26px 14px; border: 2px dashed var(--line-strong); border-radius: 18px; color: var(--accent); background: var(--info-soft); cursor: pointer; }
.ga-picker > span { font-size: 35px; line-height: 1; }
.ga-picker > strong { font-size: 17px; }
.ga-picker > small { max-width: 260px; color: var(--muted); font-size: 12px; }
.ga-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.ga-picker:has(+ input:focus-visible), .ga-button:has(+ input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.ga .ga-help { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0; }
.ga-destinations { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.ga-destinations summary { cursor: pointer; font-size: 13px; font-weight: 700; min-height: 44px; display: list-item; padding-block: 10px; }
.ga-destinations summary span { font-size: 11px; }
.ga-choices { display: grid; gap: 3px; padding: 6px 0 12px; }
.ga-selected-places { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.ga-button.ga-place-chip { background: var(--sun-soft); color: var(--sun-ink); border-color: transparent; }
.ga-choice > div { display: flex; flex-wrap: wrap; justify-content: flex-end; }
.ga-choice { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.ga .ga-choice label { display: flex; align-items: center; flex: 1; min-height: 44px; }
.ga-choice input { accent-color: var(--accent-fill); width: 20px; height: 20px; flex: none; }
.ga-selected, .ga-upload-list { padding: 0; margin: 0; list-style: none; }
.ga-selected { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-height: 340px; overflow: auto; }
.ga-selected li { display: grid; align-content: start; gap: 3px; min-width: 0; font-size: 11px; }
.ga-selected li > span { min-width: 0; overflow-wrap: anywhere; }
.ga-selected .ga-file-name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ga-local-preview { width: 100%; aspect-ratio: 1; border-radius: 9px; position: relative; overflow: hidden; display: grid; place-items: center; color: var(--accent); background: var(--info-soft); }
.ga-local-preview :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ga-selected small, .ga-gallery small, .ga-pending small { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.ga-upload-list { display: grid; gap: 15px; margin: 14px 0 20px; max-height: 440px; overflow: auto; padding-right: 4px; }
.ga-upload-list li { padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.ga-file-row strong { font-size: 12px; display: block; overflow-wrap: anywhere; }
.ga-file-state { color: var(--muted); font-size: 12px; display: block; margin: 4px 0 8px; }
.ga progress { width: 100%; height: 6px; border: 0; border-radius: 4px; overflow: hidden; accent-color: var(--accent); background: var(--line); }
.ga progress::-webkit-progress-bar { background: var(--line); }
.ga progress::-webkit-progress-value { background: var(--accent); }
.ga progress::-moz-progress-bar { background: var(--accent); }
.ga .ga-batch-count { color: var(--accent); font-weight: 700; }
.ga .ga-notice { background: var(--info-soft); color: var(--info-ink); padding: 13px 15px; border-radius: 14px; margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.ga .ga-notice.ga-error { background: var(--bad-soft); color: var(--bad); }
.ga-gallery-list { display: grid; gap: 10px; }
.ga-gallery { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 0; border: 0; border-top: 1px solid var(--line); color: var(--ink); background: transparent; text-align: left; }
.ga-gallery > span:nth-child(2) { min-width: 0; flex: 1; }
.ga-gallery strong { display: block; font-size: 14px; }
.ga-manage-label { display: block; color: var(--accent); font-weight: 750; font-size: 12px; margin-top: 9px; }
.ga-management-actions { margin-bottom: 24px; }
.ga-management-actions > .ga-primary { width: 100%; }
.ga-danger-zone { border-color: var(--bad); }
.ga-button.ga-danger { color: var(--bad); border-color: var(--bad); }
.ga-danger-zone .ga-help { margin-top: 12px; }
.ga-segments button { min-width: 0; padding-inline: 5px; }
.ga-date-mark { width: 48px; height: 54px; border-radius: 13px; background: var(--sun-soft); display: grid; place-items: center; color: var(--sun-ink); font: 800 25px var(--display); flex: none; }
.ga-pending { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 13px; background: var(--sun-soft); padding: 12px; margin-bottom: 10px; font-size: 13px; }
.ga-person { padding: 16px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; }
.ga-person > div > p { font-size: 12px; margin: 3px 0 0; }
.ga-people { margin-top: 16px; }
.ga .ga-empty { padding: 20px 0 5px; font-size: 14px; }
.ga-detail-nav { position: sticky; top: 0; z-index: 2; padding: 8px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.ga-detail-nav[hidden], .ga-health-warning[hidden] { display: none; }
.ga-health { padding: 0; scroll-margin-top: 72px; overflow-wrap: anywhere; }
.ga-health > summary { display: flex; align-items: center; gap: 10px; padding: 16px; min-height: 76px; cursor: pointer; list-style: none; }
.ga-health > summary::-webkit-details-marker { display: none; }
.ga-health > summary::after { content: '+'; font-size: 22px; flex: none; color: var(--muted); }
.ga-health[open] > summary::after { content: '−'; }
.ga-health > summary > span:first-child { flex: 1; min-width: 0; }
.ga-health > summary strong { font: 750 17px var(--display); }
.ga-health > summary small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.ga-health-badge { border-radius: 99px; background: var(--good-soft); color: var(--good); font-size: 11px; font-weight: 750; padding: 6px 8px; flex: none; }
.ga-health-warning .ga-health-badge, .ga-health-warning { background: var(--sun-soft); color: var(--sun-ink); }
details.ga-health-warning { background: var(--surface); color: var(--ink); }
.ga-health-critical .ga-health-badge { background: var(--bad-soft); color: var(--bad); }
.ga-health-body { padding: 0 16px 18px; display: grid; gap: 18px; }
.ga-health-body > .ga-help { margin: 0; }
.ga-meter > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.ga-meter > div > span { white-space: nowrap; font-weight: 700; }
.ga-meter small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.ga-meter meter { display: block; width: 100%; height: 12px; margin-top: 8px; border-radius: 99px; overflow: hidden; background: var(--sunk); }
.ga-meter meter::-webkit-meter-bar { border: 0; background: var(--sunk); border-radius: 99px; }
.ga-meter meter::-webkit-meter-optimum-value { background: var(--good); }
.ga-meter meter::-webkit-meter-suboptimum-value { background: var(--sun); }
.ga-meter meter::-webkit-meter-even-less-good-value { background: var(--bad); }
.ga-meter-warning meter::-webkit-meter-optimum-value { background: var(--sun); }
.ga-meter-critical meter::-webkit-meter-suboptimum-value { background: var(--bad); }
.ga-meter meter::-moz-meter-bar { background: var(--good); }
.ga-meter-warning meter::-moz-meter-bar { background: var(--sun); }
.ga-meter-critical meter::-moz-meter-bar, .ga-meter-full meter::-moz-meter-bar { background: var(--bad); }
.ga-health .ga-health-tip, .ga-cleanup { padding: 14px; border-radius: 16px; background: var(--sunk); }
.ga-health .ga-health-tip h3, .ga-health .ga-cleanup h3 { font: 750 16px var(--display); letter-spacing: -.02em; }
.ga-health .ga-health-tip p, .ga-health .ga-cleanup p, .ga-health-explainer p { font-size: 13px; line-height: 1.6; margin: 8px 0 12px; }
.ga-tip-critical { border-left: 3px solid var(--bad); }
.ga-cleanup article { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.ga-cleanup article strong { font-size: 14px; }
.ga-cleanup article small { font-size: 12px; color: var(--muted); }
.ga-health-explainer > summary { cursor: pointer; min-height: 44px; align-content: center; font-size: 13px; font-weight: 700; }
.ga-health-warning { text-align: left; justify-content: flex-start; font-size: 13px; }
.ga-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ga-media-card { min-width: 0; }
.ga-media-card > strong { display: block; font-size: 12px; overflow-wrap: anywhere; margin: 8px 0 3px; }
.ga-media-card > small { color: var(--muted); font-size: 11px; }
.ga-media-card .ga-actions { gap: 2px; }
.ga-thumb { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; background: var(--sunk); overflow: hidden; }
.ga-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ga-thumb span { position: absolute; left: 8px; bottom: 8px; color: #fff; background: rgba(17,28,54,.75); border-radius: 10px; padding: 3px 7px; font-size: 10px; }
#ga-manage-title { scroll-margin-top: 84px; }
.ga-dialog { border: 1px solid var(--line); border-radius: 24px; padding: 24px; width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 50px); overflow: auto; background: var(--surface); color: var(--ink); box-shadow: 0 24px 90px var(--scrim); }
.ga-dialog::backdrop { background: var(--scrim); backdrop-filter: blur(4px); }
.ga-dialog h2 { margin: 0 0 12px; font-size: 28px; }
.ga-dialog p { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.ga-secret-value { display: block; user-select: all; font-family: inherit; background: var(--sunk); border-radius: 14px; padding: 18px 12px; margin-bottom: 20px; font-size: clamp(16px, 4.6vw, 21px); font-weight: 650; overflow-wrap: anywhere; text-align: center; }
.ga-copy-link { display: grid; gap: 7px; margin-bottom: 18px; font-size: 13px; font-weight: 650; }
.ga-copy-link input { width: 100%; min-width: 0; min-height: 48px; box-sizing: border-box; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 12px; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: var(--bg); user-select: text; }
.ga-button.is-copied { background: #e4f2e6; color: #1d5b2c; border-color: #a2c9ab; }
@keyframes ga-copy-pop { 0%,100% { transform: scale(1); } 40% { transform: scale(.96); } 70% { transform: scale(1.04); } }
@media (prefers-reduced-motion: no-preference) { .ga-button.is-copied { animation: ga-copy-pop .32s ease-out; } }
@media (min-width: 960px) { .ga-media-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ga-upload-card { max-width: 780px; } .ga-intro { padding-top: 12px; } }
@media (prefers-reduced-motion: no-preference) { .ga-button { transition: background .15s, transform .15s; } .ga-button:active { transform: translateY(1px); } }
.ga-date { display: flex; gap: 8px; align-items: center; justify-content: space-between; font-size: 14px; }
.ga-date strong { min-width: 0; }
.ga-optional { display: grid; gap: 14px; }
.ga :is(.ga-optional, #ga-file-details, .ga-timing) > summary { min-height: 44px; padding-block: 12px; cursor: pointer; font-size: 13px; font-weight: 650; }
.ga-optional[open] > :not(summary) { margin-top: 12px; }
.ga-upload-footer { position: sticky; bottom: 0; z-index: 2; background: var(--surface); padding: 12px 0 max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.ga-upload-footer .ga-help { margin-top: 8px; }
#ga-transfer-summary { display: grid; gap: 10px; padding: 16px; background: var(--info-soft); color: var(--info-ink); border-radius: 16px; margin-bottom: 16px; }
#ga-transfer-summary > span { font-size: 12px; }
#ga-transfer-summary progress { height: 10px; }
.ga-attention { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: var(--bad-soft); color: var(--bad); padding: 12px; border-radius: 14px; font-size: 13px; }
#ga-pending:empty { display: none; }
.ga-timing { margin-top: 12px; }
.ga-existing-details { border-radius: 14px; padding: 14px; background: var(--sunk); font-size: 13px; overflow-wrap: anywhere; }
.ga-existing-details p { margin: 8px 0 0; }
.ga :is(button, a, summary, input, textarea):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (min-width: 768px) { .ga-selected { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* A dedicated task, not a sheet floating above competing dashboard navigation. */
.app.ga-focused { display: flex; flex-direction: column; }
.app.ga-focused > .top, .app.ga-focused > .tabs { display: none; }
.app.ga-focused > .scroll { padding-top: 0; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
.ga-in-flow { max-width: 780px; padding-top: 0; }
.ga-in-flow > .ga-intro, .ga-in-flow > .ga-segments,
.ga-in-flow > #ga-health-slot, .ga-in-flow > #ga-health-warning,
.ga-in-flow #ga-pending, .ga-in-flow .ga-recent { display: none; }
.ga-flow-header { position: sticky; top: 0; z-index: 4; background: var(--bg); padding: max(8px, env(safe-area-inset-top)) 0 14px; }
.ga-flow-controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
#ga-flow-exit { margin-left: auto; }
.ga-flow-header .ga-eyebrow { margin: 10px 0 6px; }
.ga-flow-header h1 { font-size: clamp(25px, 6vw, 34px); line-height: 1.12; margin: 0 0 16px; }
.ga-flow-header progress { display: block; height: 4px; }
#ga-step-details, #ga-step-files { display: grid; gap: 18px; min-width: 0; }
.ga-in-flow .ga-upload-card { width: 100%; }
.ga-in-flow .ga-upload-footer { bottom: calc(-1 * max(20px, env(safe-area-inset-bottom))); }
.ga-in-flow .ga-selected { max-height: min(36dvh, 340px); }
.ga-in-flow #ga-notice { scroll-margin-top: 160px; }
@media (max-width: 719px) { .app.ga-focused { max-width: none; } }
