/* ===================================
   The Coffee House South
   Classic & Elegant Coffee House Site
   Color Palette: Plum + Amber
===================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    --plum-dark: #2D0A0A;
    --plum-deep: #4A0404;
    --plum-mid: #6B1D1D;
    --plum-soft: #8B3A3A;
    --plum-muted: #A85A5A;
    --plum-pale: #D4A0A0;
    --plum-whisper: #F2E0E0;
    --plum-bg: #FAF5F5;

    --amber-dark: #7A4B00;
    --amber-deep: #9A6200;
    --amber-mid: #C4820A;
    --amber-warm: #D4A030;
    --amber-light: #E8C060;
    --amber-pale: #F5E0A8;
    --amber-cream: #FFF8E8;

    --cream: #FFFAF5;
    --cream-dark: #F5EDE5;
    --warm-white: #FFFCF8;
    --text-dark: #1A0A0A;
    --text-mid: #3D1F1F;
    --text-light: #6B4A4A;
    --text-muted: #9A7A7A;

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Segoe UI', system-ui, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 3px rgba(74, 4, 4, 0.08);
    --shadow-md: 0 4px 16px rgba(74, 4, 4, 0.1);
    --shadow-lg: 0 8px 32px rgba(74, 4, 4, 0.12);
    --shadow-xl: 0 16px 48px rgba(74, 4, 4, 0.15);

    --transition-fast: 0.2s ease;
    --transition-med: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    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;
}

ul, ol, address {
    list-style: none;
}

address {
    font-style: normal;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    background: var(--plum-deep);
    color: var(--cream);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-sm);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-mid);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--plum-dark);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--plum-deep);
    color: var(--cream);
    border: 2px solid var(--plum-deep);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--plum-mid);
    border-color: var(--plum-mid);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--plum-dark);
    border: 2px solid var(--plum-dark);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--plum-dark);
    color: var(--cream);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 245, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 4, 4, 0.08);
    transition: all var(--transition-med);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--plum-dark);
    transition: color var(--transition-fast);
}

.logo:hover {
    color: var(--plum-mid);
}

.logo--footer {
    color: var(--cream);
}

.logo--footer:hover {
    color: var(--amber-light);
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--amber-mid);
    flex-shrink: 0;
}

.logo-text {
    letter-spacing: 0.02em;
}

/* ---------- Navigation ---------- */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.main-nav a {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-mid);
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber-mid);
    transition: width var(--transition-fast);
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--plum-deep);
}

.main-nav a:hover::after,
.main-nav a:focus::after {
    width: 100%;
}

/* ---------- Nav Toggle ---------- */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: var(--space-xs);
    z-index: 101;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--plum-dark);
    border-radius: 2px;
    transition: all var(--transition-fast);
    transform-origin: center;
}

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

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

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

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--plum-dark);
    overflow: hidden;
    padding-top: 80px;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    color: var(--amber-warm);
    opacity: 0.5;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    padding: var(--space-2xl) 0;
}

.hero-content {
    color: var(--cream);
    max-width: 520px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber-warm);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.08;
    color: var(--cream);
    margin-bottom: var(--space-lg);
}

.hero-headline em {
    font-style: italic;
    color: var(--amber-warm);
}

.hero-subheadline {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--plum-pale);
    margin-bottom: var(--space-xl);
    max-width: 440px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.hero-actions .btn-primary {
    background: var(--amber-mid);
    border-color: var(--amber-mid);
    color: var(--plum-dark);
}

.hero-actions .btn-primary:hover {
    background: var(--amber-warm);
    border-color: var(--amber-warm);
}

.hero-actions .btn-secondary {
    border-color: var(--plum-pale);
    color: var(--plum-pale);
}

.hero-actions .btn-secondary:hover {
    background: var(--plum-pale);
    color: var(--plum-dark);
}

/* Hero Image Stack */
.hero-visual {
    position: relative;
}

.hero-image-stack {
    position: relative;
    padding-right: var(--space-lg);
}

.hero-img {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.hero-img--primary {
    width: 100%;
    aspect-ratio: 4/5;
}

.hero-img--primary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.hero-img--primary:hover img {
    transform: scale(1.03);
}

.hero-img--secondary {
    position: absolute;
    bottom: -40px;
    left: -60px;
    width: 55%;
    aspect-ratio: 4/3;
    border: 4px solid var(--plum-dark);
    overflow: hidden;
}

.hero-img--secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.hero-img--secondary:hover img {
    transform: scale(1.05);
}

.hero-badge {
    position: absolute;
    top: -20px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--amber-mid);
    color: var(--plum-dark);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: var(--shadow-lg);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ---------- About ---------- */
.about {
    padding: var(--space-3xl) 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 7/8;
}

.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-img-wrapper:hover img {
    transform: scale(1.03);
}

.about-accent {
    position: absolute;
    top: -24px;
    right: -24px;
    width: 120px;
    height: 120px;
    background: var(--amber-pale);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content {
    padding: var(--space-lg) 0;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: var(--space-md);
    font-size: 1.05rem;
    line-height: 1.85;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(74, 4, 4, 0.1);
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--plum-deep);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(74, 4, 4, 0.15);
    flex-shrink: 0;
}

/* ---------- Menu ---------- */
.menu {
    padding: var(--space-3xl) 0;
    background: var(--plum-bg);
    position: relative;
}

.menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--plum-deep), var(--amber-mid), var(--plum-deep));
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.menu-category {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(74, 4, 4, 0.06);
    transition: all var(--transition-fast);
}

.menu-category:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.category-icon {
    width: 48px;
    height: 48px;
    color: var(--amber-mid);
    margin-bottom: var(--space-md);
}

.category-title {
    font-size: 1.5rem;
    color: var(--plum-dark);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--amber-pale);
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.menu-items li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-bottom: var(--space-sm);
    border-bottom: 1px dotted rgba(74, 4, 4, 0.1);
}

.menu-items li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.item-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.item-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.menu-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ---------- Gallery ---------- */
.gallery {
    padding: var(--space-3xl) 0;
    background: var(--cream);
}

.gallery .section-header {
    margin-bottom: var(--space-2xl);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
}

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

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(26, 10, 10, 0.8), transparent);
    color: var(--cream);
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(8px);
    transition: all var(--transition-fast);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item--large {
    grid-column: span 5;
    grid-row: span 2;
}

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

.gallery-item:nth-child(2),
.gallery-item:nth-child(3),
.gallery-item:nth-child(4),
.gallery-item:nth-child(6) {
    grid-column: span 4;
}

/* ---------- Visit ---------- */
.visit {
    padding: var(--space-3xl) 0;
    background: var(--plum-dark);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.visit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(196, 130, 10, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.visit .container {
    position: relative;
    z-index: 1;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.visit .section-eyebrow {
    color: var(--amber-warm);
}

.visit .section-title {
    color: var(--cream);
    margin-bottom: var(--space-xl);
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.visit-detail {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.visit-detail-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 130, 10, 0.15);
    border-radius: var(--radius-md);
    color: var(--amber-warm);
}

.visit-detail-icon svg {
    width: 20px;
    height: 20px;
}

.visit-detail strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-mid);
    margin-bottom: 0.25rem;
}

.visit-detail p,
.visit-detail a {
    font-size: 1rem;
    color: var(--plum-pale);
    line-height: 1.7;
}

.visit-detail a:hover {
    color: var(--amber-light);
}

/* Hours */
.visit-hours {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.hours-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(196, 130, 10, 0.3);
}

.hours-list {
    display: flex;
    flex-direction: column;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hours-row:last-child {
    border-bottom: none;
}

.day {
    font-weight: 700;
    color: var(--cream);
    font-size: 0.9375rem;
}

.time {
    color: var(--plum-pale);
    font-size: 0.9375rem;
}

.hours-note {
    margin-top: var(--space-md);
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ---------- Contact ---------- */
.contact {
    padding: var(--space-3xl) 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.85;
    max-width: 440px;
}

.contact-form-wrapper {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(74, 4, 4, 0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--cream);
    border: 1.5px solid rgba(74, 4, 4, 0.15);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--amber-mid);
    box-shadow: 0 0 0 3px rgba(196, 130, 10, 0.15);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: var(--space-md);
    background: rgba(76, 175, 80, 0.08);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: var(--radius-sm);
    color: #2e7d32;
    font-size: 0.9375rem;
    margin-top: var(--space-sm);
}

.form-success svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #2e7d32;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--plum-dark);
    color: var(--cream);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    color: var(--plum-pale);
    margin-top: var(--space-sm);
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-mid);
    margin-bottom: var(--space-md);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--plum-pale);
    transition: color var(--transition-fast);
}

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

.footer-contact address {
    font-size: 0.9375rem;
    color: var(--plum-pale);
    line-height: 1.8;
}

.footer-contact a {
    color: var(--plum-pale);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding-top: var(--space-lg);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--plum-pale);
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--amber-light);
}

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.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; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: var(--space-lg);
    }

    .hero-headline {
        font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    }

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

    .menu-category:last-child {
        grid-column: span 2;
        max-width: 50%;
        justify-self: center;
    }

    .gallery-grid {
        grid-template-rows: repeat(2, 200px);
    }

    .gallery-item--large {
        grid-column: span 6;
        grid-row: span 2;
    }

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

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(6) {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 3rem;
        --space-2xl: 4rem;
        --space-3xl: 5rem;
    }

    /* Mobile Nav */
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: var(--cream);
        box-shadow: var(--shadow-xl);
        padding: 100px var(--space-lg) var(--space-xl);
        transform: translateX(100%);
        transition: transform var(--transition-med);
        z-index: 99;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .main-nav a {
        font-size: 1rem;
        padding: var(--space-sm) 0;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(26, 10, 10, 0.5);
        z-index: 98;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-med);
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-subheadline {
        max-width: 100%;
    }

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

    .hero-visual {
        order: -1;
    }

    .hero-image-stack {
        padding-right: 0;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-img--secondary {
        left: -20px;
        bottom: -20px;
        width: 50%;
    }

    .hero-badge {
        top: -12px;
        right: -8px;
        padding: 0.5rem 1rem;
        font-size: 0.6875rem;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

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

    .about-stats {
        justify-content: center;
    }

    /* Menu */
    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-category:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 180px);
    }

    .gallery-item--large {
        grid-column: span 2;
        grid-row: span 1;
    }

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

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(6) {
        grid-column: span 1;
    }

    /* Visit */
    .visit-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-headline {
        font-size: 2.25rem;
    }

    .hero-img--secondary {
        left: -10px;
        bottom: -10px;
        width: 45%;
    }

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

    .gallery-item--large {
        grid-column: span 1;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }

    .about-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }
}
