
/* =====================================================
   KHUBANA & ASSOCIATES
   COMPLETE WEBSITE STYLESHEET
   2026–2027
   ===================================================== */

/* 1. DESIGN SYSTEM */
:root {
    --ink: #15251f;
    --green: #183d32;
    --green2: #285747;
    --lime: #c5d6a0;
    --gold: #c49b5a;
    --paper: #f7f7f2;
    --white: #fff;
    --muted: #6d7771;
    --line: #dfe4dc;
    --dark: #10251e;

    --serif: Georgia, "Times New Roman", serif;
    --sans: "DM Sans", sans-serif;
    --display: "Manrope", sans-serif;

    --container: 1200px;
}

/* 2. GLOBAL STYLES */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    max-width: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(var(--container), calc(100% - 64px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    z-index: 999;
    background: white;
    padding: 10px 16px;
}

.skip-link:focus {
    left: 10px;
}

/* 3. TOP BAR */
.topbar {
    background: var(--dark);
    color: #d8e0d9;
    font-size: 11px;
    letter-spacing: .035em;
}

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

.topbar a {
    color: var(--lime);
}

/* 4. HEADER AND NAVIGATION */
.site-header {
    height: 88px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--paper);
    border-bottom: 1px solid rgba(21, 37, 31, .08);
}

.nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

/* Company logo */
.brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    text-decoration: none;
}

.header-logo {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    image-rendering: auto;
}

/* Navigation links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 29px;
    font-size: 12px;
    font-weight: 600;
}

.nav-links > a:not(.nav-cta) {
    position: relative;
    color: #4c5a52;
    transition: color .2s;
}

.nav-links > a:not(.nav-cta):after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 2px;
    background: var(--green2);
    transition: right .25s;
}

.nav-links > a:hover,
.nav-links > a.active {
    color: var(--green);
}

.nav-links > a:hover:after,
.nav-links > a.active:after {
    right: 0;
}

.nav-cta {
    padding: 12px 17px;
    background: var(--green);
    color: white;
    transition: background .2s;
}

.nav-cta:hover {
    background: var(--green2);
}

.nav-cta span {
    margin-left: 12px;
    color: var(--lime);
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 12px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    margin: 5px;
    transition: transform .2s;
}

/* 5. HERO SECTION */
.hero {
    background: var(--paper);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    min-height: 600px;
    align-items: center;
    gap: 48px;
    padding-top: 42px;
    padding-bottom: 35px;
}

.hero-content {
    padding: 35px 0 30px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 10px;
    letter-spacing: .18em;
    font-weight: 700;
    color: var(--green2);
}

.eyebrow-line {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--gold);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.hero h1,
.page-hero h1 {
    font: 500 clamp(48px, 5.3vw, 75px)/1.08 var(--display);
    letter-spacing: -.065em;
    margin: 28px 0 24px;
    max-width: 660px;
}

.hero h1 em,
.page-hero h1 em,
h2 em {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--green2);
    letter-spacing: -.045em;
}

.hero-lead {
    font: 600 17px/1.55 var(--display);
    max-width: 510px;
    margin-bottom: 14px;
}

.hero-copy {
    max-width: 510px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

/* Buttons */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 35px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 15px 20px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 700;
    transition: transform .2s, background .2s, color .2s;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--green);
    color: white;
}

.button-primary:hover {
    background: var(--green2);
}

.button-primary span {
    color: var(--lime);
}

.button-ghost {
    border-color: #cbd2c9;
    color: var(--ink);
}

.button-ghost:hover {
    border-color: var(--green);
    background: white;
}

.button-dark {
    background: var(--dark);
    color: white;
}

.button-dark:hover {
    background: var(--green2);
}

.button-light {
    background: var(--lime);
    color: var(--dark);
    flex-shrink: 0;
}

.button-light:hover {
    background: #d5e3b8;
}

/* Hero proof */
.hero-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    max-width: 420px;
}

.proof-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: #e7eddf;
    border-radius: 50%;
    color: var(--green2);
}

.hero-proof p {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

.hero-proof p span {
    color: var(--muted);
    font-size: 11px;
}

/* Hero image */
.hero-visual {
    height: 510px;
    position: relative;
    margin-right: 12px;
}

.hero-photo {
    position: absolute;
    inset: 0 30px 32px 0;
    background-image:
        linear-gradient(145deg, rgba(17,44,34,.08), rgba(17,44,34,.22)),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1400&q=85");
    background-position: center;
    background-size: cover;
}

.photo-overlay {
    position: absolute;
    inset: 0 30px 32px 0;
    background: linear-gradient(0deg, rgba(10,30,23,.4), transparent 58%);
}

.hero-note {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(315px, 75%);
    background: var(--green);
    color: white;
    padding: 27px 28px 25px;
    box-shadow: 0 20px 60px #10251e2b;
}

.note-label {
    display: block;
    color: var(--lime);
    font-size: 9px;
    letter-spacing: .2em;
    margin-bottom: 13px;
}

.hero-note strong {
    font: 500 22px/1.4 var(--display);
    letter-spacing: -.04em;
}

.note-rule {
    display: block;
    width: 38px;
    height: 1px;
    background: var(--gold);
    margin: 20px 0 12px;
}

.hero-note small {
    font-size: 10px;
    color: #d0dbd2;
}

.vertical-label {
    position: absolute;
    right: -20px;
    top: 25px;
    writing-mode: vertical-rl;
    font-size: 8px;
    letter-spacing: .18em;
    color: var(--muted);
}

.hero-bottom {
    border-top: 1px solid var(--line);
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 9px;
    letter-spacing: .13em;
    color: #778179;
}

/* 6. GENERAL SECTIONS */
.section-pad {
    padding: 100px 0;
}

.intro-section {
    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: .75fr 1.5fr .65fr;
    gap: 54px;
    align-items: start;
}

.section-kicker > span {
    font-size: 10px;
    letter-spacing: .18em;
    font-weight: 700;
}

.kicker-line {
    height: 1px;
    width: 42px;
    background: var(--gold);
    margin: 20px 0;
}

.section-kicker p {
    font-size: 11px;
    color: var(--muted);
}

.intro-copy h2,
.section-heading h2,
.prose h2,
.principles-section h2,
.sector-feature h2,
.contact-details h2,
.form-heading h2,
.map-panel h2 {
    font: 500 clamp(34px, 3.5vw, 49px)/1.2 var(--display);
    letter-spacing: -.055em;
    margin: 0 0 24px;
}

.intro-copy p,
.prose p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.95;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    font-size: 12px;
    font-weight: 700;
    color: var(--green2);
    padding-bottom: 5px;
    border-bottom: 1px solid #c9d4c7;
    margin-top: 12px;
}

.text-link span {
    transition: transform .2s;
}

.text-link:hover span {
    transform: translate(3px, -3px);
}

.intro-stat {
    margin-top: 65px;
    border-left: 1px solid var(--line);
    padding-left: 30px;
    display: flex;
    flex-direction: column;
}

.stat-number {
    font: 500 57px/1 var(--display);
    letter-spacing: -.07em;
    color: var(--green2);
}

.stat-label {
    font: 600 14px/1.5 var(--display);
    margin: 12px 0;
}

.stat-caption {
    font-size: 10px;
    color: var(--muted);
}

/* 7. SERVICES */
.services-section {
    background: #f0f2eb;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 35px;
    margin-bottom: 42px;
}

.section-heading h2 {
    margin: 18px 0 0;
}

.section-heading > p {
    max-width: 350px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 7px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.service-card {
    background: white;
    min-width: 0;
    position: relative;
    transition: transform .25s, box-shadow .25s;
    display: block;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px #20372a12;
}

.service-image {
    height: 190px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-image:after,
.detail-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(14,38,28,.22), transparent 65%);
}

.image-accounting {
    background-image: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=900&q=80");
}

.image-tax {
    background-image: url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=900&q=80");
}

.image-advisory {
    background-image: url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=900&q=80");
}

.image-legal {
    background-image: url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=900&q=80");
}

.service-card-body {
    padding: 23px 22px 65px;
    position: relative;
    min-height: 218px;
}

.card-number {
    font-size: 9px;
    letter-spacing: .15em;
    color: #788379;
    font-weight: 700;
}

.service-card h3 {
    font: 700 17px/1.35 var(--display);
    letter-spacing: -.035em;
    margin: 14px 0 10px;
}

.service-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 0;
}

.circle-arrow {
    position: absolute;
    bottom: 18px;
    right: 20px;
    border: 1px solid var(--line);
    width: 31px;
    height: 31px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--green2);
    transition: background .2s, color .2s;
}

.service-card:hover .circle-arrow {
    background: var(--green);
    color: white;
}

.center-action {
    text-align: center;
    margin-top: 35px;
}

/* 8. STATEMENT SECTION */
.statement-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 440px;
    background: var(--dark);
    color: white;
}

.statement-image {
    background: url("https://images.unsplash.com/photo-1524758631624-e2822e304c36?auto=format&fit=crop&w=1400&q=85") center/cover;
    min-height: 440px;
    opacity: .83;
}

.statement-content {
    align-self: center;
    padding: 70px clamp(35px, 7vw, 110px);
}

.eyebrow-light {
    color: #d7dfd6;
}

.statement-content h2,
.cta-inner h2,
.dark-band h2,
.industries-band h2 {
    font: 500 clamp(34px, 3.5vw, 49px)/1.23 var(--display);
    letter-spacing: -.055em;
    margin: 23px 0;
}

.statement-content h2 em,
.cta-inner h2 em,
.dark-band h2 em,
.industries-band h2 em {
    color: var(--lime);
    font-family: var(--serif);
    font-weight: 400;
}

.statement-content p {
    font-size: 13px;
    color: #c0cbc3;
    line-height: 1.9;
    max-width: 440px;
}

.text-link-light {
    color: #f5f5ed;
    border-color: #52655a;
}

/* 9. SECTORS */
.sectors-section {
    background: white;
}

.sector-pills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.sector-pills a {
    padding: 22px 18px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    transition: background .2s, color .2s;
}

.sector-pills a span {
    color: var(--gold);
}

.sector-pills a:hover {
    background: var(--green);
    color: white;
}

/* 10. PARTNER SECTION */
.partner-section {
    padding: 70px 0;
    background: #edf0e8;
}

.partner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.partner-inner > div {
    max-width: 680px;
}

.partner-inner h2 {
    font: 500 clamp(31px, 3.2vw, 44px)/1.2 var(--display);
    letter-spacing: -.05em;
    margin: 18px 0;
}

.partner-inner p {
    color: var(--muted);
    max-width: 650px;
    font-size: 13px;
    margin: 0;
}

.partner-logo {
    width: 205px;
    min-width: 205px;
    height: 112px;
    background: var(--green);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    letter-spacing: .2em;
}

.partner-logo > span:first-child {
    font: 800 28px var(--display);
}

.partner-logo small {
    font-size: 9px;
    letter-spacing: .35em;
    color: var(--lime);
}

.partner-arrow {
    position: absolute;
    right: 13px;
    top: 8px;
    color: var(--lime);
}

/* 11. CTA SECTION */
.cta-section {
    background: var(--green);
    color: white;
    padding: 76px 0;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.cta-inner h2 {
    margin-bottom: 0;
}

/* 12. FOOTER */
.site-footer {
    background: #0d1e18;
    color: white;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 25px;
    padding: 38px 0;
}

.footer-logo {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.brand-footer {
    display: inline-flex;
    align-items: center;
}

.footer-tagline {
    margin: 0;
    color: #aebbb1;
    font-size: 11px;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 11px;
    color: #c5d0c7;
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: var(--lime);
}

.footer-bottom {
    border-top: 1px solid #293a31;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0 22px;
    color: #94a49a;
    font-size: 10px;
}

/* 13. INNER PAGE HERO */
.page-hero {
    padding: 75px 0 72px;
    background: #eef0e9;
    border-bottom: 1px solid var(--line);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .65fr;
    gap: 80px;
    align-items: end;
}

.page-hero h1 {
    font-size: clamp(46px, 5vw, 68px);
    margin: 22px 0 0;
}

.page-hero-grid > p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--muted);
    margin: 0 0 8px;
}

/* 14. ABOUT PAGE */
.two-col {
    display: grid;
    grid-template-columns: .65fr 1.35fr;
    gap: 80px;
}

.prose {
    max-width: 760px;
}

.prose h2 {
    font-size: 42px;
}

.principles-section {
    background: #f0f2eb;
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 45px;
}

.principle-card {
    background: white;
    padding: 30px;
    position: relative;
    min-height: 285px;
}

.principle-card > span {
    position: absolute;
    right: 25px;
    top: 20px;
    color: #9aa69b;
    font-size: 10px;
    letter-spacing: .15em;
}

.principle-icon {
    width: 45px;
    height: 45px;
    background: #e9eee2;
    color: var(--green2);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 27px;
}

.principle-card h3 {
    font: 700 19px var(--display);
    letter-spacing: -.04em;
}

.principle-card p {
    font-size: 13px;
    line-height: 1.9;
    color: var(--muted);
}

/* 15. DARK BAND */
.dark-band {
    background: var(--dark);
    color: white;
    padding: 85px 0;
}

.dark-band-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 80px;
    align-items: start;
}

.dark-band-inner > .eyebrow {
    grid-column: 1 / -1;
}

.dark-band h2 {
    margin: 10px 0;
}

.value-list {
    padding-top: 18px;
}

.value-list p {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    color: #d2dcd4;
    font-size: 13px;
    border-bottom: 1px solid #2b4034;
    padding: 11px 0;
    margin: 0;
}

.value-list p span {
    color: var(--lime);
}

/* 16. SERVICE DETAIL PAGE */
.service-detail-section {
    padding-top: 35px;
}

.service-detail {
    display: grid;
    grid-template-columns: .82fr 1fr;
    gap: 75px;
    padding: 70px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 100px;
}

.service-detail.reverse .detail-image {
    order: 2;
}

.service-detail.reverse .detail-content {
    order: 1;
}

.detail-image {
    min-height: 450px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.detail-content {
    align-self: center;
}

.detail-content h2 {
    font: 500 clamp(32px, 3.5vw, 45px)/1.2 var(--display);
    letter-spacing: -.05em;
    margin: 20px 0;
}

.detail-content > p {
    font-size: 13px;
    line-height: 1.95;
    color: var(--muted);
}

.detail-content h3 {
    font: 700 13px var(--display);
    margin: 25px 0 10px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.check-list li {
    position: relative;
    padding: 7px 0 7px 22px;
    font-size: 12px;
    color: #4e5c53;
    border-bottom: 1px solid #e6e9e1;
}

.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green2);
    font-weight: 700;
}

.outcome-line {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-left: 2px solid var(--gold);
    padding: 7px 0 7px 14px;
    margin: 25px 0;
    color: var(--muted);
    font-size: 11px;
}

.outcome-line strong {
    color: var(--ink);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.partner-inline {
    padding: 15px;
    background: #edf0e8;
    border-left: 2px solid var(--gold);
}

/* 17. SECTORS PAGE */
.sector-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
    margin-bottom: 70px;
}

.sector-feature-image {
    min-height: 440px;
    background: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1200&q=85") center/cover;
}

.sector-feature-copy h2 {
    font: 500 clamp(33px, 3.3vw, 45px)/1.2 var(--display);
    letter-spacing: -.05em;
    margin: 18px 0;
}

.sector-feature-copy > p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.sector-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.sector-card {
    background: #f0f2eb;
    padding: 30px;
    min-height: 280px;
    scroll-margin-top: 110px;
}

.sector-card > span {
    float: right;
    font-size: 10px;
    color: #7c8a7e;
}

.sector-symbol {
    font-size: 27px;
    color: var(--green2);
    margin: 8px 0 22px;
}

.sector-card h3 {
    font: 700 19px var(--display);
    letter-spacing: -.04em;
}

.sector-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.85;
}

.industries-band {
    background: var(--dark);
    color: white;
    padding: 78px 0;
}

.industries-band h2 {
    margin: 18px 0;
}

.industries-band > div > p {
    color: #bfcac1;
    font-size: 13px;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 35px;
    border-top: 1px solid #34463b;
    border-left: 1px solid #34463b;
}

.industry-grid span {
    padding: 18px;
    border-right: 1px solid #34463b;
    border-bottom: 1px solid #34463b;
    font-size: 13px;
    color: #e1e8e0;
}

/* 18. CONTACT PAGE */
.contact-section {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1fr;
    gap: 100px;
    align-items: start;
}

.contact-details h2 {
    margin: 20px 0;
}

.contact-details > p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 35px;
}

.contact-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.contact-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: #eaf0e4;
    color: var(--green2);
    font-size: 19px;
}

.contact-item > div > small {
    font-size: 9px;
    letter-spacing: .16em;
    color: #758177;
    font-weight: 700;
}

.contact-item strong,
.contact-value {
    display: block;
    font: 600 13px var(--display);
    margin: 7px 0 2px;
}

.contact-item p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.contact-item .text-link {
    font-size: 10px;
    margin-top: 7px;
}

/* Email contact panel */
.contact-form-wrap {
    background: #f4f5ef;
    padding: 35px 38px;
}

.form-heading h2 {
    font-size: 32px;
    margin: 15px 0 10px;
}

.form-heading > p {
    font-size: 11px;
    color: var(--muted);
}

.form-submit {
    margin-top: 20px;
    width: 100%;
}

.form-note {
    font-size: 10px;
    line-height: 1.7;
    color: var(--muted);
    margin: 12px 0 0;
}

.email-alternative {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-top: 1px solid var(--line);
    margin-top: 30px;
    padding-top: 22px;
}

.email-alternative-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: #eaf0e4;
    color: var(--green2);
}

.email-alternative strong {
    font-size: 12px;
}

.email-alternative p {
    font-size: 12px;
    color: var(--muted);
    margin: 5px 0;
}

.copy-email-button {
    border: 0;
    background: transparent;
    color: var(--green2);
    padding: 5px 0;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.copy-email-button:hover {
    text-decoration: underline;
}

.copy-status {
    display: block;
    color: var(--green2);
    font-size: 11px;
}

/* 19. MAP AND OFFICE LOCATION */
.map-panel {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    min-height: 330px;
    background: #e9ede4;
    overflow: hidden;
}

.map-panel-inner {
    padding: 60px max(35px, calc((100vw - var(--container)) / 2));
    padding-right: 30px;
}

.map-panel h2 {
    font-size: 36px;
    margin: 20px 0 25px;
}

.map-panel-inner > p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.9;
    max-width: 430px;
}

.office-map {
    width: 100%;
    min-width: 0;
    min-height: 330px;
    overflow: hidden;
}

.office-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 330px;
    border: 0;
}

/* Decorative map if used instead of iframe */
.map-decoration {
    position: relative;
    overflow: hidden;
    min-height: 330px;
    background: #dce5d8;
}

.map-grid {
    position: absolute;
    inset: -30%;
    transform: rotate(-12deg);
    background-image:
        linear-gradient(#a8bda755 1px, transparent 1px),
        linear-gradient(90deg, #a8bda755 1px, transparent 1px);
    background-size: 42px 42px;
}

.map-route {
    position: absolute;
    width: 140%;
    height: 100px;
    border-top: 5px solid white;
    border-bottom: 5px solid white;
    left: -10%;
    top: 38%;
    transform: rotate(-28deg);
    box-shadow: 0 0 0 1px #c6d2c3;
}

.map-pin {
    position: absolute;
    left: 52%;
    top: 38%;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: var(--green);
    color: white;
    border: 5px solid #ffffffb8;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 10px 25px #10251e30;
}

.map-label {
    position: absolute;
    left: calc(52% + 35px);
    top: 57%;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .15em;
    color: var(--green);
}

/* 20. REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =====================================================
   21. TABLET RESPONSIVENESS
   ===================================================== */

@media (max-width: 1050px) {

    .container {
        width: min(var(--container), calc(100% - 44px));
    }

    .header-logo {
        width: 230px;
    }

    .nav-links {
        gap: 17px;
    }

    .hero-grid {
        gap: 28px;
    }

    .hero-visual {
        height: 465px;
    }

    .intro-grid {
        gap: 30px;
    }

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

    .service-image {
        height: 220px;
    }

    .service-card-body {
        min-height: 180px;
    }

    .contact-grid {
        gap: 50px;
    }

    .service-detail {
        gap: 45px;
    }
}

/* =====================================================
   22. MOBILE RESPONSIVENESS
   ===================================================== */

@media (max-width: 760px) {

    .container {
        width: calc(100% - 38px);
    }

    /* Top bar */
    .topbar-inner {
        min-height: 35px;
    }

    .topbar-inner > span {
        max-width: 62%;
        font-size: 9px;
        line-height: 1.4;
    }

    .topbar-inner > a {
        font-size: 9px;
    }

    /* Header */
    .site-header {
        height: 73px;
    }

    .header-logo {
        width: 220px;
    }

    .menu-toggle {
        display: block;
        z-index: 120;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    /* Mobile navigation */
    .nav-links {
        position: fixed;
        inset: 108px 0 0;
        background: var(--paper);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 20px 24px 40px;
        overflow: auto;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .25s, visibility .25s;
    }

    .nav-links.is-open {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-links > a:not(.nav-cta) {
        padding: 17px 4px;
        border-bottom: 1px solid var(--line);
        font-size: 16px;
    }

    .nav-links > a:not(.nav-cta):after {
        display: none;
    }

    .nav-cta {
        margin-top: 20px;
        text-align: center;
        padding: 16px;
    }

    /* Hero */
    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 20px;
        gap: 20px;
    }

    .hero-content {
        padding: 25px 0 0;
    }

    .hero h1 {
        font-size: clamp(47px, 12vw, 66px);
        margin: 22px 0 19px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-copy {
        font-size: 13px;
    }

    .hero-actions {
        margin: 24px 0;
    }

    .button {
        padding: 14px 16px;
    }

    .hero-visual {
        height: 390px;
        margin: 0 8px 0 0;
    }

    .hero-photo,
    .photo-overlay {
        inset: 0 22px 24px 0;
    }

    .hero-note {
        width: 275px;
        padding: 21px;
    }

    .hero-note strong {
        font-size: 19px;
    }

    .vertical-label {
        right: -13px;
    }

    .hero-bottom {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px 22px;
        font-size: 8px;
    }

    /* General sections */
    .section-pad {
        padding: 70px 0;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .section-kicker p {
        margin-bottom: 0;
    }

    .intro-copy h2,
    .section-heading h2 {
        font-size: 37px;
    }

    .intro-stat {
        margin-top: 5px;
        padding: 20px 0 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .stat-number {
        font-size: 46px;
    }

    /* Services */
    .section-heading {
        display: block;
        margin-bottom: 30px;
    }

    .section-heading > p {
        margin-top: 15px;
    }

    .service-grid {
        gap: 12px;
    }

    .service-image {
        height: 150px;
    }

    .service-card-body {
        padding: 18px 15px 55px;
        min-height: 210px;
    }

    .service-card h3 {
        font-size: 15px;
    }

    .service-card p {
        font-size: 11px;
    }

    /* Statement */
    .statement-section {
        grid-template-columns: 1fr;
    }

    .statement-image {
        min-height: 260px;
    }

    .statement-content {
        padding: 55px 25px;
    }

    .statement-content h2,
    .cta-inner h2 {
        font-size: 36px;
    }

    /* Sector pills */
    .sector-pills {
        grid-template-columns: repeat(2, 1fr);
    }

    .sector-pills a {
        padding: 17px 12px;
        font-size: 11px;
    }

    /* Partner */
    .partner-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .partner-logo {
        width: 180px;
        min-width: 180px;
        height: 95px;
    }

    /* CTA */
    .cta-section {
        padding: 60px 0;
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    /* Footer */
    .footer-logo {
        width: 180px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 30px 0;
    }

    .footer-links {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer-bottom {
        flex-wrap: wrap;
        font-size: 9px;
    }

    /* Inner pages */
    .page-hero {
        padding: 55px 0;
    }

    .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-hero h1 {
        font-size: clamp(44px, 11vw, 60px);
        margin-top: 18px;
    }

    .page-hero-grid > p {
        font-size: 13px;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .prose h2 {
        font-size: 35px;
    }

    /* Principles */
    .principle-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 30px;
    }

    .principle-card {
        min-height: 0;
        padding: 25px;
    }

    /* Dark band */
    .dark-band {
        padding: 65px 0;
    }

    .dark-band-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dark-band-inner > .eyebrow {
        grid-column: auto;
    }

    .dark-band h2 {
        font-size: 38px;
    }

    /* Service details */
    .service-detail {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 38px 0;
    }

    .service-detail.reverse .detail-image,
    .service-detail.reverse .detail-content {
        order: initial;
    }

    .detail-image {
        min-height: 300px;
    }

    .detail-content h2 {
        font-size: 35px;
    }

    /* Sectors */
    .sector-feature {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 35px;
    }

    .sector-feature-image {
        min-height: 280px;
    }

    .sector-feature h2 {
        font-size: 35px;
    }

    .sector-card-grid {
        grid-template-columns: 1fr;
    }

    .sector-card {
        min-height: 0;
    }

    .industries-band {
        padding: 60px 0;
    }

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

    .industry-grid span {
        padding: 14px;
        font-size: 11px;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrap {
        padding: 26px 20px;
    }

    .form-heading h2 {
        font-size: 30px;
    }

    /* Office map */
    .map-panel {
        grid-template-columns: 1fr;
    }

    .map-panel-inner {
        padding: 45px 22px;
    }

    .map-panel h2 {
        font-size: 33px;
    }

    .office-map {
        min-height: 300px;
    }

    .office-map iframe {
        height: 300px;
        min-height: 300px;
    }

    .map-decoration {
        min-height: 260px;
    }
}

/* =====================================================
   23. SMALL MOBILE SCREENS
   ===================================================== */

@media (max-width: 390px) {

    .container {
        width: calc(100% - 30px);
    }

    .topbar-inner > span {
        max-width: 58%;
    }

    .header-logo {
        width: 190px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-visual {
        height: 340px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 190px;
    }

    .service-card-body {
        min-height: 165px;
    }

    .sector-pills {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        display: grid;
    }

    .footer-logo {
        width: 165px;
    }

    .contact-form-wrap {
        padding: 24px 16px;
    }

    .map-panel-inner {
        padding: 35px 19px;
    }

    .office-map iframe {
        height: 260px;
        min-height: 260px;
    }
}
