/* =====================================================================
   PINA BISTRO — STYLESHEET
   ===================================================================== */

:root {
    --orange: #F2600C;
    --orange-dark: #C94B06;
    --orange-light: #FFF1E4;
    --white: #FFFFFF;
    --off: #FFF8F2;
    --ink: #2A211A;
    --line: #F0DCC8;
    --muted: #8A7F72;
    --basil: #4B6C3B;
    --rust: var(--orange);
    --rust-dark: var(--orange-dark);
    --char: var(--ink);
    --cream: var(--off);
    --cream-2: var(--orange-light);
    --marigold: var(--orange);
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0;
}
img {
    max-width: 100%;
    display: block;
}

.font-display {
    font-family: 'Fraunces', serif;
}
.text-rust {
    color: var(--orange);
}
.text-basil {
    color: var(--basil);
}
.text-muted-2 {
    color: var(--muted);
}
.bg-cream2 {
    background: var(--orange-light);
}
.bg-off {
    background: var(--off);
}
.bg-char {
    background: var(--ink);
}

/* ---------- NAV ---------- */
.pb-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
    transition: padding .25s ease, box-shadow .25s ease;
}
.pb-nav.scrolled {
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
    box-shadow: 0 8px 24px rgba(42, 33, 26, 0.08);
}
.pb-nav .navbar-brand {
    display: flex;
    align-items: center;
}
.pb-nav .nav-link {
    color: var(--ink) !important;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.5rem 1rem !important;
    opacity: 0.75;
}
.pb-nav .nav-link:hover,
.pb-nav .nav-link.active {
    color: var(--orange) !important;
    opacity: 1;
}
.pb-nav .navbar-toggler {
    border-color: var(--line);
}

/* ---------- HERO ---------- */
.hero {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 6.5rem;
}
.hero::before {
    content: "";
    position: absolute;
    top: -18%;
    right: -8%;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 60px;
    background: var(--white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0% 100%);
}
.hero .eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0.85;
    font-weight: 700;
}
.hero h1 {
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.01em;
    color: var(--white);
}
.hero h1 .ital {
    font-style: italic;
    font-weight: 500;
    color: var(--ink);
}
.hero p.lead-copy {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 32rem;
}
.btn-rust {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.8rem 1.85rem;
    border-radius: 8px;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-rust:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(242, 96, 12, 0.32);
}
.btn-white {
    background: var(--white);
    border: 1.5px solid var(--white);
    color: var(--orange);
    font-weight: 700;
    padding: 0.8rem 1.85rem;
    border-radius: 8px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
    color: var(--orange-dark);
}
.btn-outline-white {
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
    background: transparent;
    font-weight: 700;
    padding: 0.8rem 1.85rem;
    border-radius: 8px;
    transition: transform .15s ease, background .15s ease;
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outline-cream {
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
    font-weight: 700;
    padding: 0.8rem 1.85rem;
    border-radius: 8px;
}
.btn-outline-cream:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}
.btn-rust.btn-sm, .btn-outline-cream.btn-sm, .btn-outline-secondary.btn-sm, .btn-outline-danger.btn-sm {
    border-radius: 7px;
}

.seam-wrap {
    position: relative;
    height: 440px;
}
.seam-half {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 68%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
.seam-half img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.seam-pizza {
    left: 0;
    top: 2%;
    height: 80%;
    transform: rotate(-4deg);
    z-index: 1;
}
.seam-burger {
    right: 0;
    bottom: 2%;
    height: 80%;
    transform: rotate(3deg);
    z-index: 2;
}

/* ---------- SECTION LABELS ---------- */
.section-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--orange);
}
.story .section-eyebrow {
    color: var(--white);
    opacity: 0.85;
}
.section-title {
    font-family: 'Fraunces', serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

/* ---------- TICKER ---------- */
.ticker {
    background: var(--ink);
    color: var(--white);
    overflow: hidden;
    white-space: nowrap;
    padding: 0.6rem 0;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 0.82rem;
    text-transform: uppercase;
}
.ticker-track {
    display: inline-block;
    animation: tickerScroll 22s linear infinite;
}
.ticker-track span {
    margin: 0 1.4rem;
    color: var(--white);
}
.ticker-track span i {
    margin-right: 0.5rem;
    color: var(--orange);
}

/* ---------- SPECIALS BAND ---------- */
.specials-band {
    background: var(--white);
}
.special-card {
    background: var(--off);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    color: var(--ink);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.special-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 28px rgba(42, 33, 26, 0.12);
    border-color: var(--orange);
}
.special-thumb {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.6rem;
    background: var(--orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.special-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.special-icon {
    font-size: 2.2rem;
}
.special-price {
    color: var(--orange);
    font-weight: 700;
    font-family: 'Fraunces', serif;
}

/* ---------- MENU BANNER ---------- */
.menu-banner {
    position: relative;
    height: 280px;
    overflow: hidden;
}
.menu-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}
.menu-banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}
.menu-banner-overlay h1 {
    font-family: 'Fraunces', serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
}
.menu-banner-overlay .eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 700;
}
@media (max-width: 767px) {
    .menu-banner { height: 200px; }
}

/* ---------- MENU ---------- */
.cat-pill {
    border: 1.5px solid var(--line);
    background: transparent;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    transition: all .15s ease;
    position: relative;
    overflow: hidden;
}
.cat-pill.active,
.cat-pill:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}
.cat-pill:active {
    transform: scale(0.96);
}
.cat-pill.active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    background: var(--white);
    transform-origin: left;
    animation: underlineGrow .3s ease forwards;
}
.menu-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    cursor: pointer;
}
.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(42, 33, 26, 0.14);
    border-color: var(--orange);
}
.menu-card .icon-plate {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--orange-light), #fff);
    border-bottom: 1px solid var(--line);
}
.menu-card .icon-plate img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.menu-card:hover .icon-plate img {
    transform: scale(1.08);
}
.icon-plate-emoji {
    font-size: 3rem;
    display: inline-block;
    transition: transform .3s ease;
}
.menu-card:hover .icon-plate-emoji {
    transform: scale(1.15) rotate(-6deg);
}
.menu-card .body {
    padding: 1.1rem 1.2rem 1.3rem;
}
.menu-card h5 {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.menu-card .desc {
    font-size: 0.88rem;
    color: var(--muted);
    min-height: 2.6rem;
}
.menu-card .price {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    color: var(--orange);
    font-size: 1.15rem;
}
.view-details-hint {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    opacity: 0;
    transition: opacity .2s ease;
}
.menu-card:hover .view-details-hint {
    opacity: 1;
    color: var(--orange);
}

/* ---------- ITEM DETAIL MODAL ---------- */
.item-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(42, 33, 26, 0.6);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeUp .25s ease;
}
.item-modal {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}
.item-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
}
.item-modal-photo {
    position: relative;
    width: 100%;
    height: 220px;
    background: var(--orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.item-modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.item-modal-emoji {
    font-size: 4rem;
}
.item-modal-sold-out {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}
.item-modal-body {
    padding: 1.5rem;
}
.item-size-row {
    display: flex;
    justify-content: space-between;
    padding: 0.55rem 0.8rem;
    background: var(--off);
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 0.92rem;
}
.ingredient-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ingredient-list li {
    padding: 0.3rem 0;
    font-size: 0.92rem;
    color: var(--ink);
}
.tag-badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.55rem;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}
.tag-bestseller {
    background: var(--orange);
    color: #fff;
}
.tag-spicy {
    background: #C0392B;
    color: #fff;
}
.tag-veg {
    background: var(--basil);
    color: #fff;
}
.tag-new {
    background: var(--ink);
    color: #fff;
}
.tag-custom {
    background: #fff;
    color: var(--orange);
    border: 1px solid var(--orange);
}
.unavailable-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    z-index: 2;
}

/* ---------- STORY ---------- */
.story {
    background: linear-gradient(160deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: var(--white);
}
.story-copy {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.08rem;
    line-height: 1.7;
}
.story-photo-frame {
    border-radius: 10px;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.story-photo-frame img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}
.divider-line {
    width: 48px;
    height: 3px;
    background: var(--white);
}
.story-pillar {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    padding: 1.4rem 1rem;
    height: 100%;
}
.story-pillar i {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 0.6rem;
    display: inline-block;
}
.story-pillar-title {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.02rem;
    margin-bottom: 0.25rem;
}
.story-pillar-copy {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    margin: 0;
}

/* ---------- CONTACT / VISIT ---------- */
.visit-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.1rem 1.3rem;
}
.map-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: 0 20px 40px rgba(42, 33, 26, 0.15);
    height: 340px;
}
.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.map-frame-cta {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    box-shadow: 0 10px 20px rgba(42, 33, 26, 0.2);
    display: inline-flex;
    align-items: center;
    transition: transform .15s ease, color .15s ease;
}
.map-frame-cta:hover {
    transform: translateY(-2px);
    color: var(--orange);
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--white);
    color: var(--muted);
    border-top: 1px solid var(--line);
}
footer a {
    color: var(--muted);
    text-decoration: none;
}
footer a:hover {
    color: var(--orange);
}
.staff-link {
    font-size: 0.78rem;
    color: var(--muted) !important;
}
.logo-fallback {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    color: var(--ink);
}
.logo-fallback em {
    color: var(--orange);
    font-style: italic;
}
.site-logo {
    height: 40px;
    width: auto;
    display: block;
}
.site-logo-sm {
    height: 30px;
    width: auto;
    display: block;
}
.site-logo-lg {
    height: 56px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* ---------- ADMIN ---------- */
.admin-shell {
    min-height: 100vh;
    background: var(--off);
}
.admin-topbar {
    background: var(--orange);
    color: var(--white);
}
.admin-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
}
.badge-avail {
    background: var(--basil);
    color: #fff;
}
.badge-unavail {
    background: #B0A695;
    color: #fff;
}
.login-box {
    max-width: 380px;
}
.image-upload-preview {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
}
.image-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- ADMIN ITEM CARDS (mobile-first, no horizontal scroll) ---------- */
.admin-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.admin-item-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .18s ease, transform .18s ease;
}
.admin-item-card:hover {
    box-shadow: 0 12px 26px rgba(42, 33, 26, 0.1);
    transform: translateY(-2px);
}
.admin-item-top {
    display: flex;
    gap: 0.85rem;
    padding: 0.9rem 1rem 0.5rem;
}
.admin-item-thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.admin-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.admin-item-info {
    min-width: 0;
    flex: 1;
}
.admin-item-info h6 {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    margin-bottom: 0.15rem;
}
.admin-item-desc {
    font-size: 0.8rem;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.admin-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem 0.7rem;
    font-size: 0.85rem;
    color: var(--muted);
}
.admin-item-meta .price {
    font-size: 1rem;
    font-weight: 700;
}
.admin-item-toggles {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    padding: 0 1rem 0.85rem;
}
.admin-item-actions {
    display: flex;
    border-top: 1px solid var(--line);
    margin-top: auto;
}
.admin-item-actions button {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    transition: background .15s ease, color .15s ease;
}
.admin-item-actions button:first-child {
    border-right: 1px solid var(--line);
}
.admin-item-actions button:hover {
    background: var(--off);
    color: var(--orange);
}
.admin-item-actions button.danger:hover {
    color: #C0392B;
}
.admin-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.admin-filter-bar .cat-pill {
    padding: 0.4rem 1rem;
    font-size: 0.78rem;
}
.admin-empty {
    text-align: center;
    color: var(--muted);
    padding: 3rem 1rem;
}

/* ---------- ANIMATIONS ---------- */
/* ---------- LOADING SKELETON ---------- */
.menu-card-skeleton {
    height: 320px;
    border-radius: 12px;
    background: linear-gradient(100deg, var(--off) 30%, var(--orange-light) 50%, var(--off) 70%);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease-in-out infinite;
    border: 1px solid var(--line);
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes floatY {
    0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
    50% { transform: translateY(-14px) rotate(var(--rot, 0deg)); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes underlineGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
@keyframes slideFromRight {
    from { opacity: 0; transform: translateX(36px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideFromLeft {
    from { opacity: 0; transform: translateX(-36px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-anim-in .eyebrow,
.hero-anim-in h1,
.hero-anim-in .lead-copy,
.hero-anim-in .hero-ctas {
    opacity: 0;
    animation: fadeUp .7s ease forwards;
}
.hero-anim-in .eyebrow { animation-delay: .05s; }
.hero-anim-in h1 { animation-delay: .15s; }
.hero-anim-in .lead-copy { animation-delay: .32s; }
.hero-anim-in .hero-ctas { animation-delay: .46s; }

.float-svg {
    animation: floatY 5.5s ease-in-out infinite;
}
.float-svg.delay {
    animation-delay: 1.1s;
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .65s ease, transform .65s ease;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger.in-view > * {
    animation: fadeUp .55s ease both;
}
.reveal-stagger.in-view > *:nth-child(1) { animation-delay: .02s; }
.reveal-stagger.in-view > *:nth-child(2) { animation-delay: .09s; }
.reveal-stagger.in-view > *:nth-child(3) { animation-delay: .16s; }
.reveal-stagger.in-view > *:nth-child(4) { animation-delay: .23s; }
.reveal-stagger.in-view > *:nth-child(5) { animation-delay: .30s; }
.reveal-stagger.in-view > *:nth-child(6) { animation-delay: .37s; }
.reveal-stagger.in-view > *:nth-child(n+7) { animation-delay: .44s; }

.menu-slide-right.in-view {
    animation: slideFromRight .38s ease;
}
.menu-slide-left.in-view {
    animation: slideFromLeft .38s ease;
}

.menu-swipe-area {
    touch-action: pan-y;
}

.counter-num {
    font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
    .float-svg,
    .hero-anim-in .eyebrow,
    .hero-anim-in h1,
    .hero-anim-in .lead-copy,
    .hero-anim-in .hero-ctas,
    .ticker-track,
    .reveal,
    .reveal-stagger > * {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 767px) {
    .seam-wrap { height: 320px; }
    .seam-half { width: 70%; }
    .story-photo-frame img { height: 220px; }
    .map-frame { height: 260px; }
    .map-frame-cta {
        font-size: 0.78rem;
        padding: 0.5rem 0.8rem;
        left: 10px;
        bottom: 10px;
    }
}

/* extra: admin form spacing */
.form-label-sm {
    font-size: 0.8rem;
    font-weight: 600;
}
.modal-content .form-control:focus,
.modal-content .form-select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 0.2rem rgba(242, 96, 12, 0.15);
}
.clickable-badge {
    cursor: pointer;
}
.clickable-badge:hover {
    opacity: 0.8;
}
.toast-flash {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    min-width: 200px;
}
.toast-flash .toast {
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: 8px;
}
.toast-flash .toast-body {
    padding: 0.75rem 1.25rem;
}
