/* ══════════════════════════════════════════
   BELLFIELD DEVELOPMENTS
   Libre Baskerville + Inter
   Navy #0c2071 / Blue #354786 / Cream #f5f3ef
══════════════════════════════════════════ */

:root {
    --navy: #0c2071;
    --blue: #354786;
    --cream: #f5f3ef;
    --ink: #111827;
    --muted: #6b7280;
    --paper: #ffffff;
    --line: #e2e4ed;
    --serif: "Libre Baskerville", Georgia, serif;
    --sans: "Inter", system-ui, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --r: 4px;
}

/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select {
    font: inherit;
    cursor: pointer;
}
address {
    font-style: normal;
}
img {
    display: block;
    max-width: 100%;
}
svg {
    display: block;
    flex-shrink: 0;
}
ul {
    list-style: none;
    padding: 0;
}
p {
    margin-bottom: 1em;
}
p:last-child {
    margin-bottom: 0;
}

/* ── Type scale ── */
h1,
h2,
h3,
blockquote {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    margin: 0;
}
h1 {
    font-size: clamp(3.5rem, 10vw, 8rem);
}
h2 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    margin-bottom: 24px;
}
h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 10px;
}
h2.light,
h3.light {
    color: #fff;
}
em {
    font-style: italic;
}

/* ── Labels ── */
.label {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}
.label.light {
    color: rgba(255, 255, 255, 0.55);
}
.label.dark {
    color: var(--navy);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 50px;
    padding: 0 28px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
    justify-content: center;
    border-radius: var(--r);
    border: 1.5px solid transparent;
    transition:
        background 200ms var(--ease),
        color 200ms var(--ease),
        transform 200ms var(--ease),
        border-color 200ms var(--ease);
}
.btn:hover {
    transform: translateY(-2px);
}
.btn:focus-visible,
.text-link:focus-visible,
.site-nav a:focus-visible,
.menu-toggle:focus-visible,
.stab:focus-visible,
.pstep:focus-visible,
.review-controls button:focus-visible,
.review-dots button:focus-visible,
.field-wrap select:focus-visible,
.range-wrap input[type="range"]:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
.btn-light {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}
.btn-light:hover {
    background: var(--cream);
}
.btn-dark {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.btn-dark:hover {
    background: var(--blue);
    border-color: var(--blue);
}
.btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

/* ── Text link ── */
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
    transition: gap 200ms var(--ease);
}
.text-link:hover {
    gap: 10px;
}
.text-link.light {
    color: rgba(255, 255, 255, 0.75);
}

/* ── Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 700ms var(--ease),
        transform 700ms var(--ease);
    transition-delay: var(--delay, 0ms);
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ── Inner container ── */
.inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Section header ── */
.section-header {
    margin-bottom: 40px;
}

/* ═══════════════════════
   HEADER
═══════════════════════ */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 72px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(226, 228, 237, 0.7);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition:
        height 300ms var(--ease),
        box-shadow 300ms var(--ease);
}
.site-header.scrolled {
    height: 58px;
    box-shadow: 0 2px 24px rgba(12, 32, 113, 0.08);
}

.brand {
    display: flex;
    align-items: center;
}
.brand-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1.5px solid var(--line);
    border-radius: var(--r);
    transition: border-color 180ms;
}
.menu-toggle:hover {
    border-color: var(--navy);
}
.menu-toggle span {
    display: block;
    width: 17px;
    height: 1.5px;
    background: var(--ink);
    border-radius: 2px;
}

.site-nav {
    position: fixed;
    top: 73px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(12, 32, 113, 0.12);
    gap: 2px;
}
.site-nav.is-open {
    display: flex;
}
.site-nav a {
    padding: 10px 14px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    border-radius: var(--r);
    transition:
        background 140ms,
        color 140ms;
    white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.nav-active {
    background: var(--cream);
    color: var(--navy);
}
.nav-cta {
    margin-top: 6px;
    background: var(--navy) !important;
    color: #fff !important;
    text-align: center;
}
.nav-cta:hover {
    background: var(--blue) !important;
}

/* ═══════════════════════
   HERO
═══════════════════════ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--ink);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: #fff;
}
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: none;
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    display: none;
}
.hero-body {
    position: relative;
    z-index: 2;
    padding: 116px 24px 0;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero-eyebrow {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(12, 32, 113, 0.65);
    margin-bottom: 20px;
}
.hero-headline {
    font-family: var(--serif);
    font-size: clamp(3.2rem, 14vw, 7.4rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: 0;
    color: var(--ink);
    margin-bottom: 28px;
}
.hero-headline em {
    color: var(--blue);
    font-style: italic;
}
.hero-sub {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(17, 24, 39, 0.62);
    margin-bottom: 36px;
    max-width: 36rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 0;
    width: min(100%, 440px);
}
.hero-actions .btn {
    flex: 1 1 190px;
}
/* Hero stats — pinned to bottom */
.hero-stats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line);
    margin-top: 48px;
}
.stat {
    min-width: 0;
    padding: 18px 12px;
    border-right: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    text-align: center;
}
.stat:last-child {
    border-right: none;
}
.stat:nth-child(2n) {
    border-right: none;
}
.stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
}
.stat strong {
    display: block;
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 400;
    line-height: 1;
    color: var(--navy);
}
.stat span {
    display: block;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(17, 24, 39, 0.6);
    margin-top: 6px;
    overflow-wrap: anywhere;
}

.hero .btn-ghost {
    color: var(--navy);
    border-color: rgba(12, 32, 113, 0.22);
}
.hero .btn-ghost:hover {
    border-color: rgba(12, 32, 113, 0.45);
    color: var(--blue);
}

/* ═══════════════════════
   TICKER MARQUEE
═══════════════════════ */
.ticker {
    overflow: hidden;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    height: 44px;
    display: flex;
    align-items: center;
}
.ticker-track {
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    animation: ticker 28s linear infinite;
    padding-right: 28px;
}
.ticker-track span {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    flex-shrink: 0;
}
.ticker-track span[aria-hidden] {
    color: rgba(255, 255, 255, 0.2);
}
@keyframes ticker {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ═══════════════════════
   PANELS (sections)
═══════════════════════ */
.panel {
    padding: 76px 0;
}
.panel-dark {
    background: var(--navy);
    color: #fff;
}
.panel-navy {
    background: #0a1b5c;
    color: #fff;
}
.panel-cream {
    background: var(--cream);
    color: var(--ink);
}
.panel-white {
    background: var(--paper);
    color: var(--ink);
}

/* ═══════════════════════
   INTRO SPLIT
═══════════════════════ */
.split {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
}
.split-visual {
    position: relative;
    min-height: 360px;
    overflow: hidden;
}
.split-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-height: 320px;
}
.split-copy {
    padding: 44px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}
.split-copy h2 {
    color: #fff;
    margin-bottom: 20px;
}
.split-copy p {
    color: rgba(255, 255, 255, 0.65);
    max-width: 480px;
    font-size: 0.95rem;
}
.founder-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.founder-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}
.founder-row strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.04em;
}
.founder-row span {
    display: block;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
}

/* ═══════════════════════
   STATEMENT (animation)
═══════════════════════ */
.statement-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}
.statement-text {
    font-family: var(--serif);
    font-size: clamp(2.1rem, 6vw, 5rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.05;
    color: var(--navy);
    margin: 16px 0 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2em;
}
.statement-text .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 600ms var(--ease),
        transform 600ms var(--ease);
}
.statement-text.words-visible .word:nth-child(1) {
    opacity: 1;
    transform: none;
    transition-delay: 0ms;
}
.statement-text.words-visible .word:nth-child(2) {
    opacity: 1;
    transform: none;
    transition-delay: 180ms;
}
.statement-text.words-visible .word:nth-child(3) {
    opacity: 1;
    transform: none;
    transition-delay: 360ms;
}
.statement-sub {
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
}

/* ═══════════════════════
   SERVICES
═══════════════════════ */
.service-tabs {
    display: flex;
    gap: 0;
    border: 1.5px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    margin-bottom: 32px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.service-tabs::-webkit-scrollbar {
    display: none;
}
.stab {
    flex: 1 0 auto;
    min-height: 46px;
    padding: 0 18px;
    border: none;
    border-right: 1px solid var(--line);
    background: var(--paper);
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    transition:
        background 180ms,
        color 180ms;
}
.stab:last-child {
    border-right: none;
}
.stab.is-active {
    background: var(--navy);
    color: #fff;
}
.stab:not(.is-active):hover {
    background: var(--cream);
    color: var(--navy);
}

.service-pane {
    display: grid;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    transition: opacity 280ms var(--ease);
}
.service-img-wrap {
    overflow: hidden;
    min-height: 240px;
    background: var(--cream);
}
.service-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 240px;
    transition: transform 400ms var(--ease);
}
.service-pane:hover .service-photo {
    transform: scale(1.03);
}
.service-info {
    padding: 28px;
}
.service-info h3 {
    color: var(--navy);
    margin-bottom: 12px;
}
.service-info > p {
    color: var(--muted);
    margin-bottom: 20px;
}
.check-list {
    border-top: 1px solid var(--line);
    margin: 0 0 24px;
}
.check-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
}
.check-list li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
}

/* ═══════════════════════
   WORKS
═══════════════════════ */
.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: #000;
    margin-top: 0;
}
.work-card {
    background: var(--navy);
    overflow: hidden;
}
.work-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.work-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms var(--ease);
    display: block;
}
.work-card:hover .work-img-wrap img {
    transform: scale(1.05);
}
.work-cat {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 100px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}
.work-info {
    padding: 20px 24px 24px;
}
.work-info h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: #fff;
    margin-bottom: 6px;
}
.work-info p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    margin-bottom: 10px;
}
.work-loc {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

/* ═══════════════════════
   PROCESS
═══════════════════════ */
.process-layout {
    display: grid;
    gap: 24px;
}
.process-steps {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1.5px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
}
.process-steps::-webkit-scrollbar {
    display: none;
}
.pstep {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 20px;
    border: none;
    border-right: 1px solid var(--line);
    background: var(--paper);
    color: var(--muted);
    text-align: left;
    transition:
        background 180ms,
        color 180ms;
}
.pstep:last-child {
    border-right: none;
}
.pstep span {
    display: block;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    color: var(--muted);
    opacity: 0.6;
}
.pstep-label-text {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.pstep {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.pstep.is-active {
    background: var(--navy);
    color: #fff;
}
.pstep.is-active span {
    color: rgba(255, 255, 255, 0.55);
    opacity: 1;
}
.pstep:not(.is-active):hover {
    background: var(--cream);
    color: var(--navy);
}
.process-detail {
    padding: 32px;
    background: var(--cream);
    border-radius: var(--r);
    border: 1px solid var(--line);
    min-height: 140px;
    transition: opacity 200ms var(--ease);
}
.process-detail strong {
    display: block;
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 10px;
}
.process-detail p {
    color: var(--muted);
    max-width: 560px;
}

/* ═══════════════════════
   CERTIFICATIONS
═══════════════════════ */
.cert-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r);
    overflow: hidden;
}
.cert-item {
    min-width: 0;
    padding: 30px 18px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: background 200ms;
}
.cert-item:hover {
    background: rgba(255, 255, 255, 0.07);
}
.cert-logo-wrap {
    width: min(100%, 176px);
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 22px rgba(5, 16, 61, 0.14);
}
.cert-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    display: block;
}
.cert-item p {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
}
.cert-item span {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

/* ═══════════════════════
   PLANNER
═══════════════════════ */
.planner-wrap {
    display: grid;
    gap: 40px;
}
.planner-copy h2 {
    margin-bottom: 10px;
}
.planner-copy p {
    color: var(--muted);
    max-width: 420px;
}
.planner-form {
    display: grid;
    gap: 16px;
}
.field-wrap {
    display: grid;
    gap: 8px;
}
.field-wrap > span {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}
.field-wrap > span em {
    font-style: normal;
    color: var(--blue);
}
.field-wrap select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--r);
    background: var(--paper);
    color: var(--ink);
    transition: border-color 180ms;
}
.field-wrap select:focus {
    outline: none;
    border-color: var(--blue);
}
.range-wrap input[type="range"] {
    width: 100%;
    accent-color: var(--blue);
}
.planner-result {
    padding: 24px;
    background: var(--navy);
    border-radius: var(--r);
    font-family: var(--serif);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-style: italic;
    line-height: 1.3;
    color: #fff;
    transition: opacity 200ms var(--ease);
}

/* ═══════════════════════
   REVIEWS
═══════════════════════ */
.reviews-wrap {
    display: grid;
    gap: 40px;
}
.review-card {
    background: var(--cream);
    border-radius: var(--r);
    padding: 32px;
    border: 1px solid var(--line);
}
.quote-mark {
    margin-bottom: 20px;
}
.review-text {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-style: italic;
    line-height: 1.25;
    color: var(--navy);
    margin-bottom: 24px !important;
    transition: opacity 280ms var(--ease);
}
.review-byline {
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 16px;
}
.review-byline strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
}
.review-byline span {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--muted);
}
.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
}
.review-dots {
    display: flex;
    gap: 6px;
}
.review-dots button {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    background: var(--line);
    transition:
        background 180ms,
        transform 180ms;
}
.review-dots button.is-active {
    background: var(--navy);
    transform: scale(1.3);
}
.review-controls {
    display: flex;
    gap: 8px;
}
.review-controls button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--navy);
    transition:
        background 180ms,
        border-color 180ms,
        color 180ms;
}
.review-controls button:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

/* ═══════════════════════
   CONTACT
═══════════════════════ */
.contact-wrap {
    display: grid;
    gap: 48px;
}
.contact-copy h2 {
    color: #fff;
}
.contact-copy p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 440px;
    margin-bottom: 24px;
}
.contact-copy address {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-style: normal;
}
.contact-copy address a,
.contact-copy address span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color 150ms;
}
.contact-copy address a:hover {
    color: #fff;
}
.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: start;
    width: min(100%, 360px);
}

/* ═══════════════════════
   FOOTER
═══════════════════════ */
.site-footer {
    background: var(--ink);
    padding: 40px 32px;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
}
.footer-logo {
    height: 66px;
    width: auto;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.96);
    padding: 8px 12px;
    border-radius: 14px;
    opacity: 1;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
}
.footer-nav a {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    transition: color 140ms;
}
.footer-nav a:hover {
    color: rgba(255, 255, 255, 0.8);
}
.footer-copy {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin: 0;
}

@media (max-width: 420px) {
    .site-header {
        padding: 0 18px;
    }

    .brand-logo {
        height: 44px;
    }

    .hero-body {
        padding-inline: 18px;
    }

    .hero-eyebrow,
    .hero-sub {
        letter-spacing: 0.16em;
    }

    .hero-actions .btn,
    .contact-actions .btn {
        width: 100%;
    }

    .inner,
    .split,
    .statement-wrap {
        padding-inline: 20px;
    }

    .review-card,
    .planner-result,
    .process-detail,
    .service-info {
        padding: 24px;
    }

    .cert-row {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════
   TABLET 740px+
═══════════════════════ */
@media (min-width: 740px) {
    body {
        font-size: 16px;
    }

    .site-header {
        padding: 0 48px;
    }
    .menu-toggle {
        display: none;
    }
    .site-nav {
        position: static;
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 4px;
        padding: 0;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }
    .site-nav a {
        padding: 8px 9px;
    }
    .nav-cta {
        margin-top: 0;
        padding: 8px 18px !important;
    }

    .panel {
        padding: 96px 0;
    }

    .hero-body {
        padding-inline: 32px;
    }

    .hero-actions {
        width: auto;
    }

    .hero-actions .btn {
        flex: 0 0 auto;
    }

    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .stat:nth-child(2n) {
        border-right: 1px solid rgba(255, 255, 255, 0.12);
    }

    .stat:nth-child(n + 3) {
        border-top: none;
    }

    .stat:last-child {
        border-right: none;
    }

    .split {
        grid-template-columns: 1fr 1fr;
    }
    .split-visual {
        min-height: 500px;
    }
    .split-copy {
        padding: 56px 48px;
    }

    .service-pane {
        grid-template-columns: 1fr 1fr;
    }
    .service-img-wrap {
        min-height: 320px;
    }

    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-row {
        grid-template-columns: repeat(4, 1fr);
    }

    .planner-wrap {
        grid-template-columns: 1fr 1fr;
        gap: 56px;
    }
    .planner-form {
        grid-template-columns: 1fr 1fr;
    }
    .range-wrap {
        grid-column: 1 / -1;
    }
    .planner-result {
        grid-column: 1 / -1;
    }

    .reviews-wrap {
        grid-template-columns: 240px 1fr;
        align-items: start;
    }

    .contact-wrap {
        grid-template-columns: 1.2fr 1fr;
        align-items: start;
    }
    .contact-actions {
        justify-self: end;
    }

    .footer-inner {
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }
    .footer-copy {
        grid-column: 1 / -1;
    }
}

/* ═══════════════════════
   DESKTOP 1120px+
═══════════════════════ */
@media (min-width: 1120px) {
    .inner {
        padding: 0 64px;
    }
    .split {
        padding: 0 64px;
        max-width: none;
    }

    .work-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .site-nav a {
        font-size: 0.64rem;
        padding-inline: 12px;
    }
}

/* ═══════════════════════
   REDUCED MOTION
═══════════════════════ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    .ticker-track {
        animation: none;
    }
    .statement-text .word {
        opacity: 1;
        transform: none;
    }
}
