/* Miss Earth Australia 2026 — homepage */
/* Fonts are served from this site (no wait for Google Fonts) and the text stays hidden for a moment until the font is
   ready, so a reload or a slow connection never shows a thick fallback font that changes later. The main ones are
   preloaded in the layout (site/layout.php). */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: block; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: block; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: block; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: block; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: block; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: block; src: url("../fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: block; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: block; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }

:root {
    --white: #ffffff;
    --cream: #faf6ee;
    --cream-deep: #f1eadb;
    --sage: #e6eee3;
    --green: #5f7f5a;
    --green-deep: #34503a;
    --gold: #b8923f;
    --gold-soft: #d9bd7c;
    --ink: #2a3326;
    --muted: #6c7567;
    --line: rgba(184, 146, 63, .28);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wrap: 1200px;
    --header-h: 108px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; color: var(--green-deep); }
p { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .75rem;
    font-size: .8rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before, .eyebrow.is-centered::after { content: ""; width: 2.5rem; height: 1px; background: var(--gold); }
.section-title { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-top: .75rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head p { margin-top: 1rem; color: var(--muted); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 52px; padding: 0 2rem;
    font: 500 .85rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
    border: 1px solid transparent; border-radius: 999px; cursor: pointer;
    transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.btn:focus-visible, .nav a:focus-visible, .menu-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn--gold { color: var(--white); background: linear-gradient(135deg, #c9a24d, #a67f2f); box-shadow: 0 10px 24px -10px rgba(166, 127, 47, .7); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(166, 127, 47, .8); }
.btn--outline { color: var(--green-deep); border-color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--green-deep); color: var(--white); border-color: var(--green-deep); }
.btn--light { color: var(--green-deep); background: var(--white); }
.btn--light:hover { transform: translateY(-2px); background: var(--cream); }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50; height: var(--header-h);
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: block; flex: none; }
.brand img { height: 84px; width: auto; }
.nav { display: flex; align-items: center; gap: 2.25rem; }
.nav ul { display: flex; align-items: center; gap: 2.25rem; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) {
    position: relative; padding: .4rem 0; text-decoration: none;
    font-size: .82rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
}
.nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--gold); transform: scaleX(0); transition: transform .3s;
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 0 1.6rem; font-size: .78rem; }
.menu-toggle {
    display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 50%;
    background: var(--white); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--green-deep); transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Video */

/* Hero */
.hero {
    position: relative; overflow: hidden;
    background: linear-gradient(120deg, var(--sage) 0%, var(--cream) 55%, var(--cream-deep) 100%);
}
.hero::before {
    content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -200px;
    border: 1px solid var(--gold-soft); border-radius: 50%; opacity: .45;
}
.hero::after {
    content: ""; position: absolute; width: 420px; height: 420px; left: -160px; bottom: -180px;
    background: radial-gradient(circle, rgba(95, 127, 90, .18), transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 4rem; padding-block: 5.5rem; }
.hero-title { font-size: clamp(3rem, 6.4vw, 5.6rem); margin: 1.25rem 0 .5rem; }
.hero-title em { display: block; font-style: italic; font-weight: 400; color: var(--gold); }
.hero-year { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .3em; color: var(--green); }
.hero-quote {
    margin: 1.75rem 0 2.25rem; padding-left: 1.5rem; max-width: 34rem;
    border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 1.5rem; line-height: 1.45; color: var(--ink);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-photo { position: relative; justify-self: center; width: min(100%, 520px); }
.hero-photo .arch {
    aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; overflow: hidden;
    border: 8px solid var(--white); box-shadow: 0 40px 70px -30px rgba(52, 80, 58, .55);
}
.hero-photo .arch img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 20%; }
.hero-photo::before {
    content: ""; position: absolute; inset: -16px -16px 16px 16px; z-index: -1;
    border: 1px solid var(--gold); border-radius: 999px 999px 24px 24px;
}
.hero-badge {
    position: absolute; left: -1.5rem; bottom: 2.5rem; padding: 1rem 1.4rem; max-width: 220px;
    background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .3);
}
.hero-badge strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--green-deep); line-height: 1.2; }
.hero-badge span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* Introduction */
.intro { padding: 6rem 0; background: var(--white); }
.intro .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4.5rem; align-items: center; }
.intro-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: 0 30px 60px -35px rgba(52, 80, 58, .5); }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.intro-text p { margin-top: 1.25rem; color: var(--muted); }
.intro-text .lead { font-family: var(--serif); font-size: 1.6rem; line-height: 1.45; color: var(--ink); }

/* Advocacy */
.advocacy { padding: 6.5rem 0; background: var(--sage); position: relative; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.5rem; }
.pillar {
    padding: 2.25rem 1.75rem; text-align: center; background: var(--white);
    border: 1px solid var(--line); border-radius: 20px; transition: transform .3s, box-shadow .3s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -28px rgba(52, 80, 58, .5); }
.pillar svg { width: 46px; height: 46px; margin: 0 auto 1.25rem; stroke: var(--gold); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.pillar p { font-size: .95rem; color: var(--muted); line-height: 1.6; }

/* Moments */
.moments { padding: 6.5rem 0; background: var(--cream); }

.moment { position: relative; margin: 0; overflow: hidden; border-radius: 20px; background: var(--cream-deep); }

.moment img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.moment:hover img { transform: scale(1.05); }
.moment figcaption {
    position: absolute; inset: auto 0 0 0; padding: 3rem 1.5rem 1.25rem;
    background: linear-gradient(transparent, rgba(30, 44, 32, .78)); color: var(--white);
    font-family: var(--serif); font-size: 1.4rem; line-height: 1.2;
}
.moment figcaption small { display: block; font: 500 .7rem/1.6 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); }

/* Apply CTA */
.apply { padding: 6rem 0; background: var(--cream); }
.apply-card {
    position: relative; overflow: hidden; text-align: center; padding: 5rem 2rem;
    border-radius: 32px; color: var(--white);
    background: linear-gradient(135deg, #3d5c43, #28402e);
    box-shadow: 0 40px 70px -40px rgba(40, 64, 46, .8);
}
.apply-card::before, .apply-card::after { content: ""; position: absolute; border: 1px solid rgba(217, 189, 124, .35); border-radius: 50%; }
.apply-card::before { width: 420px; height: 420px; right: -120px; top: -160px; }
.apply-card::after { width: 300px; height: 300px; left: -100px; bottom: -140px; }
.apply-card > * { position: relative; z-index: 1; }
.apply-card .eyebrow { color: var(--gold-soft); }
.apply-card .eyebrow::before, .apply-card .eyebrow::after { background: var(--gold-soft); }
.apply-card h2 { color: var(--white); font-size: clamp(2.3rem, 5vw, 3.8rem); margin: .75rem auto 1rem; max-width: 760px; }
.apply-card p { max-width: 560px; margin: 0 auto 2.25rem; color: rgba(255, 255, 255, .82); }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 4rem 0 2rem; }

.footer-nav { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: flex-end; list-style: none; margin: 0; padding: 0; }
.footer-nav a { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.footer-nav a:hover { color: var(--gold); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { transition-duration: .01ms !important; }
}

/* Tablet */
@media (max-width: 960px) {
    .menu-toggle { display: inline-flex; }
    .nav {
        position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 1.25rem;
        padding: 1.5rem; background: var(--white); border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 30px -24px rgba(0, 0, 0, .25); display: none;
    }
    .nav.is-open { display: flex; }
    .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .nav ul a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--cream-deep); }
    .nav a:not(.btn)::after { display: none; }
    .nav .btn { width: 100%; min-height: 52px; }

    .hero .wrap, .intro .wrap { grid-template-columns: 1fr; gap: 3rem; }
    .hero .wrap { padding-block: 3.5rem 4.5rem; }
    .hero-photo { order: -1; width: min(100%, 420px); }
    .hero-text { text-align: center; }
    .hero-text .eyebrow { justify-content: center; }
    .hero-quote { margin-inline: auto; text-align: left; }
    .cta-row { justify-content: center; }
    .hero-badge { left: 0; }
    .intro-photo { max-width: 520px; margin-inline: auto; width: 100%; }
    
    
    
    
    .footer-nav { justify-content: center; }
}

/* Mobile */
@media (max-width: 560px) {
    :root { --header-h: 72px; }
    body { font-size: 1rem; }
    .wrap { width: min(var(--wrap), 100% - 2rem); }
    .brand img { height: 46px; }
    
    
    
    .hero-quote { font-size: 1.25rem; }
    .hero-badge { left: .5rem; bottom: 1rem; padding: .75rem 1rem; }
    .intro, .advocacy, .moments, .apply { padding-block: 4rem; }
    .intro-text .lead { font-size: 1.35rem; }
    
    
    
    .apply-card { padding: 3.5rem 1.5rem; border-radius: 24px; }
    .cta-row .btn, .apply-card .btn { width: 100%; }
}

/* Stargazer Production Australia headline */

.hero-title { font-size: clamp(3.4rem, 7.5vw, 6.6rem); }
.hero-photo .arch { box-shadow: 0 50px 90px -30px rgba(52, 80, 58, .65), 0 0 0 1px var(--gold-soft); }
@media (max-width: 960px) { .brand img { height: 64px; } :root { --header-h: 88px; } }
@media (max-width: 560px) { .brand img { height: 52px; } :root { --header-h: 76px; } }

/* Full-screen video hero */
.video-hero {
    position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: center;
    min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); background: #101a12; color: var(--white);
}
.video-hero__media { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.video-hero__shade {
    position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(ellipse at center, rgba(16, 26, 18, .15), rgba(16, 26, 18, .65) 100%),
        linear-gradient(180deg, rgba(16, 26, 18, .35), rgba(16, 26, 18, .05) 40%, rgba(16, 26, 18, .75));
}
.video-hero__stars i {
    position: absolute; z-index: -1; width: 6px; height: 6px; border-radius: 50%;
    background: #f3dc9a; box-shadow: 0 0 14px 4px rgba(243, 220, 154, .8); opacity: 0; animation: twinkle 4.5s ease-in-out infinite;
}
.video-hero__stars i:nth-child(1) { left: 12%; top: 22%; }
.video-hero__stars i:nth-child(2) { left: 80%; top: 18%; animation-delay: .8s; }
.video-hero__stars i:nth-child(3) { left: 30%; top: 70%; animation-delay: 1.6s; }
.video-hero__stars i:nth-child(4) { left: 68%; top: 64%; animation-delay: 2.4s; }
.video-hero__stars i:nth-child(5) { left: 90%; top: 48%; animation-delay: 3.1s; }
.video-hero__stars i:nth-child(6) { left: 6%; top: 52%; animation-delay: 1.1s; }
.video-hero__stars i:nth-child(7) { left: 52%; top: 12%; animation-delay: 2s; }
.video-hero__stars i:nth-child(8) { left: 44%; top: 82%; animation-delay: 3.6s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1.2); } }
.video-hero__content { position: relative; text-align: center; padding-block: 4rem 6rem; display: flex; flex-direction: column; align-items: center; }
.video-hero .eyebrow { color: var(--gold-soft); }
.video-hero .eyebrow::before, .video-hero .eyebrow::after { background: var(--gold-soft); }

.video-hero .cta-row { justify-content: center; }
.video-hero__sound {
    position: absolute; right: 1.5rem; bottom: 1.5rem; width: 52px; height: 52px; padding: 0; display: grid; place-items: center;
    color: var(--white); background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; backdrop-filter: blur(6px); cursor: pointer; transition: background .25s;
}
.video-hero__sound:hover { background: rgba(255, 255, 255, .3); }
.video-hero__sound:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
.video-hero__sound svg { width: 24px; height: 24px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.video-hero__sound .on { fill: none; display: none; }
.video-hero__sound .off { fill: none; }
.video-hero__sound[aria-pressed="true"] .on { display: inline; }
.video-hero__sound[aria-pressed="true"] .off { display: none; }

@keyframes scrollcue { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .video-hero__stars i { animation: none; } }
@media (max-width: 560px) {
    .video-hero__content { padding-block: 3rem 6rem; }
    .video-hero__sound { right: 1rem; bottom: 1rem; }
    
}

/* Centered-logo header */
:root { --header-h: 128px; }
.site-header .header-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.brand { grid-column: 2; grid-row: 1; justify-self: center; }
.brand img { height: 96px; width: auto; }
.nav { display: contents; }
.nav ul { gap: 2.25rem; }
.nav-left { grid-column: 1; grid-row: 1; justify-content: flex-start; }
.nav-right { grid-column: 3; grid-row: 1; justify-content: flex-end; }
.nav-right .btn { margin-left: .5rem; }
@media (max-width: 1100px) { .nav ul { gap: 1.4rem; } .header-grid { gap: 1rem; } .nav .btn { padding: 0 1.2rem; } }
@media (max-width: 960px) {
    :root { --header-h: 92px; }
    .brand img { height: 68px; }
    .menu-toggle { grid-column: 3; grid-row: 1; justify-self: end; }
    .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; }
    .nav.is-open { display: flex; }
    .nav ul { grid-column: auto; }
    .nav ul a.btn { display: flex; padding: 0 1.6rem; border-bottom: 0; margin: 0; }
    .nav-right li:last-child { margin-top: .5rem; }
}
@media (max-width: 560px) { :root { --header-h: 78px; } .brand img { height: 56px; } }

/* Premium header: top bar + hanging logo tab */
:root { --topbar-h: 40px; --bar-h: 92px; --header-h: calc(var(--topbar-h) + var(--bar-h)); }
.topbar { height: var(--topbar-h); display: grid; place-items: center; background: linear-gradient(90deg, #28402e, #3d5c43 50%, #28402e); color: var(--gold-soft); }
.topbar p { display: flex; align-items: center; gap: .9rem; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.topbar i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-soft); }
.topbar span { font-size: .8rem; color: #f3dc9a; }
.site-header {
    height: var(--bar-h); overflow: visible;
    background: linear-gradient(180deg, #ffffff, #fbf8f1); border-bottom: 0;
    box-shadow: 0 1px 0 var(--gold-soft), 0 12px 30px -18px rgba(40, 64, 46, .5);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-soft) 20%, var(--gold-soft) 80%, transparent); opacity: .7; pointer-events: none; }
.site-header .header-grid { grid-template-columns: 1fr auto 1fr; gap: 2.5rem; align-items: center; }
.brand {
    position: relative; z-index: 3; align-self: start; padding: 12px 30px 14px; background: var(--white);
    border: 1px solid var(--gold-soft); border-top: 0; border-radius: 0 0 34px 34px;
    box-shadow: 0 22px 36px -18px rgba(40, 64, 46, .55);
}
.brand::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(184, 146, 63, .35); border-top: 0; border-radius: 0 0 30px 30px; pointer-events: none; }
.brand img { height: 90px; }
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.nav-right .btn { margin-left: 1rem; }
.nav a:not(.btn) { font-weight: 500; }
@media (max-width: 1100px) { .topbar p { letter-spacing: .14em; } .site-header .header-grid { gap: 1.5rem; } .nav ul { gap: 1.25rem; } }
@media (max-width: 960px) {
    :root { --topbar-h: 0px; --bar-h: 76px; }
    .topbar { display: none; }
    .brand { padding: 8px 20px 10px; border-radius: 0 0 24px 24px; }
    .brand::before { border-radius: 0 0 20px 20px; }
    .brand img { height: 58px; }
    .nav { top: var(--bar-h); }
    .nav-right .btn { margin-left: 0; }
}

/* Logo sits inside the header (no overhang) */
:root { --bar-h: 112px; }
.site-header { background: var(--white); }
.brand { align-self: center; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.brand::before { display: none; }
.brand img { height: 88px; }
@media (max-width: 960px) { :root { --bar-h: 80px; } .brand img { height: 62px; } }

/* Logo in a framed box, centered on the same axis as the nav */
.site-header .header-grid { align-items: center; }
.brand {
    display: grid; place-items: center; padding: 8px 26px; background: var(--white);
    border: 1px solid var(--gold); border-radius: 16px;
    box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--gold-soft), 0 14px 26px -14px rgba(40, 64, 46, .55);
}
.brand img { height: 70px; }
.nav ul { align-items: center; }
.nav a:not(.btn) { display: inline-flex; align-items: center; height: 44px; padding: 0; }
.nav a:not(.btn)::after { bottom: 6px; }
.nav .btn { min-height: 44px; }
@media (max-width: 960px) {
    .brand { padding: 6px 18px; border-radius: 12px; box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--gold-soft); }
    .brand img { height: 48px; }
    .nav ul { align-items: stretch; }
    .nav ul a:not(.btn) { display: block; height: auto; padding: .9rem 0; }
}

/* One-row, bigger header */
:root { --topbar-h: 0px; --bar-h: 136px; }
.topbar { display: none; }
.site-header .wrap.header-grid { width: min(1440px, 100% - 4rem); gap: 2.5rem; }
.brand { padding: 10px 34px; border-radius: 18px; }
.brand img { height: 96px; }
.nav a:not(.btn) { font-size: .98rem; letter-spacing: .2em; height: 52px; }
.nav a:not(.btn)::after { bottom: 8px; height: 2px; }
.nav ul { gap: 2.75rem; }
.nav .btn, .nav-right .btn { min-height: 56px; padding: 0 2.4rem; font-size: .9rem; }
@media (max-width: 1280px) { .nav ul { gap: 1.8rem; } .nav a:not(.btn) { font-size: .88rem; letter-spacing: .16em; } .nav .btn { padding: 0 1.6rem; } }
@media (max-width: 1100px) { .site-header .wrap.header-grid { gap: 1rem; } .nav ul { gap: 1.1rem; } .nav a:not(.btn) { font-size: .8rem; letter-spacing: .1em; } .brand { padding: 8px 20px; } .brand img { height: 78px; } }
@media (max-width: 960px) {
    :root { --bar-h: 88px; }
    .site-header .wrap.header-grid { width: min(var(--wrap), 100% - 2rem); }
    .brand { padding: 6px 18px; border-radius: 12px; }
    .brand img { height: 56px; }
    .nav a:not(.btn) { font-size: .9rem; }
    .nav .btn, .nav-right .btn { min-height: 52px; }
}
@media (max-width: 560px) { :root { --bar-h: 76px; } .brand img { height: 46px; } }

/* Green header: no logo box, nav spread to fill the row */
:root { --bar-h: 120px; }
.site-header {
    background: linear-gradient(180deg, #2e4a35, #223a28); border-bottom: 0;
    box-shadow: 0 1px 0 var(--gold), 0 14px 30px -16px rgba(0, 0, 0, .55);
}
.site-header::after { bottom: 5px; background: linear-gradient(90deg, transparent, var(--gold-soft) 15%, var(--gold-soft) 85%, transparent); opacity: .55; }
.site-header .wrap.header-grid { width: min(1440px, 100% - 3rem); gap: 1.5rem; }
.brand { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.brand img { height: 92px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.nav ul { gap: 0; }
.nav-left, .nav-right { justify-content: space-evenly; width: 100%; }
.nav-left li, .nav-right li { display: flex; }
.nav a:not(.btn) { color: #f7f1e1; }
.nav a:not(.btn)::after { background: var(--gold-soft); }
.nav a:not(.btn):hover { color: var(--gold-soft); }
.nav a[aria-current="page"] { color: var(--gold-soft); }
.nav-right .btn { margin-left: 0; box-shadow: 0 0 0 1px rgba(243, 220, 154, .6), 0 10px 24px -8px rgba(0, 0, 0, .6); }
@media (max-width: 1100px) { .brand img { height: 74px; } }
@media (max-width: 960px) {
    :root { --bar-h: 84px; }
    .brand img { height: 56px; }
    .nav { background: #223a28; border-bottom: 1px solid var(--gold); }
    .nav ul { align-items: stretch; width: 100%; }
    .nav-left, .nav-right { display: flex; flex-direction: column; width: auto; }
    .nav-left li, .nav-right li { display: block; }
    .nav ul a:not(.btn) { border-bottom: 1px solid rgba(243, 220, 154, .2); color: #f7f1e1; }
    .menu-toggle { background: transparent; border-color: rgba(243, 220, 154, .7); }
    .menu-toggle span { background: var(--gold-soft); }
}
@media (max-width: 560px) { :root { --bar-h: 72px; } .brand img { height: 46px; } }

/* Lighter green, logo on the left, nav in one line */
.site-header {
    background: linear-gradient(180deg, #6f9a6b, #5c8859);
    box-shadow: 0 1px 0 var(--gold-soft), 0 14px 30px -16px rgba(40, 64, 46, .5);
}
.site-header::after { display: none; }
.site-header .wrap.header-grid { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { grid-column: auto; justify-self: auto; margin-right: auto; }
.nav a:not(.btn) { text-shadow: 0 1px 6px rgba(30, 50, 32, .35); }
@media (min-width: 961px) {
    .nav { display: flex; align-items: center; gap: 2.75rem; }
    .nav ul { display: flex; align-items: center; gap: 2.75rem; width: auto; justify-content: flex-start; }
    .nav-left, .nav-right { width: auto; justify-content: flex-start; }
    .nav-right .btn { margin-left: .5rem; }
}
@media (max-width: 1180px) and (min-width: 961px) { .nav, .nav ul { gap: 1.6rem; } .nav a:not(.btn) { font-size: .82rem; letter-spacing: .14em; } .nav .btn { padding: 0 1.5rem; } }
@media (max-width: 960px) {
    .nav { background: #5c8859; border-bottom: 1px solid var(--gold-soft); }
    .brand { margin-right: 0; }
}
@media (min-width: 961px) { :root { --bar-h: 128px; } .brand img { height: 102px; } }

/* Elegant white header in the site theme (cream / sage / gold) */
.site-header {
    background: var(--white);
    box-shadow: 0 1px 0 var(--gold-soft), 0 16px 34px -22px rgba(52, 80, 58, .45);
}
.site-header::after { display: block; content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--sage), var(--gold-soft) 50%, var(--sage)); }
.brand img { filter: none; }
.nav a:not(.btn) { color: var(--green-deep); text-shadow: none; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav a:not(.btn)::after { background: var(--gold); }
.nav-right .btn, .nav .btn { box-shadow: 0 10px 24px -10px rgba(166, 127, 47, .75); }
@media (max-width: 960px) {
    .nav { background: var(--white); border-bottom: 1px solid var(--gold-soft); }
    .nav ul a:not(.btn) { color: var(--green-deep); border-bottom: 1px solid var(--cream-deep); }
    .menu-toggle { background: var(--cream); border-color: var(--gold-soft); }
    .menu-toggle span { background: var(--green-deep); }
}

/* Slimmer header + green top bar */
:root { --topbar-h: 38px; --bar-h: 88px; --header-h: calc(var(--topbar-h) + var(--bar-h)); }
.topbar { display: grid; }
.topbar p { font-size: .7rem; }
.site-header .wrap.header-grid { gap: 1.5rem; }
@media (min-width: 961px) { :root { --bar-h: 88px; } .brand img { height: 68px; } .nav a:not(.btn) { height: 44px; } .nav .btn, .nav-right .btn { min-height: 48px; padding: 0 2rem; font-size: .82rem; } }
@media (max-width: 960px) { :root { --topbar-h: 34px; --bar-h: 72px; } .topbar { display: grid; } .topbar p { letter-spacing: .12em; font-size: .62rem; gap: .6rem; } .brand img { height: 52px; } .nav { top: var(--bar-h); } }
@media (max-width: 600px) { :root { --topbar-h: 0px; --bar-h: 68px; } .topbar { display: none; } .brand img { height: 46px; } }

/* Clearer, larger logo */
@media (min-width: 961px) { :root { --bar-h: 104px; } .brand img { height: 88px; image-rendering: -webkit-optimize-contrast; } }
@media (max-width: 960px) { :root { --bar-h: 80px; } .brand img { height: 64px; } }
@media (max-width: 600px) { :root { --bar-h: 76px; } .brand img { height: 58px; } }
/* HD logo is trimmed of margins, so it can fill the bar */
@media (min-width: 961px) { :root { --bar-h: 108px; } .brand img { height: 90px; } }

/* Bigger logo for legibility */
@media (min-width: 961px) { :root { --bar-h: 122px; } .brand img { height: 104px; } }
@media (max-width: 960px) { :root { --bar-h: 84px; } .brand img { height: 68px; } }
@media (max-width: 600px) { :root { --bar-h: 78px; } .brand img { height: 62px; } }

/* Wordmark header (slim) + logo in the video hero */
:root { --bar-h: 76px; }
.site-header .brand { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; text-decoration: none; line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 2.15rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); }
.brand__sub { display: flex; align-items: center; gap: .6rem; font-size: .62rem; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); }
.brand__sub i { flex: 1; min-width: 14px; height: 1px; background: var(--gold-soft); }
.brand__sub i:first-child { display: none; }

.video-hero__content { padding-block: 3rem 5.5rem; }

@media (min-width: 961px) { :root { --bar-h: 76px; } .nav .btn, .nav-right .btn { min-height: 46px; } .nav a:not(.btn) { height: 44px; } }
@media (max-width: 960px) { :root { --bar-h: 70px; } .brand__name { font-size: 1.7rem; } .brand__sub { font-size: .55rem; letter-spacing: .34em; } .nav { top: var(--bar-h); } }
@media (max-width: 600px) { :root { --bar-h: 66px; } .brand__name { font-size: 1.45rem; letter-spacing: .1em; } .brand__sub { font-size: .5rem; letter-spacing: .28em; }  }

/* Original logo (JPG, unmodified) as the main identifier */
.site-header .brand { display: block; }
.site-header .brand img { display: block; height: 80px; width: auto; filter: none; }

@media (min-width: 961px) { :root { --bar-h: 100px; } }
@media (max-width: 960px) { :root { --bar-h: 76px; } .site-header .brand img { height: 58px; } }
@media (max-width: 600px) { :root { --bar-h: 70px; } .site-header .brand img { height: 52px; }   }

/* Header and hero share one container; larger logo in the header */
:root { --wrap: 1280px; }
.site-header .wrap.header-grid { width: min(var(--wrap), 100% - 3rem); }
@media (min-width: 961px) { :root { --bar-h: 112px; } .site-header .brand img { height: 92px; } }
@media (max-width: 960px) { .site-header .brand img { height: 60px; } }

/* Logo box in the video hero (original logo, unmodified) */

.video-hero__content { padding-block: 2.5rem 5.5rem; }

/* Boxed logo lives in the header */

@media (min-width: 961px) { :root { --bar-h: 144px; } }
@media (max-width: 960px) { :root { --bar-h: 92px; }   }
@media (max-width: 600px) { :root { --bar-h: 84px; }  }
.video-hero__content { padding-block: 3.5rem 6rem; }

/* Compact header: framed logo, ornamental line, pill navigation */

@media (min-width: 961px) {
    :root { --bar-h: 120px; }
    .site-header .wrap.header-grid { display: flex; align-items: center; gap: 1.75rem; }
    .brand { margin-right: 0; flex: none; }
    
    
    
    
    .nav { flex: none; display: flex; align-items: center; gap: .25rem; padding: 7px 7px 7px 12px; background: var(--cream); border: 1px solid var(--gold-soft); border-radius: 999px; box-shadow: inset 0 0 0 3px #fff; }
    .nav ul { gap: .1rem; }
    .nav a:not(.btn) { height: 44px; padding: 0 1.15rem; border-radius: 999px; font-size: .8rem; letter-spacing: .16em; transition: background .25s, color .25s; }
    .nav a:not(.btn)::after { display: none; }
    .nav a:not(.btn):hover { background: var(--sage); color: var(--green-deep); }
    .nav a[aria-current="page"] { background: var(--sage); color: var(--green-deep); }
    .nav-right .btn { margin-left: .4rem; min-height: 44px; padding: 0 1.7rem; font-size: .78rem; box-shadow: 0 8px 18px -8px rgba(166, 127, 47, .8); }
}
@media (min-width: 961px) and (max-width: 1180px) {  .nav a:not(.btn) { padding: 0 .75rem; font-size: .72rem; letter-spacing: .1em; } .nav-right .btn { padding: 0 1.2rem; } }

@media (max-width: 960px) { :root { --bar-h: 92px; }   }
@media (max-width: 600px) { :root { --bar-h: 84px; }  }

/* Header event card fills the gap; box gets breathing room */

@media (min-width: 1040px) {
    :root { --bar-h: 128px; }
    
    
    
    
    
    
    
    
    
    
    
    
    
}
@keyframes livepulse { 70% { box-shadow: 0 0 0 8px rgba(95, 159, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 159, 91, 0); } }

@media (min-width: 961px) and (max-width: 1039px) { :root { --bar-h: 124px; } }

/* Smaller logo box, everything on one centre line */
@media (min-width: 961px) { :root { --bar-h: 108px; } }
@media (min-width: 1040px) { :root { --bar-h: 108px; }  }

.site-header .wrap.header-grid { align-items: center; }

/* Plain logo (no box), larger and clearer */

@media (min-width: 961px) { :root { --bar-h: 112px; } }

/* Text title in the header gap */

/* Text-only brand */

.site-header .brand--text { display: flex; align-items: center; gap: .85rem; text-decoration: none; margin-right: auto; }

.brand__words { display: flex; flex-direction: column; gap: .3rem; line-height: 1; }
.site-header .brand--text .brand__name { font-family: var(--serif); font-weight: 700; font-size: 2.2rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green-deep); }
.site-header .brand--text .brand__sub { display: block; font-family: var(--sans); font-weight: 500; font-size: .7rem; letter-spacing: .5em; text-transform: uppercase; color: var(--gold); padding-left: .1rem; }
@media (min-width: 961px) { :root { --bar-h: 92px; } }
@media (max-width: 960px) { :root { --bar-h: 72px; }  .site-header .brand--text .brand__name { font-size: 1.6rem; } .site-header .brand--text .brand__sub { font-size: .56rem; letter-spacing: .38em; } }
@media (max-width: 600px) { :root { --bar-h: 68px; }  .site-header .brand--text .brand__name { font-size: 1.35rem; letter-spacing: .12em; } .site-header .brand--text .brand__sub { font-size: .5rem; letter-spacing: .42em; } }
.site-header .brand.brand--text { flex-direction: row; align-items: center; gap: .85rem; }
.site-header .brand--text .brand__sub { gap: 0; }
.site-header .brand--text .brand__sub i { display: none; }

/* Plain navigation again: spaced links, gold underline on the active page, standalone Apply Now */
@media (min-width: 961px) {
    .nav { padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; gap: 2.4rem; }
    .nav ul { gap: 2.4rem; }
    .nav a:not(.btn) { position: relative; height: 44px; padding: 0; border-radius: 0; background: none !important; font-size: .9rem; letter-spacing: .2em; color: var(--green-deep); }
    .nav a:not(.btn)::after { display: block; content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s; }
    .nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--gold); }
    .nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
    .nav-right .btn { margin-left: .4rem; min-height: 48px; padding: 0 2rem; font-size: .82rem; }
}
@media (min-width: 961px) and (max-width: 1180px) { .nav, .nav ul { gap: 1.4rem; } .nav a:not(.btn) { font-size: .78rem; letter-spacing: .14em; } .nav-right .btn { padding: 0 1.4rem; } }

/* Brand: no star, bolder lettering, shorter header, aligned with the nav */

@media (min-width: 961px) { :root { --bar-h: 76px; } }
.site-header .brand--text { gap: 0; }
.brand__words { gap: .22rem; }
.site-header .brand--text .brand__name { font-weight: 700; font-size: 2rem; letter-spacing: .14em; -webkit-text-stroke: .6px var(--green-deep); }
.site-header .brand--text .brand__sub { font-weight: 600; font-size: .68rem; letter-spacing: .42em; }
@media (max-width: 960px) { :root { --bar-h: 68px; } .site-header .brand--text .brand__name { font-size: 1.5rem; } .site-header .brand--text .brand__sub { font-size: .55rem; letter-spacing: .32em; } }
@media (max-width: 600px) { :root { --bar-h: 64px; } .site-header .brand--text .brand__name { font-size: 1.3rem; } .site-header .brand--text .brand__sub { font-size: .48rem; letter-spacing: .26em; } }

/* Refined brand lockup: light stroke-free serif over a justified sans line, centred with the nav */
.site-header .brand--text { align-self: center; }
.brand__words { display: inline-flex; flex-direction: column; align-items: stretch; gap: .38rem; line-height: 1; }
.site-header .brand--text .brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.95rem; letter-spacing: .2em; margin-right: -.2em; -webkit-text-stroke: 0; color: var(--green-deep); line-height: .9; }
.site-header .brand--text .brand__sub { font-family: var(--sans); font-weight: 500; font-size: .62rem; letter-spacing: .52em; text-align: justify; text-align-last: justify; word-spacing: 0; color: var(--gold); padding: 0; line-height: 1; }
@media (min-width: 961px) { :root { --bar-h: 80px; } }
@media (max-width: 960px) { .site-header .brand--text .brand__name { font-size: 1.45rem; } .site-header .brand--text .brand__sub { font-size: .5rem; letter-spacing: .42em; } }
@media (max-width: 600px) { .site-header .brand--text .brand__name { font-size: 1.25rem; } .site-header .brand--text .brand__sub { font-size: .44rem; letter-spacing: .38em; } }

/* Brand lockup v3: even tracking, both lines exactly the same width */
.site-header .brand--text .brand__name { letter-spacing: .14em; margin-right: -.14em; }
.site-header .brand--text .brand__sub { text-align: left; text-align-last: left; word-spacing: 0; font-size: .74rem; letter-spacing: .367em; margin-right: -.367em; }
@media (max-width: 960px) { .site-header .brand--text .brand__sub { font-size: .6rem; letter-spacing: .283em; margin-right: -.283em; } }
@media (max-width: 600px) { .site-header .brand--text .brand__sub { font-size: .52rem; letter-spacing: .279em; margin-right: -.279em; } }
.site-header .brand--text .brand__sub { padding-left: 1.5px; }
.site-header .brand--text .brand__sub { padding-left: 0; }

/* Menu button: three equal, crisp 2px lines */
.menu-toggle { gap: 5px; }
.menu-toggle span { flex: none; width: 20px; height: 2px; border-radius: 2px; transform-origin: center; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Portrait photo in the hero arch: keep the crown and face in frame */
.hero-photo .arch img { object-position: 50% 14%; }

/* No photo behind the video: a deep green backdrop shows until the video plays */
.video-hero { background: radial-gradient(ellipse at 50% 30%, #2f4a35, #142019 75%); }

/* Video framing: trim the empty space above the logo. Change --video-focus to nudge it (0% = show the top of the video, 100% = show the bottom) */
.video-hero { --video-focus: 50% 54%; }
.video-hero__media { object-position: var(--video-focus); }
@media (max-width: 960px) { .video-hero { --video-focus: 50% 50%; } }

/* Show the whole video on wide screens: the section takes the video's own 16:9 shape, so nothing is cropped */
@media (min-width: 961px) {
    .video-hero { min-height: 0; aspect-ratio: 16 / 9; }
    .video-hero__media { object-fit: cover; object-position: 50% 50%; }
}

/* Normal height, whole video visible: the video is fitted inside the screen-height section (soft-faded side edges instead of cropping) */
@media (min-width: 961px) {
    .video-hero { aspect-ratio: auto; height: calc(100svh - var(--header-h)); min-height: 440px; max-height: 860px; }
    .video-hero__media {
        object-fit: contain; object-position: 50% 50%;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    }
}

/* Full-width video at normal height: edge to edge, framed on the middle of the picture, with a soft vignette and a gold base line */
@media (min-width: 961px) {
    .video-hero { aspect-ratio: auto; height: calc(100svh - var(--header-h)); min-height: 520px; max-height: 900px; }
    .video-hero__media { object-fit: cover; object-position: 50% 40%; -webkit-mask-image: none; mask-image: none; }
}
.video-hero__shade {
    background:
        radial-gradient(ellipse at 50% 45%, rgba(14, 24, 16, 0) 45%, rgba(14, 24, 16, .5) 100%),
        linear-gradient(180deg, rgba(14, 24, 16, .35) 0, rgba(14, 24, 16, 0) 22%, rgba(14, 24, 16, 0) 70%, rgba(14, 24, 16, .55) 100%);
}
.video-hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 1;
    background: linear-gradient(90deg, transparent, var(--gold-soft) 20%, #f6e3a8 50%, var(--gold-soft) 80%, transparent);
}

/* The queens section: wide group photo + list of titleholders */
.intro .wrap { grid-template-columns: 1.15fr 1fr; gap: 4rem; }
.intro-photo { aspect-ratio: 1130 / 721; border-radius: 24px; box-shadow: 0 30px 60px -35px rgba(52, 80, 58, .55), 0 0 0 1px var(--gold-soft); }
.intro-photo img { object-position: 50% 30%; }
.intro-text .lead { margin-top: 1rem; }
.queens { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.queens li { display: grid; grid-template-columns: 4.2rem 1fr; grid-template-rows: auto auto; column-gap: 1rem; align-items: center; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.queens__year { grid-row: 1 / 3; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: var(--gold); line-height: 1; }
.queens__name { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.15; color: var(--green-deep); }
.queens__title { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.queens .is-current .queens__title { color: var(--gold); }
.queens .is-current { background: linear-gradient(90deg, var(--sage), transparent); margin-inline: -1rem; padding-inline: 1rem; border-radius: 12px; }

@media (max-width: 960px) { .intro .wrap { grid-template-columns: 1fr; gap: 2.5rem; } .intro-photo { max-width: 640px; } }
@media (max-width: 560px) { .queens__year { font-size: 1.5rem; } .queens li { grid-template-columns: 3.4rem 1fr; } .queens__name { font-size: 1.35rem; } }
@media (max-width: 560px) { .queens .is-current { margin-inline: 0; padding-inline: .75rem; } }

/* Queens section: one-line heading, tighter spacing */
.intro { padding-block: 4.5rem; }
.intro .wrap { gap: 3.5rem; align-items: center; }
.intro-text .section-title { font-size: clamp(1.9rem, 3.1vw, 2.9rem); white-space: nowrap; margin-top: .5rem; }
.intro-text .lead { font-size: 1.45rem; margin-top: .9rem; }
.queens { margin-top: 1.5rem; }
@media (max-width: 560px) { .intro { padding-block: 3rem; } .intro-text .section-title { white-space: normal; font-size: 2rem; } }

/* Miss Eco / Miss International queens */
.queens-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.queens-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 50px -36px rgba(52, 80, 58, .5); transition: transform .35s, box-shadow .35s; }
.queens-card:hover { transform: translateY(-6px); box-shadow: 0 36px 56px -34px rgba(52, 80, 58, .6); }
.queens-card figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--cream-deep); }
.queens-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .8s; }
.queens-card:hover img { transform: scale(1.04); }
.queens-card__body { padding: 1.75rem 2rem 2rem; border-top: 3px solid var(--gold-soft); }
.queens-card__tag { display: block; margin-bottom: .6rem; font-size: .72rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.queens-card h3 { font-size: 1.9rem; margin-bottom: .6rem; }
.queens-card p { color: var(--muted); font-size: 1rem; line-height: 1.65; }
@media (max-width: 760px) { .queens-pair { grid-template-columns: 1fr; gap: 1.5rem; } .queens-card__body { padding: 1.4rem 1.4rem 1.6rem; } .queens-card h3 { font-size: 1.6rem; } }

/* Tighter spacing before the apply banner */
.moments { padding-bottom: 3rem; }
.apply { padding-block: 0 4.5rem; }
.apply-card { padding: 4rem 2rem; }
.apply-card p { max-width: 600px; }

/* Simple one-row footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 0; }
.footer-bar { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; padding-block: 1rem; }

.footer-copy { margin: 0; font-size: .85rem; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0 0 0 auto; padding: 0; list-style: none; justify-content: flex-end; }
.footer-nav a { font-size: .85rem; letter-spacing: .04em; text-transform: none; color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--gold); text-decoration: underline; }
@media (max-width: 760px) { .footer-bar { flex-direction: column; align-items: flex-start; gap: .9rem; padding-block: 1.5rem; } .footer-nav { margin: 0; justify-content: flex-start; } }

/* Mobile / tablet: the whole video sits at the top at full width (nothing cropped, nothing off-centre) and the page continues right under it */
@media (max-width: 960px) {
    .video-hero { display: block; min-height: 0; height: auto; max-height: none; aspect-ratio: auto; background: #000; }
    .video-hero__media { position: relative; inset: auto; z-index: 0; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 50%; }
    .video-hero__shade,.video-hero__stars { display: none; }
    .video-hero__content { padding-block: 0; } /* only the hidden heading is in it: no empty black band under the video */
    .video-hero__sound { top: calc(100vw * 9 / 16 - 3.75rem); bottom: auto; right: 1rem; width: 44px; height: 44px; }
}

/* ---------- About page ---------- */
.about-hero { padding: 4.5rem 0 5rem; background: linear-gradient(120deg, var(--sage) 0%, var(--cream) 60%, var(--cream-deep) 100%); position: relative; overflow: hidden; }
.about-hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -240px; border: 1px solid var(--gold-soft); border-radius: 50%; opacity: .45; }
.about-hero .wrap { position: relative; }
.about-hero__head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.about-hero__head h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); margin-top: .75rem; }
.about-hero__head p { margin-top: 1.1rem; font-family: var(--serif); font-size: 1.45rem; line-height: 1.45; color: var(--muted); }
.about-photo { position: relative; margin: 0 auto; max-width: 1080px; }
.about-photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold); border-radius: 26px; z-index: 0; }
.about-photo img { position: relative; z-index: 1; width: 100%; height: auto; border-radius: 24px; border: 6px solid var(--white); box-shadow: 0 40px 70px -35px rgba(52, 80, 58, .6); }

.about-story { padding: 6rem 0; background: var(--white); }
.about-story__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4.5rem; align-items: start; }
.about-story__text .section-title { margin-bottom: 1.25rem; }
.about-story__text p { margin-top: 1.1rem; color: var(--muted); }
.about-story__text strong { color: var(--green-deep); font-weight: 500; }
.about-facts { padding: .5rem 2rem; background: var(--cream); border: 1px solid var(--line); border-radius: 22px; box-shadow: inset 0 0 0 4px var(--white); }
.about-fact { padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.about-fact:last-child { border-bottom: 0; }
.about-fact span { display: block; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.about-fact strong { display: block; margin-top: .3rem; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.2; color: var(--green-deep); }

.about-pageants { padding: 6rem 0; background: var(--white); }
.pageant-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.pageant-list li { padding: 2rem 1.75rem; background: var(--cream); border: 1px solid var(--line); border-radius: 20px; transition: transform .3s, box-shadow .3s; }
.pageant-list li:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -28px rgba(52, 80, 58, .5); }
.pageant-list__no { display: block; margin-bottom: .75rem; font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--gold); }
.pageant-list h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.pageant-list p { font-size: .98rem; color: var(--muted); line-height: 1.65; }

@media (max-width: 960px) {
    .about-story__grid, .pageant-list { grid-template-columns: 1fr; }
    .about-story__grid { gap: 2.5rem; }
    .about-story, .about-pageants { padding-block: 4rem; }
    .about-hero { padding: 3rem 0 4rem; }
}
@media (max-width: 560px) {
    
    
    .about-hero__head p { font-size: 1.2rem; }
    .about-photo::before { inset: 8px -8px -8px 8px; }
}

/* About: partner / contact banner */
.about-connect { padding: 0 0 5rem; background: var(--white); }
.connect-card { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; padding: 3rem 3.25rem; background: linear-gradient(120deg, var(--sage), var(--cream)); border: 1px solid var(--line); border-radius: 28px; box-shadow: inset 0 0 0 4px var(--white); }
.connect-card__text { max-width: 640px; }
.connect-card h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin: .6rem 0 .8rem; }
.connect-card p { color: var(--muted); }
.connect-card__actions { display: flex; flex: none; flex-wrap: wrap; gap: 1rem; justify-content: flex-end; }
@media (max-width: 960px) { .connect-card { flex-direction: column; align-items: flex-start; padding: 2.25rem 1.75rem; } .connect-card__actions { justify-content: flex-start; } .about-connect { padding-bottom: 3.5rem; } }
@media (max-width: 560px) { .connect-card__actions, .connect-card__actions .btn { width: 100%; } }

/* About: values as a split list (different from the homepage cards), six pageants on cream */
.about-values { padding: 6rem 0; background: var(--white); }
.about-values__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
.about-values__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.about-values__intro p { margin-top: 1.1rem; color: var(--muted); max-width: 26rem; }
.value-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.value-list li { display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem; align-items: start; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.value-list__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--cream); border: 1px solid var(--gold-soft); }
.value-list__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.value-list h3 { font-size: 1.8rem; margin-bottom: .4rem; }
.value-list p { color: var(--muted); }

.about-pageants { background: var(--cream); }
.pageant-list li { background: var(--white); border-left: 3px solid var(--gold-soft); }
.pageant-list h3 { font-size: 1.5rem; line-height: 1.2; }
.about-connect { background: var(--cream); padding-top: 0; }
@media (max-width: 960px) {
    .about-values { padding-block: 4rem; }
    .about-values__grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-values__intro { position: static; }
}
@media (min-width: 961px) and (max-width: 1100px) { .pageant-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value-list li { grid-template-columns: 52px 1fr; gap: 1rem; } .value-list__icon { width: 52px; height: 52px; } .value-list h3 { font-size: 1.55rem; } }

/* Pageantry drop-down */
.has-dropdown { position: relative; }
.nav .has-dropdown > a { display: inline-flex; align-items: center; gap: .45rem; }
.caret { width: 10px; height: 7px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.ext { width: 11px; height: 11px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
@media (min-width: 961px) {
    .nav .dropdown {
        position: absolute; top: 100%; left: 50%; z-index: 60; min-width: 260px; display: block; margin: 0; padding: .5rem; list-style: none;
        background: var(--white); border: 1px solid var(--gold-soft); border-radius: 16px; box-shadow: 0 24px 40px -18px rgba(40, 64, 46, .45);
        opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s, visibility .2s;
    }
    .nav .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
    .has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown, .has-dropdown.is-open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
    .has-dropdown:hover .caret, .has-dropdown:focus-within .caret, .has-dropdown.is-open .caret { transform: rotate(180deg); }
    .nav .dropdown li { display: block; }
    .nav .dropdown a:not(.btn) {
        display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: auto; padding: .8rem 1rem; border-radius: 10px;
        font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--green-deep);
    }
    .nav .dropdown a:not(.btn)::after { display: none; }
    .nav .dropdown a:not(.btn):hover, .nav .dropdown a:not(.btn):focus-visible { background: var(--sage); color: var(--green-deep); }
}
@media (max-width: 960px) {
    .nav .dropdown { display: block; margin: 0; padding: 0 0 .4rem 1rem; list-style: none; }
    .nav .dropdown a:not(.btn) { display: flex; align-items: center; gap: .5rem; padding: .7rem 0; border-bottom: 0; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
    .nav .has-dropdown > a .caret { display: none; }
}

/* ---------- Mrs of Australia: titleholders ---------- */
.about-hero--plain { padding-block: 5rem 4.5rem; }
.about-hero--plain .about-hero__head { margin-bottom: 0; }
.titleholders { padding: 5.5rem 0 6rem; background: var(--white); }
.titleholders .section-head { margin-bottom: 2.25rem; }
.year-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-bottom: 1rem; min-height: 46px; }
.year-filter__btn {
    min-width: 96px; min-height: 46px; padding: 0 1.6rem; font: 500 .9rem/1 var(--sans); letter-spacing: .2em; color: var(--green-deep); background: var(--cream);
    border: 1px solid var(--gold-soft); border-radius: 999px; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.year-filter__btn:hover { background: var(--sage); }
.year-filter__btn[aria-pressed="true"] { color: var(--white); background: var(--green-deep); border-color: var(--green-deep); }
.year-filter__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.holder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.75rem; }
.holder-card { display: flex; flex-direction: column; overflow: hidden; background: var(--cream); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 28px 46px -36px rgba(52, 80, 58, .55); transition: transform .35s, box-shadow .35s; }
.holder-card:hover { transform: translateY(-6px); box-shadow: 0 34px 50px -34px rgba(52, 80, 58, .65); }
.holder-card__photo { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: linear-gradient(160deg, var(--sage), var(--cream-deep)); }
.holder-card__photo img { position: absolute; top: 0; left: 0; width: 100%; height: 108%; object-fit: cover; object-position: 50% 0; transition: transform .8s; }
.holder-card:hover .holder-card__photo img { transform: scale(1.04); }
.holder-card__initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 4rem; font-weight: 500; letter-spacing: .06em; color: var(--gold); }
.holder-card__body { flex: 1; padding: 1.2rem 1.25rem 1.5rem; text-align: center; border-top: 3px solid var(--gold-soft); background: var(--white); }
.holder-card__body h3 { font-size: 1.45rem; line-height: 1.2; }
.holder-card__title { margin-top: .55rem; font-size: .72rem; line-height: 1.55; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.holder-card__bio { margin-top: .75rem; font-size: .92rem; line-height: 1.6; color: var(--muted); }

.holder-empty { padding: 2.5rem 1rem; text-align: center; font-family: var(--serif); font-size: 1.4rem; color: var(--muted); }

@media (max-width: 960px) { .titleholders { padding-block: 4rem; } .about-hero--plain { padding-block: 3.5rem 3rem; } }
@media (max-width: 560px) { .holder-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } .holder-card__body { padding: 1rem .75rem 1.2rem; } .holder-card__body h3 { font-size: 1.2rem; } .holder-card__title { font-size: .62rem; letter-spacing: .1em; } .holder-card__initials { font-size: 2.8rem; } .year-filter__btn { min-width: 84px; } }
/* titleholder cards: centred rows, so the last row is never left-aligned and lonely */
.holder-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.75rem; }
.holder-card { flex: 0 1 calc((100% - 3 * 1.75rem) / 4); min-width: 0; }
@media (max-width: 1100px) { .holder-card { flex-basis: calc((100% - 1.75rem) / 2); } }
@media (max-width: 560px) { .holder-grid { gap: 1rem; } .holder-card { flex-basis: calc((100% - 1rem) / 2); } }

/* ---------- Performance: lighter painting while scrolling ---------- */
.site-header { backdrop-filter: none; }
.holder-card { box-shadow: 0 10px 22px -18px rgba(52, 80, 58, .5); transition: transform .25s; }
.holder-card:hover { transform: translateY(-4px); box-shadow: 0 10px 22px -18px rgba(52, 80, 58, .5); }
.holder-card:hover .holder-card__photo img { transform: none; }
.holder-card__photo img { transition: opacity .35s; }
/* sections below the fold are not painted until they come near the screen */
.about-story, .about-values, .about-pageants, .about-connect, .moments, .advocacy { content-visibility: auto; contain-intrinsic-size: auto 760px; }
/* the video and the sparkles pause while the hero is off screen (see site.js) */
.video-hero.is-offscreen .video-hero__stars i { animation-play-state: paused; }

/* ---------- Skeleton placeholders (shown while the titleholders load) ---------- */
.skel { background: #e9ece6; border-radius: 10px; }
.holder-card--skeleton { position: relative; overflow: hidden; }
.holder-card--skeleton { box-shadow: none; border-color: #e4e8e0; background: var(--white); }
.holder-card--skeleton:hover { transform: none; }
.skel-photo { aspect-ratio: 3 / 4; border-radius: 0; background: #eceee9; }
.holder-card--skeleton .holder-card__body { display: flex; flex-direction: column; align-items: center; gap: .7rem; padding-block: 1.4rem 1.7rem; border-top-color: transparent; }
.skel-line { width: 70%; height: 12px; }
.skel-line--lg { width: 82%; height: 20px; }
.skel-line--sm { width: 48%; }
/* one light band sweeps across the card (transform only, so it stays smooth) */
.holder-card--skeleton::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-100%);
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .75) 50%, transparent 80%);
    animation: skel-sweep 1.4s ease-in-out infinite;
}
@keyframes skel-sweep { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .holder-card--skeleton::after { animation: none; } }

/* ---------- Pictures that have not loaded yet (class set by site.js) ----------
   ONE look everywhere, the same as the titleholder cards that load on the Pageantry page: a soft grey surface with
   one light band sweeping across it. A picture shows it itself; a picture inside a tile, a round medal or a round logo
   has no size of its own yet, so the whole tile / circle shows it instead. The picture then fades in. */
img.is-loading,
.partner-tile:has(img.is-loading),
.marquee__item:has(img.is-loading),
.vm-split__logo:has(img.is-loading) {
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .75) 50%, transparent 80%) 150% 0 / 200% 100% no-repeat, #eceee9;
    animation: img-loading 1.4s ease-in-out infinite;
}
/* on a dark background (the mission medal, the Apply Now logos, the hero video) the same look in dark colours */
.mrs-panel__medal:has(img.is-loading),
.apply-choice__logo:has(img.is-loading),
.apply-chosen__logo:has(img.is-loading),
.video-hero.is-loading {
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .09) 50%, transparent 80%) 150% 0 / 200% 100% no-repeat, #101a12;
    animation: img-loading 1.4s ease-in-out infinite;
}
@keyframes img-loading { to { background-position: -50% 0; } }
.mrs-panel__medal:has(img.is-loading) { border-radius: 50%; }
/* inside such a tile only the tile shows the loading look */
.partner-tile img.is-loading,
.marquee__item img.is-loading,
.mrs-panel__medal img.is-loading,
.vm-split__logo img.is-loading,
.apply-choice__logo img.is-loading,
.apply-chosen__logo img.is-loading { background: none; animation: none; filter: none; opacity: 0; }
/* the picture fades in when it arrives */
img.is-loaded { animation: img-in .6s ease-out; }
@keyframes img-in { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
    img.is-loading, .partner-tile:has(img.is-loading), .marquee__item:has(img.is-loading), .vm-split__logo:has(img.is-loading), .mrs-panel__medal:has(img.is-loading),
    .apply-choice__logo:has(img.is-loading), .apply-chosen__logo:has(img.is-loading), .video-hero.is-loading, img.is-loaded { animation: none; }
}

/* ---------- Pagination (titleholders) ---------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-top: 2.5rem; }
.pager[hidden] { display: none; }
.pager__btn {
    min-width: 44px; height: 44px; padding: 0 1rem; font: 500 .85rem/1 var(--sans); letter-spacing: .12em; color: var(--green-deep); background: var(--cream);
    border: 1px solid var(--gold-soft); border-radius: 999px; cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.pager__btn:hover:not(:disabled) { background: var(--sage); }
.pager__btn[aria-current="page"] { color: var(--white); background: var(--green-deep); border-color: var(--green-deep); cursor: default; }
.pager__btn:disabled { opacity: .4; cursor: default; }
.pager__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.pager__gap { min-width: 24px; text-align: center; color: var(--muted); }
@media (max-width: 560px) { .pager__btn { min-width: 40px; height: 40px; padding: 0 .75rem; } }

/* ---------- Story feature: magazine-style "About" (Mrs of Australia and About) ---------- */
.story-feature { padding: 5.5rem 0 6rem; background: var(--white); }
.story-feature__head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.story-feature__text { column-count: 2; column-gap: 4.5rem; column-rule: 1px solid var(--line); max-width: 1080px; margin: 0 auto; }
.story-feature__text p { margin: 0 0 1.25rem; color: var(--muted); line-height: 1.85; text-align: left; }
.story-feature__text p:first-child::first-letter { float: left; padding: .35rem .75rem 0 0; font-family: var(--serif); font-size: 4.6rem; font-weight: 500; line-height: .72; color: var(--gold); }
.story-feature__text strong { color: var(--green-deep); font-weight: 500; }
.story-feature__facts { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1080px; margin: 3.5rem auto 0; padding: 0; border-top: 1px solid var(--gold-soft); border-bottom: 1px solid var(--gold-soft); }
.story-feature__facts > div { padding: 2rem 1.5rem; text-align: center; }
.story-feature__facts > div + div { border-left: 1px solid var(--line); }
.story-feature__facts dt { margin-bottom: .6rem; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.story-feature__facts dd { margin: 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.25; color: var(--green-deep); }
@media (max-width: 960px) {
    .story-feature { padding-block: 4rem; }
    .story-feature__text { column-count: 1; column-rule: 0; max-width: 680px; }
    .story-feature__facts { grid-template-columns: repeat(2, 1fr); }
    .story-feature__facts > div:nth-child(3) { border-left: 0; }
    .story-feature__facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
    .story-feature__text p { text-align: left; }
    .story-feature__facts > div { padding: 1.4rem .75rem; }
    .story-feature__facts dd { font-size: 1.2rem; }
}

/* =====================================================================
   Vision & Mission, enhanced
   About: green glass cards around a gold-ringed medallion
   Mrs of Australia: black and gold, the logo beside two numbered statements
   ===================================================================== */

/* ---- Mrs of Australia (mrs-panel) ---- */
.mrs-panel { position: relative; overflow: hidden; padding: 6.5rem 0; color: rgba(255, 255, 255, .84); background:
    radial-gradient(circle, rgba(243, 220, 154, .9) 0 1px, transparent 1.7px) 0 0 / 120px 120px,
    radial-gradient(circle, rgba(243, 220, 154, .6) 0 1px, transparent 1.7px) 60px 60px / 120px 120px,
    radial-gradient(ellipse at 18% 50%, rgba(184, 146, 63, .28), transparent 55%),
    linear-gradient(135deg, #0a1411, #14241b 60%, #0a1411); background-blend-mode: soft-light, soft-light, normal, normal; }
.mrs-panel::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-soft) 20%, #f6e3a8 50%, var(--gold-soft) 80%, transparent); }
.mrs-panel__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 5fr 7fr; gap: 4rem; align-items: center; }
.mrs-panel__brand .eyebrow { color: var(--gold-soft); }
.mrs-panel__brand .eyebrow::before { background: var(--gold-soft); }
.mrs-panel__brand .section-title { color: var(--white); margin-bottom: 2.5rem; }
.mrs-panel__medal { position: relative; width: 300px; }
.mrs-panel__medal::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #f6e3a8, #b8923f, #f6e3a8, #8f6d2a, #f6e3a8); -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.mrs-panel__medal img { display: block; width: 100%; height: auto; border-radius: 50%; box-shadow: 0 0 70px -4px rgba(217, 189, 124, .5), 0 26px 46px -18px rgba(0, 0, 0, .85); }
.mrs-panel__list { display: grid; }
.mrs-panel__item { display: grid; grid-template-columns: 72px 1fr; gap: 1.5rem; padding: 2.5rem 0; border-top: 1px solid rgba(217, 189, 124, .4); }
.mrs-panel__item:last-child { border-bottom: 1px solid rgba(217, 189, 124, .4); }
.mrs-panel__no { font-family: var(--serif); font-size: 3.4rem; font-weight: 500; line-height: .9; letter-spacing: .04em; color: var(--gold-soft); }
.mrs-panel__item h3 { margin-bottom: 1rem; color: var(--gold-soft); font-family: var(--sans); font-size: .78rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; }
.mrs-panel__lead { margin-bottom: 1rem; font-family: var(--serif); font-size: 1.65rem; font-style: italic; line-height: 1.4; color: var(--white); }
.mrs-panel__item p:not(.mrs-panel__lead) { font-size: .98rem; line-height: 1.8; color: rgba(255, 255, 255, .7); }
@media (max-width: 1100px) { .mrs-panel__grid { gap: 3rem; } .mrs-panel__medal { width: 250px; } .mrs-panel__lead { font-size: 1.45rem; } }
@media (max-width: 860px) {
    .mrs-panel { padding-block: 4rem; }
    .mrs-panel__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .mrs-panel__brand { text-align: center; }
    .mrs-panel__brand .eyebrow { justify-content: center; }
    .mrs-panel__brand .eyebrow::after { content: ""; width: 2.5rem; height: 1px; background: var(--gold-soft); }
    .mrs-panel__medal { margin-inline: auto; width: 220px; }
    .mrs-panel__item { grid-template-columns: 48px 1fr; gap: 1rem; padding-block: 1.9rem; }
    .mrs-panel__no { font-size: 2.4rem; }
}
@media (max-width: 560px) { .mrs-panel__lead { font-size: 1.3rem; } .mrs-panel__brand .section-title { margin-bottom: 2rem; } }

/* ---- About Vision & Mission: col-5 / col-7, a deep green brand panel beside two light cards ---- */
.vm-split { padding: 4.5rem 0; background: var(--cream); }
.vm-split__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 2rem; align-items: stretch; }
.vm-split__brand {
    position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 2.25rem 2.25rem; color: var(--white);
    background: radial-gradient(circle, rgba(243, 220, 154, .5) 0 1px, transparent 1.6px) 0 0 / 60px 60px, radial-gradient(ellipse at 50% 60%, #3c5f43 0%, #243d2a 62%, #1a2d1f 100%);
    background-blend-mode: soft-light, normal; border-radius: 30px; box-shadow: 0 34px 56px -38px rgba(26, 45, 31, .85);
}
.vm-split__brand::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; bottom: -220px; border: 1px solid rgba(217, 189, 124, .28); border-radius: 50%; pointer-events: none; }
.vm-split__brand > * { position: relative; z-index: 1; }
.vm-split__brand .eyebrow { color: var(--gold-soft); }
.vm-split__brand .eyebrow::before { background: var(--gold-soft); }
.vm-split__brand .section-title { margin-top: .6rem; color: var(--white); font-size: clamp(2rem, 3vw, 2.7rem); }
.vm-split__logo { align-self: center; display: grid; place-items: center; width: 300px; height: 300px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 6px rgba(255, 255, 255, .08), 0 0 0 8px var(--gold-soft), 0 0 60px -6px rgba(217, 189, 124, .5); }
.vm-split__logo img { width: 80%; height: auto; }
.vm-split__tagline { margin: 0; align-self: stretch; padding-top: 1.1rem; border-top: 1px solid rgba(217, 189, 124, .4); font-family: var(--serif); font-size: 1.2rem; font-style: italic; line-height: 1.4; color: rgba(255, 255, 255, .88); }
.vm-split__cards {
    display: flex; flex-direction: column; justify-content: center; padding: 2.5rem 3rem; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold-soft); border-radius: 24px;
    box-shadow: inset 0 0 0 6px var(--white), inset 0 0 0 7px rgba(217, 189, 124, .35), 0 30px 50px -38px rgba(52, 80, 58, .5);
}
.vm-split__card { padding: 0; }
.vm-split__divider { display: flex; align-items: center; gap: 1rem; margin: 1.75rem 0; }
.vm-split__divider::before, .vm-split__divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-soft)); }
.vm-split__divider::after { background: linear-gradient(270deg, transparent, var(--gold-soft)); }
.vm-split__divider i { font-style: normal; font-size: 1.1rem; color: var(--gold); }
.vm-split__card-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.vm-split__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--sage); }
.vm-split__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.vm-split__card h3 { font-size: 1.75rem; }
.vm-split__lead { margin-bottom: .75rem; font-family: var(--serif); font-size: 1.3rem; font-style: italic; line-height: 1.4; color: var(--green-deep); }
.vm-split__card p:not(.vm-split__lead) { font-size: .95rem; color: var(--muted); line-height: 1.7; }
@media (max-width: 1100px) { .vm-split__brand { padding: 2rem 1.5rem; } .vm-split__logo { width: 250px; height: 250px; } .vm-split__cards { padding: 2rem 1.75rem; } .vm-split__lead { font-size: 1.2rem; } }
@media (max-width: 860px) {
    .vm-split__logo { width: 220px; height: 220px; }
    .vm-split { padding-block: 3.5rem; }
    .vm-split__grid { grid-template-columns: 1fr; }
    .vm-split__brand { align-items: center; text-align: center; padding: 2.5rem 1.5rem; }
    .vm-split__brand .eyebrow { justify-content: center; }
    .vm-split__brand .eyebrow::after { content: ""; width: 2.5rem; height: 1px; background: var(--gold-soft); }
}
@media (max-width: 560px) { .vm-split__card h3 { font-size: 1.55rem; } .vm-split__lead { font-size: 1.15rem; } .vm-split__logo { width: 220px; height: 220px; } }

/* Titleholder photos: top-aligned (crowns stay in view); the picture is drawn 8% taller than its frame, so the bottom edge (the very white strip) is trimmed */

/* ---- Mrs Mission & Vision: the left column is as tall as the right, so no empty space shows above or below the logo ---- */
.mrs-panel__grid { align-items: stretch; }
.mrs-panel__brand {
    display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; padding: 2.5rem 0;
}
.mrs-panel__brand .section-title { margin-bottom: 0; }
.mrs-panel__medal { align-self: flex-start; margin: auto 0 auto 18px; }
/* no lines above the first and below the last statement; only the divider between the two stays */
.mrs-panel__item:first-child { border-top: 0; }
.mrs-panel__item:last-child { border-bottom: 0; }
@media (max-width: 860px) {
    .mrs-panel__brand { align-items: center; padding: 2rem 0; }
    .mrs-panel__medal { align-self: center; margin: 0 auto; }
    .mrs-panel__item:first-child { border-top: 1px solid rgba(217, 189, 124, .4); }
}

/* ---------- Pageant pages: titleholders grouped by division ---------- */
.about-hero--plain .section-title { font-size: clamp(2.3rem, 5vw, 3.9rem); }
.subcat-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 0 0 2.5rem; }
.subcat-filter[hidden] { display: none; }
.subcat-filter__btn { padding: .55rem 1.2rem; font: 500 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--green-deep); background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.subcat-filter__btn:hover { background: var(--sage); }
.subcat-filter__btn[aria-pressed="true"] { color: var(--white); background: var(--gold); border-color: var(--gold); }
.subcat-filter__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.holder-group + .holder-group { margin-top: 3.5rem; }
.holder-group__title { display: flex; align-items: center; gap: 1.25rem; margin: 0 0 1.75rem; font-size: clamp(1.6rem, 3vw, 2.1rem); text-align: center; }
.holder-group__title::before, .holder-group__title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-soft)); }
.holder-group__title::after { transform: scaleX(-1); }
.holder-group__title span { position: relative; padding: 0 .25rem; }
@media (max-width: 560px) { .holder-group + .holder-group { margin-top: 2.5rem; } .holder-group__title { gap: .75rem; } .subcat-filter__btn { padding: .5rem .9rem; font-size: .66rem; } }

/* ---------- Partners page ---------- */
.partners-count { margin-top: 1.5rem; font: 500 .78rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.about-hero__head .partners-count { font-family: var(--sans); font-size: .78rem; line-height: 1; color: var(--gold); }
.partners-count span { margin-right: .5rem; font-family: var(--serif); font-size: 2.4rem; font-weight: 500; letter-spacing: 0; vertical-align: -.12em; color: var(--green-deep); }

/* two rows of logos drifting in opposite directions */
.partners-marquee { padding: 3.5rem 0 3.75rem; background: var(--cream-deep); border-block: 1px solid var(--line); overflow: hidden; }
.partners-marquee .eyebrow { margin-bottom: 2rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 1.25rem; }
.marquee__track { display: flex; gap: 1.25rem; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee-drift 90s linear infinite; }
.marquee__track--reverse { animation-direction: reverse; animation-duration: 110s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: grid; place-items: center; flex: none; width: 190px; height: 104px; padding: 0 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.marquee__item img { max-width: 100%; max-height: 68px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .4s, opacity .4s; }
.marquee__item:hover img { filter: none; opacity: 1; }
@keyframes marquee-drift { to { transform: translateX(-50%); } }

/* the circle of support: framed logos */
.partners-circle { padding: 5.5rem 0 6rem; background: var(--white); }
.partners-circle .section-head { margin-bottom: 3.25rem; }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.partner-tile { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 1.75rem; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 22px 36px -30px rgba(52, 80, 58, .55); transition: transform .35s, box-shadow .35s, border-color .35s; animation: partner-in .8s both; animation-delay: calc(var(--i, 0) * 45ms); }
.partner-tile::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(217, 189, 124, .45); border-radius: 15px; pointer-events: none; transition: border-color .35s, inset .35s; }
.partner-tile img { position: absolute; inset: 1.75rem; width: calc(100% - 3.5rem); height: calc(100% - 3.5rem); object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .45s, opacity .45s, transform .45s; }
.partner-tile:hover, .partner-tile:focus-visible { transform: translateY(-6px); border-color: var(--gold-soft); box-shadow: 0 30px 44px -28px rgba(52, 80, 58, .6); }
.partner-tile:hover::before, .partner-tile:focus-visible::before { inset: 5px; border-color: var(--gold); }
.partner-tile:hover img, .partner-tile:focus-visible img { filter: none; opacity: 1; transform: scale(1.04); }
.partner-tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.partner-tile__name { position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 6px); padding: .3rem .8rem; font: 500 .62rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; color: var(--white); background: var(--green-deep); border-radius: 999px; opacity: 0; transition: opacity .35s, transform .35s; }
.partner-tile:hover .partner-tile__name, .partner-tile:focus-visible .partner-tile__name { opacity: 1; transform: translate(-50%, 0); }
@keyframes partner-in { from { opacity: 0; transform: translateY(18px); } }

/* the invitation: black and gold like the mission and vision panel */
.partners-cta { position: relative; padding: 6rem 0; text-align: center; color: rgba(255, 255, 255, .84); background:
    radial-gradient(circle, rgba(243, 220, 154, .9) 0 1px, transparent 1.7px) 0 0 / 120px 120px,
    radial-gradient(circle, rgba(243, 220, 154, .6) 0 1px, transparent 1.7px) 60px 60px / 120px 120px,
    radial-gradient(ellipse at 50% 0%, rgba(184, 146, 63, .3), transparent 60%),
    linear-gradient(135deg, #0a1411, #14241b 60%, #0a1411); background-blend-mode: soft-light, soft-light, normal, normal; }
.partners-cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-soft) 20%, #f6e3a8 50%, var(--gold-soft) 80%, transparent); }
.partners-cta .wrap { position: relative; max-width: 760px; }
.partners-cta .eyebrow { color: var(--gold-soft); }
.partners-cta .eyebrow::before, .partners-cta .eyebrow::after { background: var(--gold-soft); }
.partners-cta .section-title { margin: 1rem 0 1.25rem; color: var(--white); }
.partners-cta p { margin: 0 auto 2.25rem; max-width: 560px; font-family: var(--serif); font-size: 1.45rem; font-style: italic; line-height: 1.45; color: rgba(255, 255, 255, .85); }

@media (max-width: 960px) { .partners-circle { padding-block: 4rem; } .partners-cta { padding-block: 4.5rem; } }
@media (max-width: 560px) {
    .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .partner-tile { border-radius: 16px; }
    .partner-tile img { inset: 1.1rem; width: calc(100% - 2.2rem); height: calc(100% - 2.2rem); }
    .partner-tile::before { inset: 6px; border-radius: 11px; }
    .marquee__item { width: 150px; height: 84px; }
    .marquee__item img { max-height: 54px; }
    .partners-cta p { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .marquee__track { animation: none; }
    .marquee__track [aria-hidden="true"] { display: none; }
    .partner-tile { animation: none; }
}
.partners-more { display: flex; justify-content: center; margin-top: 2.75rem; }

/* ---------- Contact page ---------- */
.contact { padding: 5.5rem 0 6rem; background: var(--white); }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 2.5rem; align-items: stretch; }

/* the details: a deep green panel as tall as the form, black and gold like the mission and vision panel */
.contact-info { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 3.25rem 3.25rem 2.75rem; color: rgba(255, 255, 255, .84); border-radius: 26px; background:
    radial-gradient(circle, rgba(243, 220, 154, .9) 0 1px, transparent 1.7px) 0 0 / 120px 120px,
    radial-gradient(circle, rgba(243, 220, 154, .6) 0 1px, transparent 1.7px) 60px 60px / 120px 120px,
    radial-gradient(ellipse at 15% 0%, rgba(184, 146, 63, .3), transparent 60%),
    linear-gradient(145deg, #0a1411, #14241b 60%, #0a1411); background-blend-mode: soft-light, soft-light, normal, normal; box-shadow: 0 36px 56px -40px rgba(26, 45, 31, .85); }
.contact-info::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-soft) 20%, #f6e3a8 50%, var(--gold-soft) 80%, transparent); }
.contact-info::after { content: ""; position: absolute; width: 420px; height: 420px; right: -190px; bottom: -190px; border: 1px solid rgba(217, 189, 124, .25); border-radius: 50%; pointer-events: none; }
.contact-info > * { position: relative; z-index: 1; }
.contact-info .eyebrow { color: var(--gold-soft); }
.contact-info .eyebrow::before { background: var(--gold-soft); }
.contact-info .section-title { margin: .75rem 0 2.5rem; color: var(--white); font-size: clamp(2rem, 3.2vw, 2.7rem); }
.contact-list { display: grid; gap: 2rem; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.contact-list > li { display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; align-items: center; }
.contact-list__icon { display: grid; place-items: center; width: 56px; height: 56px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(217, 189, 124, .6); border-radius: 50%; box-shadow: 0 0 0 5px rgba(217, 189, 124, .1); }
.contact-list__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-soft); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-list h3 { margin-bottom: .35rem; font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft); }
.contact-list p { margin: 0; font-family: var(--serif); font-size: 1.4rem; line-height: 1.35; color: var(--white); overflow-wrap: break-word; }
.contact-list a { color: inherit; text-decoration: none; background: linear-gradient(var(--gold-soft), var(--gold-soft)) 0 100% / 0 1px no-repeat; transition: background-size .35s, color .25s; }
.contact-list a:hover, .contact-list a:focus-visible { color: var(--gold-soft); background-size: 100% 1px; }
.contact-list__link { display: inline-block; margin-top: .55rem; font: 500 .7rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft) !important; }
.contact-social { display: flex; gap: .7rem; margin: .2rem 0 0; padding: 0; list-style: none; }
.contact-social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--white); border: 1px solid rgba(217, 189, 124, .55); border-radius: 50%; background: none; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.contact-social a:hover, .contact-social a:focus-visible { color: var(--green-deep); background: var(--gold-soft); border-color: var(--gold-soft); transform: translateY(-2px); }
.contact-social .social-icon { width: 19px; height: 19px; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.contact-note { margin: auto 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(217, 189, 124, .35); font-size: .95rem; line-height: 1.8; color: rgba(255, 255, 255, .7); }

.contact-card { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 3.25rem 3.25rem 3rem; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold-soft); border-radius: 26px; box-shadow: inset 0 0 0 7px var(--white), inset 0 0 0 8px rgba(217, 189, 124, .35), 0 36px 56px -40px rgba(52, 80, 58, .55); }
.contact-form h2, .contact-thanks h2 { margin-bottom: 1.75rem; font-size: 2rem; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.cform-field { position: relative; margin-bottom: 1.35rem; }
.cform-field label { display: block; margin-bottom: .5rem; font: 500 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--green-deep); }
.cform-field input, .cform-field textarea { width: 100%; padding: .95rem 1.1rem; font: 400 1rem/1.5 var(--sans); color: var(--ink); background: var(--cream); border: 1px solid transparent; border-bottom-color: var(--gold-soft); border-radius: 12px; transition: border-color .25s, background .25s, box-shadow .25s; }
.cform-field textarea { min-height: 150px; resize: vertical; }
.cform-field input::placeholder, .cform-field textarea::placeholder { color: #a3aa9f; }
.cform-field input:focus, .cform-field textarea:focus { outline: none; background: var(--white); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(217, 189, 124, .22); }
.cform-field.has-error input, .cform-field.has-error textarea { background: #fdf4f2; border-color: #c4574b; }
.cform-error { display: block; min-height: 0; margin-top: .4rem; font-size: .82rem; line-height: 1.4; color: #b3453a; }
.cform-error:empty { display: none; }
.cform-count { position: absolute; right: .2rem; top: 0; font-size: .72rem; letter-spacing: .08em; color: var(--muted); }
.cform-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform-status { min-height: 0; margin: 0 0 1rem; font-size: .92rem; line-height: 1.5; }
.cform-status.is-error { padding: .8rem 1rem; color: #b3453a; background: #fdf4f2; border: 1px solid #ecc4be; border-radius: 12px; }
.contact-form .btn { min-width: 220px; }
.contact-form .btn:disabled { opacity: .7; cursor: wait; transform: none; }

.contact-thanks { padding: 2rem 0; text-align: center; }
.contact-thanks[hidden] { display: none; }
.contact-thanks__mark { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 1.5rem; border: 1px solid var(--gold); border-radius: 50%; box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--gold-soft); animation: thanks-pop .6s both; }
.contact-thanks__mark svg { width: 38px; height: 38px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-thanks p { max-width: 420px; margin: 0 auto 2rem; color: var(--muted); line-height: 1.8; }
@keyframes thanks-pop { from { opacity: 0; transform: scale(.7); } }

.contact-map { padding: 0 0 6.5rem; background: var(--white); }
.contact-map__frame { position: relative; overflow: hidden; border: 1px solid var(--gold-soft); border-radius: 30px; box-shadow: 0 0 0 8px var(--white), 0 0 0 9px rgba(217, 189, 124, .45), 0 40px 60px -42px rgba(52, 80, 58, .6); }
.contact-map__frame iframe { display: block; width: 100%; height: 460px; border: 0; filter: grayscale(.3) sepia(.12) contrast(1.02); }
.contact-map__card { position: absolute; left: 2rem; top: 2rem; max-width: 300px; padding: 1.6rem 1.75rem; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold-soft); border-radius: 20px; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .45); }
.contact-map__card p { margin: .9rem 0 1.25rem; font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; color: var(--green-deep); }
.contact-map__card .btn { padding: .75rem 1.4rem; font-size: .75rem; }

@media (max-width: 960px) {
    .contact { padding-block: 4rem; }
    .contact__grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-card { padding: 2.25rem 1.75rem; }
    .contact-info { padding: 2.5rem 1.5rem 2rem; }
    .contact-list > li { grid-template-columns: 48px 1fr; gap: 1rem; }
    .contact-list__icon { width: 48px; height: 48px; }
    .contact-list p { font-size: 1.2rem; }
    .contact-map { padding-bottom: 4.5rem; }
}
@media (max-width: 640px) {
    .cform-row { grid-template-columns: 1fr; }
    .contact-card { padding: 2rem 1.25rem; border-radius: 20px; box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 6px rgba(217, 189, 124, .35); }
    .contact-form .btn { width: 100%; }
    .contact-map__frame iframe { height: 340px; }
    .contact-map__card { position: static; max-width: none; border-radius: 0; border-inline: 0; border-bottom: 0; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .contact-thanks__mark { animation: none; } }

/* ---------- Footer: developer credit and social icons ---------- */
.footer-copy p { margin: 0; }
.footer-dev { margin-top: .25rem !important; font-size: .78rem; letter-spacing: .04em; color: var(--muted); }
.footer-dev a { color: var(--gold); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .3s; }
.footer-dev a:hover, .footer-dev a:focus-visible { background-size: 100% 1px; }
.footer-social { display: flex; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; color: var(--green-deep); border: 1px solid var(--gold-soft); border-radius: 50%; transition: color .25s, background .25s, border-color .25s, transform .25s; }
.footer-social a:hover, .footer-social a:focus-visible { color: var(--white); background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.footer-social a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.social-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .footer-social { margin-top: .25rem; } }
.cform-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.cform-privacy { margin: 0; font-size: .82rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 640px) { .cform-actions { flex-direction: column; align-items: stretch; } .cform-privacy { text-align: center; } }

/* ---------- Apply Now page ---------- */
.apply { padding: 4rem 0 6.5rem; background: var(--white); }
.apply-steps { display: flex; justify-content: center; margin: 0 0 3.25rem; padding: 0; list-style: none; }
.apply-steps__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: .6rem; flex: 1 1 0; max-width: 220px; text-align: center; }
.apply-steps__item + .apply-steps__item::before { content: ""; position: absolute; top: 18px; right: 50%; width: 100%; height: 1px; background: var(--line); }
.apply-steps__item.is-done::before, .apply-steps__item.is-current::before { background: var(--gold); }
.apply-steps__no { position: relative; z-index: 1; display: grid; place-items: center; width: 37px; height: 37px; font: 500 .95rem/1 var(--serif); color: var(--muted); background: var(--white); border: 1px solid var(--gold-soft); border-radius: 50%; transition: background .3s, color .3s, border-color .3s; }
.apply-steps__item.is-current .apply-steps__no { color: var(--white); background: var(--green-deep); border-color: var(--green-deep); box-shadow: 0 0 0 5px rgba(217, 189, 124, .25); }
.apply-steps__item.is-done .apply-steps__no { color: var(--white); background: var(--gold); border-color: var(--gold); }
.apply-steps__label { font: 500 .7rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.apply-steps__item.is-current .apply-steps__label { color: var(--green-deep); }

.apply-panel__head { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.apply-panel__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.apply-panel__head p { margin: .9rem 0 0; color: var(--muted); }
.apply-panel[hidden] { display: none; }

/* step 1: the categories */
.apply-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.apply-choices li { display: flex; }
.apply-choice { position: relative; display: flex; flex-direction: column; align-items: center; gap: .75rem; width: 100%; padding: 2.25rem 1.75rem 1.9rem; font: inherit; text-align: center; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 24px 40px -32px rgba(52, 80, 58, .55); transition: transform .35s, box-shadow .35s, border-color .35s; }
.apply-choice::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(217, 189, 124, .4); border-radius: 19px; pointer-events: none; transition: border-color .35s; }
.apply-choice:hover, .apply-choice:focus-visible { transform: translateY(-6px); border-color: var(--gold-soft); box-shadow: 0 32px 46px -30px rgba(52, 80, 58, .65); }
.apply-choice:hover::before, .apply-choice:focus-visible::before { border-color: var(--gold); }
.apply-choice:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.apply-choice__logo { display: grid; place-items: center; width: 176px; height: 176px; margin-bottom: .6rem; overflow: hidden; font-size: 2.8rem; color: var(--gold-soft); background: #0a1411; border-radius: 34px; box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--gold-soft), 0 18px 28px -14px rgba(0, 0, 0, .6); }
.apply-choice__logo img { width: 100%; height: 100%; object-fit: contain; }
.apply-choice__name { margin: 0; font-family: var(--serif); font-size: 1.65rem; font-weight: 500; line-height: 1.2; color: var(--green-deep); }
.apply-choice__text { font-size: .9rem; line-height: 1.6; color: var(--muted); }
.apply-choice__lead { margin: .35rem 0 0; font: 500 .66rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.apply-choice__groups { display: grid; gap: .5rem; width: 100%; margin-top: .25rem; }
.apply-choice__group { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; padding: .7rem 1rem; font: inherit; text-align: left; color: inherit; background: var(--cream); border: 1px solid transparent; border-radius: 14px; }
.apply-choice__group b { font: 500 .68rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); }
.apply-choice__group i { flex: none; font: 500 .74rem/1 var(--sans); font-style: normal; letter-spacing: .06em; color: var(--gold); }
button.apply-choice__group { cursor: pointer; transition: background .25s, border-color .25s, transform .25s, box-shadow .25s; }
button.apply-choice__group::after { content: "→"; flex: none; margin-left: .15rem; color: var(--gold); transition: transform .25s; }
button.apply-choice__group:hover, button.apply-choice__group:focus-visible { background: var(--white); border-color: var(--gold); box-shadow: 0 10px 22px -16px rgba(52, 80, 58, .6); transform: translateY(-1px); }
button.apply-choice__group:hover::after { transform: translateX(3px); }
button.apply-choice__group:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.apply-choice__group.is-info { cursor: default; }
.apply-choice__go { margin-top: auto; padding: .85rem 1.6rem; font: 500 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--green-deep); cursor: pointer; background: none; border: 1px solid var(--green); border-radius: 999px; transition: background .25s, color .25s, border-color .25s; }
.apply-choice__go:hover, .apply-choice__go:focus-visible { color: var(--white); background: var(--green-deep); border-color: var(--green-deep); }
.apply-choice__go:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.apply-error--panel { display: block; margin-top: 1.25rem; text-align: center; }

/* steps 2 and 3: the form */
.apply-panel:not([data-step="1"]) { max-width: 860px; margin-inline: auto; padding: 3.25rem; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold-soft); border-radius: 26px; box-shadow: inset 0 0 0 7px var(--white), inset 0 0 0 8px rgba(217, 189, 124, .35), 0 36px 56px -40px rgba(52, 80, 58, .55); }
.apply-chosen { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; padding: .9rem 1.2rem; background: var(--cream); border: 1px solid var(--line); border-radius: 18px; }
.apply-chosen__logo { display: grid; place-items: center; flex: none; width: 52px; height: 52px; overflow: hidden; color: var(--gold-soft); background: #0a1411; border-radius: 50%; box-shadow: 0 0 0 3px var(--cream), 0 0 0 4px var(--gold-soft); }
.apply-chosen__logo img { width: 100%; height: 100%; object-fit: cover; }
.apply-chosen__text { display: grid; gap: .15rem; min-width: 0; }
.apply-chosen__text small { font: 500 .62rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.apply-chosen__text strong { font: 500 1.35rem/1.2 var(--serif); color: var(--green-deep); }
.apply-chosen__text em { font-size: .85rem; font-style: normal; line-height: 1.5; color: var(--muted); }
.apply-chosen__text em b { font-weight: 500; color: var(--green-deep); }
.apply-chosen__note { font-size: .78rem; line-height: 1.5; color: var(--muted); }
.apply-chosen__change { margin-left: auto; padding: .5rem 1rem; font: 500 .68rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--green-deep); cursor: pointer; background: none; border: 1px solid var(--gold-soft); border-radius: 999px; transition: background .25s, color .25s; }
.apply-chosen__change:hover { color: var(--white); background: var(--green-deep); border-color: var(--green-deep); }
.apply-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.apply-field { position: relative; margin-bottom: 1.35rem; }
.apply-field > label { display: block; margin-bottom: .5rem; font: 500 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--green-deep); }
.apply-field input:not([type="file"]), .apply-field select, .apply-field textarea { width: 100%; padding: .95rem 1.1rem; font: 400 1rem/1.5 var(--sans); color: var(--ink); background: var(--cream); border: 1px solid transparent; border-bottom-color: var(--gold-soft); border-radius: 12px; transition: border-color .25s, background .25s, box-shadow .25s; }
.apply-field select { appearance: none; padding-right: 2.6rem; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23b8923f' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 1.1rem center / 12px; }
.apply-field textarea { min-height: 150px; resize: vertical; }
.apply-field input::placeholder, .apply-field textarea::placeholder { color: #a3aa9f; }
.apply-field input:focus, .apply-field select:focus, .apply-field textarea:focus { outline: none; background-color: var(--white); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(217, 189, 124, .22); }
.apply-field.has-error input, .apply-field.has-error select, .apply-field.has-error textarea { background-color: #fdf4f2; border-color: #c4574b; }
.apply-hint { display: block; margin-top: .4rem; font-size: .78rem; color: var(--muted); }
.apply-error { display: block; margin-top: .4rem; font-size: .82rem; line-height: 1.4; color: #b3453a; }
.apply-error:empty { display: none; }
.apply-age { margin: -.35rem 0 1.5rem; padding: .7rem 1rem; font-size: .9rem; line-height: 1.5; color: var(--muted); background: var(--cream); border-radius: 12px; }
.apply-age:empty { display: none; }
.apply-age__switch { margin-left: .25rem; padding: .35rem .85rem; font: 500 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--white); cursor: pointer; background: var(--green-deep); border: 0; border-radius: 999px; }
.apply-age__switch:hover { background: var(--gold); }
.apply-age.is-ok { color: var(--green-deep); background: #eef4ea; border: 1px solid #cfe0c8; }
.apply-age.is-bad { color: #b3453a; background: #fdf4f2; border: 1px solid #ecc4be; }
.apply-drop { display: flex; align-items: center; gap: 1rem; padding: .85rem; cursor: pointer; background: var(--cream); border: 1.5px dashed var(--gold-soft); border-radius: 18px; transition: border-color .25s, background .25s; }
.apply-field > label.apply-drop { display: flex; margin: 0; font: inherit; letter-spacing: normal; text-transform: none; color: inherit; }
.apply-drop:hover { background: var(--white); border-color: var(--gold); }
.apply-upload input[type="file"]:focus-visible + .apply-error, .apply-upload:focus-within .apply-drop { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(217, 189, 124, .22); }
.apply-drop__preview { position: relative; display: block; flex: none; width: 84px; height: 104px; background: var(--white) center / cover no-repeat; border: 1px solid var(--line); border-radius: 12px; }
.apply-drop:not(.has-photo) .apply-drop__preview::before { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font: 300 2rem/1 var(--serif); color: var(--gold); }
.apply-drop.has-photo { border-style: solid; border-color: var(--gold); }
.apply-drop__text { display: grid; gap: .3rem; min-width: 0; }
.apply-drop__text strong { overflow: hidden; font: 500 .9rem/1.3 var(--sans); color: var(--green-deep); text-overflow: ellipsis; white-space: nowrap; }
.apply-drop__text small { font-size: .78rem; line-height: 1.45; color: var(--muted); }
.apply-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply-status { min-height: 0; margin: 0 0 1rem; font-size: .92rem; line-height: 1.5; }
.apply-status.is-error { padding: .8rem 1rem; color: #b3453a; background: #fdf4f2; border: 1px solid #ecc4be; border-radius: 12px; }
.apply-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.apply-actions .btn { min-width: 160px; }
.apply-actions .btn:disabled { opacity: .7; cursor: wait; transform: none; }
.apply-thanks { max-width: 640px; margin: 0 auto; padding: 3rem 2rem; text-align: center; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold-soft); border-radius: 26px; box-shadow: inset 0 0 0 7px var(--white), inset 0 0 0 8px rgba(217, 189, 124, .35), 0 36px 56px -40px rgba(52, 80, 58, .55); }
.apply-thanks[hidden] { display: none; }
.apply-thanks:focus { outline: none; }
.apply-thanks__mark { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 1.5rem; border: 1px solid var(--gold); border-radius: 50%; box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--gold-soft); animation: thanks-pop .6s both; }
.apply-thanks__mark svg { width: 38px; height: 38px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.apply-thanks h2 { margin-bottom: 1rem; font-size: 2rem; }
.apply-thanks p { max-width: 460px; margin: 0 auto 1.5rem; color: var(--muted); line-height: 1.8; }
.apply-thanks__ref { font: 500 .7rem/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold) !important; }
.apply-thanks__ref strong { display: block; margin-top: .4rem; font: 500 1.5rem/1.2 var(--serif); font-variant-numeric: lining-nums; letter-spacing: .08em; color: var(--green-deep); }
@media (max-width: 760px) {
    .apply { padding-block: 3rem 4.5rem; }
    .apply-panel:not([data-step="1"]) { padding: 2.25rem 1.4rem; border-radius: 20px; box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 6px rgba(217, 189, 124, .35); }
    .apply-row { grid-template-columns: 1fr; }
    .apply-steps__label { font-size: .58rem; letter-spacing: .12em; }
    .apply-choices { grid-template-columns: 1fr; }
    .apply-chosen { flex-wrap: wrap; }
    .apply-actions { flex-direction: column-reverse; }
    .apply-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .apply-thanks__mark { animation: none; } }

/* Four menu items plus the long "Creative Applications": a little closer together on laptop screens so Apply Now stays inside the page */
@media (min-width: 961px) and (max-width: 1500px) {
    .nav ul { gap: 1.3rem; }
    .nav a:not(.btn) { font-size: .76rem; letter-spacing: .12em; }
    .site-header .header-grid { gap: 1rem; }
    .nav .btn { padding: 0 1.2rem; }
}
@media (min-width: 961px) and (max-width: 1100px) {
    .nav ul { gap: .9rem; }
    .nav a:not(.btn) { font-size: .68rem; letter-spacing: .06em; }
    .nav .btn { padding: 0 .9rem; font-size: .68rem; letter-spacing: .1em; }
    .site-header .header-grid { gap: .6rem; }
    .brand img { height: 78px; }
}

/* The follow-up questions page (candidate profile) and the Creative Applications page use the form of Apply Now */
.apply-group { margin: 2.25rem 0 1.25rem; padding-bottom: .6rem; font: 500 .72rem/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--line); }
.apply-panel__head + .apply-group { margin-top: 1.5rem; }
.apply-star { color: var(--gold); font-weight: 500; }
.apply-checks { display: grid; gap: .25rem; margin: .5rem 0 1rem; }
.apply-check { margin-bottom: .6rem; }
.apply-field.apply-check > label { display: flex; align-items: flex-start; gap: .85rem; margin: 0; padding: .9rem 1.1rem; font: 400 .95rem/1.55 var(--sans); letter-spacing: normal; text-transform: none; color: var(--ink); cursor: pointer; background: var(--cream); border: 1px solid transparent; border-radius: 14px; transition: background .25s, border-color .25s; }
.apply-field.apply-check > label:hover { background: var(--white); border-color: var(--gold-soft); }
.apply-check input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--green-deep); cursor: pointer; }
.apply-field.apply-check.has-error > label { background: #fdf4f2; border-color: #c4574b; }
.apply-actions--end { justify-content: flex-end; }

/* Creatives cards: the Apply Now card with the photo of the category in the gold frame (a wide picture, set in the CMS). Without a photo the badge shows
   the first letter of the name. The whole card is a link to the form of its category. */
a.creative-card { text-decoration: none; cursor: pointer; }
a.creative-card:hover .apply-choice__go, a.creative-card:focus-visible .apply-choice__go { color: var(--white); background: var(--green-deep); border-color: var(--green-deep); }
a.creative-card .apply-choice__go { display: block; max-width: 100%; text-align: center; line-height: 1.5; }
.creative-letter { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold-soft); }

/* The sections under the cards of Creatives have a look of their own */
/* steps: numbered gold rings on one line */
.cr-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.cr-steps::before { content: ""; position: absolute; top: 34px; left: 16.6%; right: 16.6%; border-top: 2px dashed var(--gold-soft); }
.cr-steps li { position: relative; text-align: center; padding: 0 .5rem; overflow-wrap: anywhere; }
.cr-steps__no { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; margin-bottom: 1rem; font-family: var(--serif); font-size: 1.7rem; color: var(--gold-soft); background: var(--green-deep); border-radius: 50%; box-shadow: 0 0 0 6px var(--cream), 0 0 0 7px var(--gold-soft); }
.cr-steps h3 { margin: 0 0 .4rem; font-family: var(--serif); font-size: 1.45rem; color: var(--green-deep); }
.cr-steps p { margin: 0; color: var(--muted); line-height: 1.65; }
/* why: a dark green band with four tiles */
.cr-why { padding: 5rem 0; color: var(--white); background: radial-gradient(circle at 15% 0%, #4a6b4f, var(--green-deep) 65%); }
.cr-why .section-head h2, .cr-why .section-head p { color: var(--white); }
.cr-why .section-head p { opacity: .8; }
.cr-why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.cr-why__grid li { padding: 1.75rem 1.5rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(217, 189, 124, .35); border-radius: 20px; overflow-wrap: anywhere; transition: transform .35s, background .35s; }
.cr-why__grid li:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .12); }
.cr-why__grid svg { width: 40px; height: 40px; margin-bottom: .9rem; fill: none; stroke: var(--gold-soft); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cr-why__grid h3 { margin: 0 0 .4rem; font-family: var(--serif); font-size: 1.35rem; color: var(--white); }
.cr-why__grid p { margin: 0; font-size: .92rem; line-height: 1.6; color: rgba(255, 255, 255, .78); }
/* prepare: one checklist panel */
.cr-prep { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: center; padding: 3rem; background: var(--white); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 24px 40px -32px rgba(52, 80, 58, .55); }
.cr-prep__intro h2 { margin: .4rem 0 .6rem; }
.cr-prep__intro p { margin: 0; color: var(--muted); line-height: 1.7; }
.cr-prep__list { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.cr-prep__list li { position: relative; padding-left: 2.6rem; overflow-wrap: anywhere; }
.cr-prep__list li::before { content: "\2713"; position: absolute; left: 0; top: .1rem; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; font-size: .85rem; color: var(--white); background: var(--gold); border-radius: 50%; }
.cr-prep__list h3 { margin: 0 0 .2rem; font-family: var(--serif); font-size: 1.3rem; color: var(--green-deep); }
.cr-prep__list p { margin: 0; color: var(--muted); line-height: 1.6; }
/* questions: a centred banner */
.cr-cta { padding: 3.5rem 2rem; text-align: center; color: var(--white); background: radial-gradient(circle at 85% 0%, #4a6b4f, var(--green-deep) 70%); border-radius: 28px; box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--gold-soft); }
.cr-cta h2 { margin: .4rem 0 .6rem; color: var(--white); }
.cr-cta p { max-width: 560px; margin: 0 auto 1.6rem; opacity: .85; line-height: 1.7; }
.cr-cta .eyebrow { color: var(--gold-soft); }
.cr-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.cr-cta .btn--outline { color: var(--white); border-color: var(--gold-soft); }
@media (max-width: 860px) {
    .cr-steps { grid-template-columns: 1fr; gap: 2rem; }
    .cr-steps::before { display: none; }
    .cr-prep { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .cr-why__grid li { transition: none; } }
/* the small round picture of the chosen category on the form page */
.apply-chosen__logo.creative-chosen { overflow: hidden; }
.creative-chosen img { width: 100%; height: 100%; object-fit: cover; }
.creative-chosen__letter { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-soft); }
a.apply-chosen__change { display: inline-block; text-decoration: none; }

/* Long words typed in the database (a name, a description, a fact) wrap instead of pushing the page wider than a small phone */
.apply-choices > li, .holder-grid > *, .story-feature__facts > div, .partners-grid > li { min-width: 0; }
.apply-choice, .holder-card__body, .story-feature__facts, .mrs-panel__item, .section-title, .about-hero__head p, .story-feature__text p { overflow-wrap: anywhere; }

/* The logo in the Mission & Vision ring comes without its empty margin (Libraries\Medal). A round badge fills the ring; other artwork is shown whole on a dark disc */
.mrs-panel__medal.is-art { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #26392b, #101b13 78%); box-shadow: 0 0 70px -4px rgba(217, 189, 124, .5), 0 26px 46px -18px rgba(0, 0, 0, .85); }
.mrs-panel__medal.is-art img { width: 64%; height: 64%; object-fit: contain; border-radius: 0; box-shadow: none; }
/* A round badge sits in the same square frame (and so the same circular ring) as the other medals, centred: the ring is a true circle even when the logo is a little wider than tall */
.mrs-panel__medal.is-round { aspect-ratio: 1; display: grid; place-items: center; }
/* The Mrs badge fills its frame (100%) and the Mini Miss artwork is 64% of its disc: the two titles come out the same size */
.mrs-panel__medal.is-round img { width: 100%; height: auto; }

@keyframes pg-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
#about, #mission, #queens, #craft { scroll-margin-top: 90px; }

/* Split first screen (Pageantry): text on the left, arches with the photos of the queens on the right (the even ones lower), on deep green with a gold glow and star dust.
   The arches take the room there is. Without photos the text is centred. */
.hero-split { position: relative; padding: 4.5rem 0 5rem; overflow: hidden; color: var(--white); background: radial-gradient(circle at 85% 30%, rgba(217, 189, 124, .28), transparent 42%), radial-gradient(circle at 12% 22%, rgba(217, 189, 124, .22) 0 1px, transparent 2px) 0 0 / 90px 90px, radial-gradient(ellipse at 20% 0%, #4d6e52 0%, var(--green-deep) 55%, #1b2f21 100%); }
.hero-split::before { content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: 50%; transform: translateY(-50%); border: 1px solid rgba(217, 189, 124, .3); border-radius: 50%; pointer-events: none; }
.hero-split::after { content: ""; position: absolute; width: 440px; height: 440px; right: -60px; top: 50%; transform: translateY(-50%); border: 1px dashed rgba(217, 189, 124, .25); border-radius: 50%; pointer-events: none; }
.hero-split__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero-split__eyebrow { color: var(--gold-soft); }
.hero-split__title { margin: .9rem 0 0; font-family: var(--serif); font-weight: 500; font-size: var(--hero-title); line-height: 1.12; letter-spacing: .015em; color: var(--white); text-shadow: 0 6px 30px rgba(0, 0, 0, .25); overflow-wrap: anywhere; }
.hero-split__rule { display: flex; align-items: center; gap: .8rem; margin: 1.3rem 0 1.1rem; max-width: 200px; color: var(--gold-soft); }
.hero-split__rule i { flex: 1; height: 1px; background: linear-gradient(to right, var(--gold-soft), transparent); }
.hero-split__rule b { font-weight: 400; font-size: .85rem; order: -1; }
.hero-split__lead { max-width: 520px; margin: 0; font-family: var(--serif); font-style: italic; font-size: var(--hero-lead); line-height: 1.6; color: rgba(255, 255, 255, .82); }
.hero-split__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 1.9rem; }
.hero-split__link { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); text-decoration: none; border-bottom: 1px solid rgba(217, 189, 124, .5); padding-bottom: .15rem; transition: color .3s, border-color .3s; }
.hero-split__link:hover, .hero-split__link:focus-visible { color: var(--white); border-color: var(--white); }
.hero-split__crafts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.hero-split__crafts a { display: inline-block; padding: .45rem 1rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); text-decoration: none; border: 1px solid rgba(217, 189, 124, .45); border-radius: 999px; transition: color .3s, background .3s; }
.hero-split__crafts a:hover, .hero-split__crafts a:focus-visible { color: var(--green-deep); background: var(--gold-soft); }
.hero-split__shots { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1.1rem 1rem; align-items: start; }
.hero-split__shots.is-one { max-width: 280px; margin-inline: auto; }
.hero-split__arch { position: relative; display: block; aspect-ratio: 3 / 4.4; overflow: hidden; background: #0a1411; border-radius: 999px 999px 16px 16px; box-shadow: 0 0 0 4px rgba(27, 47, 33, .9), 0 0 0 5px var(--gold-soft), 0 26px 40px -20px rgba(0, 0, 0, .7); }
.hero-split__arch:nth-child(even) { margin-top: 2.6rem; }
.hero-split__arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-split__text > *, .hero-split__arch { animation: pg-rise .9s both; }
.hero-split__title { animation-delay: .12s; } .hero-split__rule { animation-delay: .2s; } .hero-split__lead { animation-delay: .28s; } .hero-split__actions { animation-delay: .36s; } .hero-split__crafts { animation-delay: .44s; }
.hero-split__arch:nth-child(1) { animation-delay: .2s; } .hero-split__arch:nth-child(2) { animation-delay: .32s; } .hero-split__arch:nth-child(3) { animation-delay: .44s; } .hero-split__arch:nth-child(4) { animation-delay: .56s; } .hero-split__arch:nth-child(5) { animation-delay: .68s; } .hero-split__arch:nth-child(6) { animation-delay: .8s; }
@media (max-width: 900px) {
    .hero-split { padding: 3.2rem 0 3.6rem; }
    .hero-split__grid { grid-template-columns: 1fr; gap: 2.4rem; }
    .hero-split__shots { max-width: 420px; }
}
@media (max-width: 480px) { .hero-split__shots { gap: .8rem .5rem; } .hero-split__arch:nth-child(even) { margin-top: 1.5rem; } }
@media (prefers-reduced-motion: reduce) { .hero-split__text > *, .hero-split__arch { animation: none; } }

/* One size for the title and the paragraph of every first screen (About, Partners, Contact, Apply, Creatives, Pageantry ...) */
:root { --hero-title: clamp(2.1rem, 4.4vw, 3.3rem); --hero-lead: clamp(1.1rem, 1.7vw, 1.3rem); }
.about-hero__head h1.section-title, .about-hero--plain .about-hero__head h1.section-title { font-size: var(--hero-title); line-height: 1.12; }
.about-hero__head p { font-size: var(--hero-lead); }

.hero-split__grid.is-text-only { grid-template-columns: minmax(0, 720px); justify-content: center; text-align: center; }
.hero-split__grid.is-text-only .hero-split__rule, .hero-split__grid.is-text-only .hero-split__lead { margin-inline: auto; }
.hero-split__grid.is-text-only .hero-split__actions, .hero-split__grid.is-text-only .hero-split__crafts { justify-content: center; }

/* Creatives cards: the Apply Now card with the photo of the category in the gold frame (a wide picture, set in the CMS). Without a photo the badge shows
   the first letter of the name. The whole card is a link to the form of its category. */
.creative-photo { display: block; width: 100%; aspect-ratio: 3 / 2; margin-bottom: .6rem; overflow: hidden; background: #0a1411; border-radius: 18px; box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--gold-soft), 0 16px 26px -16px rgba(52, 80, 58, .7); }
.creative-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
a.creative-card:hover .creative-photo img, a.creative-card:focus-visible .creative-photo img { transform: scale(1.05); }
a.creative-card { text-decoration: none; cursor: pointer; }
a.creative-card:hover .apply-choice__go, a.creative-card:focus-visible .apply-choice__go { color: var(--white); background: var(--green-deep); border-color: var(--green-deep); }
a.creative-card .apply-choice__go { display: block; max-width: 100%; text-align: center; line-height: 1.5; }
.creative-letter { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold-soft); }

/* the name of a category is a link to its application page (Google follows it); it looks the same as before */
.apply-choice__name a { color: inherit; text-decoration: none; }
.apply-choice__name a:hover, .apply-choice__name a:focus-visible { color: var(--gold); }
.about-hero__head p a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
