:root {
    --green-950: #072015;
    --green-900: #0a3927;
    --green-800: #0f573c;
    --green-700: #136845;
    --gold-600: #be8f22;
    --gold-500: #d4af37;
    --gold-200: #eadfc8;
    --green: #00712d;
    --ink: #161616;
    --muted: #70777b;
    --line: #e9e3d8;
    --paper: #faf8f4;
    --white: #fff;
    --shadow: 0 20px 45px rgba(23, 36, 30, .12);
    --container: min(1130px, calc(100% - 40px));
    --sans: Manrope, sans-serif;
    --serif: "Playfair Display", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--sans);
}
.site-page {
    width: clamp(320px, 100%, 1245px);
    margin: 0 auto;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.site-container { width: var(--container); margin-inline: auto; }

.button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 11px 22px;
    font-weight: 400;
    font-size: 0.8em;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .site-nav__link:focus-visible, .auth-socials a:focus-visible, .pageant-card a:focus-visible {
    outline: 3px solid rgba(212,175,55,.35);
    outline-offset: 3px;
}
.button--primary { background: var(--green-800); color: var(--white); border-color: #1a6a4d; box-shadow: 0 10px 24px rgba(15,87,60,.18); }
.button--primary:hover { box-shadow: 0 16px 34px rgba(15,87,60,.24); }
.button--gold { background: linear-gradient(180deg, #dfa73a, #c58e20); color: var(--white); }
.button--gold:hover { box-shadow: 0 16px 34px rgba(190,143,34,.28); }
.button--outline { background: #fffdfb; border-color: #b9b4ab; color: #2d2d2d; }
.button--ghost { background: #fff; border-color: var(--line); color: #222; }
.button--dark { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.button--green-outline { background: transparent; color: var(--green); border-color: var(--green); }
.eyebrow { margin: 0 0 18px; color: var(--gold-600); font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.94);
    /* border-bottom: 1px solid var(--line); */
    backdrop-filter: blur(18px);
    padding-bottom: 15px;
}
.site-header__inner { padding-top: 20px; display: grid; grid-template-columns: 220px 1fr auto auto; align-items: center; gap: 18px; }
.site-header__logo img { width: 184px; }
.site-nav { display: flex; justify-content: center; gap: 28px; }
.site-nav__link { position: relative; color: #222; font-size: 0.8em; font-weight: 400; padding: 24px 6px; }
.site-nav__link.is-active { color: var(--green-700); }
.site-nav__link.is-active::after { content:""; position:absolute; left:0; right:0; bottom:14px; height:2px; background:var(--green-700); }
.site-header__actions { display: flex; gap: 12px; }
.site-nav__mobile-actions, .menu-button { display: none; }

.home-hero {
    position: relative;
    min-height: 578px;
    overflow: hidden;
    background: #fff;
    border-radius: 25px;
    max-width: clamp(80%, 100%, 100%);
    margin: auto;
    /* border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px; */
}
.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,.44) 0%, rgba(255,255,255,.18) 34%, rgba(255,255,255,0) 62%);
}
.home-hero__slideshow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    cursor: pointer;
}
.home-hero__image {
    position: absolute;
    inset: 0;
    /* width: min(976px, 72vw); */
    width: 100%;
    height: 578px;
    object-fit: cover;
    object-position: top right;
    opacity: 0;
    transition: opacity 1000ms ease;
    z-index: 0;
}
.home-hero__image.is-active {
    opacity: 1;
    z-index: 1;
}
.home-hero__inner { position: relative; z-index: 2; min-height: 578px; display: flex; align-items: center; pointer-events: none; }
.home-hero__copy {
    width: min(430px, 48vw);
    padding-bottom: 48px;
    animation: hero-copy-in .8s cubic-bezier(.2,.8,.2,1) both;
    pointer-events: auto;
}
.home-hero h1 {
    margin: 0 0 24px;
    font-family: var(--serif);
    font-size: 66px;
    line-height: 1.03;
    font-weight: 400;
}
.home-hero h1 span { display: inline; color: var(--green-800); }
.home-hero .start-crown { width: 21px; margin-right: 5px; }
.home-hero__copy > p:not(.eyebrow) { color: #5f676b; font-size: 17px; line-height: 1.7; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-actions .button {
    padding: 15px 35px;
    font-size: 0.9em;
}
.trust-line { display: flex; align-items: center; gap: 10px; margin-top: 36px; color: #6c7376; font-size: 14px; }
.trust-line img { width: 15px; height: 18px; object-fit: contain; }

.stats-band {
    position: relative;
    z-index: 3;
    margin-top: -62px;
    min-height: 118px;
    max-width: 90%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: var(--green-900);
    color: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: float-up .7s cubic-bezier(.2,.8,.2,1) .15s both;
}
.stats-band article {
    display: grid;
    grid-template-columns: auto 1fr;
    align-content: center;
    gap: 6px 18px;
    padding: 26px 44px 26px 30px;
}
.stats-band article + article::before {
    content:"";
    position: absolute;
    margin-left: -34px;
    display: inline-block;
    height: 50%;
    width: 1px;
    border-left: 1px solid rgba(255,255,255,.22);
}
.stats-band img { width: 55px; aspect-ratio: 1; object-fit: contain; grid-row: span 2; align-self: center; }
.stats-band strong { font-family: var(--serif); font-size: 31px; line-height: 1; font-weight: 400; }
.stats-band span { font-size: 14px; color: #d8e2dd; }

.site-section { padding: 30px 0 50px; }
.featured-section { border-radius: 26px; background: linear-gradient(180deg, #fff 0%, #fbfaf6 100%); }
.section-heading { text-align: center; margin-bottom: 28px; }
.section-heading-tight { margin-bottom: 0; }
.section-heading h1, .section-heading h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 34px;
    line-height: 1.15;
    font-weight: 500;
}
.section-heading > span { display:inline-block; width:44px; height:2px; background:var(--gold-500); margin: 10px 8px; vertical-align: middle; }
.section-heading p { margin: 5px auto 0; color: var(--muted); max-width: 620px; line-height: 1.7; }
.section-heading .sub-heading {
    display: flex;
    align-items: center;
    justify-content: center;
}
.sub-heading > h2 {
    padding: 0 25px;
}
.sub-heading > img {
    height: 8px;
}
.pageant-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pageant-card {
    border-radius: 16px;
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(24,34,30,.11);
    border: 1px solid #eee8de;
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.pageant-card:hover {
    transform: translateY(-7px);
    border-color: rgba(212,175,55,.45);
    box-shadow: 0 24px 44px rgba(24,34,30,.16);
}
.pageant-card > img { width: 100%; height: 160px; object-fit: cover; }
.pageant-card > div { padding: 10px 18px 18px; }
.pageant-card h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.pageant-card p { margin: 0 0 18px; color: #777; font-size: 14px; display: flex; align-items: center; }
.pageant-card p > img { width: 16px; margin-right: 5px; }
.pageant-card .pageant-card__blurb {
    display: block;
    min-height: 64px;
    color: #56615c;
    line-height: 1.55;
}
.pageant-card__description { display: block !important; min-height: 48px; line-height: 1.55; }
.pageant-card a, .explore-button { display:flex; justify-content:center; border-radius:8px; padding:10px 12px; color:var(--green); font-weight:800; font-size:13px; border: solid 1px var(--green); transition: background .2s ease, color .2s ease, transform .2s ease; }
.pageant-card a:hover, .explore-button:hover { background: var(--green); color: #fff; transform: translateY(-1px); }
.explore-button { width:max-content; margin: 24px auto 0; padding-inline: 34px; background: #fff; }

.how-section { background: #fff; padding-top: 42px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.step-icon { position: relative; width: 90px; margin: 0 auto 18px; }
.step-icon img { width: 100%; height: 100%; object-fit: contain; filter: saturate(.9); }
.step-icon b { position: absolute; left: -8px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-500); color: #fff; display:grid; place-items:center; font-size: 12px; }
.steps-grid h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 20px; }
.steps-grid p { margin: 0 auto; color: #5d666a; line-height: 1.55; max-width: 190px; }
.steps-grid article { transition: transform .24s ease; }
.steps-grid article:hover { transform: translateY(-5px); }

.cta-band { margin-bottom: 0; min-height: 112px; display:grid; grid-template-columns: 160px 1fr auto; align-items:center; gap:30px; background:var(--green-900); color:white; border-radius: 16px; padding: 0 36px; overflow:hidden; }
.cta-band img { width: 120px; }
.cta-band h2 { margin:0 0 6px; font-family: var(--serif); font-size: 2.2em; font-weight: 400; }
.cta-band p { margin:0; color:#d4e0da; }
.cta-band .start-gold-crown { width: 21px; margin-right: 5px; }
.cta-band .caret { width: 12px; margin-left: 5px; }

.site-footer { padding: 44px 0 24px; background:#fff; }
.site-footer__grid { display: flex; justify-content: space-between; }
.site-footer__brand {
    width: 200px;
}
.site-footer__brand img { width: 150px; margin-bottom: 14px; }
.site-footer p, .site-footer a { color:#687276; line-height:1.65; font-size:14px; }
.site-footer__column { display:grid; gap:9px; align-content:start; }
.site-footer__column h3, .newsletter-form h3 { margin:0 0 8px; font-size:15px; }
.social-row { display:flex; gap:8px; }
.social-row span { width:24px; height:24px; display:grid; place-items:center; border-radius:50%; background:#111; color:white; font-size:10px; font-weight:800; }
.newsletter-form label { display:flex; margin-top:12px; border:1px solid var(--line); border-radius:8px; overflow:hidden; background:white; }
.newsletter-form input { min-width:0; flex:1; border:0; padding:12px; }
.newsletter-form button { border:0; background:var(--green-800); color:#fff; padding:0 14px; }
.site-footer__copy { text-align:center; margin:26px 0 0; }

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1);
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.auth-page {
    padding: 15px 0 55px;
    background: linear-gradient(#ffffff, rgba(15,87,60,.08)), radial-gradient(circle at 96% 76%, rgba(212,175,55,.12), transparent 18rem), #fffaf2;
    border-radius: 25px;
}
.auth-shell {
    display: grid;
    grid-template-columns: minmax(420px, 1.02fr) minmax(460px, .98fr);
    gap: 28px;
    align-items: stretch;
}
.auth-showcase {
    position: relative;
    min-height: 630px;
    overflow: hidden;
    border-radius: 14px;
    background: var(--green-950);
    box-shadow: 0 24px 60px rgba(21,28,24,.16);
    isolation: isolate;
}
.auth-showcase::before,
.auth-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.auth-showcase::before {
    background:
        linear-gradient(90deg, rgba(4,35,22,.92) 0%, rgba(4,35,22,.82) 36%, rgba(4,35,22,.18) 74%),
        radial-gradient(circle at 18% 18%, rgba(212,175,55,.24), transparent 17rem);
}
.auth-showcase::after {
    background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.28));
}
.auth-showcase__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    filter: saturate(1.08) contrast(1.04) brightness(.74);
    transform: scale(1.02);
}
.auth-showcase__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 630px;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 5vw, 64px);
    color: #fff;
    animation: float-up .7s cubic-bezier(.2,.8,.2,1) both;
}
.auth-showcase__brand {
    display: grid;
    width: max-content;
    grid-template-columns: 44px 1fr;
    gap: 2px 12px;
    align-items: center;
    margin-bottom: 22px;
    letter-spacing: 6px;
    text-transform: uppercase;
}
.auth-showcase__brand img {
    width: 44px;
    grid-row: span 2;
}
.auth-showcase__brand span {
    font-size: 20px;
    line-height: 1;
}
.auth-showcase__brand strong {
    color: var(--gold-500);
    font-size: 13px;
    font-weight: 600;
}
.auth-showcase h1 {
    max-width: 420px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(44px, 5.2vw, 64px);
    font-weight: 700;
    line-height: .98;
}
.auth-showcase h1 span {
    display: block;
    color: var(--gold-500);
}
.auth-showcase p {
    max-width: 350px;
    margin: 24px 0 0;
    color: rgba(255,255,255,.9);
    font-size: 17px;
    line-height: 1.6;
}
.auth-showcase__rule {
    width: 260px;
    height: 1px;
    margin: 26px 0 18px;
    background: linear-gradient(90deg, var(--gold-500), rgba(212,175,55,.15));
}
.auth-showcase__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(70px, 1fr));
    max-width: 460px;
    gap: 14px;
    margin-top: 18px;
}
.auth-showcase__stats article {
    border-right: 1px solid rgba(255,255,255,.18);
    text-align: center;
}
.auth-showcase__stats article:last-child {
    border-right: 0;
}
.auth-showcase__stats img {
    width: 33px;
    margin: 0 auto 8px;
}
.auth-showcase__stats strong {
    display: block;
    font-size: 20px;
}
.auth-showcase__stats span {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.82);
    font-size: 10px;
}
.auth-card {
    display: flex;
    min-height: 630px;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(233,227,216,.86);
    border-radius: 14px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 24px 60px rgba(21,28,24,.12);
    padding: clamp(34px, 5vw, 66px);
    animation: auth-card-in .78s cubic-bezier(.2,.8,.2,1) both;
}
.auth-card--login {
    padding-inline: clamp(40px, 6vw, 72px);
}
.auth-card h1 {
    margin: 10px 0 8px;
    color: var(--green-900);
    font-family: var(--serif);
    font-size: clamp(34px, 3.4vw, 45px);
    font-weight: 700;
    line-height: 1.05;
    text-align: center;
}
.auth-card__icon {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    margin: 0 auto 8px;
    border: 1px solid rgba(15,87,60,.34);
    border-radius: 50%;
    background: #fffdf8;
}
.auth-card__icon img {
    width: 31px;
}
.auth-card__icon--user img {
    width: 34px;
}
.auth-flourish {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}
.auth-flourish span {
    width: 56px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(190,143,34,.7));
}
.auth-flourish span:last-child {
    background: linear-gradient(90deg, rgba(190,143,34,.7), transparent);
}
.auth-flourish img {
    width: 22px;
}
.auth-card__intro {
    max-width: 420px;
    margin: 0 auto 24px;
    color: #3e4642;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
}
.auth-notice {
    margin: 0 0 16px;
    border: 1px solid rgba(15,87,60,.16);
    border-radius: 10px;
    background: rgba(15,87,60,.07);
    color: var(--green-900);
    padding: 12px 14px;
    font-size: 13px;
}
.auth-notice p {
    margin: 0;
}
.auth-notice p + p {
    margin-top: 6px;
}
.auth-notice--error {
    border-color: rgba(150,34,34,.2);
    background: rgba(150,34,34,.08);
    color: #781f1f;
}
.auth-notice--success {
    border-color: rgba(15,87,60,.18);
    background: rgba(15,87,60,.08);
    color: var(--green-900);
}
.auth-form {
    display: grid;
    gap: 15px;
}
.auth-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.auth-form label {
    display: grid;
    gap: 8px;
    color: #171c1a;
    font-size: 13px;
    font-weight: 700;
}
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    min-height: 45px;
    border: 1px solid #d5d1ca;
    border-radius: 7px;
    background: rgba(255,255,255,.78);
    color: var(--ink);
    padding: 0 16px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.auth-form input:focus {
    border-color: rgba(15,87,60,.55);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15,87,60,.08);
    outline: 0;
}
.auth-forgot {
    justify-self: end;
    margin-top: -4px;
    color: var(--green-800);
    font-size: 13px;
    font-weight: 700;
}
.auth-check {
    display: flex !important;
    grid-template-columns: auto 1fr;
    gap: 10px !important;
    align-items: start;
    font-weight: 500 !important;
}
.auth-check input {
    width: 15px;
    height: 15px;
    margin-top: 2px;
    accent-color: var(--green-800);
}
.auth-check a,
.auth-switch a {
    color: var(--green-800);
    font-weight: 800;
}
.auth-submit {
    width: 100%;
    min-height: 51px;
    margin-top: 8px;
    font-size: 15px;
    font-weight: 700;
}
.auth-submit img {
    width: 22px;
    margin-right: 10px;
}
.auth-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    margin: 22px 0;
    color: #2a302d;
    font-size: 13px;
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    background: var(--line);
}
.auth-socials {
    display: grid;
    gap: 11px;
}
.auth-socials--split {
    grid-template-columns: 1fr 1fr;
}
.auth-socials a {
    display: flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9d5cf;
    border-radius: 7px;
    background: rgba(255,255,255,.75);
    color: #1c211f;
    font-size: 15px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.auth-socials a:hover {
    transform: translateY(-2px);
    border-color: rgba(15,87,60,.28);
    box-shadow: 0 12px 24px rgba(21,28,24,.08);
}
.auth-switch {
    margin: 22px 0 0;
    color: #3e4642;
    font-size: 15px;
    text-align: center;
}

@keyframes hero-copy-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes auth-card-in {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}

.inner-hero, .pageant-public-hero { background: linear-gradient(135deg, var(--green-950), var(--green-800)); color:#fff; padding:82px 0; }
.inner-hero--compact { padding:56px 0; }
.inner-hero h1, .pageant-public-hero h1, .profile-layout h1 { font-family:"Playfair Display",serif; font-size:54px; line-height:1.05; margin:0 0 16px; }
.inner-hero p:not(.eyebrow), .pageant-public-hero p { color:#dce8e2; max-width:640px; line-height:1.7; }
.hero-meta { color: rgba(255,255,255,.78) !important; font-size: 14px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.content-grid, .pageant-detail-layout, .profile-layout, .wizard-layout { display:grid; grid-template-columns: repeat(3,1fr); gap:22px; align-items:start; }
.content-grid article, .vote-panel, .wizard-card, .wizard-aside, .package-grid article { background:white; border:1px solid var(--line); border-radius:8px; padding:24px; box-shadow:0 12px 28px rgba(24,34,30,.08); }
.content-grid h2, .vote-panel h2, .wizard-aside h2 { font-family:"Playfair Display",serif; margin:0 0 10px; }
.pageant-detail-layout > div { grid-column: span 2; }
.contestant-row { display:grid; grid-template-columns: repeat(2,1fr); gap:16px; }
.contestant-row article { background:white; border:1px solid var(--line); border-radius:8px; padding:18px; }
.contestant-row h3 { margin:8px 0 4px; font-family:"Playfair Display",serif; }
.contestant-row a { color:var(--green-800); font-weight:800; }
.profile-layout { grid-template-columns: 420px 1fr; }
.profile-image { background:var(--green-900); border-radius:8px; overflow:hidden; }
.profile-image img { width:100%; height:520px; object-fit:cover; }
.profile-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:24px 0; }
.profile-stats article { background:white; border:1px solid var(--line); border-radius:8px; padding:16px; }
.profile-stats strong { display:block; font-size:26px; }
.profile-message { border-left: 4px solid var(--gold-500); background: #fff8e8; padding: 14px 16px; color: #3c3320; }
.vote-page { min-height:70vh; }
.package-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.package-grid article.is-featured { border-color:var(--green-800); box-shadow:0 20px 40px rgba(15,87,60,.16); }
.package-grid h2 { margin:0 0 12px; font-family:"Playfair Display",serif; }
.package-grid strong { display:block; font-size:28px; margin-bottom:20px; }
.vote-checkout { display: grid; gap: 22px; }
.package-grid--checkout { grid-template-columns: repeat(4, 1fr); }
.package-option {
    position: relative;
    display: grid;
    gap: 9px;
    min-height: 160px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 12px 28px rgba(24,34,30,.08);
    cursor: pointer;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.package-option:hover { transform: translateY(-4px); border-color: rgba(15,87,60,.3); }
.package-option.is-featured { border-color: var(--green-800); box-shadow: 0 20px 40px rgba(15,87,60,.16); }
.package-option input { position: absolute; right: 18px; top: 18px; accent-color: var(--green-800); }
.package-option span { color: var(--green-900); font-weight: 900; }
.package-option strong { margin: 0; font-size: 30px; }
.package-option small { color: var(--muted); font-weight: 800; }
.checkout-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr auto;
    gap: 16px;
    align-items: end;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 16px 34px rgba(24,34,30,.08);
}
.checkout-card h2 { margin: 0 0 6px; font-family: var(--serif); }
.checkout-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.checkout-card label { display: grid; gap: 7px; font-size: 13px; font-weight: 800; }
.checkout-card input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 13px 14px; background: #fff; }
.wizard-layout { grid-template-columns: 1fr 320px; }
.wizard-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:22px; }
.wizard-steps > a, .wizard-steps > span { padding:12px; border-radius:8px; background:#f4f1eb; color:#37423d; font-weight:800; }
.wizard-steps > a span, .wizard-steps > span b { display:inline-grid; place-items:center; width:24px; height:24px; background:white; border-radius:50%; margin-right:8px; font-size: 12px; }
.wizard-steps .is-active { background:rgba(15,87,60,.12); color:var(--green-800); }
.iv-form { display:grid; gap:16px; }
.iv-form label { display:grid; gap:7px; font-weight:800; }
.iv-form input, .iv-form textarea, .dashboard-filters input, .dashboard-filters select { width:100%; border:1px solid var(--line); border-radius:8px; padding:13px 14px; background:#fff; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.button:disabled, .iv-form input:disabled, .iv-form textarea:disabled, .checkout-card input:disabled {
    cursor: not-allowed;
    opacity: .58;
}
.status-pill {
    display: inline-flex;
    width: max-content;
    align-items: center;
    border-radius: 999px;
    background: rgba(15,87,60,.1);
    color: var(--green-800);
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.status-pill--draft, .status-pill--pending { background: rgba(190,143,34,.13); color: #89640f; }
.status-pill--published, .status-pill--active, .status-pill--paid { background: rgba(15,87,60,.12); color: var(--green-800); }
.status-pill--archived, .status-pill--suspended { background: rgba(92,92,92,.12); color: #555; }
.empty-state {
    display: grid;
    justify-items: center;
    gap: 10px;
    border: 1px dashed #d8d0c2;
    border-radius: 14px;
    background: #fffdf8;
    padding: 42px;
    text-align: center;
}
.empty-state h2, .empty-state h3 { margin: 0; font-family: var(--serif); color: var(--green-900); }
.empty-state p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.6; }
.empty-state--inline { justify-items: start; padding: 22px; text-align: left; }
.mini-package-list { display: grid; gap: 10px; margin: 18px 0; }
.mini-package-list div { display: flex; justify-content: space-between; gap: 12px; border-radius: 8px; background: #f7f4ed; padding: 11px 12px; }
.mini-package-list span { color: var(--muted); }
.mini-package-list strong { color: var(--green-800); }

.dashboard-shell { min-height:100vh; display:grid; grid-template-columns:260px 1fr; background:#f5f7f5; }
.dashboard-sidebar { background:linear-gradient(180deg,var(--green-950),var(--green-800)); color:#fff; padding:24px; display:grid; align-content:start; gap:24px; }
.dashboard-sidebar__logo img { width:170px; filter:brightness(0) invert(1); }
.dashboard-pageant-pill, .dashboard-help { border:1px solid rgba(255,255,255,.14); border-radius:8px; padding:16px; background:rgba(255,255,255,.06); }
.dashboard-pageant-pill span { display:block; color:#c8d8d0; font-size:12px; margin-bottom:5px; }
.dashboard-nav { display:grid; gap:8px; }
.dashboard-nav a { border-radius:8px; padding:13px 14px; color:#e4ede8; font-weight:800; }
.dashboard-nav a.is-active, .dashboard-nav a:hover { background:rgba(255,255,255,.12); color:#fff; }
.dashboard-help p { color:#d4e0da; font-size:14px; line-height:1.6; }
.dashboard-help a { display:block; text-align:center; margin-top:12px; padding:10px; border-radius:8px; background:var(--green-700); font-weight:800; }
.dashboard-topbar { height:78px; background:#fff; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; padding:0 28px; }
.dashboard-topbar span, .dashboard-heading p { color:var(--green-800); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:1px; }
.dashboard-profile { display:flex; gap:12px; align-items:center; }
.dashboard-profile > span { width:42px; height:42px; border-radius:50%; background:var(--green-800); color:#fff; display:grid; place-items:center; }
.dashboard-profile p { margin:2px 0 0; color:var(--muted); font-size:13px; }
.dashboard-content { padding:28px; }
.dashboard-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:24px; }
.dashboard-heading h1 { margin:4px 0; font-family:"Playfair Display",serif; font-size:38px; }
.dashboard-heading span { color:var(--muted); }
.dashboard-metrics, .dashboard-grid, .dashboard-contestants-grid { display:grid; gap:18px; }
.dashboard-metrics { grid-template-columns:repeat(4,1fr); margin-bottom:18px; }
.dashboard-metrics article, .dashboard-panel, .dashboard-contestants-grid article { background:white; border:1px solid var(--line); border-radius:8px; padding:20px; box-shadow:0 12px 28px rgba(24,34,30,.06); }
.dashboard-metrics strong { display:block; font-size:29px; margin-bottom:4px; }
.dashboard-metrics span { font-weight:800; }
.dashboard-metrics p { color:var(--green-800); margin:8px 0 0; font-size:13px; }
.dashboard-grid { grid-template-columns:2fr 1fr; }
.dashboard-panel--wide { grid-row:span 2; }
.dashboard-panel header { display:flex; justify-content:space-between; margin-bottom:16px; }
.dashboard-panel h2 { margin:0; font-family:"Playfair Display",serif; }
.chart-placeholder { height:300px; border-radius:8px; background:linear-gradient(180deg,rgba(15,87,60,.08),rgba(15,87,60,.01)); clip-path:polygon(0 78%,14% 64%,28% 69%,42% 52%,57% 57%,72% 35%,86% 40%,100% 18%,100% 100%,0 100%); }
.dashboard-list { display:grid; gap:10px; }
.dashboard-list div { display:flex; justify-content:space-between; gap:12px; padding:11px; border-radius:8px; background:#f7f4ed; }
.dashboard-filters { display:grid; grid-template-columns:2fr 1fr 1fr; gap:14px; margin-bottom:18px; }
.dashboard-contestants-grid { grid-template-columns:repeat(3,1fr); }
.contestant-thumb { height:180px; border-radius:8px; background:linear-gradient(135deg,var(--green-900),#11291f); margin-bottom:14px; }
.dashboard-contestants-grid h2 { margin:0 0 5px; font-family:"Playfair Display",serif; }
.dashboard-contestants-grid p { margin:0 0 14px; color:var(--muted); }
.dashboard-contestants-grid dl { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:0 0 14px; }
.dashboard-contestants-grid dt { color:var(--muted); font-size:12px; }
.dashboard-contestants-grid dd { margin:2px 0 0; font-weight:800; }
.dashboard-contestants-grid a { display:block; text-align:center; padding:10px; border:1px solid var(--line); border-radius:8px; color:var(--green-800); font-weight:800; }
.management-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.management-card {
    display: grid;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 12px 28px rgba(24,34,30,.06);
}
.management-card h2 { margin: 10px 0 6px; font-family: var(--serif); font-size: 28px; }
.management-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.management-card dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; }
.management-card dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.management-card dd { margin: 3px 0 0; font-weight: 900; }
.management-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.management-actions form { margin: 0; }
.form-panel { max-width: 860px; }
.table-scroll { overflow-x: auto; }
.dashboard-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.dashboard-table th, .dashboard-table td { border-bottom: 1px solid var(--line); padding: 14px 12px; text-align: left; }
.dashboard-table th { color: var(--green-800); font-size: 12px; text-transform: uppercase; letter-spacing: .6px; }
.dashboard-table td { color: #29312d; }
.swatch-list { display:grid; gap:12px; }
.swatch-list div { display:grid; grid-template-columns:56px 1fr; gap:6px 12px; align-items:center; }
.swatch-list span { width:56px; height:44px; border-radius:8px; border:1px solid var(--line); grid-row:span 2; }
.theme-preview img { border-radius:8px; width:100%; height:330px; object-fit:cover; }

.dashboard-page {
    width: 100%;
    background: #f7f9f8;
}
.dashboard-shell {
    grid-template-columns: 232px minmax(0, 1fr);
    background:
        radial-gradient(circle at 78% 0%, rgba(15,87,60,.05), transparent 26rem),
        #f8faf9;
}
.dashboard-main { min-width: 0; }
.dashboard-sidebar {
    position: sticky;
    top: 0;
    min-height: 100vh;
    gap: 18px;
    overflow-y: auto;
    background:
        radial-gradient(circle at 10% 15%, rgba(0,113,45,.36), transparent 14rem),
        linear-gradient(180deg, #00140e 0%, #00281b 58%, #00130d 100%);
    border-right: 1px solid rgba(255,255,255,.08);
    padding: 24px 18px;
}
.dashboard-sidebar__brand {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    align-items: center;
    color: #fff;
}
.dashboard-sidebar__brand img {
    width: 39px;
    height: 39px;
    filter: drop-shadow(0 10px 18px rgba(212,175,55,.2));
}
.dashboard-sidebar__brand strong {
    display: block;
    font-size: 24px;
    line-height: .9;
    letter-spacing: .5px;
}
.dashboard-sidebar__brand em,
.dashboard-sidebar__brand small {
    display: block;
    color: var(--gold-500);
    font-style: normal;
    font-weight: 900;
    letter-spacing: 4px;
}
.dashboard-sidebar__brand small {
    color: #12a660;
    font-size: 13px;
}
.dashboard-pageant-pill--rich {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 12px;
    align-items: start;
    border-color: rgba(255,255,255,.14);
    border-radius: 14px;
}
.dashboard-pageant-pill--rich img { width: 26px; margin-top: 2px; }
.dashboard-pageant-pill--rich a {
    display: inline-flex;
    margin-top: 8px;
    color: #d4f6df;
    font-size: 12px;
    font-weight: 800;
}
.dashboard-nav {
    gap: 15px;
}
.dashboard-nav__group {
    display: grid;
    gap: 4px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.12);
}
.dashboard-nav__group:first-child {
    border-top: 0;
    padding-top: 0;
}
.dashboard-nav__group > span {
    margin: 0 8px 7px;
    color: rgba(255,255,255,.58);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .8px;
    text-transform: uppercase;
}
.dashboard-nav a {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 44px;
    border-radius: 8px;
    padding: 11px 12px;
    color: rgba(255,255,255,.9);
    font-size: 14px;
    text-shadow: 0 8px 16px rgba(0,0,0,.18);
}
.dashboard-nav a img {
    width: 19px;
    height: 19px;
}
.dashboard-nav a strong {
    font-weight: 800;
}
.dashboard-nav a.is-active,
.dashboard-nav a:hover {
    background: linear-gradient(180deg, #08733f, #05602f);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 12px 24px rgba(0,0,0,.16);
}
.dashboard-nav a.is-disabled {
    opacity: .76;
    pointer-events: none;
}
.dashboard-help {
    margin-top: auto;
    border-radius: 12px;
    background: rgba(255,255,255,.055);
}
.dashboard-help__icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--gold-500);
    border-radius: 50%;
    margin-bottom: 10px;
}
.dashboard-help__icon img { width: 19px; }
.dashboard-help a {
    background: linear-gradient(180deg, #08733f, #05602f);
}
.dashboard-overlay {
    display: none;
    border: 0;
    background: rgba(0,0,0,.45);
}
.dashboard-topbar {
    position: sticky;
    top: 0;
    z-index: 12;
    height: 76px;
    padding: 0 28px;
    box-shadow: 0 1px 0 rgba(8,35,24,.08);
}
.dashboard-topbar__left,
.dashboard-topbar__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.dashboard-topbar__logo img {
    width: 168px;
    height: auto;
}
.dashboard-menu-button {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}
.dashboard-menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 2px 0;
    border-radius: 3px;
    background: #14231b;
}
.dashboard-menu-button--mobile {
    display: none;
}
.dashboard-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #77807c;
    font-size: 13px;
    min-width: 0;
}
.dashboard-breadcrumbs a {
    color: #5a6460;
    font-weight: 800;
}
.dashboard-breadcrumbs a::after {
    content: ">";
    margin-left: 8px;
    color: #a2aaa6;
}
.dashboard-breadcrumbs span:last-child {
    color: #111;
    font-weight: 900;
}
.dashboard-search input {
    width: min(340px, 26vw);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 12px 14px;
}
.dashboard-icon-button {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.dashboard-icon-button img {
    width: 21px;
    filter: brightness(0);
}
.dashboard-notification-dot {
    position: absolute;
    right: 7px;
    top: 8px;
    width: 9px;
    height: 9px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #ec1f27;
}
.dashboard-profile {
    position: relative;
}
.dashboard-profile__button {
    display: flex;
    gap: 12px;
    align-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}
.dashboard-profile__button > span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--green-800);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
}
.dashboard-account-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    z-index: 20;
    display: none;
    min-width: 220px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(24,34,30,.14);
    padding: 8px;
}
.dashboard-account-menu.is-open {
    display: grid;
}
.dashboard-account-menu a {
    border-radius: 8px;
    padding: 11px 12px;
    color: #26322d;
    font-weight: 800;
}
.dashboard-account-menu a:hover { background: #f3f6f4; }
.dashboard-account-menu .is-danger { color: #b42318; }
.dashboard-content {
    max-width: 1500px;
    margin-inline: auto;
    padding: 28px;
}
.dashboard-heading h1 {
    font-size: 34px;
}
.dashboard-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.dashboard-metrics article,
.dashboard-panel,
.dashboard-contestants-grid article,
.management-card {
    border-radius: 12px;
    border-color: #e6ebe8;
    box-shadow: 0 12px 34px rgba(20,32,27,.045);
}
.dashboard-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
}
.dashboard-contestants-grid {
    grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
}
.contestant-thumb {
    height: 162px;
    background:
        radial-gradient(circle at 58% 18%, rgba(212,175,55,.25), transparent 4rem),
        linear-gradient(135deg,var(--green-900),#061d13);
}
.empty-state {
    border-radius: 16px;
    border-color: rgba(15,87,60,.18);
    background:
        radial-gradient(circle at 20% 0%, rgba(15,87,60,.08), transparent 16rem),
        #fff;
}
.pageant-builder {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}
.pageant-builder--public {
    max-width: 1120px;
    margin-inline: auto;
}
.pageant-builder__card,
.pageant-builder__aside {
    border-radius: 14px;
}
.pageant-builder__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: 26px;
}
.pageant-builder__steps button {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #4b5651;
    font-weight: 800;
    cursor: pointer;
}
.pageant-builder__steps button::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    height: 1px;
    background: #dbe2de;
    z-index: 0;
}
.pageant-builder__steps button:first-child::before { left: 50%; }
.pageant-builder__steps button:last-child::before { right: 50%; }
.pageant-builder__steps b {
    position: relative;
    z-index: 1;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #edf3ef;
    color: #26322d;
}
.pageant-builder__steps .is-active b,
.pageant-builder__steps .is-complete b {
    background: var(--green-800);
    color: #fff;
}
.pageant-step-panel {
    display: none;
    gap: 18px;
}
.pageant-step-panel.is-active {
    display: grid;
}
.form-section-heading {
    display: flex;
    gap: 14px;
    align-items: start;
    margin-bottom: 4px;
}
.form-section-heading > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: rgba(15,87,60,.1);
    color: var(--green-800);
    font-weight: 900;
}
.form-section-heading h2 {
    margin: 0 0 4px;
    color: var(--green-900);
    font-family: var(--serif);
}
.form-section-heading p {
    margin: 0;
    color: var(--muted);
}
.setup-choice-grid,
.review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.setup-choice-grid label,
.review-grid article {
    display: grid;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfdfb;
    padding: 16px;
}
.setup-choice-grid label {
    grid-template-columns: auto 1fr;
    align-items: start;
}
.setup-choice-grid input {
    margin-top: 3px;
    accent-color: var(--green-800);
}
.setup-choice-grid span,
.review-grid strong {
    color: var(--green-900);
    font-weight: 900;
}
.setup-choice-grid small,
.review-grid span {
    color: var(--muted);
    line-height: 1.5;
}
.pageant-step-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

@media (max-width: 1245px) {
    .home-hero {
        border-radius: 0;
    }
}
@media (max-width: 980px) {
    .site-header__inner { grid-template-columns: 190px 1fr auto; }
    .site-nav, .site-header__actions { display:none; }
    .menu-button { display:grid; gap:4px; border:1px solid var(--line); background:white; border-radius:8px; padding:10px; justify-self:end; }
    .menu-button span { display:block; width:22px; height:2px; background:#222; }
    .site-header.is-open .site-nav { display:grid; position:absolute; left:20px; right:20px; top:88px; background:white; border:1px solid var(--line); border-radius:8px; padding:16px; box-shadow:var(--shadow); }
    .site-header.is-open .site-nav__mobile-actions { display:grid; gap:10px; margin-top:10px; }
    .home-hero__image { width:100%; height: 90vw; }
    .home-hero__copy {
        width: 100%;
        padding: 40px;
        padding-top: 40px !important;
        background: rgba(255,255,255,.8);
        backdrop-filter: blur(18px);
        margin-top: clamp(30px, 40vh, 500px);
        margin-left: 3vw;
        margin-right: 3vw;
        border-radius: 24px;
    }
    .home-hero h1 { margin-bottom: 10px; }
    .home-hero h1 span { display: inline; }
    .stats-band, .steps-grid, .site-footer__grid, .content-grid, .pageant-detail-layout, .profile-layout, .wizard-layout, .package-grid, .checkout-card, .form-grid, .management-grid, .dashboard-metrics, .dashboard-grid, .dashboard-contestants-grid, .dashboard-filters { grid-template-columns:1fr; }
    .pageant-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .stats-band { margin-top:0; width: 95vw; }
    .stats-band article + article::before {
        display: none;
    }
    /* .stats-band article { border-right:0; padding: 3vw; width: 50%; display: flex; flex-direction: column; align-items: center;  } */
    .cta-band {
        grid-template-columns:1fr; text-align:center;
        padding: 0 40px 40px;
        gap: 0;
    }
    .cta-band img { margin:auto; }
    .cta-band .button { margin: 20px 0 0; }
    .dashboard-shell { grid-template-columns:1fr; }
    .dashboard-sidebar { position:static; }
    .management-actions { display: grid; }
    .management-actions .button { width: 100%; }
    .wizard-steps { grid-template-columns: 1fr 1fr; }
    .steps-grid {
        padding: 10px;
        gap: 45px;
    }
    .steps-grid article {
        display: grid;
        grid-template-columns: auto 1fr;
        text-align: left;
    }
    .steps-grid article .step-icon {
        grid-row: span 2;
        margin: 0 15px 0 0;
    }
    .steps-grid article h3 {
        line-height: 1em;
    }
    .steps-grid article p {
        width: 100%;
        max-width: none;
        padding-right: 80px;
    }
    .auth-page {
        padding-top: 0;
    }
    .auth-shell {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .auth-card {
        order: 1;
        min-height: auto;
        padding: 38px;
    }
    .auth-showcase {
        order: 2;
        min-height: 430px;
    }
    .auth-showcase__content {
        min-height: 430px;
        padding: 42px;
    }
    .auth-showcase h1 {
        max-width: 520px;
        font-size: 48px;
    }
    .auth-showcase p {
        max-width: 430px;
    }
}

@media (max-width: 620px) {
    .site-container { width: min(100% - 28px, 1130px); }
    .home-hero h1, .inner-hero h1, .pageant-public-hero h1, .profile-layout h1 { font-size:42px; }
    .home-hero, .home-hero__inner { min-height:660px; }
    .home-hero__copy { padding-top:90px; margin-top: clamp(30px, 28vh, 500px); }
    /* .home-hero__image { height: 120vw; } */
    .hero-actions, .dashboard-heading { display:grid; align-items:stretch; }
    .button { width:100%; }
    .pageant-grid { grid-template-columns: 1fr; }
    .wizard-steps { grid-template-columns: 1fr; }
    .empty-state { padding: 28px 18px; }
    .dashboard-content { padding: 20px 14px; }
    .management-card dl, .dashboard-contestants-grid dl { grid-template-columns: 1fr; }
    .stats-band {
        width: 80vw;
        padding: 20px;
    }
    .stats-band article { border-right:0; padding: 3vh 3vw; width: 50%; display: flex; flex-direction: column; align-items: center;  }
    .site-footer__grid {
        flex-direction: column;
        align-items: center;
    }
    .site-footer__brand {
        padding-bottom: 20px;
        text-align: center;
    }
    .site-footer__brand img {
        margin: 0 auto 5px;
    }
    .site-footer__column {
        padding: 20px 0;
        text-align: center;
    }
    .social-row {
        align-items: center;
        justify-content: center;
    }
    .site-nav {
        gap: 0;
    }
    .site-nav__link {
        font-size: 1em;
        text-align: center;
        padding: 15px;
    }
    .site-nav__link.is-active::after {
        display: none;
    }
    .site-nav__mobile-actions .button {
        font-size: 1em;
    }
    .auth-page {
        padding-bottom: 16px;
    }
    .auth-shell {
        width: min(100% - 24px, 1130px);
    }
    .auth-card {
        padding: 30px 20px;
        border-radius: 12px;
    }
    .auth-card h1 {
        font-size: 34px;
    }
    .auth-card__intro {
        font-size: 14px;
    }
    .auth-form__row,
    .auth-socials--split {
        grid-template-columns: 1fr;
    }
    .auth-socials a,
    .auth-submit {
        width: 100%;
    }
    .auth-showcase {
        min-height: 420px;
        border-radius: 12px;
    }
    .auth-showcase__content {
        min-height: 420px;
        padding: 30px 22px;
    }
    .auth-showcase__brand {
        letter-spacing: 4px;
    }
    .auth-showcase h1 {
        font-size: 40px;
    }
    .auth-showcase__stats {
        grid-template-columns: repeat(2, 1fr);
        max-width: 320px;
    }
    .auth-showcase__stats article:nth-child(2) {
        border-right: 0;
    }
    .auth-showcase__stats article {
        padding-bottom: 10px;
    }
}

@media (max-width: 1180px) {
    .dashboard-search { display: none; }
    .dashboard-metrics { grid-template-columns: repeat(2, 1fr); }
    .pageant-builder { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
    .dashboard-shell {
        display: block;
    }
    .dashboard-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 30;
        width: min(300px, 86vw);
        transform: translateX(-105%);
        transition: transform .24s ease;
    }
    .dashboard-shell.is-menu-open .dashboard-sidebar {
        transform: translateX(0);
    }
    .dashboard-overlay {
        position: fixed;
        inset: 0;
        z-index: 25;
    }
    .dashboard-shell.is-menu-open .dashboard-overlay {
        display: block;
    }
    .dashboard-topbar {
        padding: 0 16px;
    }
    .dashboard-topbar__left > .dashboard-menu-button {
        display: none;
    }
    .dashboard-menu-button--mobile {
        display: inline-grid;
    }
    .dashboard-topbar__logo img {
        width: 128px;
    }
    .dashboard-breadcrumbs {
        display: none;
    }
    .dashboard-profile__button div {
        display: none;
    }
    .dashboard-content {
        padding: 22px 16px;
    }
    .pageant-builder__steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .pageant-builder__steps button::before {
        display: none;
    }
    .setup-choice-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .dashboard-metrics,
    .dashboard-grid,
    .dashboard-contestants-grid,
    .pageant-builder__steps {
        grid-template-columns: 1fr;
    }
    .dashboard-topbar__actions {
        gap: 8px;
    }
    .dashboard-icon-button {
        display: none;
    }
    .pageant-step-actions {
        display: grid;
    }
    .pageant-step-actions .button {
        width: 100%;
    }
    .sub-heading > h2 {
        font-size: 28px;
    }
    .site-header__logo {
        padding-left: 20px;
    }
    .section-heading p span {
        display: block;
    }
}
