/* ==========================================================================
   Baserman Growth Partners — editorial/restrained design system
   Mobile-first, responsive for iOS/Android/laptops.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --navy: #0f223b;
    --navy-ink: #1a2e47;
    --navy-80: rgba(15, 34, 59, 0.80);
    --navy-40: rgba(15, 34, 59, 0.40);
    --cream: #f7f4ed;
    --cream-2: #efe9dc;
    --white: #ffffff;
    --stone: #8d7046;
    --stone-dark: #6e5834;
    --ink: #1a1a1a;
    --muted: #5b6472;
    --muted-light: #8a92a0;
    --divider: #e3dcc9;
    --divider-dark: rgba(255, 255, 255, 0.18);

    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --serif: 'Playfair Display', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;

    --container: 1200px;
    --container-narrow: 780px;

    --radius: 2px;
    --radius-lg: 4px;

    --shadow-sm: 0 1px 2px rgba(15, 34, 59, 0.05);
    --shadow-md: 0 6px 20px rgba(15, 34, 59, 0.08);
    --shadow-lg: 0 18px 50px rgba(15, 34, 59, 0.14);

    --nav-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern", "liga", "ss01";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--stone); }
button { font: inherit; cursor: pointer; border: 0; background: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { padding: 4px 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--navy);
    margin: 0 0 0.4em;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 5.2vw + 0.5rem, 4.25rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.75rem, 2.4vw + 0.8rem, 2.6rem); }
h3 { font-size: clamp(1.3rem, 1vw + 0.9rem, 1.55rem); }
h4 { font-size: 1.05rem; }

.eyebrow {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--stone);
    margin: 0 0 1.25em;
}
.eyebrow.small { font-size: 0.72rem; margin-bottom: 0.6em; }
.eyebrow.light { color: var(--cream-2); }

.muted { color: var(--muted); }
.lead { font-size: clamp(1rem, 0.6vw + 0.9rem, 1.2rem); line-height: 1.55; color: inherit; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--container-narrow); }
.section { padding: clamp(60px, 8vw, 112px) 0; }
.section-heading { max-width: 780px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-heading h2 { margin-bottom: 0.4em; }
.section-sub { font-size: 1.08rem; color: var(--muted); line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 14px 26px;
    font-family: var(--sans);
    font-size: 0.93rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: background .2s ease, color .2s ease, transform .15s ease, border-color .2s ease;
    min-height: 44px;                        /* iOS touch target */
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-ink); color: var(--white); transform: translateY(-1px); }
.btn-primary.light { background: var(--cream); color: var(--navy); }
.btn-primary.light:hover { background: var(--white); color: var(--navy-ink); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(247, 244, 237, 0.55); }
.btn-ghost:hover { background: rgba(247, 244, 237, 0.1); color: var(--white); border-color: var(--cream); }

/* ==========================================================================
   NAV
   ========================================================================== */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    /* background: transparent; */
    background: var(--navy);
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
    border-bottom: 1px solid transparent;
    padding-top: env(safe-area-inset-top, 0);
}
.site-nav.is-scrolled {
    background: rgba(15, 34, 59, 0.96);
    backdrop-filter: saturate(140%) blur(8px);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
    border-bottom-color: rgba(247, 244, 237, 0.08);
    box-shadow: 0 2px 16px rgba(15, 34, 59, 0.18);
}
.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-brand {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--cream);
    white-space: nowrap;
    text-decoration: none;
}
.is-scrolled .nav-brand { color: var(--cream); }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
    display: inline-block;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--cream);
    min-height: 44px;
    line-height: 24px;
}
.is-scrolled .nav-menu a { color: var(--cream); }
.nav-menu a:hover { color: var(--stone); }
.nav-menu .nav-cta {
    margin-left: 8px;
    padding: 10px 18px;
    border: 1px solid currentColor;
    border-radius: var(--radius);
}
.nav-menu .nav-cta:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.is-scrolled .nav-menu .nav-cta:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--cream);
    transition: transform .25s ease, opacity .2s ease, background .25s ease;
}
.is-scrolled .nav-toggle span { background: var(--cream); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 40px) 0 80px;
    color: var(--cream);
    overflow: hidden;
}
.hero-media {
    position: absolute; inset: 0;
    /* background-image: linear-gradient(180deg, rgb(240, 232, 232) 0%, rgba(15, 34, 59, 0.65) 65%, rgba(15, 34, 59, 0.88) 100%), url("images/hero.jpg"); */
    background-image: url("images/hero.jpg");
    filter: opacity(45%); 
    background-size: cover;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.hero .eyebrow { color: var(--stone-light, #c9b89a); margin-bottom: 1em; }
.hero h1 {
    color: var(--navy);
    max-width: 20ch;
    margin-bottom: 24px;
}

#brow1 {
    color: var(--stone);
}
.hero .lead {
    /* color: rgba(247, 244, 237, 0.88); */
    color: var(--navy);
    max-width: 56ch;
    margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-scroll {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    width: 24px; height: 40px;
    border: 1px solid rgba(247, 244, 237, 0.6);
    border-radius: 12px;
    z-index: 1;
}
.hero-scroll span {
    position: absolute;
    top: 8px; left: 50%;
    width: 2px; height: 8px;
    margin-left: -1px;
    background: var(--cream);
    border-radius: 1px;
    animation: scrollBob 1.8s ease-in-out infinite;
}
@keyframes scrollBob {
    0%, 100% { transform: translateY(0); opacity: 0.9; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

/* ==========================================================================
   INTRO
   ========================================================================== */
.intro {
    background: var(--cream);
    text-align: left;
}
.intro .section-head {
    font-size: clamp(2rem, 3vw + 1rem, 3.2rem);
    margin-bottom: 0.6em;
}
.intro-body p { font-size: 1.12rem; line-height: 1.7; margin-bottom: 1em; color: var(--ink); }
.intro-body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   STAT STRIP
   ========================================================================== */
.stat-strip {
    background: var(--navy);
    color: var(--cream);
    padding: clamp(48px, 6vw, 80px) 0;
    border-top: 1px solid var(--divider);
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 32px;
    text-align: left;
}
.stat-num {
    font-family: var(--serif);
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1;
    color: var(--cream);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.stat-num span {
    color: var(--stone);
    font-size: 0.65em;
    margin-left: 2px;
    font-weight: 400;
}
.stat-label {
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(247, 244, 237, 0.78);
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* ==========================================================================
   SECTION BANNER BACKGROUNDS (faint cityscape behind headline)
   ========================================================================== */
.has-banner-bg { position: relative; isolation: isolate; }
.has-banner-bg .banner-bg {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: clamp(220px, 32vh, 360px);
    background-image: var(--banner-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0) 100%);
            mask-image: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0) 100%);
}
.has-banner-bg > .container { position: relative; z-index: 1; }

/* ==========================================================================
   APPROACH
   ========================================================================== */
.approach { background: var(--cream); }
.phase-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}
.phase {
    background: var(--white);
    border: 1px solid var(--divider);
    border-top: 3px solid var(--stone);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    margin: 0 8px;
    cursor: pointer;
    transition: box-shadow .25s ease, transform .2s ease, background .2s ease;
    display: flex;
    flex-direction: column;
}
.phase:hover,
.phase:focus-visible,
.phase.is-open { box-shadow: var(--shadow-md); outline: none; }
.phase-num {
    font-family: var(--serif);
    font-size: 0.92rem;
    color: var(--stone);
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.phase h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--navy);
}
.phase-sub {
    font-family: var(--sans);
    font-style: italic;
    color: var(--muted);
    font-size: 0.98rem;
    margin-bottom: 0;
}
/* Compact state: bullets hidden by default */
.phase ul {
    padding-left: 0;
    list-style: none;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .35s ease, opacity .25s ease, margin-top .25s ease;
}
/* Expanded states: hover (desktop) or .is-open (touch) or focus */
.phase:hover ul,
.phase:focus-within ul,
.phase.is-open ul {
    max-height: 600px;
    opacity: 1;
    margin-top: 14px;
}
.phase li {
    padding: 6px 0 6px 20px;
    position: relative;
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.5;
}
.phase li::before {
    content: "";
    position: absolute;
    left: 0; top: 14px;
    width: 10px; height: 1px;
    background: var(--stone);
}

/* Arrows between phase cards */
.phase-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stone);
    font-size: 1.1rem;
    padding: 0 8px;
    transition: transform .25s ease;
}

/* ==========================================================================
   SCOPE
   ========================================================================== */
.scope { background: var(--white); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); text-align: center; }
.scope .section-heading { text-align: center; }
.scope-copy {
    max-width: 780px;
    margin: 0 auto clamp(32px, 4vw, 56px);
    text-align: center;
}
.scope-copy p { color: var(--ink); font-size: 1.05rem; margin-bottom: 1em; line-height: 1.65; }
.scope-copy p:last-child { margin-bottom: 0; }
.scope-closing { margin: clamp(32px, 4vw, 56px) auto 0; }
.scope-closing p { font-size: 1.1rem; color: var(--navy); font-style: italic; }
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
    margin-bottom: clamp(40px, 5vw, 72px);
}
.split-copy p { color: var(--ink); font-size: 1.05rem; margin-bottom: 1em; }
.split-media img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.criteria {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
    text-align: left;
}
.criterion {
    padding: 24px 20px;
    border-right: 1px solid var(--divider);
}
.criterion:last-child { border-right: 0; }
.criterion-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--stone);
    margin-bottom: 8px;
}
.criterion-value { font-size: 0.95rem; line-height: 1.45; color: var(--navy); font-weight: 500; }

/* ==========================================================================
   OUTCOMES
   ========================================================================== */
.outcomes { background: var(--cream); }
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.outcome {
    background: var(--white);
    padding: 28px 26px;
    border: 1px solid var(--divider);
    border-top: 3px solid var(--stone);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}
.outcome:hover,
.outcome:focus-visible,
.outcome.is-open { transform: translateY(-3px); box-shadow: var(--shadow-md); outline: none; }
.outcome h3 {
    font-size: 1.2rem;
    line-height: 1.25;
    margin-bottom: 0;
    color: var(--navy);
}
/* Compact state: dl hidden */
.outcome dl {
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .4s ease, opacity .25s ease, margin-top .25s ease;
}
.outcome:hover dl,
.outcome:focus-within dl,
.outcome.is-open dl {
    max-height: 800px;
    opacity: 1;
    margin-top: 16px;
}
.outcome dt {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--stone);
    margin: 14px 0 6px;
}
.outcome dt:first-child { margin-top: 0; }
.outcome dd { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--ink); }
.outcome dd strong { color: var(--navy); font-weight: 600; }

/* ==========================================================================
   ABOUT / TEAM
   ========================================================================== */
.about { background: var(--white); border-top: 1px solid var(--divider); }
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(48px, 5vw, 80px);
}
.person {
    display: grid;
    grid-template-columns: minmax(240px, 380px) 1fr;
    gap: clamp(32px, 4vw, 56px);
    align-items: start;
}
.person:nth-child(even) { grid-template-columns: 1fr minmax(240px, 380px); }
.person:nth-child(even) .person-photo { order: 2; }
.person:nth-child(even) .person-body { order: 1; }
.person-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
/* Cutout headshot: no frame, no shadow, no aspect-ratio crop */
.person-photo-cutout { background: transparent; }
.person-photo-cutout img {
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}
.person-body h3 { margin-bottom: 0.6em; }
.person-body p { color: var(--ink); font-size: 1.02rem; margin-bottom: 1em; }
.person-contact {
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--muted);
}
.person-contact a { color: var(--navy); font-weight: 500; }
.person-contact a:hover { color: var(--stone); }
.person-contact .sep { margin: 0 10px; color: var(--muted-light); }

/* ==========================================================================
   QUOTE BAND
   ========================================================================== */
.quote-band {
    position: relative;
    padding: clamp(80px, 10vw, 140px) 0;
    color: var(--cream);
    overflow: hidden;
    text-align: center;
}
.quote-media {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(15, 34, 59, 0.55), rgba(15, 34, 59, 0.75)), url("images/footer.jpg");
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.quote-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}
.quote-inner blockquote {
    margin: 0 0 32px;
    padding: 0;
    border: 0;
}
.quote-inner blockquote p {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.35;
    color: var(--cream);
    font-style: italic;
    font-weight: 400;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { background: var(--cream); }
.contact-details {
    margin: 32px 0 0;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px 20px;
    border-top: 1px solid var(--divider);
    padding-top: 20px;
}
.contact-details dt {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--stone);
    padding-top: 3px;
}
.contact-details dd { margin: 0; font-size: 0.98rem; color: var(--ink); }
.contact-details a { color: var(--navy); font-weight: 500; }
.contact-details a:hover { color: var(--stone); }

.contact-form { background: var(--white); padding: 36px 32px; border: 1px solid var(--divider); border-radius: var(--radius-lg); }
.field { margin-bottom: 20px; }
.field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 8px;
}
.field input, .field select, .field textarea {
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: var(--cream);
    border: 1px solid var(--divider);
    border-radius: var(--radius);
    transition: border-color .15s ease, background .15s ease;
    min-height: 44px;
    appearance: none;
    -webkit-appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; font-family: var(--sans); }
.field select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%238d7046' d='M6 8L0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: 0;
    border-color: var(--stone);
    background: var(--white);
}
.contact-form button { width: 100%; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 16px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--navy);
    color: var(--cream);
    padding: 56px 0 28px;
}
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--stone-light, #c9b89a); }
.footer-row {
    display: grid;
    grid-template-columns: 1.2fr 2fr 1fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--divider-dark);
}
.footer-name { font-family: var(--serif); font-size: 1.15rem; color: var(--cream); font-weight: 500; }
.footer-tag { font-size: 0.85rem; color: rgba(247, 244, 237, 0.7); margin-top: 4px; }
.footer-nav { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.footer-nav a { font-size: 0.88rem; letter-spacing: 0.02em; }
.footer-meta { text-align: right; font-size: 0.9rem; }
.footer-base {
    /* padding-top: 14px; */
    font-size: 0.82rem;
    color: rgba(247, 244, 237, 0.55);
    text-align: center;
}

/* ==========================================================================
   RESPONSIVE — tablet & below
   ========================================================================== */
@media (max-width: 980px) {
    .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .split-media img { aspect-ratio: 16 / 10; }
    .criteria { grid-template-columns: repeat(2, 1fr); }
    .criterion { border-right: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
    .criterion:nth-child(2n) { border-right: 0; }

    /* Outcomes 4 → 2 columns at this breakpoint */
    .outcomes-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    /* Approach: 4 cards in row → 2x2 grid, arrows rotate down */
    .phase-row {
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: auto auto auto auto auto;
        row-gap: 12px;
    }
    .phase-row > .phase:nth-child(1) { grid-column: 1; grid-row: 1; }
    .phase-row > .phase-arrow:nth-child(2) { grid-column: 2; grid-row: 1; transform: rotate(0deg); }
    .phase-row > .phase:nth-child(3) { grid-column: 3; grid-row: 1; }
    .phase-row > .phase-arrow:nth-child(4) { grid-column: 1 / -1; grid-row: 2; transform: rotate(90deg); justify-self: center; padding: 6px 0; }
    .phase-row > .phase:nth-child(5) { grid-column: 1; grid-row: 3; }
    .phase-row > .phase-arrow:nth-child(6) { grid-column: 2; grid-row: 3; transform: rotate(0deg); }
    .phase-row > .phase:nth-child(7) { grid-column: 3; grid-row: 3; }

    .person { grid-template-columns: 1fr; gap: 24px; }
    .person:nth-child(even) { grid-template-columns: 1fr; }
    .person:nth-child(even) .person-photo { order: 0; }
    .person:nth-child(even) .person-body { order: 0; }
    .person-photo img { max-width: 420px; }

    .footer-row { grid-template-columns: 1fr; text-align: center; gap: 24px; }
    .footer-meta { text-align: center; }
    .footer-nav { justify-content: center; }
}

/* ==========================================================================
   RESPONSIVE — phone
   ========================================================================== */
@media (max-width: 720px) {
    body { font-size: 16px; }
    .container { padding: 0 20px; }
    .nav-inner { padding: 0 20px; height: 64px; }
    :root { --nav-h: 64px; }

    /* Outcomes 2 → 1 column on phone */
    .outcomes-grid { grid-template-columns: 1fr; gap: 16px; }

    /* Approach: stack to 1 column with all arrows pointing down */
    .phase-row {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        row-gap: 10px;
    }
    .phase-row > .phase,
    .phase-row > .phase-arrow {
        grid-column: 1 !important;
        grid-row: auto !important;
        justify-self: stretch;
    }
    .phase-row > .phase-arrow {
        transform: rotate(90deg) !important;
        justify-self: center;
        padding: 4px 0;
    }
    .phase { margin: 0; }

    /* Hamburger */
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 64px; left: 0; right: 0;
        background: rgba(15, 34, 59, 0.98);
        backdrop-filter: saturate(140%) blur(8px);
        -webkit-backdrop-filter: saturate(140%) blur(8px);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px 28px;
        gap: 2px;
        border-bottom: 1px solid rgba(247, 244, 237, 0.08);
        box-shadow: 0 8px 24px rgba(15, 34, 59, 0.25);
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: transform .25s ease, opacity .2s ease;
    }
    .nav-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav-menu a {
        color: var(--cream);
        padding: 14px 4px;
        border-bottom: 1px solid rgba(247, 244, 237, 0.12);
        font-size: 1rem;
        min-height: 48px;
    }
    .nav-menu a:last-child { border-bottom: 0; }
    .nav-menu .nav-cta {
        margin: 12px 0 0;
        padding: 14px;
        text-align: center;
        background: var(--cream);
        color: var(--navy);
        border-color: var(--cream);
    }

    body.nav-open { overflow: hidden; }

    .hero { min-height: 92vh; min-height: 92svh; }
    .hero-actions .btn { width: 100%; text-align: center; }

    .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
    .stat-num { font-size: clamp(2.5rem, 10vw, 3.5rem); }
    .stat-label { font-size: 0.82rem; }

    .criteria { grid-template-columns: 1fr; }
    .criterion { border-right: 0; border-bottom: 1px solid var(--divider); }
    .criterion:last-child { border-bottom: 0; }

    .outcome { padding: 28px 22px; }
    .outcome h3 { font-size: 1.2rem; }

    .contact-details { grid-template-columns: 1fr; gap: 4px 0; padding-top: 16px; }
    .contact-details dt { margin-top: 14px; padding-top: 0; }
    .contact-details dt:first-of-type { margin-top: 0; }

    .contact-form { padding: 24px 20px; }
}

/* Very small phones */
@media (max-width: 360px) {
    .stats { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
}

/* High-DPI text crispness */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body { -webkit-font-smoothing: antialiased; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* v5 Copilot adjustments */
.has-banner-bg .banner-bg { opacity: 0.26; }
.person-photo-cutout img { max-width: 85%; }
.outcome-result-preview { margin-top: 8px; font-size: 0.9rem; color: var(--muted); }

/* v6: When boxes appear horizontally, hovering any card expands the bullets/details
   in ALL cards in that group — so every visually-expanded card also shows its text.
   On narrow/vertical screens (<=720px) the original per-card hover rule still applies. */
@media (min-width: 721px) {
    .phase-row:hover .phase ul,
    .phase-row:focus-within .phase ul {
        max-height: 600px;
        opacity: 1;
        margin-top: 14px;
    }
    .outcomes-grid:hover .outcome dl,
    .outcomes-grid:focus-within .outcome dl {
        max-height: 800px;
        opacity: 1;
        margin-top: 16px;
    }
}
