/* =========================================================
   Quantify Consulting — Iris Theme (Light)
   Shared stylesheet for all pages
   ========================================================= */

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

/* ---------- Brand tokens ---------- */
:root {
    --brand-charcoal: #0E1116;
    --brand-iris: #5B4BCC;
    --brand-iris-soft: #8B7BE8;
    --brand-amber: #F4B860;
    --brand-linen: #F1EEE7;
    --brand-white: #FFFFFF;

    /* Hero deep-purple gradient */
    --hero-purple-deep: #2A1F4D;
    --hero-purple-mid:  #3D2E6B;
    --hero-purple-edge: #1A1230;

    /* CTA amber */
    --cta-amber: #D9952B;
    --cta-amber-hover: #C58420;

    /* Surfaces (light) */
    --surface-1: #FFFFFF;
    --surface-2: #F5F3ED;
    --surface-3: #ECE8DE;

    --bg-page: var(--surface-1);
    --bg-surface: var(--surface-2);
    --bg-card: var(--surface-2);
    --bg-card-elevated: var(--surface-3);
    --bg-header: #FFFFFF;
    --bg-nav: #FFFFFF;
    --bg-nav-hover: rgba(91, 75, 204, 0.10);

    --text-primary: #1B1A2E;
    --text-secondary: rgba(27, 26, 46, 0.72);
    --text-muted: rgba(27, 26, 46, 0.55);
    --text-heading: var(--brand-charcoal);
    --text-on-brand: var(--brand-white);

    --border-subtle: rgba(14, 17, 22, 0.10);
    --border-soft: var(--border-subtle);
    --border-strong: rgba(14, 17, 22, 0.16);

    --accent: var(--brand-iris);
    --accent-hover: #4a3bb5;
    /* darker amber for legible text/accents on light surfaces */
    --accent-warm: #9C5D00;

    --shadow-sm: 0 2px 8px rgba(14, 17, 22, 0.08);
    --shadow: 0 10px 30px rgba(14, 17, 22, 0.12);
    --shadow-lg: 0 20px 50px rgba(14, 17, 22, 0.16);

    --hero-gradient: linear-gradient(135deg,
        var(--hero-purple-edge) 0%,
        var(--hero-purple-mid) 50%,
        var(--hero-purple-deep) 100%);
    --hero-glow: radial-gradient(50% 60% at 80% 20%, rgba(244, 184, 96, 0.15), transparent 70%);

    --img-placeholder-bg: linear-gradient(135deg, #ECE8F7 0%, #D8CFF0 100%);
}

/* ---------- Base ---------- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
    font-feature-settings: "ss01", "cv11";
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-page);
    background-image: radial-gradient(rgba(139, 123, 232, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: 0 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

/* ---------- Site header ---------- */
.site-header {
    background: var(--bg-header);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-strong);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border-bottom: none;
}

.site-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.site-logo:hover {
    border-bottom: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
    background: var(--bg-nav-hover);
    color: var(--accent);
}

.site-nav .cta {
    background: var(--accent);
    color: var(--brand-white);
    margin-left: 0.5rem;
}

.site-nav .cta:hover {
    background: var(--accent-hover);
    color: var(--brand-white);
}

/* ---------- Dropdown nav ---------- */
.nav-item {
    position: relative;
    display: inline-flex;
}

/* Trigger buttons styled to match nav links */
.nav-trigger {
    font: inherit;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: background 0.2s, color 0.2s;
}

.nav-trigger:hover,
.nav-trigger.active,
.nav-item:hover .nav-trigger,
.nav-item:focus-within .nav-trigger {
    background: var(--bg-nav-hover);
    color: var(--accent);
}

.nav-caret {
    font-size: 0.65rem;
    transition: transform 0.2s;
}

.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-header);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
    z-index: 200;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.45rem 0.7rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.dropdown a:hover {
    background: var(--bg-nav-hover);
    color: var(--accent);
}

.dropdown-label {
    padding: 0.5rem 0.7rem 0.2rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.dropdown a.dropdown-sub {
    padding-left: 1.5rem;
}

/* ---------- Layout helpers ---------- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-tight {
    padding: 2.5rem 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    color: var(--text-heading);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

p:last-child { margin-bottom: 0; }

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-warm);
    margin-bottom: 0.75rem;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(244, 241, 234, 0.6);
    margin-bottom: 0.9rem;
    font-weight: 500;
}

.lead {
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.65;
}

.muted {
    color: var(--text-muted);
}

a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

a:hover {
    color: var(--accent-warm);
    border-bottom-color: var(--accent-warm);
}

/* Section heading with accent bar */
.section-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.section-heading::before {
    content: "";
    width: 4px;
    height: 28px;
    background: var(--accent);
    border-radius: 2px;
    flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, background 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--brand-white);
    box-shadow: 0 4px 14px rgba(91, 75, 204, 0.35);
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--brand-white);
    transform: translateY(-1px);
    border-bottom-color: transparent;
    box-shadow: 0 6px 20px rgba(91, 75, 204, 0.45);
}

.btn-amber {
    background: var(--cta-amber);
    color: #1A1230;
    box-shadow: 0 4px 14px rgba(217, 149, 43, 0.25);
}

.btn-amber:hover {
    background: var(--cta-amber-hover);
    color: #1A1230;
    transform: translateY(-1px);
    border-bottom-color: transparent;
}

.btn-ghost {
    background: transparent;
    color: var(--brand-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--brand-white);
    border-bottom-color: rgba(255, 255, 255, 0.8);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem;
    background: var(--hero-gradient);
    color: var(--text-on-brand);
    border-bottom: 1px solid var(--border-strong);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-glow);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero h1 {
    color: var(--brand-white);
}

.hero h1 .accent-word {
    color: var(--brand-amber);
    font-style: italic;
}

.hero .lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    max-width: 640px;
    margin-bottom: 2rem;
}

.hero-cta-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Compact hero variant for inner pages */
.hero-compact {
    padding: 3.5rem 0 2.5rem;
}

.hero-compact h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

/* ---------- Pillar grid (3-up icon cards) ---------- */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.pillar {
    background: var(--surface-2);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    border-top: 3px solid var(--brand-iris-soft);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.pillar:hover {
    transform: translateY(-3px);
    background: var(--surface-3);
    box-shadow: var(--shadow-sm);
}

.pillar-icon-chip {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(139, 123, 232, 0.12);
    border: 1px solid rgba(139, 123, 232, 0.2);
    color: var(--brand-iris-soft);
    display: grid;
    place-items: center;
    margin-bottom: 1.25rem;
}

.pillar-icon-chip img {
    width: 40px;
    height: 40px;
    display: block;
}

/* legacy emoji icon (kept for any inner pages that still reference it) */
.pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(139, 123, 232, 0.12);
    color: var(--brand-iris-soft);
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.pillar h3 {
    color: var(--text-heading);
}

/* ---------- Numbered steps ---------- */
.steps {
    display: grid;
    gap: 1.5rem;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    padding: 1.75rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    border-left: 3px solid var(--accent);
}

.step-num {
    font-family: "Iowan Old Style", "Palatino", Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-warm);
    line-height: 1;
    min-width: 2.5rem;
}

.step h3 {
    margin-bottom: 0.5rem;
}

.step ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.step ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.step ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

/* ---------- Feature list (numbered, no card) ---------- */
.feature-list {
    display: grid;
    gap: 1.5rem;
}

.feature-list-item {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-soft);
}

.feature-list-item:first-child {
    border-top: none;
    padding-top: 0;
}

.feature-list-item h3 {
    color: var(--accent-warm);
    margin-bottom: 0.4rem;
}

/* ---------- Card grid (case studies, blog) ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--border-strong);
}

.card-image {
    aspect-ratio: 16 / 10;
    background: var(--img-placeholder-bg);
    position: relative;
    overflow: hidden;
}

.card-image::after {
    content: attr(data-label);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

.card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.card h3 {
    margin-bottom: 0.5rem;
    flex: 1;
}

.card-link {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent);
    align-self: flex-start;
}

.card-link::after {
    content: " →";
    transition: transform 0.2s;
    display: inline-block;
}

.card-link:hover::after {
    transform: translateX(3px);
}

/* ---------- Team member ---------- */
.team-member {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
    align-items: start;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-soft);
}

.team-member:first-of-type {
    border-top: none;
}

.team-photo {
    width: 240px;
    aspect-ratio: 1;
    background: var(--img-placeholder-bg);
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    display: grid;
    place-items: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--accent-warm);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 1rem;
}

@media (max-width: 700px) {
    .team-member {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .team-photo {
        width: 160px;
    }
}

/* ---------- FAQ ---------- */
.faq {
    border-top: 1px solid var(--border-soft);
}

.faq-item {
    border-bottom: 1px solid var(--border-soft);
}

.faq-item summary {
    padding: 1.25rem 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    font-size: 1.05rem;
    transition: color 0.2s;
}

.faq-item summary:hover { color: var(--accent-warm); }

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.2s;
    line-height: 1;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 0 1.25rem;
    color: var(--text-primary);
    max-width: 720px;
}

/* ---------- Tool/logo strip ---------- */
.logo-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.logo-chip {
    padding: 0.6rem 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    transition: color 0.2s, border-color 0.2s;
}

.logo-chip:hover {
    color: var(--accent-warm);
    border-color: var(--accent-warm);
}

/* ---------- Quote / value statement block ---------- */
.value-block {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    border-left: 3px solid var(--accent-warm);
}

.value-block + .value-block { margin-top: 1rem; }

.value-block h3 {
    color: var(--accent-warm);
    margin-bottom: 0.75rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
    background: var(--hero-gradient);
    color: var(--text-on-brand);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-strong);
    border-bottom: 1px solid var(--border-strong);
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-glow);
    pointer-events: none;
}

.cta-banner > .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: var(--brand-white);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 580px;
    margin: 0 auto 2rem;
}

/* ---------- Forms ---------- */
.form-stack {
    display: grid;
    gap: 1rem;
    max-width: 520px;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(91, 75, 204, 0.18);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

/* ---------- Newsletter ---------- */
.newsletter {
    padding: 3rem 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-soft);
    text-align: center;
}

.newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.newsletter p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 460px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 220px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--bg-header);
    color: var(--text-muted);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border-strong);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-strong);
    margin-bottom: 1.5rem;
}

@media (max-width: 700px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer-grid h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-warm);
    margin-bottom: 1rem;
}

.footer-grid ul {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.footer-grid a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-grid a:hover {
    color: var(--accent-warm);
    border-bottom-color: transparent;
}

.footer-brand .site-logo {
    margin-bottom: 0.75rem;
}

.footer-brand .site-logo img {
    height: 28px;
}

.footer-brand p {
    font-size: 0.9rem;
    max-width: 320px;
    color: var(--text-muted);
}

.footer-bottom {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.footer-bottom a {
    color: var(--text-muted);
}

/* ---------- Two-column layout (image + text) ---------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 800px) {
    .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

.two-col-image {
    aspect-ratio: 4 / 3;
    background: var(--img-placeholder-bg);
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    display: grid;
    place-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ---------- Article page ---------- */
.article {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.article h1 { margin-bottom: 1rem; }

.article-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.article p { margin-bottom: 1.25rem; line-height: 1.75; }

/* ---------- Mobile nav ---------- */
@media (max-width: 800px) {
    .site-header-inner {
        flex-wrap: wrap;
    }
    .site-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border-soft);
    }
    .site-nav .nav-link,
    .site-nav .cta {
        font-size: 0.85rem;
        padding: 0.5rem 0.6rem;
    }
    .nav-item {
        display: block;
        width: 100%;
    }
    .nav-trigger {
        width: 100%;
        justify-content: space-between;
    }
    /* On mobile, dropdowns expand inline rather than floating */
    .dropdown {
        position: static;
        opacity: 1;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--border-soft);
        border-radius: 0;
        margin: 0 0 0.25rem 0.85rem;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s, visibility 0.2s;
    }
    .nav-item:focus-within .dropdown {
        visibility: visible;
        max-height: 30rem;
    }
    .site-nav .cta {
        margin-left: 0;
        margin-top: 0.4rem;
    }
}
