@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('/fonts/inter-var-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url('/fonts/outfit-var-latin.woff2') format('woff2');
}

:root {
    --ink: #241d18;
    --muted: #6e6258;
    --line: #e7d9c8;
    --paper: #fffaf2;
    --cream: #f5ead9;
    --gold: #f3ce4f;
    --gold-dark: #b18110;
    --red: #9f392e;
    --green: #315846;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(55, 37, 20, 0.14);
    --radius: 18px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(18px, 4vw, 48px);
    border-bottom: 1px solid rgba(36, 29, 24, 0.08);
    background: rgba(255, 250, 242, 0.9);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border: 2px solid var(--ink);
    border-radius: 10px;
    background: var(--gold);
    color: var(--ink);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    letter-spacing: 0;
    box-shadow: 5px 5px 0 var(--ink);
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-name,
.brand-subtitle {
    display: block;
}

.brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 850;
    font-size: 1.05rem;
    line-height: 1.05;
}

.brand-subtitle {
    color: var(--muted);
    font-size: 0.78rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    padding: 10px 12px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 650;
}

.site-nav a:hover,
.site-nav .nav-call {
    color: var(--ink);
    background: var(--cream);
}

.nav-call {
    border: 1px solid var(--line);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    min-height: calc(100vh - 77px);
    padding: clamp(32px, 6vw, 84px) clamp(18px, 5vw, 72px) 56px;
}

.hero-media {
    position: relative;
    min-width: 0;
    min-height: 560px;
    border-radius: 28px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
}

.hero-media img {
    height: 100%;
    min-height: 560px;
    object-fit: contain;
    object-position: center top;
    padding: 18px 24px 166px;
}

.hero-card {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: grid;
    gap: 3px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 250, 242, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
}

.address-link {
    color: inherit;
    text-decoration-color: currentColor;
    text-underline-offset: 0.18em;
}

.floating-card {
    animation: floatCard 6s ease-in-out infinite;
}

.card-label,
.eyebrow {
    color: var(--red);
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.74rem;
}

.hero-copy {
    min-width: 0;
    max-width: 760px;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0;
    line-height: 1.04;
}

h1 {
    margin: 12px 0 20px;
    font-size: clamp(2.8rem, 5.8vw, 4.85rem);
    max-width: 760px;
}

h2 {
    margin: 10px 0 16px;
    font-size: clamp(2.1rem, 4.2vw, 4rem);
}

h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

p {
    margin: 0;
}

.hero-lede,
.large-copy {
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions,
.visit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--ink);
    color: var(--white);
    box-shadow: 0 12px 26px rgba(36, 29, 24, 0.18);
}

.btn-secondary {
    background: var(--gold);
    color: var(--ink);
    border-color: rgba(36, 29, 24, 0.18);
}

.btn-soft {
    background: var(--white);
    color: var(--ink);
    border-color: var(--line);
}

.quick-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 34px 0 0;
}

.quick-facts div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.55);
}

.quick-facts dt {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 900;
}

.quick-facts dd {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.section-shell {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

section {
    padding: clamp(64px, 9vw, 112px) 0;
}

.intro-grid,
.story-grid,
.visit-grid,
.vendor-grid,
.trust-grid,
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
}

.site-option[hidden] {
    display: none;
}

.intro-band {
    background: var(--paper);
}

.story,
.visit {
    background: var(--cream);
}

.story-photo {
    position: relative;
    min-height: 560px;
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #d8c6ae;
    box-shadow: var(--shadow);
}

.story-photo img {
    position: absolute;
    inset: 0;
    height: 560px;
    object-fit: cover;
    object-position: var(--photo-position, 50% 50%);
    transition: opacity 0.28s ease, transform 0.65s var(--ease);
}

.story-photo.is-switching img {
    opacity: 0.25;
    transform: scale(1.012);
}

.photo-rotator-panel {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 54px 18px 18px;
    color: var(--white);
    background: linear-gradient(to top, rgba(23, 18, 15, 0.82), rgba(23, 18, 15, 0));
}

.photo-rotator-caption {
    max-width: 48%;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.photo-rotator-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.photo-control,
.photo-toggle {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 999px;
    background: rgba(255, 250, 242, 0.92);
    color: var(--ink);
    cursor: pointer;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.photo-toggle {
    padding: 0 14px;
}

.photo-control:hover,
.photo-toggle:hover {
    background: var(--gold);
}

.photo-control:focus-visible,
.photo-toggle:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.photo-toggle:disabled {
    cursor: default;
    opacity: 0.82;
}

.photo-counter {
    min-width: 48px;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 850;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.screen-reader-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.story-copy p:not(.eyebrow) {
    margin-top: 16px;
    color: var(--muted);
    font-size: 1.04rem;
}

.note-box {
    display: grid;
    gap: 4px;
    margin-top: 24px;
    padding: 18px;
    border-left: 5px solid var(--red);
    border-radius: 14px;
    background: var(--white);
}

.note-box span {
    color: var(--muted);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading p:last-child {
    color: var(--muted);
    font-size: 1.1rem;
}

.category-grid,
.feature-grid,
.reason-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.category-card,
.feature-card,
.reason-card,
.visit-card,
.vendor-form,
.trust-items article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 36px rgba(55, 37, 20, 0.08);
}

.category-card,
.feature-card,
.reason-card {
    min-height: 220px;
    padding: 24px;
}

.visit-reasons {
    padding-top: clamp(54px, 8vw, 92px);
    padding-bottom: clamp(54px, 8vw, 92px);
    background: var(--paper);
}

.reason-card {
    display: grid;
    align-content: space-between;
    gap: 28px;
    min-height: 180px;
    background: var(--cream);
}

.reason-card strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    line-height: 1.12;
}

.reason-card span {
    color: var(--muted);
}

.category-card span {
    display: inline-flex;
    margin-bottom: 28px;
    color: var(--red);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
}

.category-card p,
.feature-card p {
    color: var(--muted);
}

.visit-card {
    padding: clamp(24px, 4vw, 42px);
}

.contact-list {
    display: grid;
    gap: 16px;
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.contact-list li {
    display: grid;
    gap: 2px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.contact-list span,
.contact-list a {
    color: var(--muted);
}

.location-map-panel {
    min-height: 460px;
    border-radius: 26px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 26% 34%, rgba(243, 206, 79, 0.3), transparent 18%),
        linear-gradient(135deg, #fffaf2 0%, #f5ead9 48%, #ead8bf 100%);
}

.location-map-art {
    position: absolute;
    inset: 0;
}

.location-map-art::before,
.location-map-art::after {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 30px rgba(55, 37, 20, 0.08);
}

.location-map-art::before {
    left: -8%;
    right: -8%;
    top: 42%;
    height: 58px;
    transform: rotate(-7deg);
}

.location-map-art::after {
    top: -10%;
    bottom: -10%;
    left: 52%;
    width: 52px;
    transform: rotate(11deg);
}

.map-road {
    position: absolute;
    z-index: 1;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.map-road-horizontal {
    left: 12%;
    top: 38%;
}

.map-road-vertical {
    right: 12%;
    top: 18%;
}

.map-pin {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 42%;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border: 4px solid var(--white);
    border-radius: 999px;
    background: var(--red);
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    box-shadow: 0 18px 36px rgba(55, 37, 20, 0.24);
    transform: translate(-50%, -50%);
}

.location-map-overlay {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 1;
    display: grid;
    gap: 6px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 250, 242, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
}

.location-map-overlay span {
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.location-map-overlay strong {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1;
    font-weight: 900;
}

.location-map-overlay .address-link {
    color: var(--muted);
}

.location-map-overlay > a:last-child {
    justify-self: start;
    margin-top: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--ink);
    text-decoration: none;
    font-weight: 900;
}

.donations {
    background: var(--paper);
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.donation-card {
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 36px rgba(55, 37, 20, 0.08);
}

.donation-card-accepted {
    border-top: 6px solid var(--green);
}

.donation-card-declined {
    border-top: 6px solid var(--red);
}

.donation-label {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.donation-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.donation-list li {
    position: relative;
    padding-left: 30px;
    color: var(--muted);
}

.donation-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 900;
}

.donation-card-accepted .donation-list li::before {
    content: "✓";
    background: var(--green);
}

.donation-card-declined .donation-list li::before {
    content: "×";
    background: var(--red);
}

.dropoff-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-top: 18px;
    padding: clamp(24px, 4vw, 36px);
    border-radius: var(--radius);
    background: var(--cream);
}

.dropoff-band > div:first-child {
    display: grid;
    gap: 4px;
}

.dropoff-band strong {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    line-height: 1.15;
}

.dropoff-band span {
    color: var(--muted);
}

.dropoff-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.vendor-grid {
    align-items: start;
}

.vendor-points {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.vendor-points span {
    padding: 12px 14px;
    border-radius: 999px;
    background: var(--cream);
    font-weight: 750;
}

.vendor-form {
    display: grid;
    gap: 14px;
    padding: clamp(22px, 4vw, 34px);
}

.vendor-form label {
    display: grid;
    gap: 6px;
    color: var(--ink);
    font-weight: 800;
}

.vendor-form input,
.vendor-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink);
    padding: 13px 14px;
    outline: none;
}

.vendor-form input:focus,
.vendor-form textarea:focus {
    border-color: var(--gold-dark);
    box-shadow: 0 0 0 4px rgba(243, 206, 79, 0.2);
}

.vendor-form .btn:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    display: none !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-note {
    color: var(--muted);
    font-size: 0.9rem;
}

.form-note[data-state="loading"] {
    color: var(--ink);
    font-weight: 800;
}

.form-note[data-state="success"] {
    color: var(--green);
    font-weight: 800;
}

.form-note[data-state="error"] {
    color: var(--red);
    font-weight: 800;
}

.form-fallback {
    justify-self: start;
    color: var(--red);
    font-weight: 850;
    text-underline-offset: 0.2em;
}

.form-fallback[hidden] {
    display: none;
}

.trust-band {
    background: var(--ink);
    color: var(--white);
}

.trust-band .eyebrow {
    color: var(--gold);
}

.trust-items {
    display: grid;
    gap: 14px;
}

.trust-items article {
    display: grid;
    gap: 5px;
    padding: 18px;
    color: var(--ink);
}

.trust-items span {
    color: var(--muted);
}

.site-footer {
    padding: 42px 0;
    background: #17120f;
    color: var(--white);
}

.footer-grid {
    grid-template-columns: 1.4fr repeat(3, 0.8fr);
    align-items: start;
}

.site-footer .brand-mark {
    box-shadow: none;
}

.site-footer p,
.site-footer span,
.site-footer a {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer strong {
    display: block;
    margin-bottom: 8px;
}

.site-footer .footer-grid > div {
    display: grid;
    gap: 7px;
}

.floating-call {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 18;
    display: none;
    padding: 13px 18px;
    border-radius: 999px;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 14px 35px rgba(159, 57, 46, 0.34);
}

.floating-call.visible {
    display: inline-flex;
}

.traffic-popup[hidden],
.analytics-panel[hidden],
.analytics-dashboard[hidden] {
    display: none;
}

.traffic-popup {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 32;
    width: min(560px, calc(100% - 32px));
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 250, 242, 0.98);
    box-shadow: var(--shadow);
    transform: translateX(-50%);
}

.traffic-popup-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 10px;
    background: rgba(255, 250, 242, 0.98);
}

.popup-close {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
}

.popup-copy {
    color: var(--muted);
    margin-bottom: 18px;
}

.traffic-popup h2,
.analytics-card h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.traffic-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.traffic-options button {
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    font-weight: 800;
    text-align: left;
}

.traffic-options button:hover,
.traffic-options button:focus,
.traffic-options button.active {
    border-color: var(--gold-dark);
    background: var(--gold);
}

.traffic-submit {
    width: 100%;
    margin-top: 14px;
}

.traffic-submit:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

.other-source {
    display: grid;
    gap: 6px;
    margin-top: 14px;
    font-weight: 800;
}

.other-source input,
.analytics-login input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink);
    padding: 13px 14px;
    outline: none;
}

.analytics-panel {
    position: fixed;
    inset: 0;
    z-index: 34;
    overflow: auto;
    padding: 36px 0;
    background: rgba(23, 18, 15, 0.72);
}

.analytics-card {
    position: relative;
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.analytics-page {
    min-height: 100vh;
}

.analytics-back {
    min-height: 42px;
    padding: 10px 16px;
}

.analytics-page-main {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(32px, 7vw, 72px) 0;
}

.inline-analytics-card {
    width: 100%;
    margin: 0;
}

.analytics-login {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin: 20px 0;
}

.analytics-login label {
    display: grid;
    gap: 6px;
    font-weight: 800;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.metric-grid article {
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
}

.metric-grid span {
    color: var(--muted);
    font-weight: 800;
}

.metric-grid strong {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    line-height: 1;
}

.source-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
}

.source-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

.source-table th,
.source-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.source-table th {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.source-table tbody tr:last-child td {
    border-bottom: 0;
}

body.reveal-ready .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

body.reveal-ready .reveal.visible,
.reveal {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 980px) {
    .hero,
    .intro-grid,
    .story-grid,
    .visit-grid,
    .vendor-grid,
    .trust-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 0;
        padding-top: 28px;
    }

    .hero-media {
        order: 0;
        min-height: 360px;
    }

    .hero-media img {
        min-height: 360px;
    }

    .story-photo {
        width: min(100%, 680px);
        min-height: 0;
        height: min(72vw, 680px);
        margin-inline: auto;
    }

    .story-photo img {
        height: 100%;
    }

    .floating-call.visible {
        display: none;
    }

    .category-grid,
    .feature-grid,
    .reason-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .site-header {
        align-items: flex-start;
    }

    .nav-toggle {
        display: block;
        flex: 0 0 auto;
    }

    .site-nav {
        position: absolute;
        top: 76px;
        left: 12px;
        right: 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--paper);
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 14px;
    }
}

@media (max-width: 760px) {
    .site-header {
        align-items: flex-start;
    }

    .nav-toggle {
        display: block;
        flex: 0 0 auto;
    }

    .site-nav {
        position: absolute;
        top: 76px;
        left: 12px;
        right: 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--paper);
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 14px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        box-shadow: 4px 4px 0 var(--ink);
    }

    .brand-name {
        font-size: 0.95rem;
    }

    .brand-subtitle {
        font-size: 0.7rem;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-media,
    .hero-copy {
        width: 100%;
        max-width: 100%;
    }

    .hero-card {
        right: auto;
        width: calc(100% - 48px);
    }

    h1 {
        font-size: clamp(2rem, 9.6vw, 2.85rem);
        line-height: 1.02;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .hero-lede,
    .large-copy {
        max-width: 100%;
        font-size: 1.04rem;
    }

    .hero-actions,
    .visit-actions,
    .dropoff-actions {
        flex-direction: column;
    }

    .donation-grid,
    .dropoff-band {
        grid-template-columns: 1fr;
    }

    .dropoff-actions {
        justify-content: stretch;
    }

    .traffic-popup {
        left: 12px;
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        width: auto;
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - max(24px, env(safe-area-inset-top)) - max(24px, env(safe-area-inset-bottom)));
        overflow: auto;
        overscroll-behavior: contain;
        transform: none;
    }

    .traffic-options,
    .analytics-login,
    .metric-grid {
        grid-template-columns: 1fr;
    }

    .analytics-back {
        display: none;
    }

    .analytics-panel {
        padding: 12px 0;
    }

    .btn {
        width: 100%;
    }

    .quick-facts,
    .category-grid,
    .feature-grid,
    .reason-grid {
        grid-template-columns: 1fr;
    }

    .hero-media,
    .hero-media img,
    .story-photo img,
    .location-map-panel {
        min-height: 260px;
        height: auto;
    }

    .hero-media,
    .hero-media img {
        min-height: 340px;
    }

    .hero-media img {
        padding: 12px 14px 122px;
    }

    .story-photo {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .story-photo img {
        height: 100%;
    }

    .photo-rotator-panel {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 64px 14px 14px;
    }

    .photo-rotator-caption {
        max-width: 100%;
        font-size: 0.9rem;
    }

    .photo-rotator-controls {
        width: 100%;
        justify-content: flex-start;
    }

    .photo-counter {
        margin-left: auto;
        order: 4;
    }

    .location-map-panel {
        min-height: 320px;
    }

    .map-road-vertical {
        right: 8%;
    }

    .location-map-overlay {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .floating-card {
        animation: none;
    }

    .story-photo img,
    .btn,
    body.reveal-ready .reveal {
        transition: none;
    }
}
