/* MUV Digital components (Meyers house style). Loaded after Bootstrap (grid/utilities only) and tokens.css. */

/* ---------- Base ---------- */
html { scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
    font-family: var(--font);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: var(--lh-body);
    color: var(--muted);
    background: var(--light);
    -webkit-font-smoothing: antialiased;
    overflow-wrap: anywhere;
}
main:focus { outline: none; }
img { max-width: 100%; height: auto; }
p { max-width: var(--measure); margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25rem; }

h1, h2, h3, h4 {
    font-family: var(--font);
    font-weight: 800;
    line-height: var(--lh-head);
    letter-spacing: var(--track-head);
    color: var(--text);
    margin: 0 0 0.55em;
    text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
.lede { font-size: var(--fs-lede); line-height: 1.6; }
.small { font-size: var(--fs-small); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--on-dark); }
.on-dark, .on-dark p, .on-dark li { color: var(--on-dark-muted); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark strong { color: var(--on-dark); }

/* Hero kicker and small labels: uppercase, letter-spaced */
.kicker, .label {
    font-size: var(--fs-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; line-height: 1.4;
}
.kicker { display: block; margin: 0 0 var(--space-4); color: var(--accent); max-width: none; }
.on-dark .kicker { color: var(--accent); }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.container { --bs-gutter-x: calc(var(--gutter) * 2); max-width: 1240px; }

.skip-link {
    position: absolute; left: var(--space-4); top: -4rem; z-index: 300;
    background: var(--dark); color: var(--on-dark); padding: 0.75rem 1.25rem; font-weight: 700;
}
.skip-link:focus { top: var(--space-4); outline-color: #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--dark); }

/* ---------- Bands ---------- */
.band { padding-block: var(--section-y); }
.band-light { background: var(--light); }
.band-alt { background: var(--light-alt); }
.band-gray { background: var(--light-gray); }
.band-dark { background: var(--dark); }
.band-dark + .band-dark { border-top: 1px solid var(--line-dark); }
.band-head { margin-bottom: var(--space-7); }
.band-head.is-centered { text-align: center; }
.band-head.is-centered h2 { margin-inline: auto; max-width: 22ch; }

/* ---------- Buttons: solid rectangles, uppercase labels ---------- */
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 48px; min-width: var(--touch); padding: 0.85rem 1.6rem;
    font: inherit; font-size: 0.8125rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--cta-fg); background: var(--cta-bg); border: 2px solid var(--cta-bg); border-radius: var(--radius);
    cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.button:hover { color: var(--cta-fg); background: var(--cta-hover); border-color: var(--cta-hover); text-decoration: none; }
.button-outline { color: var(--outline); background: transparent; border-color: var(--outline); }
.button-outline:hover { color: var(--outline-ink); background: var(--outline); border-color: var(--outline); }
.button-soft { color: var(--soft-fg); background: var(--soft-bg); border-color: transparent; }
.button-soft:hover { color: var(--soft-fg); background: #ffffff; border-color: transparent; }
.button-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.is-centered .button-row, .button-row.is-centered { justify-content: center; }

.text-link {
    display: inline-flex; align-items: center; min-height: var(--touch);
    font-weight: 700; color: var(--text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em;
}
.on-dark .text-link { color: var(--on-dark); }

/* ---------- Icons ---------- */
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }

/* ---------- Utility bar + header ---------- */
.utility-bar { background: var(--brand, #000); color: var(--on-brand, #fff); font-size: 0.8125rem; font-weight: 600; }
.utility-bar .container { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 var(--space-5); }
.utility-bar a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: var(--touch); text-decoration: none; }
.utility-bar a:hover { text-decoration: underline; }
.utility-bar { --focus: var(--on-brand, #fff); }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--dark); border-bottom: 1px solid var(--line-dark); }
html:not(.js) .site-header { position: static; }   /* no JS: the menu can't collapse, so a sticky header would cover the page on small screens */
/* Frosted bar: translucent dark plus blur. 0.78 alpha keeps white nav text >= 6:1 even over a white page area. */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .site-header { background: rgba(22, 22, 22, 0.78); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: var(--space-4); }
.brand { display: inline-flex; align-items: center; min-height: var(--touch); text-decoration: none; color: inherit; }
.brand .logo-img { height: 28px; width: auto; display: block; }
.wordmark { font-weight: 800; font-size: 1.35rem; letter-spacing: var(--track-head); line-height: 1; color: inherit; }

.site-nav ul { display: flex; flex-wrap: nowrap; gap: 0.15rem; margin: 0; padding: 0; list-style: none; }
.site-nav a:not(.button) {
    display: inline-flex; align-items: center; min-height: var(--touch); padding: 0 0.85rem;
    color: var(--on-dark); font-size: var(--fs-label); font-weight: 600; text-transform: uppercase; letter-spacing: var(--track-label);
    text-decoration: none; border-radius: var(--radius); transition: background-color 0.15s;
}
.site-nav a:not(.button):hover { background: rgba(255, 255, 255, 0.12); }
.site-nav a[aria-current="page"]:not(.button) { background: var(--accent); color: var(--accent-ink); }

.nav-toggle {
    display: none; align-items: center; justify-content: center;
    width: var(--touch); height: var(--touch); padding: 0; color: var(--on-dark);
    background: transparent; border: 2px solid rgba(255, 255, 255, 0.7); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 20px; height: 2px; background: currentColor; content: ""; position: relative;
}
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 1100px) {
    .site-nav { display: flex; align-items: center; gap: var(--space-4); }
    .nav-actions { display: flex; align-items: center; gap: var(--space-3); }
    .nav-cta { min-height: var(--touch); padding: 0.6rem 1.2rem; }
}
@media (min-width: 1100px) and (max-width: 1299.98px) {
    .brand .logo-img { height: 24px; }
    .site-nav a:not(.button) { padding: 0 0.55rem; font-size: 0.72rem; }
    .nav-cta { padding: 0.6rem 0.9rem; font-size: 0.72rem; letter-spacing: 0.06em; }
}
/* Full-size type: "Request Consultation" is a wider button, so trim link padding to keep the logo-to-links gap >= 32px. */
@media (min-width: 1300px) {
    .site-nav a:not(.button) { padding: 0 0.7rem; }
}
@media (max-width: 1099.98px) {
    .nav-toggle { display: inline-flex; }
    /* Without JS the menu stays visible and stacked; with JS it is a toggled panel. */
    .site-nav { flex-basis: 100%; padding-bottom: var(--space-4); }
    .site-nav ul { flex-direction: column; gap: 0; }
    .site-nav li { border-bottom: 1px solid var(--line-dark); }
    .site-nav a:not(.button) { width: 100%; min-height: 52px; padding: 0 0.75rem; font-size: 0.875rem; border-radius: 0; }
    .nav-actions { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-4); }
    .nav-cta { width: 100%; min-height: 48px; }
    .nav-bar { flex-wrap: wrap; }
    .js .nav-bar { flex-wrap: nowrap; }
    .js .site-nav { display: none; }
    .js .site-nav.is-open {
        display: block; position: absolute; left: 0; right: 0; top: 100%;
        max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
        padding: var(--space-3) var(--gutter) var(--space-6);
        background: var(--dark); border-bottom: 1px solid var(--line-dark);
    }
}

/* Header buttons never wrap their label (keeps the bar on one row). */
.nav-cta, .site-nav a:not(.button) { white-space: nowrap; }

/* ---------- Hero ---------- */
.hero {
    position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden;
    min-height: 90vh; min-height: 85dvh; background: #1a1a1a;
}
.hero__photo { position: absolute; inset: 0; z-index: -2; }
.hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Scrim: uniform on small screens (text spans the width); weighted to the text side on wide ones.
   Worst case is a white photo: white text still gets >= 5:1 under the lightest stop that text reaches. */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.66)); }
@media (min-width: 992px) {
    .hero::after { background: linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.64) 55%, rgba(0, 0, 0, 0.3) 100%); }
}
.hero__inner { width: 100%; padding-block: clamp(3rem, 8vw, 6rem); }
.hero__title { max-width: 14ch; margin-bottom: 0.4em; color: var(--on-dark); }
.hero__title span { display: block; }
.hero__sub { font-size: var(--fs-lede); max-width: 38ch; color: var(--on-dark); }
.hero .button-row { margin-top: var(--space-5); }

/* The one orchestrated motion moment. Nothing animates under prefers-reduced-motion. */
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
    .page-home .hero__photo img { animation: hero-photo 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    .page-home .hero__kicker { animation: hero-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s both; }
    .page-home .hero__title { animation: hero-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both; }
    .page-home .hero__sub { animation: hero-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s both; }
    .page-home .hero .button-row { animation: hero-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.55s both; }
}
@keyframes hero-photo { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Photos: sharp corners ---------- */
.photo { display: block; width: 100%; height: auto; border-radius: 0; background: #d8d8d5; }
.photo-tall { aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Split ---------- */
.split-text > :last-child { margin-bottom: 0; }
.checklist { list-style: none; margin: var(--space-5) 0 0; padding: 0; }
.checklist li { display: flex; gap: var(--space-3); align-items: flex-start; padding: 0.4rem 0; color: var(--text); font-weight: 600; }
.on-dark .checklist li { color: var(--on-dark); }
.check-icon {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 1.6rem; height: 1.6rem; margin-top: 0.1rem; border-radius: 50%;
    background: var(--accent); color: var(--accent-ink);
}
.check-icon .icon { width: 0.95rem; height: 0.95rem; stroke-width: 3; vertical-align: 0; }
.feature-list { margin: var(--space-6) 0 0; }
.feature-list > div { display: grid; grid-template-columns: minmax(6.5rem, 9rem) 1fr; gap: var(--space-4); padding: var(--space-4) 0; border-top: 1px solid var(--line-light); }
.feature-list > div:last-child { border-bottom: 1px solid var(--line-light); }
.feature-list dt { font-weight: 800; color: var(--text); }
.feature-list dd { margin: 0; }

/* ---------- Overlay cards ---------- */
.overlay-card { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; min-height: 26rem; height: 100%; overflow: hidden; text-align: center; border-radius: var(--radius); }
.overlay-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.overlay-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, 0.62); }
.overlay-card__body { padding: var(--space-6) var(--space-5); }
.overlay-card h3 { color: var(--on-dark); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.overlay-card p { margin-inline: auto; color: var(--on-dark); max-width: 28ch; }

/* ---------- Device frames ---------- */
.device-phone {
    position: relative; width: 100%; max-width: 300px; padding: 3.4%; background: #000;
    border-radius: 14% / 6.5%; box-shadow: 0 0 0 1px #3a3a38, 0 30px 50px -30px rgba(0, 0, 0, 0.5);
}
.device-phone::before {
    content: ""; position: absolute; z-index: 2; top: 2.2%; left: 50%; width: 26%; height: 1.5%; min-height: 6px;
    transform: translateX(-50%); background: #000; border-radius: 99px;
}
.device-phone__screen { overflow: hidden; border-radius: 11% / 5.2%; aspect-ratio: 9 / 19.5; background: #d8d8d5; }
.device-phone__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

.device-laptop { position: relative; width: 100%; }
.device-laptop__lid { padding: 2.4% 2.4% 3%; background: #000; border-radius: 10px 10px 0 0; box-shadow: 0 0 0 1px #4a4a48; }
.device-laptop__screen { overflow: hidden; aspect-ratio: 16 / 10; background: #d8d8d5; }
.device-laptop__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device-laptop__base { width: 106%; height: clamp(8px, 1.4vw, 14px); margin-left: -3%; background: linear-gradient(#d9d9d6, #a3a3a0); border-radius: 0 0 14px 14px; }

.phones { display: flex; gap: 6%; align-items: flex-start; max-width: 600px; margin-inline: auto; }
.phones .device-phone { flex: 1 1 0; min-width: 0; }
.phones .device-phone:nth-child(2) { margin-top: 14%; }

/* ---------- Photo / laptop strip ---------- */
.strip-item h3 { margin: var(--space-5) 0 0.1em; font-size: 1.25rem; }
.strip-item p { margin: 0; }

/* ---------- Testimonial card ---------- */
.t-card { max-width: 52rem; margin: 0 auto; padding: clamp(1.75rem, 4vw, 3.5rem); background: var(--dark-2); border-radius: var(--radius-card); text-align: center; }
.t-card blockquote { margin: 0 0 var(--space-5); }
.t-card blockquote p { margin-inline: auto; font-size: clamp(1.2rem, 1rem + 1vw, 1.65rem); line-height: 1.5; font-weight: 600; color: var(--on-dark); }
.t-card__who { display: inline-flex; align-items: center; gap: var(--space-3); text-align: left; }
.t-card__who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #555; }
.t-card__name { display: block; color: var(--on-dark); font-weight: 700; }
.t-card__role { display: block; color: var(--on-dark-muted); font-size: var(--fs-small); }

/* ---------- Blurred-photo statement ---------- */
.statement { position: relative; isolation: isolate; overflow: hidden; text-align: center; }
.statement__photo { position: absolute; inset: 0; z-index: -2; }
.statement__photo img { width: 100%; height: 100%; object-fit: cover; filter: blur(18px); transform: scale(1.15); }
.statement::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, 0.7); }
.statement :is(h1, h2) { font-size: clamp(2.25rem, 3.5vw + 1rem, 4.25rem); max-width: 16ch; margin-inline: auto; }
.statement p { margin-inline: auto; color: var(--on-dark); }

/* ---------- Steps ---------- */
/* Vertical numbered list (demo page): number + title left, description right, hairline dividers. */
.steps-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line-light); }
.steps-list__item { display: grid; grid-template-columns: 1fr; gap: var(--space-3); padding: var(--space-5) 0; border-top: 1px solid var(--line-light); }
.steps-list__head { display: flex; align-items: baseline; gap: var(--space-4); }
.steps-list__num { flex: none; font-weight: 800; font-size: 2.5rem; line-height: 1; letter-spacing: var(--track-head); color: var(--text); }
.steps-list__head h3 { margin: 0; font-size: 1.3rem; }
.steps-list__body p { margin: 0; max-width: 65ch; }
.steps-list__body .button { margin-top: var(--space-5); }
.steps-list__item.is-highlight { padding-inline: var(--space-4); background: #e6e6e2; border-left: 4px solid var(--text); }
@media (min-width: 768px) {
    .steps-list__item { grid-template-columns: minmax(16rem, 5fr) 7fr; gap: var(--space-6); align-items: start; padding: var(--space-6) 0; }
    .steps-list__item.is-highlight { padding-inline: var(--space-5); }
    .steps-list__num { font-size: 3.25rem; }
}

.steps { display: grid; grid-template-columns: 1fr; gap: var(--space-6); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding-top: var(--space-4); border-top: 3px solid var(--accent); }
.steps li::before { content: counter(step); display: block; margin-bottom: var(--space-3); font-weight: 800; font-size: 2.5rem; line-height: 1; letter-spacing: var(--track-head); color: var(--text); }
.steps h3 { font-size: 1.3rem; }
.steps p { margin: 0; }
@media (min-width: 576px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); } }

/* ---------- Final CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--fs-h1); margin-inline: auto; max-width: 18ch; }
.cta-band p { margin-inline: auto; }

/* ---------- Stub / error pages ---------- */
.page-intro { padding-block: var(--section-y); }
.page-intro .lede { max-width: 50ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); border-top: 3px solid var(--accent); padding-block: var(--space-8) var(--space-5); }
.site-footer .brand .logo-img { height: 30px; }
.footer-note { margin-top: var(--space-5); max-width: 32ch; }
.footer-heading { font-size: var(--fs-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--on-dark); margin-bottom: var(--space-3); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { padding: 0; }
.footer-links a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: var(--touch); min-width: var(--touch); color: var(--on-dark-muted); text-decoration: none; }
.footer-links a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-plan { font-weight: 800; font-size: 1.5rem; color: var(--on-dark); line-height: 1.2; margin-bottom: var(--space-3); }
.footer-base {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-6);
    margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--line-dark);
    color: var(--on-dark-muted); font-size: var(--fs-small);
}
.footer-base p { margin: 0; max-width: none; }
.footer-base a { display: inline-flex; align-items: center; min-height: var(--touch); padding-inline: 0.15rem; }
.footer-base strong { font-weight: 800; letter-spacing: 0.04em; }

/* ---------- Back to top ---------- */
.to-top {
    position: fixed; right: var(--space-4); bottom: var(--space-4); z-index: 90;
    display: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0;
    color: #fff; background: var(--dark); border: 2px solid #fff; border-radius: 50%; cursor: pointer;
    box-shadow: 0 0 0 2px var(--dark); --focus: #fff;
}
.to-top.is-visible { display: inline-flex; }
.to-top:hover { background: #fff; color: var(--dark); }
.to-top:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 6px #000; }

/* ================= Checkpoint 2 additions ================= */

/* Inner-page hero (shorter, no entrance animation) */
.hero--page { min-height: clamp(24rem, 52vh, 34rem); }
.hero--page .hero__inner { padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero--page .hero__title { max-width: 20ch; }
.hero-phone { margin-inline: auto; max-width: 240px; }
@media (min-width: 992px) { .hero-phone { margin-block: -1rem; } }
.page-intro-dark h1 { max-width: 20ch; }
.page-intro-dark .lede { max-width: 50ch; margin-bottom: 0; }

/* Single phone in a split */
.phones-single { max-width: 280px; }
.phones-single .device-phone:nth-child(2) { margin-top: 0; }

/* Laptop + phone pair (portfolio) */
.device-pair { position: relative; padding-bottom: 8%; }
.device-pair .device-phone { position: absolute; right: 1%; bottom: 0; width: 21%; }

/* Consultation page: free badge, selectable cards, submit row */
.hero .free-badge { display: inline-block; margin: 0 0 var(--space-4); padding: 0.4rem 0.9rem; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark); background: #ffffff; border-radius: var(--radius); }
.choice-cards { border: 0; padding: 0; margin: 0 0 var(--space-5); min-width: 0; }
.choice-cards legend { float: none; width: auto; padding: 0; margin-bottom: var(--space-3); font-size: 1rem; font-weight: 700; }
.choice-cards__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
@media (min-width: 576px) { .choice-cards__grid { grid-template-columns: 1fr 1fr; } }
.choice-card { position: relative; }
.choice-cards .choice-card input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.choice-cards .choice-card label { display: flex; align-items: center; gap: var(--space-3); height: 100%; min-height: 88px; padding: var(--space-4) var(--space-5); margin: 0;
    font-size: 1.05rem; font-weight: 700; margin-bottom: 0; line-height: 1.3; color: var(--text); background: #ffffff; border: 2px solid var(--line-light); border-radius: var(--radius); transition: border-color 0.15s, background-color 0.15s; }
.choice-cards .choice-card:hover label { border-color: var(--text); }
.choice-cards .choice-card__mark { flex: none; width: 1.5rem; height: 1.5rem; border: 2px solid var(--text); border-radius: 50%; background: #ffffff; box-shadow: inset 0 0 0 4px #ffffff; }
.choice-cards .choice-card input:checked + label { border-color: var(--text); background: var(--light-alt); box-shadow: 0 0 0 1px var(--text); }
.choice-cards .choice-card input:checked + label .choice-card__mark { background: var(--text); }
.choice-cards .choice-card input:focus-visible + label { outline: 3px solid var(--dark); outline-offset: 3px; }
.choice-cards.has-error .choice-card label { border-color: #b00020; }
.form-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.form-submit-note { margin: 0; font-weight: 600; color: var(--text); }

/* Consultation form (two paths) */
.choice-cards--step legend { margin-bottom: var(--space-4); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 800; letter-spacing: var(--track-head); line-height: 1.1; }
.choice-cards--step .choice-card label { align-items: flex-start; min-height: 120px; padding: var(--space-5); }
.choice-cards--step .choice-card__mark { margin-top: 0.1rem; }
.choice-card__text { display: flex; flex-direction: column; gap: 0.4rem; }
.choice-card__text strong { font-size: 1.25rem; font-weight: 800; }
.choice-card__desc { font-size: 0.95rem; font-weight: 500; line-height: 1.5; color: var(--muted); }
.consult-subhead { margin: var(--space-4) 0 var(--space-3); }
.consult-details { scroll-margin-top: 6rem; }
.js .consult-details[data-needs-choice] { display: none; }
.consult-details [hidden] { display: none !important; }
.consult-details h2:focus { outline: none; }
.nojs-only { display: block; }
.js .nojs-only { display: none; }
@media (prefers-reduced-motion: no-preference) {
    .consult-details.is-revealing { animation: consult-reveal 0.45s ease-out; }
    @keyframes consult-reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Feature grid */
.band-note { margin-top: var(--space-6); }
.feature h3 { margin: var(--space-3) 0 0.35em; font-size: 1.25rem; }
.feature p { margin: 0; }
.feature .check-icon { margin: 0; }
.band-head .lede { max-width: 60ch; margin-bottom: 0; }

/* Phone columns */
.phone-col { text-align: center; }
.phone-col__frame { margin-inline: auto; max-width: 260px; }
.phone-col h3 { margin: var(--space-6) 0 0.4em; }
.phone-col p { margin-inline: auto; max-width: 36ch; }

/* Callout */
.callout { text-align: center; }
.callout h2 { margin-inline: auto; max-width: 20ch; }
.callout p { margin-inline: auto; }

/* Price rows */
.price-rows { list-style: none; margin: 0; padding: 0; }
.price-rows li { display: flex; justify-content: space-between; gap: var(--space-5); padding: var(--space-5) 0; border-top: 1px solid var(--line-light); }
.price-rows li:last-child { border-bottom: 1px solid var(--line-light); }
.price-rows h3 { margin: 0 0 0.25em; font-size: 1.25rem; }
.price-rows p { margin: 0; }
.price-rows__price { flex: none; text-align: right; white-space: nowrap; color: var(--text); }
.price-rows__price strong { font-size: 1.5rem; font-weight: 800; letter-spacing: var(--track-head); }
@media (max-width: 575.98px) { .price-rows li { flex-direction: column; gap: var(--space-2); } .price-rows__price { text-align: left; } }

/* FAQ accordion */
.faq-wrap { max-width: 52rem; margin-inline: auto; }
.faq-category { margin: var(--space-7) 0 var(--space-4); font-size: var(--fs-h3); scroll-margin-top: calc(var(--header-h) + 1rem); }
.faq-category:first-child { margin-top: 0; }
.faq-item { border-top: 1px solid var(--line-light); }
.faq-item:last-of-type { border-bottom: 1px solid var(--line-light); }
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
    min-height: 56px; padding: var(--space-3) 0; cursor: pointer; list-style: none;
    font-weight: 700; color: var(--text); font-size: 1.0625rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 1.5rem; font-weight: 500; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item__answer { padding: 0 0 var(--space-4); max-width: 62ch; }
.faq-item__answer > :last-child { margin-bottom: 0; }

/* Portfolio rows */
.work-name { font-size: var(--fs-h2); margin-bottom: 0.1em; }
.work-city { font-weight: 700; margin-bottom: var(--space-4); }
.pull-quote { margin: var(--space-5) 0; padding-left: var(--space-4); border-left: 3px solid var(--accent); }
.pull-quote p { font-size: 1.15rem; font-weight: 600; color: var(--text); margin-bottom: 0.4em; }
.on-dark .pull-quote p { color: var(--on-dark); }
.pull-quote footer { font-size: var(--fs-small); }

/* Forms */
.muv-form { margin-top: var(--space-5); }
.field { margin-bottom: var(--space-5); border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: 0.4rem; padding: 0; font-size: 0.9375rem; font-weight: 700; color: var(--text); float: none; width: auto; }
.req { color: var(--text); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field select, .field textarea {
    display: block; width: 100%; min-height: 48px; padding: 0.7rem 0.9rem;
    font: inherit; color: var(--text); background: #fff; border: 1.5px solid #8a8a86; border-radius: var(--radius);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--dark); outline-offset: 2px; }
.field-help { margin: 0.4rem 0 0; font-size: var(--fs-small); color: var(--muted); }
.field-error { margin: 0.4rem 0 0; min-height: 0; font-size: var(--fs-small); font-weight: 700; color: #b3261e; }
.field-error:empty { display: none; }
.has-error input, .has-error select, .has-error textarea { border-color: #b3261e; border-width: 2px; }
.choices { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.field .choice { display: inline-flex; align-items: center; gap: 0.6rem; min-height: var(--touch); margin: 0; font-weight: 500; cursor: pointer; }
.choice input { width: 1.25rem; height: 1.25rem; accent-color: var(--dark); flex: none; }
.choice span { color: var(--text); }
.field[hidden] { display: none; }
.notice { margin: var(--space-5) 0; padding: var(--space-4) var(--space-5); background: #fff; border-left: 4px solid var(--dark); }
.notice p { margin: 0.25rem 0 0; }
.notice-error { border-left-color: #b3261e; color: var(--text); }
.band-alt .notice { background: #fff; }
.contact-list { list-style: none; margin: 0 0 var(--space-6); padding: 0; }
.contact-list li { display: flex; align-items: center; gap: var(--space-3); min-height: var(--touch); }
.contact-list a { display: inline-flex; align-items: center; min-height: var(--touch); color: var(--text); font-weight: 600; }
.h3-like { font-size: var(--fs-h3); }
.nudge { padding: var(--space-5); background: var(--light-alt); }
.nudge h3 { font-size: 1.25rem; }

/* Footer social icons (shown only for URLs set in admin Settings) */
.footer-social { display: flex; gap: var(--space-2); margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: var(--touch); height: var(--touch); border: 1.5px solid rgba(255, 255, 255, 0.5); border-radius: 50%; color: var(--on-dark); }
.footer-social a:hover { background: #fff; color: var(--dark); }
.footer-social .icon { width: 1.25rem; height: 1.25rem; }
.device-pair--solo { padding-bottom: 0; }

/* ---- Checkpoint 5: live forms ---- */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.turnstile { min-height: 65px; }
.thanks { margin-top: var(--space-5); padding: var(--space-6); background: #fff; border-left: 4px solid var(--dark); }
.thanks:focus { outline: 3px solid var(--dark); outline-offset: 3px; }
.thanks h3 { margin-bottom: 0.4em; }
.thanks p { margin-bottom: var(--space-5); }

/* ---- Checkpoint 7: long-form text (privacy policy) ---- */
.prose { max-width: 46rem; }
.prose h2 { margin: var(--space-7) 0 var(--space-3); font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); }
.prose h2:first-of-type { margin-top: var(--space-5); }
.prose ul { margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--text); font-weight: 600; }

/* Portfolio rows: slimmer device bezels (phone and laptop) so the screenshots show more. */
.device-pair .device-phone { padding: 1.8%; box-shadow: 0 0 0 1px #3a3a38, 0 24px 40px -28px rgba(0, 0, 0, 0.5); }
.device-pair .device-phone::before { top: 1.2%; }
.device-pair .device-phone__screen { border-radius: 12% / 5.6%; }
.device-pair .device-laptop__lid { padding: 1.2% 1.2% 1.8%; }

/* Portfolio rows: a light shadow under the laptop and phone. */
.device-pair .device-laptop { filter: drop-shadow(0 16px 14px rgba(0, 0, 0, 0.2)); }
.device-pair .device-phone { box-shadow: 0 0 0 1px #3a3a38; filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.25)); }

/* Portfolio rows: more room between the screenshots and the text beside them (wide screens; stacked layouts keep their own spacing). */
@media (min-width: 992px) { .portfolio-row-grid { --bs-gutter-x: 5rem; } }

/* Demo page (checkpoint 9) */
.thanks .button-row { margin-top: var(--space-4); }
.thanks__note { margin: var(--space-4) 0 0; color: var(--muted); }
.form-fine-print { margin-top: var(--space-4); color: var(--muted); }
.page-intro-dark .button-row { margin-top: var(--space-5); }
