@import url("sections.css");
@import url("pages.css");

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
    --navy: #0B1F4B;
    --navy-deep: #071530;
    --navy-soft: #142C5E;
    --gold: #F2A81D;
    --gold-deep: #C98707;
    --gold-soft: #FBEBC8;
    --cream: #FAF7F2;
    --sand: #F1ECE2;
    --ink: #16203A;
    --slate: #5B6579;
    --line: #E5DFD4;
    --white: #FFFFFF;
    --success: #2E7D4F;
    --danger: #B93A2F;

    --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

    --radius: 10px;
    --radius-sm: 4px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(11, 31, 75, .06);
    --shadow-sm: 0 4px 14px rgba(11, 31, 75, .07);
    --shadow-md: 0 12px 32px rgba(11, 31, 75, .10);
    --shadow-lg: 0 24px 60px rgba(11, 31, 75, .16);

    --container: 1200px;
    --gutter: 1.5rem;
    --section-y: 5.5rem;

    --ease: cubic-bezier(.22, .61, .36, 1);
    --transition: .28s var(--ease);
}

/* Alternate maroon identity — toggle with <body class="maroon-theme"> */
body.maroon-theme {
    --navy: #6E1414;
    --navy-deep: #4E0E0E;
    --navy-soft: #862020;
    --ink: #2A1414;
    --gold: #D4AF37;
    --gold-deep: #A9861C;
    --gold-soft: #F6EDCB;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--slate);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.is-locked {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.18;
    color: var(--navy);
    letter-spacing: -.01em;
}

h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

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

a {
    color: var(--navy);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover { color: var(--gold-deep); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(242, 168, 29, .55);
    outline-offset: 2px;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

ul, ol { list-style: none; }

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

::selection {
    background: var(--gold);
    color: var(--navy-deep);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 2000;
    padding: .7rem 1.2rem;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.skip-link:focus {
    top: 1rem;
    color: var(--white);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--section-y);
}

.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); }
.section--tight { padding-block: 4rem; }

.section-head {
    max-width: 720px;
    margin-bottom: 3rem;
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head h2 {
    margin-bottom: .9rem;
}

.section-head p {
    font-size: 1.05rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--gold);
}

.section-head--center .eyebrow {
    justify-content: center;
}

.section--navy .eyebrow,
.page-hero .eyebrow {
    color: var(--gold);
}

.section--navy h2,
.section--navy h3,
.page-hero h1 {
    color: var(--white);
}

.section--navy p {
    color: rgba(255, 255, 255, .78);
}

.lead {
    font-size: 1.1rem;
    line-height: 1.75;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: 1rem 1.9rem;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition), color var(--transition),
                border-color var(--transition), transform var(--transition),
                box-shadow var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.btn--gold {
    background: var(--gold);
    color: var(--navy-deep);
    border-color: var(--gold);
}

.btn--gold:hover {
    background: var(--gold-deep);
    border-color: var(--gold-deep);
    color: var(--navy-deep);
    box-shadow: 0 12px 24px rgba(242, 168, 29, .3);
}

.btn--navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn--navy:hover {
    background: var(--navy-deep);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--navy);
    border-color: rgba(11, 31, 75, .3);
}

.btn--outline:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
}

.btn--ghost-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, .45);
}

.btn--ghost-light:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn--sm {
    padding: .72rem 1.25rem;
    font-size: .72rem;
}

.btn--block { width: 100%; }

.btn[disabled] {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy);
}

.link-arrow i {
    transition: transform var(--transition);
}

.link-arrow:hover {
    color: var(--gold-deep);
}

.link-arrow:hover i {
    transform: translateX(4px);
}

/* =========================================================
   TOP BAR
   ========================================================= */
.topbar {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, .78);
    font-size: .78rem;
    line-height: 1.4;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 42px;
    padding-block: .45rem;
}

.topbar__contact {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    flex-wrap: wrap;
}

.topbar__contact li {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.topbar__contact i {
    color: var(--gold);
    font-size: .8rem;
}

.topbar__contact a {
    color: inherit;
}

.topbar__contact a:hover {
    color: var(--white);
}

.topbar__actions {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.topbar__social {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.topbar__social a {
    color: rgba(255, 255, 255, .7);
    font-size: .82rem;
}

.topbar__social a:hover {
    color: var(--gold);
}

.topbar__portal {
    position: relative;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--white) !important;
    padding-left: 1.1rem;
}

.topbar__portal:first-of-type::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, .25);
    transform: translateY(-50%);
}

.topbar__portal:hover {
    color: var(--gold) !important;
}

/* =========================================================
   SITE HEADER
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
    box-shadow: 0 6px 24px rgba(11, 31, 75, .09);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    min-height: 88px;
    padding-block: .75rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: .85rem;
    flex-shrink: 0;
    margin-right: auto;
}

.brand:hover { color: inherit; }

.brand__crest {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 50%;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand__name {
    font-family: var(--font-display);
    font-size: 1.06rem;
    font-weight: 700;
    color: var(--navy);
}

.brand__tag {
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

.main-nav__list {
    display: flex;
    align-items: center;
    gap: 1.9rem;
}

.main-nav__list > li {
    position: relative;
}

.main-nav__list > li > a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: 1.9rem 0;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--ink);
    white-space: nowrap;
}

.main-nav__list > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.main-nav__list > li > a:hover,
.main-nav__list > li.is-current > a {
    color: var(--navy);
}

.main-nav__list > li > a:hover::after,
.main-nav__list > li.is-current > a::after {
    width: 100%;
}

.main-nav__list .fa-chevron-down {
    font-size: .55rem;
    transition: transform var(--transition);
}

.has-dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: -1.1rem;
    min-width: 220px;
    padding: .55rem 0;
    background: var(--white);
    border-top: 3px solid var(--gold);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--transition), transform var(--transition),
                visibility var(--transition);
    z-index: 20;
}

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

.dropdown a {
    display: block;
    padding: .6rem 1.2rem;
    font-size: .82rem;
    color: var(--slate);
}

.dropdown a:hover {
    background: var(--cream);
    color: var(--navy);
    padding-left: 1.4rem;
}

.site-header__cta {
    flex-shrink: 0;
    margin-left: .5rem;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 88vw);
    padding: 5.5rem 1.75rem 2rem;
    background: var(--navy);
    color: var(--white);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
    z-index: 1000;
    overflow-y: auto;
}

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

.mobile-nav__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
}

.mobile-nav__list {
    margin-bottom: 1.5rem;
}

.mobile-nav__list a {
    display: block;
    padding: .8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: .92rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--white);
}

.mobile-nav__list a:hover {
    color: var(--gold);
}

.mobile-nav__portal {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-bottom: 1.5rem;
}

.mobile-nav__portal a {
    padding: .7rem 1rem;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: var(--radius-sm);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--white);
    text-align: center;
}

.mobile-nav__meta {
    font-size: .8rem;
    color: rgba(255, 255, 255, .65);
}

.mobile-nav__meta p {
    margin-bottom: .5rem;
}

.mobile-nav__meta i {
    width: 18px;
    color: var(--gold);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 21, 48, .55);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
    z-index: 999;
}

.nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

/* =========================================================
   HERO (homepage)
   ========================================================= */
.hero {
    position: relative;
    padding-block: 4.5rem 6.5rem;
    background:
        radial-gradient(900px 520px at 78% 18%, rgba(242, 168, 29, .14), transparent 62%),
        radial-gradient(700px 480px at 8% 92%, rgba(11, 31, 75, .07), transparent 60%),
        var(--cream);
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    align-items: center;
    gap: 4.5rem;
}

.hero__crest-wrap {
    position: relative;
    justify-self: center;
    width: min(100%, 400px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    animation: crest-float 9s ease-in-out infinite;
}

.hero__crest-wrap::before {
    content: "";
    position: absolute;
    inset: -18px;
    border: 1px dashed rgba(242, 168, 29, .5);
    border-radius: 50%;
    animation: crest-spin 60s linear infinite;
}

.hero__crest {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero__badge {
    position: absolute;
    left: 50%;
    bottom: -1.1rem;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1.15rem;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.hero__badge i {
    color: var(--gold);
    font-size: .7rem;
}

.hero__content h1 {
    margin-bottom: 1.2rem;
    color: var(--navy);
}

.hero__content h1 em {
    font-style: italic;
    color: var(--gold-deep);
}

.hero__content .lead {
    max-width: 34rem;
    margin-bottom: 2rem;
    color: var(--slate);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-bottom: 2.4rem;
}

.hero__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.hero__quick a {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--navy);
}

.hero__quick a i {
    color: var(--gold);
}

.hero__quick a:hover {
    color: var(--gold-deep);
}

@keyframes crest-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes crest-spin {
    to { transform: rotate(360deg); }
}

/* =========================================================
   FEATURE BAND
   ========================================================= */
.feature-band {
    position: relative;
    z-index: 5;
    margin-top: -4.2rem;
    margin-bottom: var(--section-y);
}

.feature-band__inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 1rem;
    background: var(--navy);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.feature-band__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .9rem;
    padding: 1.6rem 1.1rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.feature-band__item:last-child { border-right: 0; }

.feature-band__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(242, 168, 29, .5);
    border-radius: var(--radius-sm);
    color: var(--gold);
    font-size: 1.05rem;
    transition: background var(--transition), color var(--transition),
                border-color var(--transition);
}

.feature-band__item:hover .feature-band__icon {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-deep);
}

.feature-band__item h3 {
    font-family: var(--font-body);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: var(--white);
    margin: 0;
}

.feature-band__item p {
    font-size: .78rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, .6);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, .7);
    font-size: .9rem;
}

.site-footer__main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
    gap: 3rem;
    padding-block: 4rem 3rem;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1.2rem;
}

.site-footer__brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 50%;
}

.site-footer__brand span {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}

.site-footer__brand small {
    display: block;
    margin-top: .25rem;
    font-family: var(--font-body);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--gold);
}

.site-footer p {
    color: rgba(255, 255, 255, .66);
}

.site-footer__social {
    display: flex;
    gap: .6rem;
    margin-top: 1.4rem;
}

.site-footer__social a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    color: rgba(255, 255, 255, .8);
    font-size: .85rem;
    transition: background var(--transition), color var(--transition),
                border-color var(--transition);
}

.site-footer__social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-deep);
}

.site-footer h3 {
    margin-bottom: 1.25rem;
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--white);
}

.site-footer__links li {
    margin-bottom: .55rem;
}

.site-footer__links a {
    color: rgba(255, 255, 255, .68);
    font-size: .88rem;
}

.site-footer__links a:hover {
    color: var(--gold);
    padding-left: 3px;
}

.site-footer__contact li {
    display: flex;
    gap: .7rem;
    margin-bottom: .9rem;
    line-height: 1.6;
}

.site-footer__contact i {
    margin-top: .3rem;
    color: var(--gold);
    font-size: .85rem;
}

.site-footer__contact a {
    color: rgba(255, 255, 255, .68);
}

.site-footer__contact a:hover {
    color: var(--gold);
}

.site-footer__portals {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: 1.2rem;
}

.site-footer__portals a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold);
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-block: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .78rem;
    color: rgba(255, 255, 255, .5);
}

.site-footer__bottom a {
    color: rgba(255, 255, 255, .5);
    margin-left: 1.2rem;
}

.site-footer__bottom a:hover {
    color: var(--gold);
}

/* =========================================================
   UTILITIES
   ========================================================= */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.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;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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

/* =========================================================
   RESPONSIVE — HEADER / HERO / FOOTER
   ========================================================= */
@media (max-width: 1180px) {
    .main-nav__list { gap: 1.3rem; }
    .brand__name { font-size: .98rem; }
}

@media (max-width: 1024px) {
    :root { --section-y: 4.5rem; }

    .main-nav,
    .site-header__cta { display: none; }

    .nav-toggle { display: flex; }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }

    .hero__crest-wrap {
        width: min(68%, 320px);
        order: -1;
    }

    .hero__content .lead,
    .hero__actions,
    .hero__quick,
    .section-head--center {
        margin-inline: auto;
    }

    .hero__actions,
    .hero__quick {
        justify-content: center;
    }

    .feature-band__inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-band__item:nth-child(3) { border-right: 0; }
    .feature-band__item:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, .1); }

    .site-footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --gutter: 1.15rem;
        --section-y: 4rem;
    }

    .topbar__inner {
        justify-content: center;
        text-align: center;
    }

    .topbar__contact {
        justify-content: center;
        gap: .5rem 1.1rem;
    }

    .topbar__contact li:first-child { display: none; }

    .topbar__social { display: none; }

    .site-header__inner { min-height: 74px; }

    .brand__crest { width: 46px; height: 46px; }

    .brand__name { font-size: .86rem; }

    .brand__tag { font-size: .55rem; }

    .hero { padding-block: 3rem 5.5rem; }

    .hero__crest-wrap { width: min(72%, 260px); }

    .hero__badge {
        font-size: .58rem;
        padding: .5rem .9rem;
    }

    .feature-band { margin-top: -3.4rem; }

    .feature-band__inner {
        grid-template-columns: repeat(2, 1fr);
        padding: .6rem;
    }

    .feature-band__item {
        border-right: 0;
        padding: 1.2rem .8rem;
    }

    .feature-band__item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, .1);
    }

    .feature-band__item:nth-child(n+3) {
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .feature-band__item:last-child {
        grid-column: 1 / -1;
        border-right: 0;
    }

    .site-footer__main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-block: 3rem 2rem;
    }

    .site-footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .site-footer__bottom a {
        margin: 0 .6rem;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: .9rem 1.4rem;
        font-size: .74rem;
    }

    .hero__actions .btn { width: 100%; }

    .hero__quick { gap: 1rem; }

    .hero__quick a { font-size: .7rem; }

    .feature-band__inner { grid-template-columns: 1fr; }

    .feature-band__item,
    .feature-band__item:nth-child(odd) {
        border-right: 0;
        border-top: 1px solid rgba(255, 255, 255, .1);
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        padding: 1rem;
    }

    .feature-band__item:first-child { border-top: 0; }

    .feature-band__item p { display: none; }

    .topbar__portal:first-of-type::before { display: none; }
}

/* =========================================================
   ACCESSIBILITY — REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .hero__crest-wrap,
    .hero__crest-wrap::before {
        animation: none;
    }

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