/* ============================================
   JDM Dayhome Agency — Shared Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
    --rose:       #c4747f;
    --rose-soft:  #e8b4bb;
    --rose-light: #f9e8eb;
    --cream:      #fdf6f0;
    --ivory:      #f9f0e6;
    --sage:       #8fa68a;
    --sage-soft:  #c2d4be;
    --sage-light: #e8f0e6;
    --gold:       #c8a96e;
    --gold-soft:  #ecdfc7;
    --gold-light: #fdf3e3;
    --plum:       #7d6b8a;
    --plum-light: #ede8f4;
    --charcoal:   #4a4040;
    --mid:        #7a6e6e;
    --white:      #ffffff;
    --border:     rgba(196,116,127,0.18);
    --shadow-sm:  0 2px 12px rgba(74,64,64,0.06);
    --shadow-md:  0 8px 28px rgba(74,64,64,0.1);
    --shadow-lg:  0 20px 50px rgba(74,64,64,0.14);
    --radius-sm:  10px;
    --radius-md:  18px;
    --radius-lg:  28px;
    --radius-xl:  40px;
}

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

body {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    min-height: 100vh;
}

/* Background gradient overlay */
.bg-gradient {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 15% 5%,  rgba(232,180,187,0.22) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 85% 90%, rgba(143,166,138,0.16) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(200,169,110,0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ── Navigation ── */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 32px;
    background: rgba(253,246,240,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--rose);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links { display: flex; gap: 10px; align-items: center; }

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Jost', sans-serif;
}

.nav-btn-ghost {
    background: var(--white);
    border-color: var(--border);
    color: var(--charcoal);
}
.nav-btn-ghost:hover { background: var(--ivory); }

.nav-btn-primary {
    background: var(--rose);
    color: var(--white);
    border-color: var(--rose);
}
.nav-btn-primary:hover { background: #b5666f; }

.nav-btn-sage {
    background: var(--sage);
    color: var(--white);
    border-color: var(--sage);
}
.nav-btn-sage:hover { background: #7a9475; }

/* ── Page wrapper ── */
.page-wrap {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 44px 28px 80px;
}

.page-wrap-wide {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 44px 28px 80px;
}

/* ── Section labels ── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.eyebrow-rose  { color: var(--rose);  background: rgba(196,116,127,0.08);  border: 1px solid rgba(196,116,127,0.2); }
.eyebrow-sage  { color: var(--sage);  background: rgba(143,166,138,0.08);  border: 1px solid rgba(143,166,138,0.2); }
.eyebrow-gold  { color: var(--gold);  background: rgba(200,169,110,0.08);  border: 1px solid rgba(200,169,110,0.2); }
.eyebrow-plum  { color: var(--plum);  background: rgba(125,107,138,0.08);  border: 1px solid rgba(125,107,138,0.2); }

/* ── Typography ── */
.display-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--rose);
    line-height: 1.15;
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 16px;
    line-height: 1.25;
}

.body-text {
    font-size: 0.94rem;
    line-height: 1.75;
    color: var(--charcoal);
    opacity: 0.78;
}

/* ── Cards ── */
.card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s, box-shadow 0.22s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.card-rose  { background: var(--rose-light);  border-color: rgba(196,116,127,0.3); }
.card-sage  { background: var(--sage-light);  border-color: rgba(143,166,138,0.3); }
.card-gold  { background: var(--gold-light);  border-color: rgba(200,169,110,0.3); }
.card-plum  { background: var(--plum-light);  border-color: rgba(125,107,138,0.3); }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 50px;
    font-family: 'Jost', sans-serif;
    font-size: 0.96rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.22s;
}

.btn-rose    { background: var(--rose);    color: var(--white); }
.btn-rose:hover  { background: #b5666f; transform: translateY(-2px); }

.btn-sage    { background: var(--sage);    color: var(--white); }
.btn-sage:hover  { background: #7a9475; transform: translateY(-2px); }

.btn-gold    { background: var(--gold);    color: var(--white); }
.btn-gold:hover  { background: #b5965a; transform: translateY(-2px); }

.btn-plum    { background: var(--plum);    color: var(--white); }
.btn-plum:hover  { background: #6b5a77; transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--charcoal);
}
.btn-outline:hover { background: var(--ivory); transform: translateY(-2px); }

.btn-full { width: 100%; }

.btn-lg { padding: 16px 36px; font-size: 1.02rem; }
.btn-sm { padding: 8px 18px; font-size: 0.88rem; }

/* ── Forms ── */
.form-section {
    margin-bottom: 32px;
}

.form-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    background: var(--rose);
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rose);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Jost', sans-serif;
    font-size: 0.88rem;
    color: var(--charcoal);
    background: var(--white);
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--rose);
}

.form-group textarea { resize: vertical; min-height: 80px; }

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.checkbox-row input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--rose);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-row label {
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--charcoal);
    cursor: pointer;
}

/* ── Divider ── */
.divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--rose-soft), transparent);
}

.divider-icon { font-size: 0.85rem; color: var(--rose-soft); }

/* ── Alert boxes ── */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.84rem;
    line-height: 1.55;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-info  { background: #e8f0fb; color: #1a4480; border-color: #b8d0f4; }
.alert-warn  { background: #fff4e0; color: #7a4f00; border-color: #f5d98a; }
.alert-success { background: #e8f4ec; color: #1a5e35; border-color: #a8d8b8; }
.alert-rose  { background: var(--rose-light); color: var(--rose); border-color: var(--rose-soft); }

/* ── Sticky footer bar ── */
.action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(253,246,240,0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 14px 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 200;
}

/* ── Loading overlay ── */
.auth-loading {
    position: fixed;
    inset: 0;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 9999;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--rose-soft);
    border-top-color: var(--rose);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.animate-up   { animation: fadeUp   0.7s ease both; }
.animate-down { animation: fadeDown 0.7s ease both; }
.animate-in   { animation: fadeIn   0.5s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ── Footer ── */
.site-footer {
    text-align: center;
    padding: 32px 24px 20px;
    font-size: 0.76rem;
    color: var(--mid);
    line-height: 2;
    border-top: 1px solid var(--border);
}

.site-footer a { color: var(--rose); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.np-badge {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sage);
    background: rgba(143,166,138,0.1);
    padding: 4px 14px;
    border-radius: 50px;
    border: 1px solid rgba(143,166,138,0.25);
}

/* ── Treats pages hero row (shared across treats/lunch/cakes/pies) ── */
.treats-hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.hero-logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    flex-shrink: 0;
}

/* ── Print ── */
@media print {
    .top-nav, .action-bar, .no-print { display: none !important; }
    body { background: white; }
    .card { box-shadow: none; border: 1px solid #ddd; }
}

/* ── Responsive — tablet ── */
@media (max-width: 768px) {
    .top-nav { padding: 12px 20px; }
    .nav-btn { padding: 6px 12px; font-size: 0.82rem; }
    .page-wrap, .page-wrap-wide { padding: 32px 20px 80px; }
    .display-title { font-size: 2.2rem; }
    .portal-wrap { padding: 8px 20px 40px; }
    .portal-header-row { flex-direction: column; }
    .treats-promo-corner { flex: none; width: 100%; }
    .doc-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
    .hero-row { gap: 8px; padding: 8px 16px 0; }
    .hero-jdm-img { height: 72px; width: 72px; }
    .hero-rd-img { height: 72px; }
    .treats-hero-row { gap: 16px; }
    .quiz-modal { padding: 28px 24px; }
}

/* ── Responsive — mobile ── */
@media (max-width: 600px) {
    .top-nav { padding: 12px 16px; }
    .page-wrap, .page-wrap-wide { padding: 24px 16px 80px; }
    .display-title { font-size: 1.8rem; }
    .form-grid { grid-template-columns: 1fr; }
    .action-bar { flex-wrap: wrap; }
    .treats-hero-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .hero-row { flex-wrap: wrap; justify-content: center; }
    .doc-grid { grid-template-columns: 1fr; }
    .action-btn-row { flex-direction: column; }
    .action-btn-big { min-width: unset; width: 100%; flex-direction: row; padding: 16px; }
}

/* ============================================
   LOGOS — NAV
   ============================================ */

.nav-jdm-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
}

.nav-logo-jdm {
    height: 62px;
    width: 62px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 4px 18px rgba(200,169,110,0.5), 0 1px 0 rgba(255,255,255,0.5) inset;
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
}
.nav-logo-jdm:hover { transform: scale(1.06); box-shadow: 0 8px 24px rgba(200,169,110,0.6); }

.nav-home-label {
    font-family: 'Jost', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}

.nav-logo-fallback { display:none; }

/* Red Door logo */
.nav-logo-red { display:flex; align-items:center; }
.nav-logo-approved {
    height: 62px;
    width: auto;
    border-radius: 12px;
    background: white;
    padding: 5px 10px;
    object-fit: contain;
    box-shadow: 0 4px 16px rgba(200,50,50,0.25), 0 1px 0 rgba(255,255,255,0.7) inset;
    border: 1px solid rgba(200,50,50,0.12);
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
}
.nav-logo-approved:hover { transform: scale(1.05); box-shadow: 0 8px 22px rgba(200,50,50,0.35); }

/* ============================================
   TREAT SLIDESHOW — shared
   ============================================ */

.treat-slide {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.9s ease;
    border-radius: inherit;
}
.treat-slide.active { opacity: 1; }

/* ============================================
   MINI TREAT PROMO BOX (all pages except homepage)
   ============================================ */

.mini-treat-promo {
    margin: 0 auto 0;
    max-width: 1280px;
    padding: 0 24px 20px;
}

.mini-treat-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, rgba(253,246,240,0.97), rgba(249,232,235,0.97));
    border: 1.5px solid rgba(200,169,110,0.35);
    border-radius: 22px;
    padding: 14px 20px;
    box-shadow: 0 4px 20px rgba(196,116,127,0.13), inset 0 1px 0 rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    overflow: hidden;
    position: relative;
}

.mini-treat-inner::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(200,169,110,0.06), transparent 60%);
    pointer-events: none;
}

.mini-treat-slideshow {
    position: relative;
    width: 90px; height: 70px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    border: 2px solid rgba(200,169,110,0.3);
}

.mini-treat-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.mini-treat-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--rose);
    line-height: 1.2;
}

.mini-treat-sub {
    font-size: 0.72rem;
    color: var(--mid);
    line-height: 1.4;
}

.mini-treat-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    padding: 7px 18px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--rose), #b5666f);
    color: white;
    font-family: 'Jost', sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    align-self: flex-start;
    box-shadow: 0 2px 10px rgba(196,116,127,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.mini-treat-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 16px rgba(196,116,127,0.45); }

/* ============================================
   FULL TREAT PROMO (homepage + treats page)
   ============================================ */

.treat-promo-full {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(145deg,#1a0a0c,#3a1520);
    box-shadow: 0 12px 40px rgba(196,116,127,0.35), 0 2px 0 rgba(255,255,255,0.1) inset;
    border: 1.5px solid rgba(200,169,110,0.4);
}

.treat-promo-full .treat-slideshow-full {
    position: relative;
    width: 100%; height: 320px;
}

.treat-promo-full .treat-slide {
    border-radius: 0;
}

.treat-promo-overlay {
    position: absolute; bottom:0; left:0; right:0;
    background: linear-gradient(to top, rgba(20,5,8,0.92) 0%, rgba(20,5,8,0.5) 60%, transparent 100%);
    padding: 28px 24px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.treat-promo-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.treat-promo-sub {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.05em;
}

.treat-promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--gold), #b5965a);
    color: white;
    font-family: 'Jost', sans-serif;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 3px 16px rgba(200,169,110,0.5);
    transition: transform 0.22s, box-shadow 0.22s;
    margin-top: 4px;
}
.treat-promo-cta:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(200,169,110,0.6); }

/* ============================================
   HOMEPAGE — Agency lady section
   ============================================ */

.agency-lady-section {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin: 32px 0 0;
    max-height: 420px;
}

.agency-lady-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: var(--radius-xl);
}

.agency-lady-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(20,8,10,0.72) 0%, transparent 55%, rgba(20,8,10,0.15) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    padding: 36px 40px;
}

.agency-lady-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    color: white;
    line-height: 1.2;
    margin-bottom: 8px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.agency-lady-text p {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 18px;
    line-height: 1.6;
    max-width: 300px;
}

/* ============================================
   PULSE DOT — openings
   ============================================ */

.pulse-dot {
    width: 8px; height: 8px;
    background: #4caf50;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    animation: pulseglow 2s infinite;
    vertical-align: middle;
    flex-shrink: 0;
}

@keyframes pulseglow {
    0%,100% { box-shadow: 0 0 0 0 rgba(76,175,80,0.4); transform: scale(1); }
    50%      { box-shadow: 0 0 0 5px rgba(76,175,80,0); transform: scale(1.15); }
}

/* ============================================
   QUIZ MODAL
   ============================================ */

.quiz-modal-bg {
    position: fixed; inset: 0; z-index: 9000;
    background: rgba(20,8,10,0.7);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.quiz-modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 38px 40px;
    max-width: 780px; width: 100%;
    max-height: 88vh; overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1.5px solid var(--border);
    position: relative;
    animation: fadeUp 0.4s ease;
}

.quiz-role-row {
    display: flex; gap: 10px; margin-bottom: 24px;
}
.quiz-role-tab {
    flex: 1; padding: 11px 10px; border-radius: 10px;
    border: 1.5px solid var(--border); background: var(--ivory);
    cursor: pointer; font-family: 'Jost', sans-serif;
    font-size: 0.88rem; font-weight: 700; color: var(--charcoal);
    transition: 0.18s;
}
.quiz-role-tab:hover { border-color: var(--plum); background: rgba(125,107,138,0.08); color: var(--plum); }
.quiz-role-tab.active { background: var(--plum); color: white; border-color: var(--plum); }

.quiz-close {
    position: absolute; top: 16px; right: 16px;
    background: var(--ivory); border: 1.5px solid var(--border);
    border-radius: 50%; width: 32px; height: 32px;
    cursor: pointer; font-size: 1rem; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.quiz-close:hover { background: var(--rose-light); }

.quiz-q { font-size: 1rem; font-weight: 600; color: var(--charcoal); margin-bottom: 16px; line-height: 1.5; }
.quiz-progress { font-size: 0.72rem; color: var(--mid); margin-bottom: 18px; }

.quiz-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.quiz-opt {
    padding: 12px 18px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    background: var(--white);
    cursor: pointer;
    font-size: 0.96rem;
    color: var(--charcoal);
    text-align: left;
    transition: all 0.2s;
    font-family: 'Jost', sans-serif;
}
.quiz-opt:hover { background: var(--rose-light); border-color: var(--rose-soft); }
.quiz-opt.correct { background: #e8f4ec; border-color: #a8d8b8; color: #1a5e35; }
.quiz-opt.wrong   { background: #fce8e8; border-color: #f4a8a8; color: #8b1a1a; }

.quiz-score {
    text-align: center; padding: 10px 0;
}
.quiz-score-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem; font-weight: 600; color: var(--rose);
}

/* ============================================
   CONTACT MODAL
   ============================================ */

.contact-modal-bg {
    position: fixed; inset: 0; z-index: 9000;
    background: rgba(20,8,10,0.7);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.contact-modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 38px 32px;
    max-width: 480px; width: 100%;
    box-shadow: var(--shadow-lg);
    border: 1.5px solid var(--border);
    position: relative;
    animation: fadeUp 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

/* ============================================
   AWARD BOX
   ============================================ */

.award-box {
    background: linear-gradient(135deg, var(--gold-light), var(--ivory));
    border: 1.5px solid var(--gold-soft);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    text-align: center;
}
.award-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.award-winner { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--charcoal); }
.award-location { font-size: 0.75rem; color: var(--mid); }

/* ============================================
   OPENINGS LIST
   ============================================ */

.openings-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.84rem;
    gap: 10px;
}
.openings-item:last-child { border: none; }
.openings-area { display: flex; align-items: center; gap: 2px; color: var(--charcoal); }
.openings-count { background: rgba(196,116,127,0.12); color: var(--rose); font-weight: 700; padding: 3px 12px; border-radius: 50px; font-size: 0.78rem; white-space:nowrap; }

/* ============================================
   INTERACTIVE BUTTONS (homepage)
   ============================================ */

.action-btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.action-btn-big {
    flex: 1; min-width: 160px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; padding: 22px 16px;
    border-radius: var(--radius-lg);
    cursor: pointer; border: 2px solid transparent;
    transition: transform 0.22s, box-shadow 0.22s;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
}
.action-btn-big:hover { transform: translateY(-4px); }
.action-btn-icon { font-size: 2.76rem; }
.action-btn-label { font-size: 0.96rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.action-btn-sub { font-size: 0.82rem; opacity: 0.75; text-align: center; line-height: 1.4; }

.abtn-contact { background: var(--rose-light); border-color: var(--rose-soft); color: var(--rose); }
.abtn-contact:hover { box-shadow: 0 8px 24px rgba(196,116,127,0.3); background: var(--rose); color: white; }

.abtn-quiz { background: var(--plum-light); border-color: rgba(125,107,138,0.3); color: var(--plum); }
.abtn-quiz:hover { box-shadow: 0 8px 24px rgba(125,107,138,0.25); background: var(--plum); color: white; }

.abtn-treats { background: var(--gold-light); border-color: var(--gold-soft); color: #8a6a20; }
.abtn-treats:hover { box-shadow: 0 8px 24px rgba(200,169,110,0.35); background: var(--gold); color: white; }

/* ============================================
   DOC PAGE HERO ROW — shared across all doc pages
   ============================================ */

.hero-row {
    display: flex; align-items: center; gap: 10px;
    justify-content: flex-start; margin-bottom: 14px;
    animation: heroIn 0.5s cubic-bezier(.22,1,.36,1) both;
    position: relative; z-index: 1; padding: 12px 24px 0;
    max-width: 1280px; margin-left: auto; margin-right: auto;
}
@keyframes heroIn {
    from { opacity:0; transform:translateY(-8px); }
    to   { opacity:1; transform:translateY(0); }
}
.hero-logo-left {
    flex: 0 0 auto; display: flex; flex-direction: column;
    align-items: center; gap: 4px;
}
.hero-jdm-img {
    height: 84px; width: 84px; border-radius: 18px; object-fit: cover;
    box-shadow: 0 4px 20px rgba(200,169,110,0.5), inset 0 1px 0 rgba(255,255,255,0.4);
    display: block;
}
.hero-centre { flex: 1; min-width: 0; text-align: center; padding: 0 16px; }
.hero-title {
    font-family: 'Cormorant Garamond', serif; font-size: 1.55rem;
    font-weight: 300; color: var(--gold); line-height: 1.1; margin-bottom: 3px;
}
.hero-sub {
    font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--sage); margin-bottom: 6px;
}
.hero-badges { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; }
.h-badge {
    display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem;
    font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
    padding: 4px 12px; border-radius: 50px; text-decoration: none;
    white-space: nowrap;
}
.hb-gold { background: rgba(200,169,110,0.1); color: var(--gold); border: 1px solid rgba(200,169,110,0.3); }
.hb-rose { background: rgba(196,116,127,0.1); color: var(--rose); border: 1px solid rgba(196,116,127,0.3); }
.hb-sage { background: rgba(143,166,138,0.1); color: var(--sage); border: 1px solid rgba(143,166,138,0.3); }
.hb-plum { background: rgba(125,107,138,0.1); color: var(--plum); border: 1px solid rgba(125,107,138,0.3); }
.hero-logo-right { flex: 0 0 auto; display: flex; align-items: center; }
.hero-rd-img {
    height: 84px; width: auto; border-radius: 12px; background: white;
    padding: 5px 10px; object-fit: contain;
    box-shadow: 0 4px 18px rgba(200,50,50,0.25), inset 0 1px 0 rgba(255,255,255,0.7);
    border: 1px solid rgba(200,50,50,0.12); display: block;
    transition: transform 0.2s, box-shadow 0.2s;
}
.hero-rd-img:hover { transform: scale(1.04); }

/* Portal wrap */
.portal-wrap { max-width: 1280px; margin: 0 auto; padding: 8px 28px 40px; position: relative; z-index: 1; }

.portal-header-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 0;
}
.portal-header-text { flex: 1; }

.treats-promo-corner {
    flex: 0 0 240px;
    min-height: 0 !important;
    margin: 0 !important;
    border-radius: 18px !important;
    align-self: stretch;
}
.treats-promo-corner .tpb-content {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 16px 14px !important;
}
.treats-promo-corner .tpb-title { font-size: 1.15rem !important; }
.treats-promo-corner .tpb-sub   { font-size: 0.72rem !important; margin-bottom: 4px !important; }
.treats-promo-corner .tpb-cta   { padding: 7px 18px !important; font-size: 0.76rem !important; }

@media (max-width: 700px) {
    .portal-header-row { flex-direction: column; }
    .treats-promo-corner { flex: none; width: 100%; align-self: auto; }
}
.submit-bar {
    background: rgba(200,169,110,0.07); border: 1px solid rgba(200,169,110,0.22);
    border-radius: 11px; padding: 9px 15px; font-size: 0.78rem;
    color: var(--charcoal); margin-bottom: 14px;
}
.submit-bar a { color: var(--rose); font-weight: 600; text-decoration: none; }
.sec-label {
    font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 600;
    color: var(--charcoal); padding-bottom: 6px;
    border-bottom: 2px solid var(--gold-soft);
    margin-bottom: 9px; display: flex; align-items: center; gap: 7px;
}
.sec-label-mandatory { border-bottom-color: var(--rose-soft); }
.sec-label-supplemental { border-bottom-color: var(--sage-soft); }
.doc-section { margin-bottom: 18px; animation: heroIn 0.5s cubic-bezier(.22,1,.36,1) 0.12s both; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 7px; }
.doc-item {
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: 11px; padding: 9px 12px;
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
    transition: transform 0.18s, box-shadow 0.18s;
}
.doc-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.doc-name { font-size: 0.78rem; font-weight: 600; color: var(--charcoal); line-height: 1.3; }
.doc-sub  { font-size: 0.63rem; color: var(--mid); margin-top: 1px; }
.doc-btn {
    padding: 4px 11px; border-radius: 50px; background: var(--gold); color: var(--white);
    font-size: 0.63rem; font-weight: 700; text-decoration: none;
    text-transform: uppercase; letter-spacing: 0.06em;
    transition: background 0.2s; white-space: nowrap; flex-shrink: 0;
}
.doc-btn:hover { background: #b5965a; }
.doc-btn-plum { background: var(--plum); }
.doc-btn-plum:hover { background: #6b5a77; }
.govt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 7px; }
.govt-item {
    background: var(--ivory); border: 1px solid var(--border);
    border-radius: 11px; padding: 10px 13px;
    display: flex; align-items: center; gap: 10px;
}
.govt-icon {
    width: 38px; height: 50px; border-radius: 5px; flex-shrink: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.govt-name { font-weight: 700; font-size: 0.74rem; color: var(--charcoal); margin-bottom: 1px; }
.govt-meta { font-size: 0.6rem; color: var(--mid); margin-bottom: 4px; }
.govt-link {
    display: inline-flex; align-items: center; padding: 3px 9px;
    border-radius: 50px; font-size: 0.58rem; font-weight: 700;
    text-decoration: none; color: white; letter-spacing: 0.05em;
}
.mandatory-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.58rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 2px 8px; border-radius: 50px;
    background: rgba(196,116,127,0.1); color: var(--rose); border: 1px solid rgba(196,116,127,0.25);
    margin-top: 2px;
}
.supplemental-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.58rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 2px 8px; border-radius: 50px;
    background: rgba(143,166,138,0.1); color: var(--sage); border: 1px solid rgba(143,166,138,0.25);
    margin-top: 2px;
}
@media(max-width:680px) {
    .hero-row { flex-wrap: wrap; }
    .doc-grid, .govt-grid { grid-template-columns: 1fr; }
}

/* ============================================
   BACK BUTTON LABEL (all non-homepage JDM logos)
   ============================================ */
.hero-back-label {
    font-family: 'Jost', sans-serif;
    font-size: 9px; font-weight: 700;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--gold);
}

/* ============================================
   CONTACT US PILL (all pages, top-right hero)
   ============================================ */
.hero-contact-pill {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 9px 18px; border-radius: 50px;
    background: linear-gradient(135deg, rgba(143,166,138,0.18), rgba(143,166,138,0.08));
    color: var(--sage); border: 1.5px solid rgba(143,166,138,0.45);
    font-family: 'Jost', sans-serif; font-size: 0.68rem;
    font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    text-decoration: none; cursor: pointer; background-color: transparent;
    box-shadow: 0 2px 10px rgba(143,166,138,0.15);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}
.hero-contact-pill:hover {
    background: linear-gradient(135deg, rgba(143,166,138,0.28), rgba(143,166,138,0.15));
    transform: scale(1.04); box-shadow: 0 4px 16px rgba(143,166,138,0.25);
}

/* ============================================
   BIG GLOSSY TREATS PROMO BOX (non-treats pages)
   ============================================ */
.treats-promo-big {
    position: relative; border-radius: 24px; overflow: hidden;
    background: #1a0a0c;
    box-shadow:
        0 18px 60px rgba(196,116,127,0.5),
        0 6px 24px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.15);
    border: 2px solid rgba(200,169,110,0.5);
    margin: 24px 0; min-height: 100px;
    display: flex; flex-direction: column;
    cursor: pointer; text-decoration: none;
}
.treats-promo-big .tpb-slide {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; transition: opacity 1.4s ease;
}
.treats-promo-big .tpb-slide.active { opacity: 0.55; }
.tpb-content {
    position: relative; z-index: 1;
    display: flex; flex-direction: row;
    align-items: center; justify-content: center;
    text-align: center; padding: 14px 24px; flex: 1; gap: 24px;
}
.tpb-badge {
    font-family: 'Jost', sans-serif; font-size: 0.68rem;
    font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--gold); background: rgba(200,169,110,0.18);
    border: 1px solid rgba(200,169,110,0.4);
    padding: 5px 16px; border-radius: 50px; margin-bottom: 14px;
}
.tpb-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem; font-weight: 600; color: white;
    line-height: 1.1; text-shadow: 0 3px 18px rgba(0,0,0,0.75);
    margin-bottom: 4px;
}
.tpb-sub {
    font-size: 0.78rem; color: rgba(255,255,255,0.75);
    letter-spacing: 0.05em; margin-bottom: 0;
}
.tpb-cta {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 22px; border-radius: 50px;
    background: linear-gradient(135deg, var(--gold), #c8a940, #a87830);
    color: white; font-family: 'Jost', sans-serif;
    font-size: 0.82rem; font-weight: 800;
    letter-spacing: 0.12em; text-transform: uppercase;
    text-decoration: none; position: relative; overflow: hidden;
    box-shadow: 0 6px 24px rgba(200,169,110,0.6), inset 0 1px 0 rgba(255,255,255,0.3);
    transition: transform 0.22s cubic-bezier(.22,1,.36,1), box-shadow 0.22s;
}
.tpb-cta::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, transparent 100%);
    border-radius: inherit; pointer-events: none;
}
.tpb-cta:hover { transform: translateY(-5px) scale(1.04); box-shadow: 0 16px 50px rgba(200,169,110,0.75); }
.tpb-cta:active { transform: translateY(2px); }

/* ── doc-btn gold variant ── */
.doc-btn-gold {
    background: linear-gradient(135deg, #c8a96e, #a87830) !important;
    color: white !important;
}
.doc-btn-gold:hover { filter: brightness(1.1); }

/* ── Hero nav pills (Home / Back) ── */
.hero-nav-pills {
    display: flex; gap: 5px; justify-content: center; margin-top: 4px;
}
.hero-nav-pill {
    display: inline-flex; align-items: center; gap: 4px;
    font-family: 'Jost', sans-serif; font-size: 0.62rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    padding: 4px 11px; border-radius: 50px; text-decoration: none;
    background: rgba(196,116,127,0.12); color: var(--rose);
    border: 1px solid rgba(196,116,127,0.3);
    transition: background 0.15s, color 0.15s;
}
.hero-nav-pill:hover { background: var(--rose); color: white; }

/* ── Red Door + email wrapper ── */
.hero-logo-right-wrap {
    flex: 0 0 auto; display: flex; flex-direction: column;
    align-items: center; gap: 5px;
}
.hero-email-pill {
    font-family: 'Jost', sans-serif; font-size: 0.63rem; font-weight: 600;
    letter-spacing: 0.08em; color: var(--rose);
    background: rgba(196,116,127,0.08); border: 1px solid rgba(196,116,127,0.25);
    border-radius: 50px; padding: 4px 11px; text-align: center;
    white-space: nowrap;
}

/* ── White envelope icon in email pill ── */
.email-env { color: white; font-size: 1.1em; }

/* Welcome page treats slides */
.treats-promo-big .tpb-slide-welcome {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; transition: opacity 1.4s ease;
}
.treats-promo-big .tpb-slide-welcome.active { opacity: 0.55; }

/* ============================================
   LANGUAGE SWITCHER — Glossy Flag Pills
   ============================================ */

/* Wrapper sits inside hero-row, before sign-in/join */
.lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 9999;
}

/* ── Main pill button ── */
.lang-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 13px 5px 9px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.02em;
    line-height: 1;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 2px 8px rgba(0,0,0,0.28),
        0 1px 2px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.22);
    border: 1px solid rgba(0,0,0,0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
    min-width: 80px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

/* Gloss highlight top */
.lang-pill-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 55%;
    border-radius: 50px 50px 40% 40%;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.38) 0%,
        rgba(255,255,255,0.06) 100%
    );
    pointer-events: none;
}

/* Shadow depth bottom */
.lang-pill-btn::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 30%;
    border-radius: 0 0 50px 50px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.18) 0%,
        transparent 100%
    );
    pointer-events: none;
}

.lang-pill-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 5px 14px rgba(0,0,0,0.32),
        0 2px 4px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.25);
}

.lang-pill-flag { font-size: 1.1rem; line-height: 1; }
.lang-pill-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    -webkit-text-stroke: 1px rgba(0,0,0,0.75);
    paint-order: stroke fill;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
.lang-pill-caret {
    font-size: 0.65rem;
    opacity: 0.95;
    margin-left: 1px;
    color: #fff;
    -webkit-text-stroke: 0.5px rgba(0,0,0,0.6);
    paint-order: stroke fill;
}

/* ── Dropdown panel ── */
.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    background: rgba(20,20,28,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 10px;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    min-width: 320px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.55), 0 2px 8px rgba(0,0,0,0.3);
    z-index: 9999;
}

.lang-switcher.open .lang-dropdown { display: grid; }

/* ── Individual option pills ── */
.lang-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 7px 6px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 2px 6px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
    border: 1px solid rgba(0,0,0,0.15);
    transition: transform 0.14s ease, box-shadow 0.14s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Gloss on option pills */
.lang-option::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.32) 0%,
        rgba(255,255,255,0.04) 100%
    );
    border-radius: 10px 10px 40% 40%;
    pointer-events: none;
}

/* Bottom shadow on option pills */
.lang-option::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 28%;
    background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
    border-radius: 0 0 10px 10px;
    pointer-events: none;
}

.lang-option:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 5px 14px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
}

/* Active/selected ring */
.lang-option.active {
    box-shadow:
        0 0 0 2px #fff,
        0 3px 10px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.22);
}

.lang-opt-flag { font-size: 1.25rem; line-height: 1; }
.lang-opt-name {
    font-size: 0.62rem;
    font-weight: 700;
    color: #fff;
    -webkit-text-stroke: 0.8px rgba(0,0,0,0.75);
    paint-order: stroke fill;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
    text-align: center;
    line-height: 1.1;
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .lang-dropdown { grid-template-columns: repeat(3, 1fr); min-width: 240px; }
    .lang-pill-name { display: none; }
    .lang-pill-btn { min-width: 44px; padding: 5px 10px; }
}

/* Fallback placement for pages without a hero anchor */
.lang-switcher.lang-floating {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 99999;
}

/* ═══════════════════════════════════════════════════════════
   HERO SIGN-IN / SIGN-OUT BUTTON — standardised, all pages
   ═══════════════════════════════════════════════════════════ */
.hero-signin,
.hero-signout {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.hero-signin-btn,
.hero-signout-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 12px;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: white;
    border-radius: 14px;
    height: 78px;
    width: 78px;
    border: none;
    cursor: pointer;
    background: linear-gradient(160deg, rgba(255,255,255,0.13) 0%, transparent 50%),
                linear-gradient(135deg, #d4848f, #a85060);
    box-shadow: 0 5px 18px rgba(196,116,127,0.44),
                inset 0 1px 0 rgba(255,255,255,0.24),
                inset 0 -2px 0 rgba(0,0,0,0.1);
    transition: transform 0.16s cubic-bezier(.22,1,.36,1), box-shadow 0.16s;
    position: relative;
    overflow: hidden;
}
.hero-signin-btn::before,
.hero-signout-btn::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.28) 0%, transparent 100%);
    border-radius: inherit; pointer-events: none;
}
.hero-signin-btn:hover,
.hero-signout-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 9px 26px rgba(196,116,127,0.55),
                inset 0 1px 0 rgba(255,255,255,0.24);
}
.hero-signin-icon,
.hero-signout-icon { font-size: 1.5rem; position: relative; z-index: 1; }
.hero-signin-label,
.hero-signout-label { font-size: 0.55rem; letter-spacing: 0.2em; position: relative; z-index: 1; }

/* ── Nav pills compact ── */
.hero-nav-pills {
    display: flex !important;
    gap: 5px !important;
    justify-content: center !important;
    margin-top: 4px;
    width: fit-content;
    align-self: center;
}
.hero-nav-pill {
    white-space: nowrap;
}
