:root {
    --maroon:        #003049;
    --maroon-deep:   #1A5276;
    --maroon-light:  #001F30;
    --gold:          #C9A84C;
    --gold-light:    #E8C97A;
    --gold-pale:     #F5EDD0;
    --cream:         #FAF7F2;
    --ink:           #1A1410;
    --ink-mid:       #3D3228;
    --ink-soft:      #6B5D52;
    --border-color:  #D4C5A9;
    --white:         #FFFFFF;
    --shadow-sm:     0 2px 8px rgba(90,18,18,0.08);
    --shadow-md:     0 6px 24px rgba(90,18,18,0.12);
    --shadow-lg:     0 16px 48px rgba(90,18,18,0.16);
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--cream);
    color: var(--ink);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ─── TOP EMBLEM STRIP ─── */
.emblem-strip {
    background: var(--maroon-deep);
    color: var(--gold-light);
    padding: 10px 0;
    border-bottom: 3px solid var(--gold);
}
.emblem-strip .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.emblem-strip .gov-title {
    font-family: 'EB Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.emblem-strip .gov-subtitle {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    opacity: 0.8;
}
.emblem-crest {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.6rem;
}

/* ─── AD BANNER ─── */
.ad-banner-wrap {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    text-align: center;
}

/* ─── HERO SECTION ─── */
.hero-section {
    position: relative;
    background: var(--maroon-deep);
    overflow: hidden;
    padding: 72px 24px 80px;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 60px,
            rgba(201,168,76,0.04) 60px,
            rgba(201,168,76,0.04) 61px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 60px,
            rgba(201,168,76,0.04) 60px,
            rgba(201,168,76,0.04) 61px
        );
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--maroon-deep), var(--gold), var(--maroon-deep));
}
.hero-inner {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.4);
    color: var(--gold-light);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 2px;
    margin-bottom: 24px;
}
.hero-badge::before, .hero-badge::after {
    content: '◆';
    font-size: 0.5rem;
}
.hero-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}
.hero-heading span {
    color: var(--gold);
    display: block;
}
.hero-rule {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 20px auto;
}
.hero-lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    max-width: 680px;
    margin: 0 auto 32px;
    font-weight: 300;
}
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--maroon-deep);
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 13px 28px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,168,76,0.35);
    color: var(--maroon-deep);
}
.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--gold-light);
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 28px;
    border: 1.5px solid rgba(201,168,76,0.5);
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-outline-gold:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201,168,76,0.07);
}

/* ─── STATS BAR ─── */
.stats-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat-item {
    padding: 22px 24px;
    text-align: center;
    border-right: 1px solid var(--border-color);
    position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--maroon);
    line-height: 1;
}
.stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-soft);
    margin-top: 4px;
}

/* ─── WHAT YOU CAN FIND ─── */
.features-section {
    padding: 72px 24px;
    background: var(--cream);
}
.section-header {
    max-width: 1200px;
    margin: 0 auto 48px;
}
.section-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
}
.section-title {
    font-family: 'EB Garamond', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}
.section-divider {
    width: 56px;
    height: 3px;
    background: var(--gold);
    margin-top: 14px;
}
.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
}
.feature-card {
    background: var(--white);
    padding: 36px 32px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 0;
    background: var(--gold);
    transition: height 0.3s ease;
}
.feature-card:hover::before { height: 100%; }
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    z-index: 1;
}
.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-pale);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}
.feature-title {
    font-family: 'EB Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}
.feature-desc {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ─── LATEST ORDERS ─── */
.orders-section {
    padding: 72px 24px;
    background: var(--white);
    border-top: 1px solid var(--border-color);
}
.orders-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}
.orders-list { }
.order-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 20px;
    align-items: start;
    transition: background 0.15s;
    position: relative;
}
.order-item:first-child { border-top: 1px solid var(--border-color); }
.order-item:hover { background: var(--gold-pale); margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.order-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--border-color);
    line-height: 1;
    min-width: 36px;
    padding-top: 2px;
    user-select: none;
}
.order-content { }
.order-link {
    font-family: 'EB Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--maroon);
    text-decoration: none;
    line-height: 1.4;
    display: block;
    margin-bottom: 6px;
    transition: color 0.15s;
}
.order-link:hover { color: var(--maroon-light); text-decoration: underline; }
.order-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.order-meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--ink-soft);
    text-transform: uppercase;
}
.order-meta-tag .dot {
    width: 4px; height: 4px;
    background: var(--gold);
    border-radius: 50%;
    display: inline-block;
}

/* ─── SIDEBAR ─── */
.orders-sidebar { position: sticky; top: 24px; }
.sidebar-card {
    background: var(--cream);
    border: 1px solid var(--border-color);
    padding: 28px;
    margin-bottom: 24px;
}
.sidebar-card-title {
    font-family: 'EB Garamond', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}
.sidebar-list { list-style: none; }
.sidebar-list li {
    padding: 7px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--ink-mid);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-list li::before {
    content: '›';
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 700;
}
.sidebar-list li:last-child { border-bottom: none; }

/* ─── IN-CONTENT AD ─── */
.ad-inline { margin: 20px 0; text-align: center; }

/* ─── VIEW ALL BUTTON ─── */
.btn-primary-gov {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--maroon);
    color: var(--white);
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 32px;
    border: none;
    text-decoration: none;
    margin-top: 32px;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    cursor: pointer;
}
.btn-primary-gov:hover {
    background: var(--maroon-light);
    color: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.btn-primary-gov::after { content: '→'; font-size: 1rem; }

/* ─── DISCLAIMER ─── */
.disclaimer-section {
    padding: 56px 24px;
    background: var(--maroon-deep);
    border-top: 3px solid var(--gold);
}
.disclaimer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: start;
}
.disclaimer-icon-wrap {
    width: 56px;
    height: 56px;
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.disclaimer-heading {
    font-family: 'EB Garamond', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 10px;
    letter-spacing: 0.04em;
}
.disclaimer-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .orders-layout { grid-template-columns: 1fr; }
    .orders-sidebar { position: static; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .emblem-strip .gov-title { font-size: 0.95rem; }
    .hero-heading { font-size: 1.8rem; }
    .disclaimer-inner { grid-template-columns: 1fr; }
    .disclaimer-icon-wrap { display: none; }
}

/* ─── NAVBAR ─── */
.gov-navbar {
    background: var(--maroon);
    border-bottom: 2px solid rgba(201,168,76,0.35);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(90,18,18,0.25);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 16px;
}
.nav-links {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: nowrap;
}
.nav-links a {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0 16px;
    height: 52px;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-light);
    border-bottom-color: var(--gold);
    background: rgba(0,0,0,0.15);
}
.nav-user-area {
    display: flex;
    align-items: center;
}
/* User dropdown */
.nav-dropdown { position: relative; }
.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--maroon-deep) !important;
    border: none;
    padding: 9px 18px;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.nav-user-btn:hover { background: var(--gold-light); }
.nav-user-btn .user-chevron {
    font-size: 0.65rem;
    transition: transform 0.2s;
}
.nav-dropdown:hover .user-chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--gold);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    color: var(--ink-mid);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover {
    background: var(--gold-pale);
    color: var(--maroon);
}
.nav-dropdown-menu a::before {
    content: '';
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gold);
}
/* Hamburger for mobile */
.nav-toggle {
    display: none;
    background: none;
    border: 1.5px solid rgba(201,168,76,0.5);
    color: var(--gold-light);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1.1rem;
    align-self: center;
}
@media (max-width: 900px) {
    .nav-links { display: none; flex-direction: column; }
    .nav-links.open { display: flex; }
    .nav-inner { flex-wrap: wrap; }
    .nav-links a { height: 44px; padding: 0 20px; border-bottom: 1px solid rgba(201,168,76,0.15); border-left: 3px solid transparent; }
    .nav-links a:hover { border-left-color: var(--gold); border-bottom-color: rgba(201,168,76,0.15); }
    .nav-toggle { display: flex; align-items: center; }
    .nav-links { width: 100%; order: 3; }
    .gov-navbar { position: relative; }
}

/* ─── FOOTER ─── */
.gov-footer {
    background: var(--maroon-deep);
    color: rgba(255,255,255,0.75);
    border-top: 3px solid var(--gold);
}
.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
}
.footer-brand-name {
    font-family: 'EB Garamond', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}
.footer-brand-tagline {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}
.footer-brand-rule {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 16px;
}
.footer-about-text {
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.6);
}
.footer-col-title {
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.04em;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(201,168,76,0.3);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 2px; }
.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.2s, padding-left 0.2s;
}
.footer-links a::before {
    content: '›';
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}
.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 6px;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
}
.footer-contact-icon {
    width: 32px;
    height: 32px;
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.footer-contact-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    display: block;
    margin-bottom: 2px;
}
.footer-bottom {
    border-top: 1px solid rgba(201,168,76,0.2);
}
.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
}
.footer-copy strong { color: var(--gold-light); font-weight: 600; }
.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--gold-light); }
@media (max-width: 768px) {
    .footer-main { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ─── ENTRY ANIMATIONS ─── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-inner > * {
    animation: fadeUp 0.6s ease both;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.1s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.2s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.25s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.3s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.38s; }

/* Departments Dropdown */
.nav-links {
    position: relative;
}

.nav-dept-dropdown {
    position: static;
}

.nav-dept-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.dept-chevron {
    display: inline-block;
    transition: transform 0.25s ease;
    font-size: 0.8em;
}

.nav-dept-menu {
    display: none;
    position: absolute;
    top: 100%;          /* sits just below the navbar */
    left: 0;            /* aligns to the very left of .nav-links */
    right: 0;           /* stretches full width if needed */
    width: 168%;        /* or set a fixed width like 900px */
    background: #0d2b45;
    border-top: 2px solid #c9a84c;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    z-index: 9999;
    padding: 24px 40px; /* equal padding on both sides */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(6px);
    box-sizing: border-box;
}

.nav-dept-dropdown:hover .nav-dept-menu,
.nav-dept-menu.is-open {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dept-dropdown:hover .dept-chevron {
    transform: rotate(180deg);
}

.dept-menu-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 32px;
}

.dept-menu-col a {
    display: block;
    padding: 6px 0;
    color: #cdd8e3;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.15s ease, padding-left 0.15s ease;
}

.dept-menu-col a:hover {
    color: #c9a84c;
    padding-left: 6px;
}


