:root {
    --navy-950: #071421;
    --navy-900: #0b1d2f;
    --navy-850: #10263b;
    --navy-800: #153149;
    --gold-600: #aa8122;
    --gold-500: #c69b34;
    --gold-400: #d9b85a;
    --gold-200: #eed99e;
    --paper: #f8f7f3;
    --mist: #f0f3f4;
    --white: #fff;
    --slate-950: #17212b;
    --slate-800: #2e3b48;
    --slate-700: #465664;
    --slate-600: #61717e;
    --slate-500: #7b8994;
    --slate-400: #9da8b0;
    --slate-300: #c3cbd0;
    --slate-200: #dce1e4;
    --slate-100: #edf0f2;
    --green: #21745d;
    --red: #b33b42;
    --amber: #9b681b;
    --type-xs: .75rem;
    --type-sm: .875rem;
    --type-base: 1rem;
    --type-md: 1.125rem;
    --type-lg: 1.5rem;
    --type-2xl: 2rem;
    --type-3xl: 2.5rem;
    --type-4xl: 3rem;
    --type-5xl: 3.5rem;
    --type-6xl: 4rem;
    --type-7xl: 4.5rem;
    --type-8xl: 5.5rem;
    --serif: "Libre Caslon Text", Georgia, serif;
    --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --container: min(1240px, calc(100vw - 48px));
    --shadow-sm: 0 8px 30px rgba(7, 20, 33, .06);
    --shadow-md: 0 18px 50px rgba(7, 20, 33, .1);
    --shadow-lg: 0 30px 80px rgba(7, 20, 33, .18);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    color: var(--slate-800);
    font-family: var(--sans);
    font-size: var(--type-base);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--navy-950); font-family: var(--serif); font-weight: 400; line-height: 1.15; }
svg { flex: 0 0 auto; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

[hidden] { display: none !important; }

.container {
    width: var(--container);
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 118px 0;
}

.section--paper { background: var(--paper); }
.section--mist { background: var(--mist); }
.section--navy {
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 10%, rgba(198, 155, 52, .1), transparent 32%),
        var(--navy-950);
}

.section--navy::before {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 52px 52px;
    content: "";
    pointer-events: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-600);
    font-size: var(--type-xs);
    font-weight: 700;
    letter-spacing: .24em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 28px;
    height: 1px;
    background: currentColor;
    content: "";
}

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: 1px;
    font-size: var(--type-sm);
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1;
    transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.button:hover { transform: translateY(-2px); }
.button--large { min-height: 52px; padding: 15px 28px; }
.button--wide { width: 100%; }
.button--gold {
    background: var(--gold-500);
    color: var(--navy-950);
    box-shadow: 0 12px 30px rgba(198, 155, 52, .14);
}
.button--gold:hover { background: var(--gold-400); box-shadow: 0 16px 38px rgba(198, 155, 52, .22); }
.button--dark { background: var(--navy-950); color: white; }
.button--dark:hover { background: var(--navy-800); }
.button--ghost { border-color: rgba(255,255,255,.45); color: white; }
.button--ghost:hover { border-color: var(--gold-400); color: var(--gold-400); }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--gold-600);
    font-size: var(--type-sm);
    font-weight: 700;
    transition: gap .2s ease, color .2s ease;
}

.text-link:hover { gap: 12px; color: var(--navy-950); }

.gold-rule {
    display: block;
    width: 54px;
    height: 2px;
    margin: 24px 0 30px;
    background: var(--gold-500);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* Public navigation */
.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    color: white;
    transition: background .3s ease, box-shadow .3s ease, transform .3s ease;
}

.site-header--solid,
.site-header.is-scrolled {
    background: rgba(7, 20, 33, .98);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .15);
}

.site-header--overlay:not(.is-scrolled) .topline { display: none; }
.site-header--overlay:not(.is-scrolled) .main-nav { height: 92px; }

.topline {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(0, 0, 0, .1);
}

.topline__inner {
    display: flex;
    height: 34px;
    align-items: center;
    justify-content: space-between;
    color: rgba(255,255,255,.55);
    font-size: var(--type-xs);
    letter-spacing: .02em;
}

.topline__inner > span,
.topline__inner div,
.topline__inner a { display: flex; align-items: center; gap: 7px; }
.topline__inner div { gap: 26px; }
.topline__inner a:hover { color: var(--gold-400); }

.main-nav {
    display: flex;
    height: 76px;
    align-items: center;
    justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: white; }
.brand__mark {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(198,155,52,.6);
    border-radius: 50%;
    object-fit: cover;
}
.brand__name { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name strong { font-family: var(--serif); font-size: var(--type-base); font-weight: 700; letter-spacing: .02em; }
.brand__name small { margin-top: 4px; color: var(--gold-400); font-size: var(--type-xs); font-weight: 700; letter-spacing: .34em; text-transform: uppercase; }

.nav-panel { display: flex; align-items: center; gap: 42px; }
.nav-links { display: flex; align-items: center; gap: 28px; padding: 0; margin: 0; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 27px 0;
    color: rgba(255,255,255,.74);
    font-size: var(--type-sm);
    font-weight: 600;
    white-space: nowrap;
    transition: color .2s ease;
}
.nav-links > li > a::after {
    position: absolute;
    right: 50%;
    bottom: 18px;
    left: 50%;
    height: 1px;
    background: var(--gold-400);
    content: "";
    transition: right .2s ease, left .2s ease;
}
.nav-links > li > a:hover,
.nav-links > li > a.is-active { color: white; }
.nav-links > li > a:hover::after,
.nav-links > li > a.is-active::after { right: 0; left: 0; }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-phone { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.7); font-size: var(--type-sm); }
.nav-phone svg { color: var(--gold-400); }
.nav-toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border: 0; background: transparent; color: white; }
.nav-toggle__close { display: none; }

.mega-menu {
    position: absolute;
    top: calc(100% - 8px);
    left: 50%;
    visibility: hidden;
    width: 720px;
    padding: 24px;
    border: 1px solid rgba(198,155,52,.18);
    background: rgba(7,20,33,.99);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translate(-50%, 10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.has-mega-menu:hover .mega-menu,
.has-mega-menu:focus-within .mega-menu { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.mega-menu__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.mega-menu__head a { display: flex; align-items: center; gap: 6px; color: var(--gold-400); font-size: var(--type-sm); }
.mega-menu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding-top: 14px; }
.mega-menu__grid > a { display: flex; align-items: flex-start; gap: 10px; padding: 10px; transition: background .2s ease; }
.mega-menu__grid > a:hover { background: rgba(255,255,255,.045); }
.mega-menu__grid strong { display: block; color: white; font-size: var(--type-sm); font-weight: 600; }
.mega-menu__grid small { display: block; overflow: hidden; max-width: 150px; margin-top: 2px; color: rgba(255,255,255,.38); font-size: var(--type-xs); text-overflow: ellipsis; white-space: nowrap; }

/* Hero */
.home-hero {
    position: relative;
    display: flex;
    min-height: 790px;
    height: 100vh;
    max-height: 980px;
    align-items: center;
    overflow: hidden;
    background: var(--navy-950);
}

.home-hero__media,
.home-hero__media img,
.home-hero__shade,
.home-hero__lines { position: absolute; inset: 0; }
.home-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.home-hero__shade {
    background:
        linear-gradient(90deg, rgba(4,14,24,.96) 0%, rgba(4,14,24,.88) 42%, rgba(4,14,24,.36) 72%, rgba(4,14,24,.16) 100%),
        linear-gradient(0deg, rgba(4,14,24,.42), transparent 45%);
}
.home-hero__lines {
    opacity: .16;
    background-image: linear-gradient(90deg, transparent 24.9%, rgba(255,255,255,.12) 25%, transparent 25.1%, transparent 49.9%, rgba(255,255,255,.12) 50%, transparent 50.1%, transparent 74.9%, rgba(255,255,255,.12) 75%, transparent 75.1%);
}
.home-hero__content { position: relative; z-index: 2; padding-top: 80px; }
.home-hero__copy { max-width: 720px; }
.home-hero .eyebrow { color: var(--gold-400); }
.home-hero h1 {
    margin: 24px 0 27px;
    color: white;
    font-size: clamp(3.25rem, 6.2vw, 5.5rem);
    letter-spacing: -.045em;
    line-height: 1.02;
}
.home-hero h1 em { color: var(--gold-400); font-style: italic; font-weight: 400; }
.home-hero__copy > p { max-width: 625px; margin-bottom: 36px; color: rgba(255,255,255,.67); font-size: var(--type-md); font-weight: 400; line-height: 1.75; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.home-hero__trust { display: flex; gap: 30px; margin-top: 34px; color: rgba(255,255,255,.46); font-size: var(--type-sm); }
.home-hero__trust span { display: flex; align-items: center; gap: 8px; }
.home-hero__trust svg { color: var(--gold-400); }
.scroll-cue {
    position: absolute;
    z-index: 2;
    right: 34px;
    bottom: 55px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.44);
    font-size: var(--type-xs);
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    transform: rotate(90deg);
    transform-origin: right bottom;
}
.scroll-cue span { position: relative; width: 42px; height: 1px; overflow: hidden; background: rgba(255,255,255,.25); }
.scroll-cue span::after { position: absolute; width: 18px; height: 1px; background: var(--gold-400); content: ""; animation: scrollLine 2s infinite; }
@keyframes scrollLine { from { transform: translateX(-20px); } to { transform: translateX(45px); } }

.trust-strip { border-bottom: 1px solid var(--slate-200); background: white; }
.trust-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-strip__inner > div { display: flex; min-height: 92px; align-items: center; justify-content: center; gap: 13px; border-right: 1px solid var(--slate-200); }
.trust-strip__inner > div:first-child { border-left: 1px solid var(--slate-200); }
.trust-strip strong { color: var(--navy-950); font-family: var(--serif); font-size: var(--type-lg); font-weight: 700; }
.trust-strip span { max-width: 90px; color: var(--slate-500); font-size: var(--type-xs); font-weight: 700; letter-spacing: .11em; line-height: 1.4; text-transform: uppercase; }

.intro-statement { padding: 105px 0; text-align: center; }
.intro-statement__inner { max-width: 920px; }
.intro-statement__mark { display: block; height: 43px; color: var(--gold-500); font-family: var(--serif); font-size: var(--type-7xl); line-height: .8; }
.intro-statement p { margin: 20px auto 25px; color: var(--navy-900); font-family: var(--serif); font-size: clamp(var(--type-lg), 3.1vw, 2.375rem); line-height: 1.5; }
.intro-statement .gold-rule { margin: 0 auto 16px; }
.intro-statement small { color: var(--slate-500); font-size: var(--type-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

/* Shared public sections */
.section-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
    gap: 80px;
    align-items: end;
    margin-bottom: 60px;
}
.section-heading-row h2,
.center-heading h2,
.feature-copy h2,
.story-grid h2 {
    margin: 13px 0 0;
    color: var(--navy-950);
    font-size: clamp(var(--type-3xl), 4.3vw, 3.625rem);
    letter-spacing: -.035em;
}
.section-heading-row > div:last-child > p { margin-bottom: 18px; color: var(--slate-600); font-size: var(--type-base); line-height: 1.8; }
.section--navy .center-heading h2 { color: white; }
.center-heading { position: relative; max-width: 720px; margin: 0 auto 58px; text-align: center; }
.center-heading .eyebrow { justify-content: center; }
.center-heading p { max-width: 610px; margin: 18px auto 0; color: var(--slate-600); }
.section--navy .center-heading p { color: rgba(255,255,255,.52); }

.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--slate-200); border-left: 1px solid var(--slate-200); }
.practice-card {
    position: relative;
    min-height: 390px;
    padding: 34px;
    border-right: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
    background: rgba(255,255,255,.55);
    transition: background .3s ease, box-shadow .3s ease, transform .3s ease;
}
.practice-card::before { position: absolute; top: 0; right: 100%; left: 0; height: 2px; background: var(--gold-500); content: ""; transition: right .35s ease; }
.practice-card:hover { z-index: 2; background: white; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.practice-card:hover::before { right: 0; }
.practice-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 27px; }
.practice-card__number { color: var(--slate-400); font-family: var(--serif); font-size: var(--type-sm); }
.icon-box { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: rgba(198,155,52,.1); color: var(--gold-600); }
.icon-box--small { width: 33px; height: 33px; }
.practice-card h3 { margin-bottom: 14px; font-size: var(--type-lg); }
.practice-card > p { color: var(--slate-600); font-size: var(--type-sm); line-height: 1.75; }
.practice-card ul { display: grid; gap: 7px; padding: 0; margin: 20px 0 23px; list-style: none; }
.practice-card li { display: flex; align-items: center; gap: 9px; color: var(--slate-500); font-size: var(--type-sm); }
.practice-card li span { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-500); }
.practice-card > a { position: absolute; bottom: 29px; display: flex; align-items: center; gap: 6px; color: var(--gold-600); font-size: var(--type-sm); font-weight: 700; }

.split-feature { display: grid; grid-template-columns: .88fr 1.12fr; gap: 100px; align-items: center; }
.portrait-panel { position: relative; max-width: 515px; margin-left: 18px; }
.portrait-panel > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.portrait-panel__veil { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,20,33,.24), transparent 45%); }
.portrait-panel__stat { position: absolute; right: -46px; bottom: -34px; min-width: 230px; padding: 26px 30px; background: var(--navy-950); box-shadow: var(--shadow-lg); }
.portrait-panel__stat strong { display: block; color: var(--gold-400); font-family: var(--serif); font-size: var(--type-3xl); font-weight: 400; line-height: 1; }
.portrait-panel__stat span { display: block; margin-top: 8px; color: rgba(255,255,255,.68); font-size: var(--type-sm); line-height: 1.6; }
.portrait-panel__corner { position: absolute; top: -18px; left: -18px; width: 65px; height: 65px; border-top: 2px solid var(--gold-500); border-left: 2px solid var(--gold-500); }
.feature-copy .lead,
.story-copy .lead { color: var(--navy-900); font-family: var(--serif); font-size: var(--type-md); line-height: 1.65; }
.feature-copy > p:not(.lead) { color: var(--slate-600); line-height: 1.8; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 29px 0; }
.mission-grid article { padding: 19px; border: 1px solid var(--slate-200); background: rgba(255,255,255,.8); }
.mission-grid article span { color: var(--gold-600); font-size: var(--type-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.mission-grid article p { margin: 8px 0 0; color: var(--slate-600); font-size: var(--type-sm); line-height: 1.65; }
.value-list { display: grid; gap: 11px; padding: 0; margin: 0 0 27px; list-style: none; }
.value-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--slate-600); font-size: var(--type-sm); }
.value-list svg { margin-top: 2px; color: var(--gold-600); }
.value-list strong { color: var(--navy-950); }

.why-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.1); border-left: 1px solid rgba(255,255,255,.1); }
.why-card { min-height: 260px; padding: 32px; border-right: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); transition: background .3s ease; }
.why-card:hover { background: rgba(255,255,255,.035); }
.why-card__index { float: right; color: rgba(255,255,255,.16); font-family: var(--serif); font-size: var(--type-sm); }
.why-card > svg { margin-bottom: 24px; color: var(--gold-400); }
.why-card h3 { margin-bottom: 12px; color: white; font-size: var(--type-md); }
.why-card p { margin: 0; color: rgba(255,255,255,.5); font-size: var(--type-sm); line-height: 1.75; }

.stats-band { position: relative; overflow: hidden; padding: 72px 0; background: var(--navy-850); }
.stats-band__pattern { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(198,155,52,.1), transparent 55%); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border: 0; }
.stat strong, .stat > span { color: var(--gold-400); font-family: var(--serif); font-size: var(--type-4xl); font-weight: 400; }
.stat p { margin: 7px 0 0; color: rgba(255,255,255,.55); font-size: var(--type-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team-card { background: white; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.team-card__image { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--slate-200); }
.team-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s ease; }
.team-card:hover .team-card__image img { transform: scale(1.035); }
.team-card__overlay { position: absolute; inset: auto 0 0; padding: 60px 20px 20px; background: linear-gradient(transparent, rgba(7,20,33,.94)); opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease; }
.team-card:hover .team-card__overlay { opacity: 1; transform: none; }
.team-card__overlay p { margin: 0; color: rgba(255,255,255,.76); font-size: var(--type-xs); line-height: 1.6; }
.team-card__body { padding: 22px; border-top: 2px solid var(--gold-500); }
.team-card__body > span { color: var(--gold-600); font-size: var(--type-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.team-card__body h3 { margin: 7px 0; font-size: var(--type-md); }
.team-card__body p { margin: 0; color: var(--slate-500); font-size: var(--type-xs); }
.section-footer-link { margin-top: 35px; text-align: center; }

.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.testimonial-card { position: relative; padding: 38px; margin: 0; border: 1px solid var(--slate-200); background: white; }
.testimonial-card::before { position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--gold-500); content: ""; transition: height .3s ease; }
.testimonial-card:hover::before { height: 100%; }
.stars { display: flex; gap: 3px; margin-bottom: 22px; color: var(--gold-500); }
.stars svg { fill: currentColor; }
.testimonial-card > p { color: var(--navy-900); font-family: var(--serif); font-size: var(--type-md); font-style: italic; line-height: 1.7; }
.testimonial-card footer { display: flex; align-items: center; gap: 13px; margin-top: 25px; }
.testimonial-card footer > span { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy-950); color: var(--gold-400); font-family: var(--serif); font-size: var(--type-sm); }
.testimonial-card footer strong, .testimonial-card footer small { display: block; }
.testimonial-card footer strong { color: var(--navy-950); font-size: var(--type-sm); }
.testimonial-card footer small { margin-top: 2px; color: var(--slate-500); font-size: var(--type-xs); }

.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.insight-card { overflow: hidden; border: 1px solid var(--slate-200); background: white; transition: box-shadow .3s ease, transform .3s ease; }
.insight-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.insight-card__image { position: relative; display: block; overflow: hidden; height: 220px; }
.insight-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.insight-card:hover .insight-card__image img { transform: scale(1.04); }
.insight-card__image::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,20,33,.3), transparent); content: ""; }
.insight-card__image > span { position: absolute; z-index: 1; top: 16px; left: 16px; padding: 6px 9px; background: var(--gold-500); color: var(--navy-950); font-size: var(--type-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.insight-card__body { padding: 25px; }
.insight-card__body > small { color: var(--slate-400); font-size: var(--type-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.insight-card__body h3,
.insight-card__body h2 { margin: 11px 0 12px; font-size: var(--type-md); line-height: 1.35; }
.insight-card__body h2 { font-size: var(--type-lg); }
.insight-card__body h3 a:hover,
.insight-card__body h2 a:hover { color: var(--gold-600); }
.insight-card__body p { color: var(--slate-600); font-size: var(--type-sm); line-height: 1.7; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.insight-card--large .insight-card__image { height: 290px; }

.consultation-cta { position: relative; overflow: hidden; padding: 74px 0; background: var(--navy-950); }
.consultation-cta__glow { position: absolute; inset: 0; background: radial-gradient(circle at 25% 50%, rgba(198,155,52,.12), transparent 38%); }
.consultation-cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.consultation-cta h2 { max-width: 760px; margin: 12px 0 8px; color: white; font-size: clamp(2rem, 4vw, 3.25rem); }
.consultation-cta p { margin: 0; color: rgba(255,255,255,.5); }

.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; overflow: hidden; box-shadow: var(--shadow-md); }
.contact-panel { padding: 48px; background: var(--navy-950); color: rgba(255,255,255,.62); }
.contact-panel h3 { margin: 14px 0 15px; color: white; font-size: var(--type-2xl); }
.contact-panel > p { font-size: var(--type-sm); line-height: 1.8; }
.contact-panel ul { display: grid; gap: 19px; padding: 27px 0; margin: 25px 0 0; border-top: 1px solid rgba(255,255,255,.1); list-style: none; }
.contact-panel li { display: flex; align-items: flex-start; gap: 13px; font-size: var(--type-sm); }
.contact-panel li .icon-box { background: rgba(198,155,52,.11); color: var(--gold-400); }
.contact-panel li small { display: block; margin-bottom: 3px; color: var(--gold-400); font-size: var(--type-xs); font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.contact-panel a:hover { color: var(--gold-400); }
.map-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 15px; color: var(--gold-400); font-size: var(--type-xs); font-weight: 700; }
.consultation-card { padding: 48px; background: white; }
.consultation-form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.consultation-form label,
.stack-form label {
    display: grid;
    gap: 7px;
    color: var(--slate-700);
    font-size: var(--type-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.consultation-form label > span { color: var(--red); }
.consultation-form input,
.consultation-form select,
.consultation-form textarea,
.stack-form input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--slate-200);
    border-radius: 0;
    outline: none;
    background: var(--paper);
    color: var(--slate-800);
    font-size: var(--type-sm);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus,
.stack-form input:focus { border-color: var(--gold-500); background: white; box-shadow: 0 0 0 3px rgba(198,155,52,.09); }
.privacy-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; color: var(--slate-400); font-size: var(--type-xs); }
.alert { display: flex; align-items: flex-start; gap: 10px; padding: 13px 15px; margin-bottom: 18px; border: 1px solid; font-size: var(--type-sm); }
.alert ul { margin: 5px 0 0; }
.alert--success { border-color: rgba(33,116,93,.25); background: rgba(33,116,93,.08); color: var(--green); }
.alert--error { border-color: rgba(179,59,66,.25); background: rgba(179,59,66,.07); color: var(--red); }
.map-section iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(.65) contrast(.95); }

/* Interior pages and article */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 195px 0 86px;
    background:
        radial-gradient(circle at 82% 50%, rgba(198,155,52,.14), transparent 28%),
        linear-gradient(120deg, var(--navy-950), var(--navy-850));
}
.page-hero::after { position: absolute; right: -100px; bottom: -240px; width: 560px; height: 560px; border: 1px solid rgba(198,155,52,.11); border-radius: 50%; content: ""; }
.page-hero__pattern { position: absolute; inset: 0; opacity: .3; background-image: linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.04) 50%, transparent 50.2%); background-size: 170px 100%; }
.page-hero__content { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 7px; margin-bottom: 38px; color: rgba(255,255,255,.36); font-size: var(--type-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.breadcrumb a:hover { color: var(--gold-400); }
.page-hero h1 { max-width: 900px; margin: 15px 0 17px; color: white; font-size: clamp(2.75rem, 6vw, var(--type-7xl)); letter-spacing: -.04em; }
.page-hero p { max-width: 700px; margin: 0; color: rgba(255,255,255,.56); font-size: var(--type-base); line-height: 1.75; }

.story-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; }
.story-copy > p { color: var(--slate-600); line-height: 1.85; }
.story-principles { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 36px; background: var(--slate-200); }
.story-principles div { display: flex; align-items: center; gap: 15px; padding: 20px; background: var(--paper); }
.story-principles strong { color: var(--gold-500); font-family: var(--serif); font-size: var(--type-lg); }
.story-principles span { color: var(--navy-950); font-size: var(--type-sm); font-weight: 700; }
.credentials-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding: 58px; background: white; box-shadow: var(--shadow-sm); }
.credentials-panel h2 { margin: 12px 0 0; font-size: var(--type-3xl); }
.credentials-panel__items { display: grid; gap: 12px; }
.credentials-panel__items span { display: flex; align-items: center; gap: 13px; padding: 16px; border-bottom: 1px solid var(--slate-200); color: var(--slate-700); font-size: var(--type-sm); }
.credentials-panel__items svg { color: var(--gold-600); }

.article-hero { position: relative; display: flex; min-height: 640px; align-items: flex-end; overflow: hidden; background: var(--navy-950); }
.article-hero__media,
.article-hero__media img,
.article-hero__media div { position: absolute; inset: 0; }
.article-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.article-hero__media div { background: linear-gradient(0deg, rgba(7,20,33,.97), rgba(7,20,33,.3)), linear-gradient(90deg, rgba(7,20,33,.65), transparent); }
.article-hero__content { position: relative; z-index: 1; padding-bottom: 70px; }
.article-back { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 42px; color: rgba(255,255,255,.55); font-size: var(--type-xs); font-weight: 700; text-transform: uppercase; }
.article-hero h1 { max-width: 1000px; margin: 16px 0 28px; color: white; font-size: clamp(2.25rem, 5.2vw, 3.9375rem); letter-spacing: -.035em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 24px; color: rgba(255,255,255,.5); font-size: var(--type-xs); font-weight: 600; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 90px; }
.article-content { max-width: 800px; }
.article-content .article-lead { padding-left: 24px; border-left: 3px solid var(--gold-500); color: var(--navy-900); font-family: var(--serif); font-size: var(--type-md); font-style: italic; line-height: 1.75; }
.article-content h2 { margin: 52px 0 18px; font-size: var(--type-2xl); }
.article-content h3 { margin: 35px 0 15px; font-size: var(--type-lg); }
.article-content > p { color: var(--slate-700); font-size: var(--type-base); line-height: 1.9; }
.article-content > ul { display: grid; gap: 10px; padding-left: 21px; color: var(--slate-700); font-size: var(--type-sm); line-height: 1.75; }
.article-content > ul li::marker { color: var(--gold-500); }
.article-content hr { height: 1px; margin: 42px 0; border: 0; background: var(--slate-200); }
.article-callout { padding: 25px; margin: 30px 0; border-left: 3px solid var(--gold-500); background: rgba(198,155,52,.07); }
.article-callout span { color: var(--gold-600); font-size: var(--type-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.article-callout p { margin: 7px 0 0; color: var(--slate-700); font-size: var(--type-sm); line-height: 1.75; }
.article-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 50px; padding-top: 25px; border-top: 1px solid var(--slate-200); }
.article-sidebar { display: grid; align-content: start; gap: 18px; }
.author-card, .disclaimer-card { padding: 27px; border: 1px solid var(--slate-200); background: white; }
.author-card h3 { margin: 15px 0 2px; font-size: var(--type-md); }
.author-card > small { color: var(--gold-600); font-size: var(--type-xs); }
.author-card p, .disclaimer-card p { margin: 18px 0 0; color: var(--slate-600); font-size: var(--type-xs); line-height: 1.7; }
.disclaimer-card { background: var(--mist); }
.disclaimer-card strong { color: var(--navy-950); font-size: var(--type-xs); letter-spacing: .15em; text-transform: uppercase; }
.related-list { display: grid; gap: 12px; margin-top: 15px; }
.related-list > .eyebrow { margin-bottom: 5px; }
.related-list > a { display: flex; gap: 11px; padding-bottom: 12px; border-bottom: 1px solid var(--slate-200); }
.related-list img { width: 76px; height: 62px; object-fit: cover; }
.related-list small, .related-list strong { display: block; }
.related-list small { color: var(--gold-600); font-size: var(--type-xs); text-transform: uppercase; }
.related-list strong { margin-top: 4px; color: var(--navy-950); font-family: var(--serif); font-size: var(--type-sm); line-height: 1.4; }
.legal-copy { max-width: 830px; }
.legal-copy__date { padding-bottom: 25px; border-bottom: 1px solid var(--slate-200); color: var(--slate-500); font-size: var(--type-sm); font-style: italic; }
.legal-copy h2 { margin: 40px 0 13px; font-size: var(--type-lg); }
.legal-copy p { color: var(--slate-700); line-height: 1.9; }
.legal-copy a { color: var(--gold-600); text-decoration: underline; }

/* Footer and floating actions */
.site-footer { position: relative; overflow: hidden; padding-top: 76px; background: #050e18; color: rgba(255,255,255,.48); }
.site-footer__glow { position: absolute; top: -300px; left: -200px; width: 700px; height: 700px; border-radius: 50%; background: rgba(198,155,52,.035); }
.site-footer__grid { position: relative; display: grid; grid-template-columns: 1.45fr .7fr .9fr 1.2fr; gap: 65px; padding-bottom: 60px; }
.site-footer__about > p { max-width: 340px; margin: 24px 0; font-size: var(--type-base); line-height: 1.8; }
.footer-badge { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.4); font-size: var(--type-sm); }
.footer-badge svg { color: var(--gold-400); }
.site-footer h3 { margin: 2px 0 21px; color: var(--gold-400); font-family: var(--sans); font-size: var(--type-sm); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.footer-links, .footer-contact { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.footer-links a { font-size: var(--type-sm); transition: color .2s ease, padding .2s ease; }
.footer-links a:hover { padding-left: 4px; color: white; }
.footer-contact { gap: 14px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 9px; font-size: var(--type-sm); line-height: 1.6; }
.footer-contact svg { margin-top: 2px; color: var(--gold-400); }
.footer-contact a:hover { color: white; }
.newsletter-form { margin-top: 25px; }
.newsletter-form label { display: block; margin-bottom: 8px; color: rgba(255,255,255,.55); font-size: var(--type-sm); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.newsletter-form > div { display: flex; border-bottom: 1px solid rgba(255,255,255,.18); }
.newsletter-form input { min-width: 0; flex: 1; padding: 10px 0; border: 0; outline: 0; background: transparent; color: white; font-size: var(--type-base); }
.newsletter-form button { width: 34px; border: 0; background: transparent; color: var(--gold-400); }
.form-note { font-size: var(--type-sm); }
.form-note--success { color: #65b99a; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; min-height: 65px; border-top: 1px solid rgba(255,255,255,.07); font-size: var(--type-sm); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom > div { display: flex; gap: 20px; }
.site-footer__bottom a:hover { color: white; }
.site-footer__bottom button { display: flex; align-items: center; gap: 4px; padding: 0; border: 0; background: transparent; color: inherit; }

.whatsapp-fab {
    position: fixed;
    z-index: 42;
    right: 24px;
    bottom: 84px;
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    transition: transform .2s ease;
}
.whatsapp-fab:hover { transform: scale(1.07); }
.callback-button {
    position: fixed;
    z-index: 42;
    right: 24px;
    bottom: 25px;
    display: flex;
    height: 44px;
    align-items: center;
    gap: 8px;
    padding: 0 17px;
    border: 0;
    background: var(--gold-500);
    color: var(--navy-950);
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    font-size: var(--type-sm);
    font-weight: 700;
}
.modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(3,10,17,.8); backdrop-filter: blur(6px); }
.modal__dialog { position: relative; z-index: 1; width: min(440px, 100%); padding: 38px; background: white; box-shadow: var(--shadow-lg); }
.modal__dialog::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: var(--gold-500); content: ""; }
.modal__close { position: absolute; top: 14px; right: 14px; display: grid; width: 34px; height: 34px; place-items: center; border: 0; background: transparent; color: var(--slate-500); }
.modal__icon { display: grid; width: 48px; height: 48px; margin-bottom: 22px; place-items: center; background: var(--navy-950); color: var(--gold-400); }
.modal__dialog h2 { margin: 12px 0 9px; font-size: var(--type-2xl); }
.modal__dialog > p { color: var(--slate-600); font-size: var(--type-sm); }
.stack-form { display: grid; gap: 15px; margin-top: 25px; }
.form-response { min-height: 16px; margin: 0; font-size: var(--type-xs); text-align: center; }
.form-response.is-success { color: var(--green); }
.form-response.is-error { color: var(--red); }

@media (max-width: 1100px) {
    :root { --container: min(100% - 36px, 1020px); }
    .nav-links { gap: 18px; }
    .nav-panel { gap: 24px; }
    .nav-phone { display: none; }
    .practice-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .split-feature { gap: 65px; }
    .site-footer__grid { grid-template-columns: 1.4fr .8fr .9fr; }
    .site-footer__grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    :root { --container: calc(100% - 32px); }
    .section { padding: 85px 0; }
    .topline { display: none; }
    .main-nav, .site-header--overlay:not(.is-scrolled) .main-nav { height: 72px; }
    .nav-toggle { display: flex; }
    .nav-is-open .nav-toggle__open { display: none; }
    .nav-is-open .nav-toggle__close { display: block; }
    .nav-panel {
        position: fixed;
        top: 72px;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        visibility: hidden;
        overflow-y: auto;
        padding: 25px 20px 45px;
        background: var(--navy-950);
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s;
    }
    .nav-is-open .nav-panel { visibility: visible; opacity: 1; transform: none; }
    .nav-links { display: block; }
    .nav-links > li > a { justify-content: space-between; padding: 15px 3px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: var(--type-sm); }
    .nav-links > li > a::after { display: none; }
    .mega-menu { display: none; }
    .nav-actions { display: grid; grid-template-columns: 1fr; margin-top: 25px; }
    .nav-actions .button { width: 100%; }
    .home-hero { min-height: 720px; }
    .home-hero__media img { object-position: 68% center; }
    .home-hero__shade { background: linear-gradient(90deg, rgba(4,14,24,.96), rgba(4,14,24,.67)), linear-gradient(0deg, rgba(4,14,24,.65), transparent); }
    .home-hero__content { padding-top: 55px; }
    .home-hero h1 { font-size: clamp(3rem, 10vw, var(--type-7xl)); }
    .scroll-cue { display: none; }
    .trust-strip__inner { grid-template-columns: repeat(2, 1fr); }
    .trust-strip__inner > div { border-bottom: 1px solid var(--slate-200); }
    .section-heading-row,
    .split-feature,
    .story-grid,
    .credentials-panel,
    .contact-grid,
    .article-layout { grid-template-columns: 1fr; gap: 45px; }
    .section-heading-row { align-items: start; margin-bottom: 45px; }
    .portrait-panel { width: calc(100% - 40px); max-width: 560px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 35px 0; }
    .stat:nth-child(2) { border-right: 0; }
    .insights-grid { grid-template-columns: 1fr 1fr; }
    .insight-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .consultation-cta__inner { align-items: flex-start; flex-direction: column; }
    .article-sidebar { grid-template-columns: 1fr 1fr; }
    .related-list { grid-column: 1 / -1; }
    .site-footer__grid { grid-template-columns: 1.3fr 1fr; }
    .site-footer__grid > div:last-child { grid-column: auto; }
}

@media (max-width: 600px) {
    :root { --container: calc(100% - 28px); }
    .section { padding: 70px 0; }
    .brand__mark { width: 40px; height: 40px; }
    .brand__name strong { font-size: var(--type-sm); }
    .home-hero { min-height: 720px; height: 100svh; }
    .home-hero__media img { object-position: 72% center; }
    .home-hero__shade { background: rgba(4,14,24,.82); }
    .home-hero h1 { margin-top: 18px; font-size: var(--type-4xl); }
    .home-hero__copy > p { font-size: var(--type-base); }
    .home-hero__actions { display: grid; }
    .home-hero__actions .button { width: 100%; }
    .home-hero__trust { align-items: flex-start; flex-direction: column; gap: 9px; }
    .trust-strip__inner > div { min-height: 80px; }
    .intro-statement { padding: 70px 0; }
    .intro-statement p { font-size: var(--type-lg); }
    .section-heading-row { gap: 25px; }
    .section-heading-row h2, .center-heading h2, .feature-copy h2, .story-grid h2 { font-size: var(--type-3xl); }
    .practice-grid,
    .why-grid,
    .team-grid,
    .testimonial-grid,
    .insights-grid,
    .blog-grid,
    .mission-grid,
    .form-grid,
    .story-principles,
    .article-sidebar { grid-template-columns: 1fr; }
    .practice-card { min-height: 370px; padding: 29px; }
    .why-card { min-height: auto; }
    .portrait-panel { margin-left: 10px; }
    .portrait-panel__stat { right: -25px; min-width: 190px; padding: 20px; }
    .stats-band { padding: 55px 0; }
    .stat strong, .stat > span { font-size: var(--type-3xl); }
    .testimonial-card { padding: 28px; }
    .consultation-cta { padding: 58px 0; }
    .contact-panel, .consultation-card { padding: 31px 24px; }
    .page-hero { padding: 145px 0 66px; }
    .page-hero h1 { font-size: var(--type-4xl); }
    .credentials-panel { padding: 30px 24px; }
    .article-hero { min-height: 600px; }
    .article-hero__content { padding-bottom: 45px; }
    .article-hero h1 { font-size: var(--type-3xl); }
    .article-content h2 { font-size: var(--type-2xl); }
    .article-actions { align-items: flex-start; flex-direction: column; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 38px; }
    .site-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 18px 0; }
    .callback-button span { display: none; }
    .callback-button { width: 48px; justify-content: center; padding: 0; }
    .modal__dialog { padding: 31px 24px; }
}

/* Admin portal */
.admin-body {
    min-height: 100vh;
    background: #f2f4f5;
    color: var(--slate-800);
}

.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
    position: fixed;
    z-index: 70;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: 252px;
    flex-direction: column;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 5%, rgba(198,155,52,.1), transparent 27%),
        var(--navy-950);
    color: white;
}

.admin-brand { display: flex; min-height: 76px; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-brand > a { display: flex; align-items: center; gap: 11px; }
.admin-brand > a > span { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 50%; background: var(--gold-500); color: var(--navy-950); }
.admin-brand strong, .admin-brand small { display: block; }
.admin-brand strong { font-family: var(--serif); font-size: var(--type-base); }
.admin-brand small { margin-top: 2px; color: var(--gold-400); font-size: var(--type-xs); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.admin-brand > button { display: none; border: 0; background: transparent; color: white; }

.admin-nav { flex: 1; overflow-y: auto; padding: 17px 10px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.admin-nav__group { margin-bottom: 17px; }
.admin-nav__group > span { display: block; padding: 0 12px 6px; color: rgba(255,255,255,.27); font-size: var(--type-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.admin-nav__group a { position: relative; display: flex; height: 38px; align-items: center; gap: 11px; padding: 0 12px; border-radius: 3px; color: rgba(255,255,255,.59); font-size: var(--type-sm); font-weight: 500; transition: color .18s ease, background .18s ease; }
.admin-nav__group a:hover { background: rgba(255,255,255,.045); color: white; }
.admin-nav__group a.is-active { background: rgba(198,155,52,.13); color: var(--gold-400); }
.admin-nav__group a.is-active::before { position: absolute; top: 7px; bottom: 7px; left: 0; width: 2px; background: var(--gold-400); content: ""; }

.admin-user { display: grid; grid-template-columns: 34px minmax(0,1fr) 27px; gap: 9px; align-items: center; min-height: 72px; padding: 11px 15px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.1); }
.admin-user__avatar { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(198,155,52,.35); border-radius: 50%; background: rgba(198,155,52,.1); color: var(--gold-400); font-family: var(--serif); font-size: var(--type-sm); }
.admin-user strong, .admin-user span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-user strong { font-size: var(--type-xs); }
.admin-user span { margin-top: 2px; color: rgba(255,255,255,.33); font-size: var(--type-xs); text-transform: capitalize; }
.admin-user button { display: grid; width: 27px; height: 27px; place-items: center; border: 0; background: transparent; color: rgba(255,255,255,.42); }
.admin-user button:hover { color: var(--gold-400); }

.admin-main { min-width: 0; flex: 1; margin-left: 252px; }
.admin-topbar {
    position: sticky;
    z-index: 40;
    top: 0;
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    padding: 0 34px;
    border-bottom: 1px solid var(--slate-200);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px);
}
.admin-topbar > div:first-of-type span, .admin-topbar > div:first-of-type strong { display: block; }
.admin-topbar > div:first-of-type span { color: var(--slate-400); font-size: var(--type-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-topbar > div:first-of-type strong { margin-top: 2px; color: var(--navy-950); font-size: var(--type-sm); }
.admin-topbar__actions { display: flex; align-items: center; gap: 22px; }
.admin-topbar__actions a { display: flex; align-items: center; gap: 5px; color: var(--slate-500); font-size: var(--type-xs); font-weight: 600; }
.admin-topbar__actions a:hover { color: var(--gold-600); }
.status-dot { display: flex; align-items: center; gap: 7px; color: var(--slate-500); font-size: var(--type-xs); }
.status-dot::before { width: 6px; height: 6px; border-radius: 50%; background: #3ba778; box-shadow: 0 0 0 4px rgba(59,167,120,.1); content: ""; }
.admin-menu-button { display: none; width: 38px; height: 38px; place-items: center; border: 1px solid var(--slate-200); background: white; color: var(--navy-950); }
.admin-content { width: min(1420px, calc(100vw - 252px)); padding: 34px; margin: 0 auto; }
.admin-sidebar-backdrop { display: none; }

.admin-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 27px; }
.admin-page-heading h1 { margin: 7px 0 4px; font-size: var(--type-2xl); letter-spacing: -.025em; }
.admin-page-heading p { margin: 0; color: var(--slate-500); font-size: var(--type-xs); }
.admin-heading-actions { display: flex; align-items: center; gap: 10px; }
.admin-button {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 15px;
    border: 1px solid var(--slate-200);
    border-radius: 2px;
    background: white;
    color: var(--slate-700);
    font-size: var(--type-xs);
    font-weight: 700;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.admin-button:hover { border-color: var(--gold-500); color: var(--navy-950); transform: translateY(-1px); }
.admin-button--primary { border-color: var(--navy-950); background: var(--navy-950); color: white; }
.admin-button--primary:hover { border-color: var(--navy-800); background: var(--navy-800); color: white; }
.admin-alert { display: flex; align-items: flex-start; gap: 9px; padding: 12px 15px; margin-bottom: 20px; border: 1px solid; border-radius: 2px; font-size: var(--type-xs); }
.admin-alert ul { margin: 4px 0 0; }
.admin-alert--success { border-color: rgba(33,116,93,.2); background: rgba(33,116,93,.07); color: var(--green); }
.admin-alert--error { border-color: rgba(179,59,66,.2); background: rgba(179,59,66,.06); color: var(--red); }

.admin-stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 20px; }
.admin-stat-card { padding: 19px; border: 1px solid var(--slate-200); border-top: 2px solid transparent; border-radius: 2px; background: white; box-shadow: 0 5px 17px rgba(7,20,33,.025); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.admin-stat-card:hover { border-top-color: var(--gold-500); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.admin-stat-card > div { display: flex; align-items: center; justify-content: space-between; color: var(--slate-500); font-size: var(--type-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-stat-card > div svg { color: var(--gold-600); }
.admin-stat-card > strong { display: block; margin: 10px 0 5px; color: var(--navy-950); font-family: var(--serif); font-size: var(--type-2xl); font-weight: 400; line-height: 1; }
.admin-stat-card > small { display: flex; align-items: center; gap: 4px; color: var(--slate-400); font-size: var(--type-xs); }

.admin-dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.admin-card { border: 1px solid var(--slate-200); border-radius: 2px; background: white; box-shadow: 0 5px 18px rgba(7,20,33,.025); }
.admin-card--wide { grid-column: 1 / -1; }
.admin-card > header { display: flex; min-height: 64px; align-items: center; justify-content: space-between; padding: 13px 19px; border-bottom: 1px solid var(--slate-100); }
.admin-card > header h2 { margin: 4px 0 0; font-size: var(--type-base); }
.admin-card > header a, .admin-card > header button { border: 0; background: transparent; color: var(--gold-600); font-size: var(--type-xs); font-weight: 700; text-transform: uppercase; }
.admin-list__row { display: grid; grid-template-columns: 35px minmax(0,1fr) auto; gap: 11px; align-items: center; padding: 12px 19px; border-bottom: 1px solid var(--slate-100); }
.admin-list__row:last-child { border: 0; }
.admin-list__icon { display: grid; width: 35px; height: 35px; place-items: center; background: var(--mist); color: var(--gold-600); }
.admin-list__row strong, .admin-list__row small { display: block; }
.admin-list__row strong { overflow: hidden; color: var(--navy-950); font-size: var(--type-xs); text-overflow: ellipsis; white-space: nowrap; }
.admin-list__row small { margin-top: 2px; color: var(--slate-400); font-size: var(--type-xs); }
.badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 50px; font-size: var(--type-xs); font-weight: 700; letter-spacing: .04em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.badge--neutral { background: var(--slate-100); color: var(--slate-600); }
.badge--info { background: #eaf2f8; color: #27668e; }
.badge--success { background: #e9f5f0; color: var(--green); }
.badge--warning { background: #fbf2df; color: var(--amber); }
.badge--danger { background: #fae9ea; color: var(--red); }

.status-breakdown { display: grid; gap: 18px; padding: 22px; }
.status-breakdown > div > span { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.status-breakdown strong { color: var(--slate-700); font-size: var(--type-xs); font-weight: 600; }
.status-breakdown small { color: var(--slate-400); font-size: var(--type-xs); }
.status-breakdown > div > div { height: 5px; overflow: hidden; border-radius: 10px; background: var(--slate-100); }
.status-breakdown i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-600), var(--gold-400)); }

.compact-list, .timeline-list, .task-list { padding: 5px 18px 10px; }
.compact-list > div { display: grid; grid-template-columns: 30px minmax(0,1fr) 7px; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--slate-100); }
.compact-list > div > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--navy-950); color: var(--gold-400); font-family: var(--serif); font-size: var(--type-xs); }
.compact-list strong, .compact-list small, .task-list strong, .task-list small { display: block; }
.compact-list strong, .task-list strong { color: var(--navy-950); font-size: var(--type-xs); }
.compact-list small, .task-list small { margin-top: 2px; color: var(--slate-400); font-size: var(--type-xs); }
.compact-list i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
.timeline-list > div { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--slate-100); }
.timeline-list time { display: grid; width: 41px; height: 43px; place-items: center; align-content: center; background: var(--navy-950); line-height: 1; }
.timeline-list time strong { color: white; font-family: var(--serif); font-size: var(--type-base); }
.timeline-list time span { margin-top: 3px; color: var(--gold-400); font-size: var(--type-xs); text-transform: uppercase; }
.timeline-list > div > div strong, .timeline-list > div > div small { display: block; }
.timeline-list > div > div strong { color: var(--navy-950); font-size: var(--type-xs); }
.timeline-list > div > div small { color: var(--slate-400); font-size: var(--type-xs); }
.task-list > div { display: grid; grid-template-columns: 7px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--slate-100); }
.task-list > div > span:last-child { color: var(--slate-400); font-size: var(--type-xs); }
.priority-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--slate-400); }
.priority-dot--high, .priority-dot--urgent { background: var(--red); }
.priority-dot--medium { background: var(--gold-500); }
.admin-empty { padding: 25px; color: var(--slate-400); font-size: var(--type-xs); text-align: center; }
.admin-empty--large { display: flex; min-height: 240px; align-items: center; justify-content: center; flex-direction: column; gap: 7px; }
.admin-empty--large svg { color: var(--gold-500); }
.admin-empty--large strong { color: var(--navy-950); font-family: var(--serif); font-size: var(--type-base); }

.admin-search { display: flex; height: 39px; align-items: center; overflow: hidden; border: 1px solid var(--slate-200); border-radius: 2px; background: white; }
.admin-search > svg { margin-left: 12px; color: var(--slate-400); }
.admin-search input { width: 190px; padding: 0 9px; border: 0; outline: 0; font-size: var(--type-xs); }
.admin-search button { align-self: stretch; padding: 0 12px; border: 0; border-left: 1px solid var(--slate-200); background: var(--paper); color: var(--slate-600); font-size: var(--type-xs); font-weight: 700; }
.admin-table-card { overflow: hidden; border: 1px solid var(--slate-200); border-radius: 2px; background: white; box-shadow: 0 5px 18px rgba(7,20,33,.025); }
.admin-table-meta { display: flex; height: 46px; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--slate-100); color: var(--slate-400); font-size: var(--type-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.admin-table-meta a { display: flex; align-items: center; gap: 4px; color: var(--gold-600); }
.admin-table-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; table-layout: auto; }
.admin-table th { padding: 11px 15px; border-bottom: 1px solid var(--slate-200); background: #fafbfb; color: var(--slate-500); font-size: var(--type-xs); font-weight: 700; letter-spacing: .08em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.admin-table td { max-width: 330px; padding: 13px 15px; border-bottom: 1px solid var(--slate-100); color: var(--slate-600); font-size: var(--type-xs); line-height: 1.45; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr { transition: background .15s ease; }
.admin-table tbody tr:hover { background: #fafbfb; }
.admin-table td:first-child { color: var(--navy-950); font-weight: 600; }
.admin-table__action { width: 155px; }
.status-form { display: flex; align-items: center; }
.status-form select { width: 95px; height: 28px; border: 1px solid var(--slate-200); outline: 0; background: white; font-size: var(--type-xs); }
.status-form button { height: 28px; padding: 0 9px; border: 0; background: var(--navy-950); color: white; font-size: var(--type-xs); font-weight: 700; }
.table-input { width: min(280px, 100%); padding: 7px 8px; border: 1px solid var(--slate-200); outline: 0; background: var(--paper); font-size: var(--type-xs); }
.table-input:focus { border-color: var(--gold-500); }
.settings-save { display: flex; justify-content: flex-end; padding: 14px; border-top: 1px solid var(--slate-100); }
.admin-pagination { display: flex; min-height: 52px; align-items: center; justify-content: space-between; padding: 0 16px; border-top: 1px solid var(--slate-100); color: var(--slate-400); font-size: var(--type-xs); }
.admin-pagination > div { display: flex; align-items: center; gap: 13px; }
.admin-pagination a { color: var(--navy-950); font-weight: 700; }
.admin-pagination strong { color: var(--slate-600); font-size: var(--type-xs); }

.admin-form-card { overflow: hidden; border: 1px solid var(--slate-200); background: white; }
.admin-form-section { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 45px; padding: 30px; border-bottom: 1px solid var(--slate-100); }
.admin-form-section > div:first-child > span { display: block; color: var(--gold-600); font-family: var(--serif); font-size: var(--type-base); }
.admin-form-section > div:first-child h2 { margin: 7px 0 5px; font-size: var(--type-md); }
.admin-form-section > div:first-child p { color: var(--slate-400); font-size: var(--type-xs); }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-form-grid__wide { grid-column: 1 / -1; }
.admin-form-grid label, .ai-form > label, .year-filter label {
    display: grid;
    gap: 6px;
    color: var(--slate-600);
    font-size: var(--type-xs);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.admin-form-grid label em { color: var(--red); font-style: normal; }
.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea,
.ai-form select,
.ai-form textarea,
.year-filter select {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid var(--slate-200);
    border-radius: 1px;
    outline: 0;
    background: #fbfcfc;
    color: var(--slate-800);
    font-size: var(--type-xs);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}
.admin-form-grid input:focus,
.admin-form-grid select:focus,
.admin-form-grid textarea:focus,
.ai-form select:focus,
.ai-form textarea:focus { border-color: var(--gold-500); background: white; box-shadow: 0 0 0 3px rgba(198,155,52,.07); }
.segmented-control { display: flex; gap: 11px; }
.segmented-control label { flex: 1; }
.segmented-control input { position: absolute; opacity: 0; pointer-events: none; }
.segmented-control label > span { display: flex; height: 52px; align-items: center; gap: 8px; padding: 0 15px; border: 1px solid var(--slate-200); background: #fbfcfc; color: var(--slate-600); font-size: var(--type-xs); font-weight: 600; cursor: pointer; }
.segmented-control input:checked + span { border-color: var(--gold-500); background: rgba(198,155,52,.07); color: var(--navy-950); box-shadow: inset 0 0 0 1px var(--gold-500); }
.segmented-control input:checked + span svg { color: var(--gold-600); }
.admin-form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; padding: 20px 30px; background: #fafbfb; }
.admin-form-actions > a { color: var(--slate-500); font-size: var(--type-xs); font-weight: 600; }

.ai-security { display: flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(198,155,52,.25); background: rgba(198,155,52,.06); color: var(--gold-600); font-size: var(--type-xs); font-weight: 700; text-transform: uppercase; }
.ai-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; }
.ai-form { display: grid; align-content: start; gap: 18px; padding: 22px; }
.ai-form textarea { min-height: 330px; resize: vertical; line-height: 1.6; }
.ai-form__footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 5px; }
.ai-form__footer > span { display: flex; align-items: center; gap: 5px; color: var(--slate-400); font-size: var(--type-xs); }
.ai-output { min-height: 520px; }
.ai-output pre { max-height: 620px; overflow: auto; padding: 25px; margin: 0; color: var(--slate-700); font-family: var(--sans); font-size: var(--type-xs); line-height: 1.75; white-space: pre-wrap; }
.ai-disclaimer { display: flex; align-items: center; gap: 7px; padding: 13px 22px; border-top: 1px solid var(--slate-100); background: #fbf6e9; color: var(--amber); font-size: var(--type-xs); }
.ai-empty { display: flex; min-height: 430px; align-items: center; justify-content: center; flex-direction: column; padding: 40px; text-align: center; }
.ai-empty > span { display: grid; width: 66px; height: 66px; place-items: center; border-radius: 50%; background: rgba(198,155,52,.09); color: var(--gold-600); }
.ai-empty h3 { margin: 18px 0 7px; font-size: var(--type-md); }
.ai-empty p { max-width: 330px; color: var(--slate-400); font-size: var(--type-xs); line-height: 1.6; }

.year-filter select { width: 110px; background: white; }
.report-kpi-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 16px; }
.report-kpi-grid article { padding: 18px; border: 1px solid var(--slate-200); background: white; }
.report-kpi-grid span, .report-kpi-grid strong, .report-kpi-grid small { display: block; }
.report-kpi-grid span { color: var(--slate-400); font-size: var(--type-xs); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.report-kpi-grid strong { margin: 8px 0 5px; color: var(--navy-950); font-family: var(--serif); font-size: var(--type-md); font-weight: 400; }
.report-kpi-grid small { color: var(--slate-400); font-size: var(--type-xs); }
.reports-grid { display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 16px; }
.report-chart-card > header > strong { color: var(--navy-950); font-family: var(--serif); font-size: var(--type-base); }
.bar-chart { display: flex; height: 280px; align-items: flex-end; gap: 11px; padding: 25px; }
.bar-chart > div { display: grid; min-width: 0; height: 100%; flex: 1; grid-template-rows: 1fr auto; gap: 7px; text-align: center; }
.bar-chart > div > span { position: relative; display: block; height: 100%; border-bottom: 1px solid var(--slate-200); }
.bar-chart i { position: absolute; right: 12%; bottom: 0; left: 12%; min-height: 2px; border-radius: 2px 2px 0 0; background: linear-gradient(0deg, var(--gold-600), var(--gold-400)); transition: opacity .2s ease; }
.bar-chart > div:hover i { opacity: .72; }
.bar-chart small { color: var(--slate-400); font-size: var(--type-xs); text-transform: uppercase; }
.report-list { padding: 10px 18px 15px; }
.report-list > div { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--slate-100); color: var(--slate-500); font-size: var(--type-xs); }
.report-list > div strong { color: var(--navy-950); font-size: var(--type-xs); }

/* Admin login */
.login-body { min-height: 100vh; background: var(--navy-950); }
.login-shell { display: grid; min-height: 100vh; grid-template-columns: 1.08fr .92fr; }
.login-story { position: relative; display: flex; overflow: hidden; padding: 42px 55px; flex-direction: column; justify-content: space-between; background: radial-gradient(circle at 20% 75%, rgba(198,155,52,.14), transparent 34%), var(--navy-950); color: white; }
.login-story::after { position: absolute; right: -230px; bottom: -280px; width: 650px; height: 650px; border: 1px solid rgba(198,155,52,.11); border-radius: 50%; content: ""; }
.login-story__pattern { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 70px 70px; }
.login-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 11px; }
.login-brand > span { display: grid; width: 41px; height: 41px; place-items: center; border-radius: 50%; background: var(--gold-500); color: var(--navy-950); }
.login-brand strong, .login-brand small { display: block; }
.login-brand strong { font-family: var(--serif); font-size: var(--type-base); }
.login-brand small { color: var(--gold-400); font-size: var(--type-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.login-story__copy { position: relative; z-index: 1; max-width: 600px; }
.login-story__copy h1 { margin: 18px 0 22px; color: white; font-size: clamp(3rem, 5.6vw, 4.875rem); letter-spacing: -.045em; }
.login-story__copy > p { max-width: 560px; color: rgba(255,255,255,.53); font-size: var(--type-sm); line-height: 1.8; }
.login-story__copy > div { display: flex; gap: 25px; margin-top: 30px; }
.login-story__copy > div span { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.43); font-size: var(--type-xs); font-weight: 700; text-transform: uppercase; }
.login-story__copy > div svg { color: var(--gold-400); }
.login-story > small { position: relative; z-index: 1; color: rgba(255,255,255,.26); font-size: var(--type-xs); letter-spacing: .15em; text-transform: uppercase; }
.login-panel { display: grid; place-items: center; padding: 35px; background: var(--paper); }
.login-card { width: min(390px, 100%); }
.login-card h2 { margin: 13px 0 8px; font-size: var(--type-2xl); }
.login-card > p { margin-bottom: 28px; color: var(--slate-500); font-size: var(--type-xs); }
.login-form { display: grid; gap: 17px; }
.login-form > label:not(.checkbox-label) { display: grid; gap: 7px; color: var(--slate-600); font-size: var(--type-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.login-form input[type="email"],
.password-field input { width: 100%; height: 47px; padding: 0 13px; border: 1px solid var(--slate-200); outline: 0; background: white; color: var(--slate-800); font-size: var(--type-xs); font-weight: 400; letter-spacing: 0; text-transform: none; }
.login-form input:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(198,155,52,.08); }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 55px; }
.password-field button { position: absolute; top: 0; right: 0; bottom: 0; width: 50px; border: 0; background: transparent; color: var(--gold-600); font-size: var(--type-xs); font-weight: 700; }
.checkbox-label { display: flex; align-items: center; gap: 8px; color: var(--slate-500); font-size: var(--type-xs); cursor: pointer; }
.checkbox-label input { accent-color: var(--gold-500); }
.login-back { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 25px; color: var(--slate-400); font-size: var(--type-xs); }
.login-back:hover { color: var(--gold-600); }

@media (max-width: 1180px) {
    .admin-stat-grid, .report-kpi-grid { grid-template-columns: repeat(3, 1fr); }
    .reports-grid { grid-template-columns: 1fr 1fr; }
    .report-chart-card { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
    .admin-sidebar { visibility: hidden; box-shadow: var(--shadow-lg); transform: translateX(-100%); transition: transform .25s ease, visibility .25s; }
    .admin-brand > button { display: grid; }
    .sidebar-is-open .admin-sidebar { visibility: visible; transform: none; }
    .admin-sidebar-backdrop { position: fixed; z-index: 65; inset: 0; background: rgba(4,12,20,.62); }
    .sidebar-is-open .admin-sidebar-backdrop { display: block; }
    .admin-main { margin-left: 0; }
    .admin-menu-button { display: grid; }
    .admin-topbar { gap: 13px; padding: 0 22px; }
    .admin-topbar > div:first-of-type { margin-right: auto; }
    .admin-content { width: 100%; padding: 25px 22px; }
    .ai-layout { grid-template-columns: 1fr; }
    .login-shell { grid-template-columns: .85fr 1.15fr; }
    .login-story { padding: 35px; }
    .login-story__copy h1 { font-size: var(--type-4xl); }
}

@media (max-width: 720px) {
    .admin-topbar__actions .status-dot { display: none; }
    .admin-content { padding: 22px 14px; }
    .admin-page-heading { align-items: flex-start; flex-direction: column; }
    .admin-page-heading h1 { font-size: var(--type-2xl); }
    .admin-heading-actions { width: 100%; flex-wrap: wrap; }
    .admin-search { min-width: 0; flex: 1; }
    .admin-search input { width: 100%; }
    .admin-stat-grid, .report-kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-dashboard-grid, .reports-grid { grid-template-columns: 1fr; }
    .report-chart-card { grid-column: auto; }
    .admin-table thead { display: none; }
    .admin-table,
    .admin-table tbody,
    .admin-table tr,
    .admin-table td { display: block; width: 100%; }
    .admin-table tr { padding: 10px 15px; border-bottom: 1px solid var(--slate-200); }
    .admin-table td { display: grid; max-width: none; grid-template-columns: 100px minmax(0,1fr); padding: 6px 0; border: 0; text-align: right; }
    .admin-table td::before { color: var(--slate-400); content: attr(data-label); font-size: var(--type-xs); font-weight: 700; text-align: left; text-transform: uppercase; }
    .admin-table__action { width: 100%; }
    .status-form { justify-content: flex-end; }
    .admin-form-section { grid-template-columns: 1fr; gap: 18px; padding: 23px 18px; }
    .admin-form-grid { grid-template-columns: 1fr; }
    .admin-form-grid__wide { grid-column: auto; }
    .ai-form__footer { align-items: flex-start; flex-direction: column; }
    .ai-form__footer .admin-button { width: 100%; }
    .login-shell { grid-template-columns: 1fr; }
    .login-story { display: none; }
    .login-panel { min-height: 100vh; padding: 28px 20px; }
}

@media (max-width: 480px) {
    .admin-topbar { min-height: 65px; padding: 0 14px; }
    .admin-topbar > div:first-of-type span { display: none; }
    .admin-topbar__actions a { font-size: 0; }
    .admin-topbar__actions a svg { width: 18px; height: 18px; }
    .admin-stat-grid, .report-kpi-grid { grid-template-columns: 1fr; }
    .admin-stat-card { padding: 17px; }
    .admin-heading-actions .admin-button { width: 100%; }
    .admin-pagination { align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; padding: 12px 15px; }
    .segmented-control { flex-direction: column; }
    .admin-form-actions { align-items: stretch; flex-direction: column-reverse; }
    .admin-form-actions a { text-align: center; }
    .bar-chart { gap: 4px; padding: 20px 12px; }
}
