:root {
    --ink: #1c1c1c;
    --muted: #5e6570;
    --line: #e6e8ec;
    --paper: #f6f3ee;
    --white: #fff;
    --black: #10211a;
    --red: #ce1126;
    --red-dark: #9d0c1c;
    --green: #0c6b43;
    --green-deep: #083526;
    --gold: #f0b429;
    --shadow: 0 18px 40px rgba(20, 20, 20, 0.08);
    --sans: Montserrat, "Helvetica Neue", Arial, sans-serif;
    --header: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body,
button,
input,
textarea,
select {
    font-family: var(--sans);
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.65;
}
body.wp-theme-ibigb,
body.wp-theme-ibigb h1,
body.wp-theme-ibigb h2,
body.wp-theme-ibigb h3,
body.wp-theme-ibigb h4,
body.wp-theme-ibigb p,
body.wp-theme-ibigb a,
body.wp-theme-ibigb li,
body.wp-theme-ibigb button,
body.wp-theme-ibigb input,
body.wp-theme-ibigb time {
    font-family: Montserrat, "Helvetica Neue", Arial, sans-serif !important;
}
h1, h2, h3, h4, h5, h6, strong, .btn, .menu a, .kicker, .latest time {
    font-family: var(--sans);
    font-style: normal;
}
img { max-width: 100%; height: auto; }
a { color: var(--red-dark); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--red); }
.skip {
    position: absolute; left: 1rem; top: -4rem; background: #fff; padding: 0.5rem 0.8rem; z-index: 80;
}
.skip:focus { top: 0.5rem; }
.wrap { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }

.site-header {
    position: sticky; top: 0; z-index: 40; background: #fff;
    box-shadow: 0 1px 0 var(--line);
    transition: box-shadow 0.2s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.util-bar { background: var(--green-deep); color: #d7e6df; font-size: 0.82rem; border-bottom: 3px solid var(--gold); }
.util-inner { display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 2.15rem; }
.util-inner p { margin: 0; }
.util-inner a { color: #fff; text-decoration: none; font-weight: 700; }
.util-inner a:hover { color: #ffd0d0; }
.brand { display: flex; align-items: center; gap: 1rem; min-height: 4.6rem; padding: 0.45rem 0; }
.brand-lockup { display: flex; align-items: center; gap: 0.75rem; color: inherit; text-decoration: none; min-width: 0; flex: 1; }
.logo-mark { height: 58px; width: auto; flex: none; }
.logo-agi { height: 52px; width: auto; display: block; background: #fff; border: 1px solid var(--line); border-radius: 0.4rem; }
.brand-lockup strong { display: block; font-size: 1.45rem; letter-spacing: -0.03em; line-height: 1.15; }
.brand-lockup em { display: block; margin-top: 0.15rem; font-style: normal; color: var(--muted); font-size: 0.78rem; line-height: 1.35; }
.agi-link { flex: none; line-height: 0; }

.nav-toggle {
    display: none; align-items: center; gap: 0.45rem; border: 1px solid var(--line);
    background: #fff; border-radius: 999px; padding: 0.45rem 0.8rem; font: inherit; font-weight: 700; cursor: pointer;
}
.nav-toggle-lines { width: 1rem; height: 2px; background: var(--ink); box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink); }
.nav-bar { border-top: 1px solid var(--line); background: #fff; box-shadow: inset 0 -3px 0 var(--red); }
.menu { display: flex; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a {
    display: inline-flex; align-items: center; min-height: 3.15rem; padding: 0 0.85rem;
    color: var(--ink); text-decoration: none; font-size: 0.84rem; font-weight: 800;
    letter-spacing: 0.06em; text-transform: uppercase;
}
.menu > li > a:hover, .menu > li.is-current > a { color: var(--red); background: #fff5f5; }
.menu > li.is-current > a { box-shadow: inset 0 -3px 0 var(--red); }
.sub-toggle {
    display: none; position: absolute; right: 0.2rem; top: 0.55rem; width: 2rem; height: 2rem;
    border: 0; background: transparent; cursor: pointer;
}
.sub {
    display: none; position: absolute; z-index: 5; top: calc(100% - 2px); left: 0; min-width: 18rem;
    margin: 0; padding: 0.45rem; list-style: none; background: #fff;
    border: 1px solid var(--line); border-radius: 0.75rem; box-shadow: var(--shadow);
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { display: block; }
.sub a {
    display: block; padding: 0.62rem 0.75rem; color: var(--ink); text-decoration: none;
    border-radius: 0.45rem; font-size: 0.94rem; font-weight: 600;
}
.sub a:hover, .sub .is-current a { background: #fff1f0; color: var(--red-dark); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    min-height: 2.9rem; padding: 0.55rem 1.15rem; border-radius: 999px;
    font-weight: 800; text-decoration: none; letter-spacing: 0.01em;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.75); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }

.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;
}
.news-top {
    padding: 1.35rem 0 1.7rem;
    background:
        radial-gradient(520px 220px at 100% 0%, rgba(206, 17, 38, 0.55), transparent 62%),
        radial-gradient(420px 180px at 0% 100%, rgba(240, 180, 41, 0.28), transparent 70%),
        linear-gradient(145deg, #06281d 0%, #0c6b43 58%, #145c42 100%);
}
.news-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(250px, 0.72fr); gap: 0.9rem; align-items: stretch; }
.slider { position: relative; background: transparent; overflow: hidden; min-height: 360px; }
.news-slide { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 360px; }
.news-slide[hidden] { display: none; }
.news-slide figure { margin: 0; display: flex; align-items: center; justify-content: center; padding: 0.35rem 0.5rem 0.35rem 0; }
.news-slide img { width: 100%; height: 300px; object-fit: contain; background: #fff; border-radius: 0.9rem; padding: 0.65rem; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22); }
.slide-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; padding: 1.15rem 0.4rem 4.2rem 0.8rem; color: #fff; }
.slide-copy .kicker { color: var(--gold); }
.slide-copy time { color: #ffd0cc; font-size: 0.82rem; font-weight: 700; }
.slide-copy h2 { margin: 0.1rem 0 0.25rem; color: #fff; font-size: clamp(1.35rem, 1.8vw, 1.8rem); letter-spacing: -0.03em; line-height: 1.22; }
.slide-copy p { margin: 0 0 0.7rem; color: #e7f2ec; font-size: 0.98rem; }
.slider-ui {
    position: absolute; left: 52%; right: 0.4rem; bottom: 0.7rem;
    display: flex; align-items: center; gap: 0.45rem;
}
.slider-arrow {
    width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 0;
    background: #fff; font-size: 1.35rem; line-height: 1; cursor: pointer; color: var(--green-deep);
}
.slider-arrow:hover { background: var(--gold); color: #1a1404; }
.slider-dots { display: flex; gap: 0.35rem; margin-right: auto; }
.slider-dots button {
    width: 0.55rem; height: 0.55rem; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, 0.45); cursor: pointer;
}
.slider-dots button.is-current { background: var(--gold); width: 1.4rem; border-radius: 999px; }
.latest { background: #fff; border-radius: 1rem; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18); padding: 0 0 0.35rem; overflow: hidden; }
.latest h2 { margin: 0; padding: 0.75rem 1rem; background: var(--red); color: #fff; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.latest ol { list-style: none; margin: 0; padding: 0; }
.latest button {
    display: block; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--line);
    background: transparent; padding: 0.72rem 0.95rem; cursor: pointer; font: inherit; color: inherit;
}
.latest li:first-child button { border-top: 0; }
.latest button.is-current { background: #e8f6ef; box-shadow: inset 4px 0 0 var(--green); }
.latest button:hover { background: #fff6f5; }
.latest time { display: block; color: var(--red-dark); font-size: 0.75rem; font-weight: 800; }
.latest strong { display: block; margin-top: 0.15rem; font-size: 0.95rem; letter-spacing: -0.02em; line-height: 1.35; }
.kicker { margin: 0; color: var(--red); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.section-head h2, .home-section > h2, .prose h2 {
    margin: 0.25rem 0 1rem; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.04em; line-height: 1.15;
}
.home-section { padding: 2.6rem 0 1rem; }
.band { background: linear-gradient(115deg, #083526, #0c6b43 70%); color: #f3faf6; border: 0; margin-top: 1.5rem; }
.band h2, .band p { color: #f3faf6; }
.band a { color: var(--gold); }
.band .chart { color: var(--ink); }
.stat-wrap { position: relative; z-index: 2; margin-top: -1.1rem; }
.stat-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem;
    list-style: none; margin: 0; padding: 0;
}
.stat-row li {
    border-radius: 1rem; padding: 1.05rem 1.1rem 1.15rem; color: #fff;
    box-shadow: var(--shadow);
}
.stat-row li:nth-child(1) { background: var(--red); }
.stat-row li:nth-child(2) { background: var(--green); }
.stat-row li:nth-child(3) { background: #10211a; }
.stat-row li:nth-child(4) { background: var(--gold); color: #1a1404; }
.stat-row strong { display: block; font-size: 1.55rem; letter-spacing: -0.04em; line-height: 1.15; }
.stat-row span { display: block; margin-top: 0.3rem; color: inherit; opacity: 0.92; font-size: 0.9rem; }

.path-grid, .link-list { display: grid; gap: 0.9rem; }
.path-grid { grid-template-columns: repeat(4, 1fr); counter-reset: card; }
.path-card, .link-list a {
    position: relative; display: flex; flex-direction: column; gap: 0.35rem;
    background: #fff; border-radius: 1rem; padding: 1.2rem 1.15rem 1.25rem;
    text-decoration: none; color: inherit; box-shadow: 0 1px 0 rgba(0,0,0,0.03);
    border: 1px solid transparent; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.path-card { counter-increment: card; }
.path-card::before {
    content: counter(card, decimal-leading-zero);
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.5rem; height: 2.5rem; border-radius: 0.7rem;
    background: var(--red); color: #fff; font-weight: 800;
}
.path-card:nth-child(2)::before { background: var(--green); }
.path-card:nth-child(3)::before { background: var(--gold); color: #1a1404; }
.path-card:nth-child(4)::before { background: #10211a; }
.path-card:hover, .link-list a:hover {
    transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ffd5d3; color: inherit;
}
.path-card h3, .link-list strong { margin: 0; font-size: 1.15rem; letter-spacing: -0.03em; }
.path-card p, .link-list span { margin: 0; color: var(--muted); }
.link-list { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.link-list a::after { content: "→"; margin-top: auto; color: var(--red); font-weight: 800; }

.page-hero {
    color: #fff; padding: 2.4rem 0 1.8rem;
    background:
        radial-gradient(480px 180px at 100% 0%, rgba(206, 17, 38, 0.55), transparent 70%),
        linear-gradient(115deg, #06281d, #0c6b43 72%);
}
.page-hero h1 { margin: 0.3rem 0 0.55rem; max-width: 28ch; font-size: clamp(1.55rem, 2.4vw, 2.15rem); letter-spacing: -0.035em; line-height: 1.2; font-weight: 800; }
.page-hero .kicker { color: var(--gold); }
.page-hero .lead { color: #ececec; max-width: 68ch; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0 0 0.8rem; padding: 0; color: #cfcfcf; font-size: 0.86rem; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: #888; }
.section-nav { position: sticky; top: 9.6rem; z-index: 30; background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.section-nav ul { display: flex; gap: 0.4rem; list-style: none; margin: 0; padding: 0.7rem 0; overflow-x: auto; }
.section-nav a {
    display: block; white-space: nowrap; text-decoration: none; color: var(--ink);
    padding: 0.4rem 0.75rem; border-radius: 999px; font-size: 0.86rem; font-weight: 700; background: #f3f4f6;
}
.section-nav .is-current a, .section-nav a:hover { background: var(--red); color: #fff; }
.page-body { padding: 1.4rem 0 3.6rem; }
.prose p, .prose ul, .prose ol { max-width: 76ch; }
.prose li + li { margin-top: 0.4rem; }
.text-link { font-weight: 800; }

.chart, .table-wrap, .person, .champion-grid article, .feature-index li, .company-index {
    background: #fff;
}
.chart { margin: 1.3rem 0 1.6rem; border-radius: 1rem; padding: 0.85rem; box-shadow: var(--shadow); }
.chart figcaption { margin-top: 0.7rem; color: var(--muted); font-size: 0.9rem; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; border-radius: 1rem; box-shadow: var(--shadow); }
table.data { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.95rem; }
table.data caption { caption-side: bottom; text-align: left; color: var(--muted); padding: 0.75rem 0.9rem; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--green-deep); color: #fff; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; }
table.data tbody tr:hover td, table.data tbody tr:hover th { background: #fff8f7; }
table.data tr.group th { background: var(--black); color: #fff; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.8rem; }
table.bop { min-width: 860px; }
.company-index {
    columns: 3; margin: 0.4rem 0 1.2rem; padding: 1rem 1rem 1rem 2.2rem; border-radius: 1rem; box-shadow: var(--shadow);
}
.company-index li { break-inside: avoid; padding: 0.28rem 0; font-weight: 700; }
.champion-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.8rem; }
.champion-grid article { border-radius: 1rem; padding: 1rem 1.05rem; box-shadow: var(--shadow); }
.champion-grid h3 { margin: 0 0 0.35rem; color: var(--red-dark); font-size: 1rem; }
.champion-grid p { margin: 0; }
.feature-index { list-style: none; padding: 0; counter-reset: feature; }
.feature-index li {
    position: relative; margin: 0 0 0.7rem; padding: 1rem 1rem 1rem 4.2rem; border-radius: 1rem; box-shadow: var(--shadow); max-width: none;
}
.feature-index li::before {
    counter-increment: feature; content: counter(feature, decimal-leading-zero);
    position: absolute; left: 1rem; top: 1rem; color: var(--red); font-weight: 800;
}
.feature-index a { font-weight: 800; text-decoration: none; }
.feature-index span { display: block; color: var(--muted); margin-top: 0.2rem; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0.9rem; }
.person { border-radius: 1rem; padding: 1.15rem 1.2rem; box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.person h3 { margin: 0.2rem 0 0.55rem; font-size: 1.45rem; letter-spacing: -0.03em; }
.person .role { margin: 0; color: var(--red); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.person p { margin: 0.2rem 0; }

.site-footer { background: #06281d; color: #d5e4dc; padding: 3rem 0 1rem; margin-top: 2rem; border-top: 4px solid var(--gold); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffb4b0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-mark { margin: 0 0 0.45rem; color: #fff; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.04em; }
.footer-label { margin: 0 0 0.7rem; color: var(--red); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.38rem 0; }
.footer-about .btn { margin-top: 0.8rem; }
.footer-base {
    display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center;
    border-top: 1px solid #2a2a2a; margin-top: 1.8rem; padding-top: 0.9rem; color: #9a9a9a; font-size: 0.9rem;
}
.footer-base p { margin: 0; }

@media (max-width: 980px) {
    .path-grid, .stat-row, .footer-grid, .news-layout, .news-slide { grid-template-columns: 1fr; }
    .news-slide img { height: 200px; }
    .slider-ui { left: 0.8rem; }
    .slider, .news-slide { min-height: 0; }
}
@media (max-width: 760px) {
    .nav-toggle { display: inline-flex; }
    .logo-mark { height: 46px; }
    .logo-agi { height: 40px; }
    .brand { min-height: 0; gap: 0.55rem; }
    .brand-lockup { gap: 0.5rem; }
    .brand-lockup strong { font-size: 1.05rem; }
    .brand-lockup em { display: none; }
    .nav-bar { display: none; }
    body.nav-open .nav-bar {
        display: block; position: absolute; left: 0; right: 0; background: #fff;
        border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 6rem); overflow: auto;
    }
    .menu { flex-direction: column; padding: 0.4rem 0 0.8rem; }
    .menu > li > a { min-height: 2.7rem; }
    .sub-toggle { display: block; }
    .sub-toggle::before {
        content: ""; display: block; width: 0.5rem; height: 0.5rem; margin: 0.7rem auto;
        border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg);
    }
    .sub { position: static; box-shadow: none; border: 0; padding: 0 0 0.4rem 0.8rem; }
    .has-sub:hover > .sub { display: none; }
    .has-sub.is-open > .sub, .has-sub:focus-within > .sub { display: block; }
    .path-grid, .stat-row, .footer-grid, .company-index { grid-template-columns: 1fr; columns: 1; }
    .section-nav { top: 6.5rem; }
    .slide-copy { padding-bottom: 4rem; }
    .footer-base { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
