/* Thornbury Advisory — shared styles for every page
   Design system: spec 523336-bastech---attorney-lawyer-wordpress-them.md
   Content/blocks: for-works/5 (business advisory reference) */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
    --ink: #17181B;
    --gray: #6B7280;
    --gray-soft: #9CA3AF;
    --bg: #FFFFFF;
    --bg-pause: #FBFCFD;
    --navy: #381C00;
    --navy-2: #4A2702;
    --gold: #7DAFF7;
    --gold-soft: #AACDFE;
    --line: #F2F4F6;
    --line-dark: rgba(255, 255, 255, .14);
    --radius: 4px;
    --container: 1320px;
    --pad: 24px;
    --shadow-card: 0 2px 6px rgba(31, 16, 0, .06), 0 18px 44px rgba(31, 16, 0, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box }

html { scroll-behavior: smooth }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto }
    * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important }
}

body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    margin: 0;
}

img, svg { display: block; max-width: 100% }

a { color: inherit; text-decoration: none }

ul, ol { list-style: none }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad) }

.eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.22;
    letter-spacing: -.01em;
}

h1 { font-size: clamp(24px, calc(4.4vw - 18.8px), 34px); line-height: 1.28 }
h2 { font-size: clamp(20px, calc(1.62vw + 8.5px), 28px) }
h3 { font-size: 18px }

p { color: var(--gray) }

/* ---------- buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 0 30px;
    border-radius: var(--radius);
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

.btn--gold {
    background: var(--gold);
    color: #001030;
    box-shadow: 0 10px 26px rgba(124, 174, 246, .30);
}

.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(124, 174, 246, .4) }

.btn--outline {
    background: transparent;
    border: 1.5px solid #fff;
    color: #fff;
}

.btn--outline:hover { background: rgba(255, 255, 255, .12) }

.btn--navy {
    background: var(--navy);
    color: #fff;
}

.btn--navy:hover { transform: translateY(-2px) }

.btn--outline-navy {
    background: transparent;
    border: 1.5px solid var(--navy);
    color: var(--navy);
}

.btn--outline-navy:hover { background: var(--navy); color: #fff }

/* ---------- header (topbar + nav) ---------- */

.site-header { position: relative; z-index: 80 }

.topbar { background: var(--navy); color: rgba(255, 255, 255, .68) }

.topbar-in {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 12.5px;
}

.topbar-hours { display: flex; align-items: center; gap: 8px }
.topbar-hours svg { width: 14px; height: 14px; flex: none; color: var(--gold) }
.topbar-mail a:hover { color: var(--gold-soft) }

.nav-main {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.nav-in { min-height: 76px; display: flex; align-items: center; gap: 28px }

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; margin-right: auto }

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.brand-mark svg { width: 18px; height: 18px }

.brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -.01em;
    color: var(--ink);
}

.main-nav { display: flex; align-items: center; gap: 4px }

.main-nav a {
    padding: 10px 15px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    transition: color .15s ease;
}

.main-nav a:hover { color: var(--gold) }

.phone-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 46px;
    padding: 0 22px 0 50px;
    border-radius: 999px;
    background: var(--gold);
    flex: none;
}

.phone-cta-icon {
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 3px var(--gold);
}

.phone-cta-icon svg { width: 17px; height: 17px; color: var(--gold) }

.phone-cta-text { font-size: 12.5px; font-weight: 600; color: #001030; line-height: 1.3 }
.phone-cta-text strong { display: block; font-size: 14.5px; font-weight: 700 }

.burger {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    position: relative;
    flex: none;
}

.burger i {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 2px;
    background: var(--ink);
    transition: transform .2s, opacity .2s;
}

.burger i:nth-child(1) { top: 15px }
.burger i:nth-child(2) { top: 21px }
.burger i:nth-child(3) { top: 27px }

.nav-main.is-open .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg) }
.nav-main.is-open .burger i:nth-child(2) { opacity: 0 }
.nav-main.is-open .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg) }

/* ---------- hero (light photo, no dark veil) ---------- */

.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 70px 0;
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-in {
    position: relative;
    z-index: 1;
    max-width: 620px;
    padding-right: var(--pad);
    margin-left: max(var(--pad), calc((100% - var(--container)) / 2 + var(--pad)));
}

.hero-eyebrow {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(255, 255, 255, .82);
    width: fit-content;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.hero h1 {
    color: var(--ink);
    text-shadow: 0 1px 0 rgba(255, 255, 255, .4);
    max-width: 380px;
}

.hero p {
    display: block;
    width: fit-content;
    margin-top: 20px;
    max-width: 400px;
    font-size: 15px;
    color: #2B2E33;
    background: rgba(255, 255, 255, .68);
    padding: 10px 16px;
    border-radius: 2px;
}

.hero .btn { margin-top: 30px }

/* ---------- top services (navy, outline icons) ---------- */

.svc-navy { background: var(--navy); padding: 90px 0 }

.svc-navy-head { text-align: center; max-width: 560px; margin: 0 auto 50px }
.svc-navy-head .eyebrow { text-align: center }
.svc-navy-head h2 { color: #fff; text-align: center }
.svc-navy-head p { color: rgba(255, 255, 255, .62); margin-top: 14px }

.svc-navy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
}

.svc-navy-card { text-align: center }

.svc-navy-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    align-content: center;
}

.svc-navy-icon svg { width: 32px; height: 32px; color: #fff }

.svc-navy-card h3 { color: #fff; font-size: 16.5px; margin-bottom: 10px }
.svc-navy-card p { color: rgba(255, 255, 255, .58); font-size: 13.5px }

.svc-navy-foot { text-align: center; margin-top: 54px }

/* ---------- about (photo collage + overlap stat, copy) ---------- */

.about-sec { padding: 110px 0 }

.about-grid {
    display: grid;
    grid-template-columns: .92fr 1fr;
    gap: 60px;
    align-items: center;
}

.collage { position: relative; padding: 0 0 60px 0 }

.collage-row { display: flex; flex-direction: column; gap: 16px; width: 62% }
.collage-a, .collage-b { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden }
.collage-c {
    position: absolute;
    right: 0;
    top: 0;
    width: 42%;
    height: calc(100% - 60px);
    aspect-ratio: 3 / 4;
    border-radius: var(--radius);
    overflow: hidden;
}

.collage img { width: 100%; height: 100%; object-fit: cover }

.collage-stat {
    position: absolute;
    left: 24px;
    bottom: 0;
    z-index: 2;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 20px 26px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.collage-stat .num { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 26px; color: var(--navy) }
.collage-stat .lbl { font-size: 12px; color: var(--gray); max-width: 12ch; line-height: 1.3 }

.about-copy p { font-size: 15px; margin-top: 16px }
.about-copy .btn { margin-top: 28px }

.progress-row { margin-top: 34px; display: flex; flex-direction: column; gap: 20px }
.progress-item { display: flex; align-items: center; gap: 16px }
.progress-track { flex: 1 1 auto; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden }
.progress-fill { height: 100%; border-radius: 4px; background: var(--gold); width: 0; transition: width 1.1s cubic-bezier(.2, .7, .3, 1) }
.progress-label { font-size: 13px; color: var(--gray); flex: 1 1 auto }
.progress-pct { font-size: 13.5px; font-weight: 700; color: var(--ink); flex: none; width: 42px; text-align: right }

/* ---------- generic split section (image | copy) used on inner pages ---------- */

.split-sec { padding: 100px 0 }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center }
.split-grid.is-reverse .split-media { order: 2 }
.split-media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--bg-pause) }
.split-media img { width: 100%; height: 100%; object-fit: cover }
.split-copy p { margin-top: 14px; font-size: 15px }
.split-copy .dash-list { margin-top: 22px }
.split-copy .btn { margin-top: 26px }

/* ---------- plain stats band (inner pages) ---------- */

.stats-sec { padding: 100px 0; background: var(--bg-pause) }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center }
.stats-copy p { margin-top: 14px; font-size: 15px }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px }
.stat-tile { text-align: center; background: #fff; border-radius: var(--radius); padding: 26px 12px; box-shadow: var(--shadow-card) }
.stat-count { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); color: var(--navy) }
.stat-tile .stat-label { margin-top: 6px; font-size: 12px; color: var(--gray) }

/* ---------- how we work (copy + dash list | photo with caption card) ---------- */

.hww-sec { padding: 100px 0 }

.hww-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center }

.hww-copy p { margin-top: 14px; font-size: 15px }

.dash-list { margin-top: 26px; display: flex; flex-direction: column; gap: 16px }
.dash-list li { display: flex; gap: 14px; align-items: baseline; font-size: 15px; font-weight: 700; color: var(--ink) }
.dash-list li::before { content: "—"; color: var(--gold); flex: none; font-weight: 700 }

.hww-media { position: relative; padding-bottom: 54px }
.hww-photo { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden }
.hww-photo img { width: 100%; height: 100%; object-fit: cover }

.hww-caption {
    position: absolute;
    left: 28px;
    bottom: 0;
    background: #fff;
    box-shadow: var(--shadow-card);
    border-radius: var(--radius);
    padding: 18px 22px;
    max-width: 240px;
}

.hww-caption p { font-size: 13px; color: var(--gray); margin: 0 0 8px }
.hww-caption a { font-size: 12.5px; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 6px }
.hww-caption a svg { width: 13px; height: 13px }

/* ---------- video banner ---------- */

.video-sec { padding: 100px 0 }

.video-card {
    position: relative;
    border-radius: var(--radius);
    text-align: center;
    color: #fff;
    padding: 72px var(--pad);
    background: linear-gradient(135deg, var(--navy) 0%, #482300 100%);
}

.video-card h2 { color: #fff; max-width: 560px; margin: 0 auto }
.video-card p { color: rgba(255, 255, 255, .78); max-width: 460px; margin: 16px auto 0; font-size: 14.5px }
.video-card .btn { margin-top: 28px }

/* ---------- team ---------- */

.team-sec { padding: 100px 0 }
.team-head { text-align: center; max-width: 560px; margin: 0 auto 48px }
.team-head .eyebrow { text-align: center }
.team-head h2 { text-align: center }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px }
.team-card { text-align: center }
.team-photo { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden }
.team-photo img { width: 100%; height: 100%; object-fit: cover }
.team-card .name { margin-top: 18px; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 16.5px }
.team-card .role { margin-top: 3px; font-size: 12.5px; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; font-weight: 600 }

/* ---------- faq (photo left / accordion right — swap icon, open = gold fill) ---------- */

.faq-sec { padding: 110px 0; background: var(--bg-pause) }
.faq-sec.on-white { background: var(--bg) }

.faq-grid { display: grid; grid-template-columns: .8fr 1fr; gap: 56px; align-items: center }
.faq-media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden }
.faq-media img { width: 100%; height: 100%; object-fit: cover }

.faq-head { margin-bottom: 26px }

.faq-list { display: flex; flex-direction: column; gap: 12px }

.faq-item { background: #fff; border-radius: var(--radius); border: 1px solid var(--line) }
.faq-item.is-open { background: var(--gold); border-color: var(--gold) }

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    text-align: left;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
}

.faq-item.is-open .faq-q { color: #001030 }

.faq-q .ico { flex: none; width: 18px; height: 18px; position: relative }
.faq-q .ico svg { position: absolute; inset: 0; width: 18px; height: 18px }
.faq-q .ico .i-arrow { color: var(--gray-soft) }
.faq-q .ico .i-chev { color: #001030; opacity: 0 }
.faq-item.is-open .ico .i-arrow { opacity: 0 }
.faq-item.is-open .ico .i-chev { opacity: 1 }

.faq-a-wrap { max-height: 0; overflow: hidden; transition: max-height .3s ease }
.faq-a-in { overflow: hidden }
.faq-a { padding: 0 20px 20px; font-size: 13.5px; color: var(--gray) }
.faq-item.is-open .faq-a { color: rgba(0, 16, 47, .78) }

/* ---------- testimonials (scattered avatars) ---------- */

.testi-sec { padding: 110px 0; background: var(--navy); position: relative; overflow: hidden }

.testi-stage { position: relative; max-width: 640px; margin: 0 auto; text-align: center; padding: 40px 0 }

.testi-deco { position: absolute; width: 56px; height: 56px; border-radius: 50%; padding: 3px; background: var(--gold); transition: opacity .3s ease, transform .3s ease; pointer-events: none }
.testi-deco span { width: 100%; height: 100%; border-radius: 50%; background: var(--navy-2); color: #fff; display: grid; place-items: center; align-content: center; font-size: 12px; font-weight: 700 }
.testi-deco.d1 { left: 2%; top: 4% }
.testi-deco.d2 { right: 4%; top: 12% }
.testi-deco.d3 { left: 12%; bottom: 2% }

.testi-quote-mark { width: 40px; height: 40px; margin: 0 auto 20px; color: var(--gold) }

.testi-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 22px;
    padding: 3px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testi-avatar span {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--navy-2);
    color: #fff;
    display: grid;
    place-items: center;
    align-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 17px;
}

.testi-quote { font-size: 18px; color: #fff; line-height: 1.6; max-width: 46ch; margin: 0 auto }
.testi-name { margin-top: 22px; font-weight: 700; font-size: 15px; color: #fff }
.testi-role { font-size: 12.5px; color: rgba(255, 255, 255, .55); margin-top: 2px }

.testi-controls { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 16px }
.testi-pills { display: flex; gap: 8px }
.testi-pills button { width: 26px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .25); transition: background .2s ease, width .2s ease }
.testi-pills button.is-active { background: var(--gold); width: 40px }

.testi-play { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); display: flex; align-items: center; justify-content: center; flex: none; color: #fff }
.testi-play svg { width: 12px; height: 12px }

/* ---------- contact (floating card over full photo) ---------- */

.contact-photo-sec { position: relative; padding: 110px 0 }

.contact-photo-sec .bg-photo { position: absolute; inset: 0; z-index: 0 }
.contact-photo-sec .bg-photo img { width: 100%; height: 100%; object-fit: cover }
.contact-photo-sec .bg-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 8, 0, .35), rgba(15, 8, 0, .5)) }

.contact-card {
    position: relative;
    z-index: 1;
    max-width: 460px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 30px 70px rgba(15, 9, 0, .35);
    padding: 46px 40px;
}

.contact-card .eyebrow, .contact-card h2 { text-align: center }
.contact-card > p.lead { text-align: center; font-size: 13.5px; margin-top: 10px }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
.fld { margin-top: 16px }
.fld label { display: block; margin-bottom: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--gray) }

.fld input, .fld textarea, .fld select {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-pause);
    font: inherit;
    font-size: 14px;
    color: var(--ink);
    -webkit-appearance: none;
    appearance: none;
}

.fld textarea { min-height: 110px; resize: vertical }

.fld input:focus, .fld textarea:focus, .fld select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(124, 174, 246, .18);
}

.fld .err { display: none; margin-top: 6px; font-size: 12px; font-weight: 600; color: #127577 }
.fld.has-err input, .fld.has-err textarea { border-color: #127577 }
.fld.has-err .err { display: block }

.contact-card .btn { margin-top: 22px; width: 100% }

.form-success { display: none; text-align: center; padding: 30px 4px }
.form-success.is-visible { display: block }
.contact-card form.is-hidden { display: none }
.form-success .tick { width: 46px; height: 46px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px }
.form-success .tick svg { width: 20px; height: 20px; color: #001030 }
.form-success h3 { margin-bottom: 8px }
.form-success p { font-size: 13.5px }

/* plain (non-photo) contact panel used on the contact page, with info list beside the form */

.contact-plain { padding: 90px 0 110px }
.contact-plain-grid { display: grid; grid-template-columns: 1.05fr .85fr; gap: 56px }
.contact-plain-card { background: var(--bg-pause); border-radius: var(--radius); padding: 46px 44px }
.contact-plain-card h2 { margin-bottom: 26px }

.contact-info-list { display: flex; flex-direction: column; gap: 24px }
.contact-info-item .sub { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-soft); margin-bottom: 5px }
.contact-info-item .val { font-size: 15px; font-weight: 600; color: var(--ink) }
.contact-info-item .val a:hover { color: var(--gold) }

.office-row { margin-top: 20px; display: flex; flex-direction: column; gap: 14px }
.office-row .item { display: flex; justify-content: space-between; font-size: 14px; border-bottom: 1px dashed var(--line); padding-bottom: 11px }
.office-row .item span:first-child { color: var(--gray) }
.office-row .item span:last-child { font-weight: 600 }

/* ---------- CTA strip (before footer, non-photo pages) ---------- */

.cta-strip { padding: 100px 0 }
.cta-strip-in { background: var(--navy); border-radius: var(--radius); padding: 64px var(--pad); text-align: center }
.cta-strip-in h2 { color: #fff; margin-bottom: 12px }
.cta-strip-in p { color: rgba(255, 255, 255, .6); max-width: 480px; margin: 0 auto; font-size: 14.5px }
.cta-strip-row { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap }

/* ---------- footer ---------- */

.site-footer { background: var(--navy); color: rgba(255, 255, 255, .68); padding: 84px 0 0 }

.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr 1fr .9fr; gap: 36px; padding-bottom: 56px }

.footer-brand .brand-mark { background: var(--gold) }
.footer-brand .brand-mark svg { color: var(--navy) }
.footer-brand .brand-name { color: #fff }
.footer-brand p { margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, .5); max-width: 240px }

.footer-links h4, .footer-office h4 { font-family: 'Work Sans', sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .42); margin-bottom: 18px }
.footer-links li { margin-bottom: 11px }
.footer-links a { font-size: 13.5px; color: rgba(255, 255, 255, .78) }
.footer-links a:hover { color: var(--gold) }

.footer-office .office-row .item { border-bottom-color: var(--line-dark) }
.footer-office .office-row .item span:first-child { color: rgba(255, 255, 255, .5) }
.footer-office .office-row .item span:last-child { color: rgba(255, 255, 255, .85) }

.footer-bottom {
    border-top: 1px solid var(--line-dark);
    padding: 22px 0;
    text-align: center;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .42);
}

.footer-bottom .biz { margin-bottom: 8px }
.footer-bottom a { color: rgba(255, 255, 255, .62) }
.footer-bottom a:hover { color: var(--gold) }
.footer-bottom .legal-links { margin-top: 8px }

/* ---------- cookie banner ---------- */

.cookie-bar {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    max-width: 860px;
    margin: 0 auto;
    background: var(--navy);
    color: rgba(255, 255, 255, .82);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
    transform: translateY(calc(100% + 40px));
    transition: transform .35s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-bar.is-visible { transform: translateY(0) }
.cookie-bar p { color: rgba(255, 255, 255, .72); font-size: 13px; margin: 0; flex: 1 1 300px }
.cookie-bar a { color: var(--gold); text-decoration: underline }
.cookie-bar .row { display: flex; gap: 10px; flex: none }
.cookie-bar button { height: 36px; padding: 0 16px; border-radius: var(--radius); font-size: 12.5px; font-weight: 700; white-space: nowrap }
.cookie-bar [data-cookie="accepted"] { background: var(--gold); color: #001030 }
.cookie-bar [data-cookie="declined"] { background: transparent; border: 1px solid rgba(255, 255, 255, .3); color: #fff }

/* ---------- video modal ---------- */

.modal-backdrop { position: fixed; inset: 0; z-index: 300; background: rgba(12, 9, 2, .78); display: none; align-items: center; justify-content: center; padding: 24px }
.modal-backdrop.is-open { display: flex }
.video-modal { width: 100%; max-width: 860px; background: #000; border-radius: var(--radius); overflow: hidden; position: relative }
.video-modal .frame { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; background: var(--navy) }
.video-modal .frame-label { color: rgba(255, 255, 255, .5); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; text-align: center }
.video-modal .frame-label strong { display: block; color: #fff; font-size: 15px; margin-bottom: 6px; letter-spacing: normal; text-transform: none }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: center; color: #fff }
.modal-close svg { width: 16px; height: 16px }

/* ---------- inner page hero ---------- */

.page-head { padding: 56px 0 54px; background: var(--navy); text-align: left }
.page-head .eyebrow { color: var(--gold) }
.page-head h1 { color: #fff; font-size: clamp(24px, 3.4vw, 36px); max-width: 16ch }
.crumbs { margin-top: 14px; font-size: 12.5px; color: rgba(255, 255, 255, .5) }
.crumbs a:hover { color: var(--gold) }

.doc { max-width: 780px; margin: 0 auto; padding: 70px var(--pad) 110px }
.doc h2 { font-size: 19px; margin: 36px 0 12px }
.doc h2:first-of-type { margin-top: 0 }
.doc p { margin-bottom: 13px; font-size: 14.5px }
.doc .updated { color: var(--gray-soft); font-size: 13px; margin-bottom: 30px }

/* ---------- assessment / business health check quiz ---------- */

.assess-sec { padding: 110px 0 }
.assess-card { max-width: 620px; margin: 0 auto; background: var(--bg-pause); border-radius: var(--radius); padding: 54px 48px }
.assess-head { text-align: center }
.assess-head .eyebrow, .assess-head h2 { text-align: center }

.assess-progress { margin: 22px auto 0; display: flex; align-items: center; justify-content: center; gap: 8px }
.assess-progress span { width: 26px; height: 5px; border-radius: 999px; background: var(--line); transition: background .2s ease, width .2s ease }
.assess-progress span.is-active { background: var(--gold); width: 38px }
.assess-progress span.is-done { background: var(--gold-soft) }

.assess-step-label { text-align: center; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-soft); margin-top: 12px }

.assess-body { margin-top: 32px }
.assess-step { display: none }
.assess-step.is-active { display: block }

.assess-q { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 19px; text-align: center; color: var(--ink); margin-bottom: 24px }

.assess-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.assess-options button { padding: 15px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; font-weight: 600; font-size: 14px; text-align: left; transition: border-color .15s ease, background .15s ease }
.assess-options button:hover { border-color: var(--gold) }
.assess-options button.is-selected { border-color: var(--gold); background: rgba(124, 174, 246, .12) }

.assess-form .field-row { margin-top: 0 }
.assess-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px }
.assess-back { font-size: 13px; font-weight: 700; color: var(--gray); text-decoration: underline; text-underline-offset: 3px }

/* ---------- thank-you page ---------- */

.thanks-sec { padding: 100px 0 130px; text-align: center }
.thanks-card { max-width: 600px; margin: 0 auto }
.thanks-tick { width: 62px; height: 62px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px }
.thanks-tick svg { width: 26px; height: 26px; color: #001030 }
.thanks-card > p { font-size: 15.5px; margin: 14px auto 0; max-width: 460px }
.thanks-next { margin: 38px auto 0; max-width: 460px; background: var(--bg-pause); border-radius: var(--radius); padding: 32px 34px; text-align: left }
.thanks-next h2 { font-size: 18px; margin-bottom: 16px }
.thanks-next ul { display: flex; flex-direction: column; gap: 13px }
.thanks-next li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink) }
.thanks-next li::before { content: "—"; color: var(--gold); font-weight: 700 }
.thanks-note { margin-top: 24px; font-size: 12.5px; color: var(--gray-soft) }
.thanks-card .btn { margin-top: 32px }

/* ---------- responsive ---------- */

@media (max-width: 1200px) {
    :root { --container: 1080px }
}

@media (max-width: 992px) {
    .main-nav { display: none }
    .burger { display: block }
    /* Header phone CTA hides unconditionally on mobile (WORKAROUNDS.md #13) —
       its duplicate already lives inside the nav as a.mobile-cta. */
    .phone-cta { display: none }

    .nav-main .wrap { position: relative }
    .nav-main.is-open .main-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: absolute;
        left: 0; right: 0; top: 100%;
        background: #fff;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        padding: 8px var(--pad) 18px;
        box-shadow: 0 18px 36px rgba(31, 16, 0, .12);
    }
    .nav-main.is-open .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line) }
    .nav-main.is-open .main-nav a:last-child { border-bottom: 0 }
    .nav-main.is-open .main-nav a.mobile-cta {
        margin-top: 12px; height: 46px; border-radius: var(--radius); background: var(--gold);
        color: #001030; display: flex; align-items: center; justify-content: center; border-bottom: 0; font-weight: 700;
    }

    .about-grid, .hww-grid, .faq-grid, .contact-plain-grid,
    .split-grid, .stats-grid { grid-template-columns: 1fr; gap: 40px }
    .hww-grid .hww-media { order: -1 }
    .split-grid.is-reverse .split-media { order: 0 }

    .svc-navy-grid { grid-template-columns: repeat(2, 1fr) }
    .team-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto }
    .stat-row { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px }
}

@media (max-width: 768px) {
    :root { --pad: 20px }

    .topbar-mail { display: none }
    .hero { min-height: 0; padding: 64px 0 }
    .hero-in { padding: 0 var(--pad) }
    .hero h1 { max-width: none }

    .svc-navy,
    .about-sec, .assess-sec, .contact-photo-sec, .video-sec, .contact-plain, .testi-sec,
    .hww-sec, .team-sec, .cta-strip, .split-sec, .stats-sec, .faq-sec { padding-top: 70px; padding-bottom: 70px }

    .collage-row { width: 58% }
    .collage-stat { padding: 14px 18px; gap: 10px }
    .collage-stat .num { font-size: 20px }

    .field-row { grid-template-columns: 1fr }
    .assess-card { padding: 40px 24px }
    .assess-options { grid-template-columns: 1fr }
    .contact-card { padding: 36px 26px }
    .contact-plain-card { padding: 34px 24px }

    .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 40px }
}

@media (max-width: 560px) {
    .svc-navy-grid { grid-template-columns: 1fr }
    .collage-row { width: 100% }
    .collage-c { display: none }
    .testi-deco { display: none }
    .btn { padding: 0 22px; font-size: 12px }
}
