/* ============================================================
   Homepage — bespoke styles only.
   Everything else comes from css/bcm.css.
   ============================================================ */

/* ---------- hero ---------- */
.home-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: max(640px, 88vh);
    padding: calc(var(--nav-h) + 48px) 0 72px;
    background: var(--ink-950);
    color: var(--text-on-dark-muted);
    overflow: hidden;
}
.home-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-hero__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 23, 22, 0.62) 0%, rgba(4, 23, 22, 0.25) 65%),
        linear-gradient(180deg, rgba(4, 23, 22, 0.55) 0%, rgba(4, 23, 22, 0.35) 45%, rgba(4, 23, 22, 0.92) 100%);
}
.home-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(47, 212, 197, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 212, 197, 0.05) 1px, transparent 1px);
    background-size: 36px 36px;
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 30% 100%, #000 20%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 90% at 30% 100%, #000 20%, transparent 100%);
    pointer-events: none;
}
.home-hero .wrap { position: relative; z-index: 1; }
.home-hero .ornament { z-index: 0; }

.home-hero__content { max-width: 720px; }
.home-hero h1 {
    color: #fff;
    margin: 0 0 22px;
}
.home-hero h1 span { color: var(--teal-400); }
.home-hero .lead {
    color: var(--text-on-dark-muted);
    max-width: 46ch;
}
.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}
.home-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: clamp(40px, 6vh, 64px);
}
.chip-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 11px 18px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.chip-stat .num {
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
    letter-spacing: -0.01em;
}
.chip-stat span:last-child {
    font-size: 0.8125rem;
    color: var(--text-on-dark-muted);
}

/* ---------- ticker strip ---------- */
.ticker-strip__label {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 26px;
}

/* ---------- service splits ---------- */
.svc { display: grid; gap: clamp(56px, 7vw, 96px); }
.svc .split__media { aspect-ratio: 4 / 3; }
.svc .split__media img { height: 100%; }

.btn--soft-amber { background: var(--amber-050); color: var(--amber-600); }
.btn--soft-amber:hover { background: #FBE8CC; transform: translateY(-1px); }
.btn--soft-gold { background: var(--gold-050); color: var(--gold-600); }
.btn--soft-gold:hover { background: #F6EBC4; transform: translateY(-1px); }

/* ---------- about ---------- */
.about-quote {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: clamp(32px, 4vw, 48px);
    border-radius: var(--r-xl);
    background: var(--paper);
    border: 1px solid var(--border);
}
.about-quote__mark {
    color: var(--teal-500);
    margin-bottom: 18px;
}
.about-quote__text {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.75rem);
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: var(--text-strong);
    max-width: 24ch;
}
.about-quote__attr {
    margin-top: 26px;
    font-size: 0.9375rem;
    color: var(--text-muted);
}
.about-quote__attr strong {
    display: block;
    color: var(--text-strong);
}
.about-story p + p { margin-top: 16px; }
.about-story h3 { margin-bottom: 16px; }

/* ---------- milestones ---------- */
.milestones__foot {
    margin-top: 40px;
    font-size: 0.9375rem;
    color: var(--text-on-dark-faint);
}

/* ---------- testimonials header row ---------- */
.quotes-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.quotes-head .section-head { margin-bottom: 0; }
.quotes-head + .quotes__track { margin-top: 36px; }

/* ---------- pricing teaser ---------- */
.plan--compact { padding: 30px 28px; }
.plan--compact .plan__amount { font-size: 2.3rem; }
.teaser-grid {
    max-width: 880px;
    margin-inline: auto;
}
.teaser-foot {
    margin-top: 22px;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-faint);
}

/* ---------- contact ---------- */
.contact-note {
    margin-top: 14px;
    font-size: 0.8125rem;
    color: var(--text-faint);
}
.interests-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-strong);
}

/* ---------- StraTaTrac: text ticker chips ---------- */
.ticker__item--text {
    width: auto;
    height: 64px;
    padding: 0 22px;
    gap: 10px;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9375rem;
    white-space: nowrap;
}
.ticker__item--text svg { flex: none; color: var(--teal-500); opacity: 0.8; }

/* ---------- associations ---------- */
.assoc-card { text-align: center; padding: 36px 28px; }
.assoc-card__monogram {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: var(--r-full);
    background: var(--teal-050);
    color: var(--teal-700);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}
.assoc-card__name { font-weight: 600; color: var(--text-strong); font-size: 1rem; }

/* ---------- map embed ---------- */
.map-embed {
    margin-top: 28px;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-md);
}
.map-embed iframe { display: block; width: 100%; height: 400px; border: 0; }

/* ============================================================
   Motion layer — parallax media, hover zooms, floating glass
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
    .js [data-parallax] { will-change: transform; }
    .js .home-hero__img[data-parallax] { transform: scale(1.12); }
}

.svc .split__media img { transition: transform 1s var(--ease-out); }
.svc .split:hover .split__media img { transform: scale(1.04); }

/* floating glass dashboard card in the hero */
.hero-float {
    position: absolute;
    right: clamp(20px, 5vw, 72px);
    top: 50%;
    transform: translateY(-58%);
    z-index: 1;
    display: none;
    width: 318px;
    pointer-events: none;
}
@media (min-width: 1140px) { .hero-float { display: block; } }
.js .hero-float { animation: heroFloat 7s ease-in-out infinite alternate; }
@keyframes heroFloat {
    from { transform: translateY(-58%); }
    to { transform: translateY(calc(-58% - 14px)); }
}
.hero-float__card {
    padding: 20px;
    border-radius: var(--r-lg);
    background: rgba(10, 43, 41, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: var(--sh-lg);
}
.hero-float__head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
}
.hero-float__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--r-full);
    background: var(--teal-400);
    box-shadow: 0 0 0 4px rgba(47, 212, 197, 0.18);
}
.hero-float__ok {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #7CE0A8;
}
.hero-float__row { margin-top: 14px; }
.hero-float__row-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    font-size: 0.75rem;
    color: var(--text-on-dark-muted);
}
.hero-float__row-label .num { color: #fff; font-weight: 600; }
.hero-float__bar {
    height: 6px;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.hero-float__bar i {
    display: block;
    height: 100%;
    width: var(--w, 60%);
    border-radius: var(--r-full);
    background: linear-gradient(90deg, var(--teal-500), var(--teal-300));
    transform-origin: left;
}
.js .hero-float__bar i {
    animation: barGrow 1.4s var(--ease-out) both;
    animation-delay: var(--d, 0ms);
}
@keyframes barGrow { from { transform: scaleX(0); } }
.hero-float__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0 0 26px;
    padding: 10px 16px;
    border-radius: var(--r-full);
    background: rgba(10, 43, 41, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: var(--sh-md);
    font-size: 0.8125rem;
    color: var(--text-on-dark-muted);
}
.hero-float__chip b { color: #fff; }

/* ============================================================
   Self Managed — Western Australia band
   ============================================================ */
.sm-band {
    position: relative;
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    background:
        radial-gradient(ellipse 520px 380px at 88% -10%, rgba(194, 145, 24, 0.16), transparent 65%),
        linear-gradient(115deg, var(--ink-950) 0%, var(--deep-850) 100%);
    border: 1px solid var(--border-dark);
    border-radius: var(--r-xl);
    overflow: hidden;
    color: var(--text-on-dark-muted);
    box-shadow: var(--sh-lg);
}
.sm-band__content {
    position: relative;
    z-index: 1;
    padding: clamp(32px, 4.5vw, 60px);
}
.sm-band__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: var(--r-full);
    background: rgba(227, 184, 79, 0.1);
    border: 1px solid rgba(227, 184, 79, 0.3);
    color: #E3B84F;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.sm-band__badge::before { content: '✦'; }
.sm-band__title {
    color: #fff;
    margin: 18px 0 16px;
    font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem);
}
.sm-band__title em { font-style: normal; color: #E3B84F; }
.sm-band__punch {
    font-style: italic;
    color: var(--text-on-dark-muted);
    border-left: 3px solid rgba(227, 184, 79, 0.55);
    padding-left: 16px;
    max-width: 52ch;
}
.sm-band__answer { margin-top: 12px; font-weight: 600; color: #E3B84F; }
.sm-band__sub { margin-top: 16px; max-width: 56ch; font-size: 0.9846rem; }
.sm-band__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sm-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sm-band__side { position: relative; min-height: 460px; }
.sm-band__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    -webkit-mask-image: linear-gradient(100deg, transparent 2%, #000 30%);
    mask-image: linear-gradient(100deg, transparent 2%, #000 30%);
}
.sm-band__price {
    position: absolute;
    left: clamp(16px, 3vw, 34px);
    right: clamp(16px, 3vw, 34px);
    bottom: clamp(16px, 3vw, 30px);
    z-index: 1;
    padding: 22px 24px;
    border-radius: var(--r-lg);
    background: rgba(4, 23, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: var(--sh-lg);
}
.sm-band__price-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-on-dark-muted);
}
.sm-band__price-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 6px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.6rem;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fff;
}
.sm-band__price-amount small {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--text-on-dark-muted);
}
.sm-band__price-note { margin-top: 6px; font-size: 0.8125rem; color: var(--text-on-dark-muted); }
.sm-band__price-once {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.875rem;
    color: var(--text-on-dark-muted);
}
.sm-band__price-once b { color: #E3B84F; font-weight: 700; }
@media (max-width: 900px) {
    .sm-band { grid-template-columns: 1fr; }
    .sm-band__side { min-height: 420px; }
    .sm-band__img {
        -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%);
        mask-image: linear-gradient(180deg, transparent 0, #000 22%);
    }
}
@media (max-width: 1150px) {
    .navbar__cta .btn--ghost-gold { display: none; }
}

/* ---------- features grid ---------- */
.feature-card .icon-chip { transition: transform var(--t-med) var(--ease-out); }
.feature-card:hover .icon-chip { transform: translateY(-3px) scale(1.05); }

/* ============================================================
   Self Managed dialog — scope of service + instant quote
   ============================================================ */
.dialog--sm {
    width: min(1220px, calc(100vw - 28px));
    max-height: min(95dvh, 1175px);
    border-radius: var(--r-xl);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.dialog--sm[open] { animation: smDlgIn 320ms var(--ease-out); }
@keyframes smDlgIn {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
}
.dialog--sm::backdrop {
    background: rgba(4, 23, 22, 0.62);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.dialog--sm__close {
    position: sticky;
    top: 14px;
    z-index: 6;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin: 14px 14px -52px auto;
    border-radius: var(--r-full);
    background: rgba(4, 23, 22, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: background-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
}
.dialog--sm__close:hover { background: rgba(4, 23, 22, 0.82); transform: scale(1.06); }

/* dialog hero */
.smd-hero {
    position: relative;
    padding: clamp(48px, 6vw, 72px) clamp(24px, 5vw, 56px) clamp(28px, 4vw, 44px);
    background: var(--ink-950);
    color: var(--text-on-dark-muted);
    overflow: hidden;
}
.smd-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}
.smd-hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 23, 22, 0.5) 0%, rgba(4, 23, 22, 0.86) 72%, var(--ink-950) 100%);
}
.smd-hero__content { position: relative; z-index: 1; }
.smd-title {
    color: #fff;
    margin: 16px 0 10px;
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
}
.smd-title em { font-style: normal; color: #E3B84F; }
.smd-sub { max-width: 62ch; font-size: 0.9846rem; }
.smd-prices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}
.smd-price {
    padding: 16px 18px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.smd-price--featured { background: rgba(47, 212, 197, 0.09); border-color: rgba(47, 212, 197, 0.32); }
.smd-price--compare { opacity: 0.62; }
.smd-price__label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-on-dark-muted);
}
.smd-price--featured .smd-price__label { color: var(--teal-300); }
.smd-price__amount {
    display: block;
    margin-top: 6px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.9rem;
    line-height: 1;
    color: #fff;
}
.smd-price--featured .smd-price__amount { color: var(--teal-300); }
.smd-price--compare .smd-price__amount { text-decoration: line-through; color: var(--text-on-dark-faint); }
.smd-price__note { display: block; margin-top: 5px; font-size: 0.75rem; color: var(--text-on-dark-faint); }
@media (max-width: 720px) {
    .smd-prices { grid-template-columns: 1fr; }
}

/* dialog scope */
.smd-scope {
    padding: clamp(32px, 4.5vw, 52px) clamp(24px, 5vw, 56px);
    background: var(--card);
}
.smd-scope__title { margin-bottom: 26px; }
.smd-scope__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: start;
}
@media (max-width: 860px) { .smd-scope__grid { grid-template-columns: 1fr; } }
.smd-scope__col {
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--card);
}
.smd-scope__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 0.9375rem;
}
.smd-scope__head svg { flex: none; }
.smd-scope__head--inc { background: var(--teal-050); border-bottom: 2px solid var(--teal-500); color: var(--teal-700); }
.smd-scope__head--exc { background: var(--gold-050); border-bottom: 2px solid var(--gold-500); color: var(--gold-600); }
.smd-scope__group { padding: 16px 20px; border-top: 1px solid var(--border); }
.smd-scope__head + .smd-scope__group { border-top: 0; }
.smd-scope__group-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 10px;
}
.smd-scope__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9075rem;
    line-height: 1.5;
    color: var(--text);
}
.smd-scope__item + .smd-scope__item { margin-top: 8px; }
.smd-scope__dot {
    flex: none;
    width: 6px;
    height: 6px;
    margin-top: 8px;
    border-radius: var(--r-full);
    background: var(--teal-500);
}
.smd-scope__col--exc .smd-scope__dot { background: var(--gold-500); }
.smd-scope__note {
    margin: 16px 20px 20px;
    padding: 12px 14px;
    border-radius: var(--r-md);
    background: var(--gold-050);
    border: 1px solid rgba(194, 145, 24, 0.25);
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--text-muted);
}

/* dialog quote */
.smd-quote {
    position: relative;
    padding: clamp(36px, 5vw, 60px) clamp(24px, 5vw, 56px);
    background: linear-gradient(180deg, var(--ink-900) 0%, var(--deep-850) 100%);
    color: var(--text-on-dark-muted);
    overflow: hidden;
}
.smd-quote::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(47, 212, 197, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 212, 197, 0.04) 1px, transparent 1px);
    background-size: 36px 36px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 100%);
    pointer-events: none;
}
.smd-quote > * { position: relative; z-index: 1; }
.smd-quote .eyebrow { color: #E3B84F; }
.smd-quote__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}
@media (max-width: 900px) { .smd-quote__grid { grid-template-columns: 1fr; } }
.smd-quote__title { color: #fff; margin: 0 0 12px; }
.smd-quote__sub { font-size: 0.9375rem; max-width: 48ch; }
.smd-preview {
    margin-top: 26px;
    padding: 20px 22px;
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.smd-preview__title {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-on-dark-faint);
    margin-bottom: 12px;
}
.smd-preview__row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.smd-preview__row:last-of-type { border-bottom: 0; }
.smd-preview__row .num { color: #fff; font-weight: 600; }
.smd-preview__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: var(--r-md);
    background: rgba(47, 212, 197, 0.1);
    border: 1px solid rgba(47, 212, 197, 0.3);
}
.smd-preview__total-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--teal-300);
}
.smd-preview__total-val {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--teal-300);
}
.smd-preview__foot { margin-top: 10px; font-size: 0.75rem; color: var(--text-on-dark-faint); text-align: right; }

.smd-form-card {
    padding: clamp(24px, 3vw, 36px);
    border-radius: var(--r-lg);
    background: var(--card);
    color: var(--text);
    box-shadow: var(--sh-lg);
}
.smd-form-card > h4 { margin-bottom: 4px; }
.smd-form-card__sub { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 22px; }
.smd-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.smd-form-grid[hidden] { display: none; }
.smd-form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .smd-form-grid { grid-template-columns: 1fr; } }
.smd-form-head {
    grid-column: 1 / -1;
    margin-top: 6px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
}
.field__optional { font-weight: 400; font-size: 0.8125rem; color: var(--text-faint); }
.smd-submit { width: 100%; }
.smd-privacy { margin-top: 10px; text-align: center; font-size: 0.8125rem; color: var(--text-faint); }
.smd-success { display: none; padding: 36px 10px; text-align: center; }
.smd-success.is-visible { display: block; }
.smd-success svg { margin: 0 auto 14px; color: var(--ok); }
.smd-success h4 { margin-bottom: 8px; }
.smd-success p { max-width: 44ch; margin-inline: auto; font-size: 0.9375rem; color: var(--text-muted); }

/* ============================================================
   LIGHT HOMEPAGE
   The nav bar and hero run light: solid white bar, dark type,
   brand mark in colour, and the cityscape confined to the right
   instead of sitting full-bleed behind a dark scrim.

   Everything is scoped to .page-home (set on <body> in
   index.html) so the interior pages keep the dark
   transparent-nav-over-hero treatment they were built for.
   ============================================================ */

/* ---------- navbar: solid white ---------- */
.page-home .navbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.page-home .navbar.is-scrolled,
.page-home .navbar.is-open {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: var(--border);
    box-shadow: 0 1px 14px rgba(4, 23, 22, 0.07);
}

/* <b> is STRATA, the trailing text node is Trac */
.page-home .navbar__wordmark { color: var(--orange-500); }
.page-home .navbar__wordmark b { color: var(--teal-600); }

.page-home .navbar__link { color: var(--text-strong); }
.page-home .navbar__link:hover {
    color: var(--teal-600);
    background: var(--teal-050);
}
.page-home .navbar__caret { color: var(--text-muted); }
.page-home .navbar__toggle { color: var(--text-strong); }

.page-home .navbar__menu {
    background: #fff;
    border-color: var(--border);
    box-shadow: 0 18px 44px rgba(4, 23, 22, 0.13);
}
.page-home .navbar__menu-item { color: var(--text-strong); }
.page-home .navbar__menu-item:hover { background: var(--teal-050); }

.page-home .navbar__mobile {
    background: #fff;
    border-top: 1px solid var(--border);
}
.page-home .navbar__mobile-link { color: var(--text-strong); }
.page-home .navbar__mobile-link:hover { background: var(--teal-050); }
.page-home .navbar__mobile-group { border-bottom-color: var(--border); }

/* nav buttons - outlined on white rather than glass on dark */
.page-home .navbar__cta .btn--ghost-gold {
    border-color: var(--teal-500);
    color: var(--teal-600);
    background: #fff;
}
.page-home .navbar__cta .btn--ghost-gold:hover {
    background: var(--teal-050);
    border-color: var(--teal-600);
}
.page-home .navbar__cta .btn--ghost-dark {
    border-color: var(--border);
    color: var(--text-strong);
    background: #fff;
}
.page-home .navbar__cta .btn--ghost-dark:hover {
    border-color: var(--teal-500);
    background: var(--teal-050);
}

/* ---------- hero: light, image to the right ---------- */
.page-home .home-hero {
    background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--teal-050) 100%);
    color: var(--text-muted);
}

/* The scrim and grid exist to make white type legible on a dark
   photo. Neither belongs on a light hero. */
.page-home .home-hero__scrim,
.page-home .home-hero__grid { display: none; }

.page-home .home-hero__img {
    inset: 0 0 auto auto;
    width: min(68%, 1240px);
    height: 100%;
    object-position: center;
    /* Per styling.png the photo has no hard edge - it feathers into the
       white page across a wide band, so the skyline appears to emerge
       from the background rather than sit in a cropped panel. */
    -webkit-mask-image: linear-gradient(90deg,
        transparent 0%, rgba(0, 0, 0, 0.35) 16%, rgba(0, 0, 0, 0.8) 34%, #000 52%);
            mask-image: linear-gradient(90deg,
        transparent 0%, rgba(0, 0, 0, 0.35) 16%, rgba(0, 0, 0, 0.8) 34%, #000 52%);
}

/* ---------- curved wave ---------- */
.page-home .home-hero__wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: clamp(140px, 20vw, 300px);
    display: block;
    z-index: 0;
    pointer-events: none;
}

/* wide enough to carry the three state cards across one row */
.page-home .home-hero__content { max-width: 730px; }
.page-home .home-hero .eyebrow { color: var(--teal-600); }
.page-home .home-hero .lead { color: var(--text-muted); }

.page-home h1.home-hero__brand img { filter: none; }
.page-home h1.home-hero__brand .home-hero__wordmark {
    color: var(--orange-500);
    text-shadow: none;
}
.page-home h1.home-hero__brand .home-hero__wordmark b { color: var(--teal-500); }

.page-home .home-hero .btn--ghost-dark {
    border-color: var(--teal-500);
    color: var(--teal-600);
    background: #fff;
}
.page-home .home-hero .btn--ghost-dark:hover {
    background: var(--teal-050);
    border-color: var(--teal-600);
}

/* ---------- state cards ---------- */
.page-home .home-hero__chips {
    gap: 16px;
    /* three across on one line, as in the reference - they used to wrap
       to a second row as soon as the content column narrowed */
    flex-wrap: nowrap;
}
.page-home .chip-stat {
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    /* Share the row evenly and allow shrinking. A fixed min-width made the
       three cards wider than the content column, so the row overflowed
       instead of sitting neatly under the buttons. */
    flex: 1 1 0;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg, 14px);
    box-shadow: 0 2px 12px rgba(4, 23, 22, 0.06);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.page-home .chip-stat__icon { color: var(--teal-500); flex: none; }
.page-home .chip-stat__icon--teal { color: var(--teal-500); }
.page-home .chip-stat__icon--orange { color: var(--orange-500); }
.page-home .chip-stat__text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}
.page-home .chip-stat .num { color: var(--text-strong); font-size: 1.05rem; }
.page-home .chip-stat span:last-child { color: var(--text-muted); font-size: 0.8125rem; }

/* On a narrow screen the photo stops being a side panel, so put it
   back behind the content and restore enough contrast to read on. */
@media (max-width: 900px) {
    .page-home .home-hero__img {
        inset: 0;
        width: 100%;
        border-bottom-left-radius: 0;
        -webkit-mask-image: none;
                mask-image: none;
        opacity: 0.18;
    }
    .page-home .home-hero__content { max-width: none; }
}

/* ---------- text-only wordmark ---------- */
/* styling.png has no logo mark beside the hero wordmark - the mark lives
   in the navbar only, so the h1 is pure type and sets its own measure. */
.page-home h1.home-hero__brand {
    display: block;
    white-space: normal;
}
.page-home h1.home-hero__brand .home-hero__wordmark {
    display: inline;
    font-size: clamp(3rem, 8vw, 6.5rem);
    letter-spacing: -0.03em;
}

/* keep the cards on one row until the layout genuinely cannot hold it */
@media (max-width: 1100px) {
    .page-home .chip-stat { padding: 12px 14px; gap: 10px; }
    .page-home .chip-stat span:last-child { font-size: 0.75rem; }
}
@media (max-width: 720px) {
    .page-home .home-hero__chips { flex-wrap: wrap; }
}

/* ---------- navbar brand, 20% smaller ---------- */
/* 72px -> 58px and 1.6rem -> 1.28rem. Homepage only, since this is the
   light bar; the interior pages keep the original lockup. */
.page-home .navbar__brand img { height: 58px; }
.page-home .navbar__wordmark { font-size: 1.28rem; }

/* ---------- full-screen hero ---------- */
/* The base hero is 88vh, which left the section below peeking in on load.
   One full viewport keeps the hero alone on the first screen, and svh so a
   mobile browser's retracting URL bar does not reveal what is under it. */
.page-home .home-hero {
    min-height: 100vh;
    min-height: 100svh;
}
