:root {
    --navy: #30276d;
    --navy-light: #51449a;
    --gold: #d6aa33;
    --gold-light: #f1d477;
    --ink: #241d55;
    --red-deep: #21194f;
    --red: #40358a;
    --red-bright: #6858b5;
    --cream: #fffaf3;
    --cream-deep: #f8eadf;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body.menu-open { overflow: hidden; }
::selection { background: var(--gold); color: var(--navy); }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(241, 212, 119, .85);
    outline-offset: 3px;
}

/* Warm neutrals keep the red-and-gold identity consistent across Tailwind utilities. */
.bg-slate-50 { background-color: #fffaf5 !important; }
.bg-slate-100 { background-color: #f8ece4 !important; }
.bg-slate-100\/80 { background-color: rgba(248, 236, 228, .8) !important; }
.bg-slate-200 { background-color: #ead8cf !important; }
.text-slate-200 { color: #f7e8e1 !important; }
.text-slate-300 { color: #ebd2c9 !important; }
.text-slate-500 { color: #876d67 !important; }
.text-slate-600 { color: #725a55 !important; }
.text-slate-700 { color: #5e4945 !important; }
.border-slate-100 { border-color: #f3e4dc !important; }
.border-slate-200 { border-color: #ead8cf !important; }
.border-slate-300 { border-color: #d8c0b5 !important; }
.divide-slate-200 > :not([hidden]) ~ :not([hidden]) { border-color: #ead8cf !important; }

.section-space { padding-block: clamp(4.5rem, 8vw, 7rem); }
.section-kicker {
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .19em;
    line-height: 1.4;
    text-transform: uppercase;
}
.section-title {
    color: var(--ink);
    font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.12;
}

/* Header and navigation */
.top-ribbon { background: #21194f; }
#siteHeader {
    background: rgba(255, 253, 249, .97);
}
.nav-link {
    align-items: center;
    border-radius: .55rem;
    color: #4f403d;
    display: flex;
    font-size: .84rem;
    font-weight: 700;
    gap: .3rem;
    justify-content: space-between;
    padding: .75rem .8rem;
    transition: background-color .2s ease, color .2s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] { background: rgba(169, 31, 45, .07); color: var(--red); }
.nav-dropdown-menu { padding-left: .75rem; }
.nav-dropdown-menu a {
    border-left: 1px solid #ead8cf;
    color: #5e4945;
    display: block;
    font-size: .84rem;
    font-weight: 600;
    padding: .65rem 1rem;
    transition: color .2s ease, background-color .2s ease;
}
.nav-dropdown-menu a:hover, .nav-dropdown-menu a[aria-current="page"] { background: rgba(169, 31, 45, .07); color: var(--red); }
.nav-dropdown.is-open .nav-dropdown-button svg { transform: rotate(180deg); }
.nav-dropdown.is-open .nav-dropdown-menu { display: block; }
.menu-lines { display: grid; gap: 5px; width: 21px; }
.menu-lines i {
    background: currentColor;
    border-radius: 2px;
    display: block;
    height: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
.menu-button[aria-expanded="true"] .menu-lines i:first-child { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-lines i:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .menu-lines i:last-child { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1280px) {
    .nav-link { justify-content: flex-start; padding: .7rem .72rem; }
    .nav-dropdown-menu { padding-left: .5rem; }
    .nav-dropdown-menu::before { content: ''; height: .75rem; left: 0; position: absolute; right: 0; top: -.75rem; }
    .nav-dropdown-menu a { border-left: 0; border-radius: .55rem; color: #674842; padding: .7rem .8rem; }
    .nav-dropdown-menu a:hover, .nav-dropdown-menu a[aria-current="page"] { background: #fff7ed; color: var(--navy); }
    .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
}

/* Buttons and links */
.button-gold, .button-outline { transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button-gold:hover { background: var(--gold-light); box-shadow: 0 10px 30px rgba(214, 170, 51, .28); transform: translateY(-2px); }
.button-outline:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .85); transform: translateY(-2px); }
.text-link { position: relative; }
.text-link::after {
    background: currentColor;
    bottom: -.25rem;
    content: '';
    height: 1px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
    width: 100%;
}
.text-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* Home hero carousel */
.award-hero { background: var(--red-deep); min-height: clamp(640px, 76vh, 790px); }
.hero-slide { opacity: 0; pointer-events: none; transition: opacity .7s ease; }
.hero-slide img { transform: scale(1.025); transition: transform 7s ease; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.hero-slide.is-active img { transform: scale(1); }
.hero-overlay {
    background:
        linear-gradient(90deg, rgba(47, 7, 13, .86) 0%, rgba(73, 9, 18, .61) 43%, rgba(89, 12, 22, .20) 72%, transparent 100%),
        linear-gradient(0deg, rgba(42, 5, 11, .48), transparent 48%);
}
.hero-copy { opacity: 0; transform: translateY(18px); transition: opacity .55s ease .18s, transform .55s ease .18s; }
.hero-slide.is-active .hero-copy { opacity: 1; transform: translateY(0); }
.carousel-dot {
    background: rgba(255, 255, 255, .45);
    border-radius: 10px;
    height: 4px;
    transition: background-color .2s ease, width .25s ease;
    width: 22px;
}
.carousel-dot.is-active { background: var(--gold-light); width: 42px; }
.carousel-arrow {
    align-items: center;
    background: rgba(91, 11, 22, .67);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    display: flex;
    font-size: 1.1rem;
    height: 44px;
    justify-content: center;
    transition: background-color .2s ease, border-color .2s ease;
    width: 44px;
}
.carousel-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* Reusable visual details */
.page-hero-grid {
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
        radial-gradient(circle at 82% 28%, rgba(241, 212, 119, .28), transparent 27%);
    background-size: 56px 56px, 56px 56px, auto;
    mask-image: linear-gradient(to right, transparent, black 45%);
}
.page-hero {
    background: linear-gradient(115deg, var(--red-deep) 0%, var(--navy) 52%, var(--red-bright) 145%);
}
.image-frame { position: relative; }
.image-frame::after { border: 1px solid rgba(255,255,255,.24); border-radius: .75rem; content: ''; inset: .8rem; pointer-events: none; position: absolute; }
.focus-card { transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.focus-card:hover { border-color: rgba(214,170,51,.68); box-shadow: 0 18px 45px rgba(94,15,26,.12); transform: translateY(-5px); }
.partner-card { transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.partner-card:hover { border-color: rgba(214,170,51,.68); box-shadow: 0 18px 45px rgba(94,15,26,.1); transform: translateY(-4px); }
.category-card { min-height: 205px; transition: transform .25s ease, box-shadow .25s ease; }
.category-card { background: linear-gradient(145deg, var(--red-deep), var(--navy-light)) !important; }
.category-card::before { background: radial-gradient(circle at top right, rgba(241,212,119,.24), transparent 45%); content: ''; inset: 0; position: absolute; }
.category-card:hover { box-shadow: 0 18px 40px rgba(94,15,26,.22); transform: translateY(-4px); }
.category-number { color: rgba(255,255,255,.035); line-height: 1; }
.process-card { transition: background-color .2s ease, border-color .2s ease; }
.process-card:hover { background: rgba(255,255,255,.08); border-color: rgba(214,170,51,.5); }
.cta-panel::after {
    border: 1px solid rgba(91,11,22,.18);
    border-radius: 50%;
    content: '';
    height: 380px;
    position: absolute;
    right: -160px;
    top: -210px;
    width: 380px;
}
.section-space.bg-navy { background: linear-gradient(120deg, var(--red-deep), var(--navy) 58%, #493b93); }
footer.bg-navy { background: linear-gradient(110deg, #19133e, var(--navy) 56%, #3b307c); }
.footer-glow {
    background:
        radial-gradient(circle at 8% 18%, rgba(241,212,119,.14), transparent 28%),
        radial-gradient(circle at 92% 85%, rgba(196,58,63,.2), transparent 30%);
    pointer-events: none;
}
.footer-heading { color: white; font-family: Manrope, ui-sans-serif, system-ui, sans-serif; font-size: .9rem; font-weight: 800; letter-spacing: .04em; }
.footer-links a { transition: color .2s ease, transform .2s ease; }
.footer-links a:hover { color: var(--gold-light); transform: translateX(3px); }
.footer-contact { transition: color .2s ease; }
.footer-contact span { color: var(--gold-light); font-size: .7rem; font-weight: 800; letter-spacing: .1em; margin-right: .35rem; text-transform: uppercase; }
.footer-contact:hover { color: white; }
.to-top:not(.hidden) { display: grid; }

/* Existing inner pages and form components */
.prose-awards p { line-height: 1.8; margin-bottom: 1rem; }
.prose-awards li { line-height: 1.65; margin: .6rem 0; }
.form-step { display: none; }
.form-step.is-active { display: block; }
.field { background: #fff; border: 1px solid #d8c0b5; border-radius: .65rem; color: var(--ink); padding: .75rem .9rem; width: 100%; }
.field:focus { border-color: var(--gold); outline: 3px solid rgba(199,154,56,.25); }
.label { color: var(--ink); display: block; font-weight: 700; margin-bottom: .4rem; }
.required::after { color: #b91c1c; content: ' *'; }

@media (max-width: 767px) {
    .award-hero { min-height: 690px; }
    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(47,7,13,.88), rgba(82,10,20,.50)),
            linear-gradient(0deg, rgba(42,5,11,.56), transparent 60%);
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
    .hero-slide img { transform: none !important; }
}
