/* ============================================
   CARDI'S 8TH ST. BAR AND GRILL
   Bold Editorial Restaurant Website
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --forest: #1B4332;
    --forest-deep: #0D2818;
    --forest-mid: #2D6A4F;
    --forest-light: #40916C;
    --cream: #F5F0E8;
    --cream-light: #FAF7F2;
    --cream-dark: #E8E0D0;
    --gold: #D4A843;
    --gold-light: #E8C47B;
    --charcoal: #1A1A1A;
    --text-dark: #1A1A1A;
    --text-mid: #3D3D3D;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- NAVIGATION --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 240, 232, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: background 0.3s var(--ease-smooth);
}

.nav.scrolled {
    background: rgba(245, 240, 232, 0.97);
    box-shadow: 0 1px 20px rgba(27, 67, 50, 0.08);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--forest);
    font-size: 1.1rem;
}

.nav-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--forest);
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 900;
    border-radius: 8px;
}

.nav-logo-text {
    line-height: 1.1;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--forest);
}

.nav-cta {
    background: var(--forest) !important;
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
    background: var(--forest-mid) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--forest);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--cream);
    padding-top: 72px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--forest-light);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.02;
    color: var(--forest-deep);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-accent {
    color: var(--gold);
    font-style: italic;
    font-weight: 700;
}

.hero-desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-mid);
    max-width: 440px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-light);
}

.hero-meta-dot {
    color: var(--cream-dark);
}

/* Hero Image Column */
.hero-image-col {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.hero-img-hero {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(27, 67, 50, 0.15);
    width: 100%;
    max-width: 520px;
    aspect-ratio: 600/750;
}

.hero-img-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-float {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(27, 67, 50, 0.12);
    width: 65%;
    max-width: 340px;
    aspect-ratio: 400/280;
    position: relative;
    z-index: 2;
    margin-top: -40px;
    margin-right: -20px;
}

.hero-img-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    bottom: 60px;
    left: -10px;
    background: var(--forest);
    color: var(--gold);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    z-index: 3;
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.25);
}

/* Hero Scroll Indicator */
.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0 auto 40px;
    color: var(--text-light);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--forest-light), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.25s var(--ease-out);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--forest);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(27, 67, 50, 0.2);
}

.btn-primary:hover {
    background: var(--forest-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--forest);
    border: 1.5px solid var(--forest);
}

.btn-outline:hover {
    background: var(--forest);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--cream);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--forest);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
    border-radius: 12px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* --- PILLARS --- */
.pillars {
    background: var(--forest-deep);
    padding: 80px 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.pillar {
    text-align: center;
    padding: 32px 24px;
    border-radius: 16px;
    transition: background 0.3s;
}

.pillar:hover {
    background: rgba(255, 255, 255, 0.04);
}

.pillar-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 67, 0.12);
    border-radius: 14px;
    color: var(--gold);
}

.pillar h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 12px;
}

.pillar p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(245, 240, 232, 0.65);
}

/* --- SECTION HEADERS --- */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--forest-light);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--forest-deep);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-mid);
    max-width: 520px;
}

/* --- MENU --- */
.menu {
    padding: 100px 0;
    background: var(--cream-light);
}

.menu-header {
    text-align: center;
    margin-bottom: 64px;
}

.menu-header .section-desc {
    margin: 0 auto;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 56px;
}

.menu-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(27, 67, 50, 0.06);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(27, 67, 50, 0.12);
}

.menu-card-img {
    aspect-ratio: 500/340;
    overflow: hidden;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.05);
}

.menu-card-body {
    padding: 28px;
}

.menu-card-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(212, 168, 67, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
}

.menu-card h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--forest-deep);
    margin-bottom: 10px;
    line-height: 1.2;
}

.menu-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-mid);
}

.menu-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    text-align: center;
}

.menu-note p {
    font-size: 0.9375rem;
    color: var(--text-light);
}

/* --- ABOUT --- */
.about {
    padding: 100px 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-col {
    position: relative;
}

.about-img-main {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(27, 67, 50, 0.12);
    aspect-ratio: 600/800;
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(27, 67, 50, 0.15);
    width: 55%;
    aspect-ratio: 400/300;
    border: 4px solid var(--cream);
}

.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content-col {
    padding: 20px 0;
}

.about-divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
    margin-bottom: 28px;
}

.about-body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-mid);
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--cream-dark);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-stat-num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--forest);
    line-height: 1;
}

.about-stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.03em;
}

/* --- QUOTE BANNER --- */
.quote-banner {
    background: var(--forest);
    padding: 80px 0;
    text-align: center;
}

.quote-banner blockquote {
    max-width: 760px;
    margin: 0 auto;
}

.quote-mark {
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 0.6;
}

.quote-banner p {
    font-family: var(--font-serif);
    font-size: clamp(1.375rem, 2.5vw, 1.875rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.55;
    color: var(--cream);
    margin-bottom: 24px;
}

.quote-banner footer {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* --- GALLERY --- */
.gallery {
    padding: 100px 0;
    background: var(--cream-light);
}

.gallery-header {
    text-align: center;
    margin-bottom: 56px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 16px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(27, 67, 50, 0);
    transition: background 0.3s;
    border-radius: 12px;
}

.gallery-item:hover::after {
    background: rgba(27, 67, 50, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item--tall {
    grid-column: span 4;
    grid-row: span 2;
}

.gallery-item--wide {
    grid-column: span 8;
}

.gallery-item:not(.gallery-item--tall):not(.gallery-item--wide) {
    grid-column: span 4;
}

/* --- VISIT --- */
.visit {
    padding: 100px 0;
    background: var(--cream);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
    margin-bottom: 32px;
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.visit-detail-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 67, 50, 0.08);
    border-radius: 10px;
    color: var(--forest);
}

.visit-detail-value {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.5;
}

.visit-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 2px;
}

.visit-link {
    color: var(--forest);
    transition: color 0.2s;
}

.visit-link:hover {
    color: var(--gold);
}

.visit-hours {
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--cream-dark);
}

.visit-hours-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 16px;
}

.visit-hours-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.visit-hour-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 0.9375rem;
}

.visit-hour-row span:first-child {
    color: var(--text-mid);
    font-weight: 500;
}

.visit-hour-row span:last-child {
    color: var(--text-dark);
    font-weight: 600;
}

.visit-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(27, 67, 50, 0.1);
    aspect-ratio: 600/500;
    position: relative;
}

.visit-map-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.visit-map-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visit-map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--forest);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.visit-map-link:hover .visit-map-overlay {
    background: var(--forest-mid);
    transform: translateY(-2px);
}

/* --- CTA --- */
.cta {
    background: var(--forest-deep);
    padding: 100px 0;
    text-align: center;
}

.cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.cta-eyebrow {
    color: var(--gold) !important;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--cream);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(245, 240, 232, 0.65);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- FOOTER --- */
.footer {
    background: var(--charcoal);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--cream);
    font-size: 1.1rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.footer-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--forest);
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 900;
    border-radius: 10px;
    flex-shrink: 0;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(245, 240, 232, 0.5);
    max-width: 280px;
}

.footer-links-label,
.footer-contact > span:first-child {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.35);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(245, 240, 232, 0.65);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact a {
    font-size: 0.9375rem;
    color: rgba(245, 240, 232, 0.65);
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-contact > span:last-child {
    font-size: 0.9375rem;
    color: rgba(245, 240, 232, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 240, 232, 0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(245, 240, 232, 0.3);
}

/* --- SCROLL ANIMATIONS (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* --- MOBILE MENU --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--cream-dark);
        transform: translateY(-110%);
        opacity: 0;
        transition: transform 0.35s var(--ease-out), opacity 0.25s;
        pointer-events: none;
        box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-meta {
        justify-content: center;
    }

    .hero-image-col {
        align-items: center;
        max-width: 500px;
        margin: 0 auto;
    }

    .about-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-col {
        max-width: 480px;
        margin: 0 auto;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 56px;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 72px;
    }

    .hero-grid {
        padding: 24px 24px 60px;
    }

    .hero-img-float {
        width: 70%;
        margin-top: -30px;
    }

    .hero-badge {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item--tall,
    .gallery-item--wide,
    .gallery-item:not(.gallery-item--tall):not(.gallery-item--wide) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item--tall {
        aspect-ratio: 400/600;
    }

    .gallery-item:not(.gallery-item--tall) {
        aspect-ratio: 400/300;
    }

    .about-img-accent {
        right: -8px;
        bottom: -20px;
    }

    .about-stats {
        gap: 24px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }
}
