/* Zine Bakery — Homemade Delights */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Space+Grotesk:wght@300;400;500;600&family=Space+Mono&display=swap');

:root {
    --bg: #F5F0E8;
    --bg-dark: #EDE7D9;
    --ink: #1C1917;
    --ink-muted: #6B5E52;
    --red: #C44B2B;
    --green: #2D5016;
    --cream-border: #D4C9B8;
    --white: #FDFAF5;
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Space Grotesk', system-ui, sans-serif;
    --font-mono: 'Space Mono', ui-monospace, monospace;
    --section-pad-y: 100px;
    --section-pad-y-mobile: 60px;
    --container-max: 1200px;
    --ease-snappy: 0.15s ease;
    /* legacy aliases */
    --primary-color: var(--ink);
    --primary-dark: var(--ink);
    --secondary-color: var(--white);
    --accent-color: var(--cream-border);
    --accent-dark: var(--ink-muted);
    --light-accent-bg: var(--bg-dark);
    --text-color: var(--ink);
    --text-muted: var(--ink-muted);
    --heading-font: var(--font-display);
    --body-font: var(--font-body);
    --border-radius: 4px;
    --border-radius-sm: 2px;
    --border-radius-pill: 4px;
    --shadow-soft: none;
    --shadow-hover: 6px 6px 0 var(--ink);
    --transition: all 0.15s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--ink);
    line-height: 1.7;
    font-size: 1.05rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

body.body-no-scroll {
    overflow: hidden;
}

main {
    flex-grow: 1;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    margin-top: 0;
    font-weight: 400;
    line-height: 1.15;
}

h1 {
    font-size: clamp(3rem, 8vw, 7rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    text-align: left;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 2rem);
}

.section-intro {
    text-align: left;
    font-size: 1.05rem;
    max-width: 42rem;
    margin: 0 0 2rem 0;
    color: var(--ink-muted);
}

.page-section {
    padding: var(--section-pad-y) 0;
}

.page-section.alt-bg,
.alt-bg {
    background-color: var(--bg-dark);
}

.page-section.section-ink {
    background: var(--ink);
    color: var(--white);
}

.page-section.section-ink h2,
.page-section.section-ink h3 {
    color: var(--white);
}

.label-mono {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
    margin-bottom: 0.75rem;
    display: block;
}

.text-mono {
    font-family: var(--font-mono);
}

/* --- Thin announcement bar --- */
.banner {
    background: var(--bg-dark);
    color: var(--ink);
    padding: 8px 40px;
    border-bottom: 1px solid var(--cream-border);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.banner p {
    margin: 0;
}

.banner a {
    color: var(--red);
    font-weight: 600;
    transition: color var(--ease-snappy);
}

.banner a:hover {
    color: var(--ink);
}

.close-btn {
    background: none;
    border: none;
    color: var(--ink);
    font-size: 1.25rem;
    cursor: pointer;
    position: absolute;
    right: 16px;
    line-height: 1;
    padding: 4px 8px;
    transition: color var(--ease-snappy);
}

.close-btn:hover {
    color: var(--red);
}

/* --- Navigation --- */
nav {
    background-color: var(--bg);
    border-bottom: 2px solid var(--ink);
    padding: 0 24px;
    min-height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.1;
    position: relative;
    z-index: 1005;
}

.nav-logo img {
    height: 36px;
    width: auto;
    margin-right: 10px;
    transition: none;
}

.nav-logo:hover img {
    transform: none;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-links li a {
    padding: 20px 12px;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color var(--ease-snappy);
    white-space: nowrap;
}

.nav-links li a::after {
    display: none;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--red);
}

.nav-extras {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1001;
}

.nav-toggle {
    display: none;
}

/* --- Home hero (zine) --- */
.hero-zine {
    padding: 48px 0 80px;
}

.hero-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--cream-border);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--ink-muted);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.65fr;
    gap: 48px;
    align-items: start;
}

.hero-copy .label-mono {
    color: var(--red);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--ink);
    line-height: 1.05;
    margin: 0 0 1.25rem 0;
    font-weight: 400;
}

.hero-headline .hero-line-italic {
    font-style: italic;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--ink-muted);
    max-width: 28rem;
    margin: 0 0 1.75rem 0;
    line-height: 1.65;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.hero-stat-row {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--ink-muted);
}

/* Polaroid collage */
.polaroid-stack {
    position: relative;
    min-height: 280px;
    padding: 40px 0;
}

.polaroid {
    position: absolute;
    background: var(--white);
    padding: 12px 12px 40px;
    border: 1px solid var(--cream-border);
    box-shadow: 4px 4px 0 var(--ink);
    max-width: 220px;
    transition: transform var(--ease-snappy);
}

.polaroid:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
}

.polaroid-1 { top: 0; right: 20%; transform: rotate(-2deg); z-index: 3; }
.polaroid-2 { top: 60px; right: 0; transform: rotate(1deg); z-index: 2; }
.polaroid-3 { top: 140px; right: 28%; transform: rotate(-1deg); z-index: 1; }

.polaroid img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1;
    object-fit: cover;
}

.polaroid figcaption {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--ink-muted);
    margin-top: 8px;
    text-align: center;
}

.polaroid-strip {
    display: none;
}

/* Mission dark band */
.mission-quote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-style: italic;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.35;
}

.mission-rule {
    width: 100%;
    max-width: 400px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    margin: 0 auto 1.5rem;
}

.mission-body {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    color: rgba(253, 250, 245, 0.85);
    font-size: 1rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 720px;
    margin: 2rem auto 0;
    text-align: center;
}

.stat-num {
    font-family: var(--font-mono);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--red);
    display: block;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(253, 250, 245, 0.75);
}

/* Editorial social */
.social-editorial {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 2rem;
    border-top: 2px solid var(--ink);
}

.social-editorial-card {
    background: var(--white);
    padding: 28px 24px;
    border-right: 1px solid var(--cream-border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: var(--ink);
    border-top: 3px solid var(--ink);
    transition: border-color var(--ease-snappy), transform var(--ease-snappy);
}

.social-editorial-card:last-child {
    border-right: none;
}

.social-editorial-card:hover {
    border-top-color: var(--red);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
}

.social-editorial-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.5rem 0;
}

.social-editorial-card p {
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
    color: var(--ink-muted);
}

.social-link-plain {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--red);
    margin-top: auto;
}

/* --- Buttons --- */
.btn {
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 2px;
    font-weight: 600;
    font-family: var(--font-body);
    display: inline-block;
    transition: background var(--ease-snappy), color var(--ease-snappy), border-color var(--ease-snappy), transform var(--ease-snappy);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn-primary:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 2px solid var(--ink);
    margin-left: 0;
}

.btn-secondary:hover {
    background: var(--ink);
    color: var(--white);
}

.page-section .hero-buttons .btn-secondary {
    color: var(--ink);
}

.btn-ghost-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-ghost-light:hover {
    background: var(--white);
    color: var(--ink);
}

/* On dark menu */
.menu-board .btn-primary,
.payment-box .btn-primary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.menu-board .btn-primary:hover,
.payment-box .btn-primary:hover {
    background: var(--white);
    color: var(--ink);
}

/* --- About --- */
.about-hero {
    background: var(--bg);
    text-align: center;
    padding: 48px 20px 32px;
    border-bottom: 2px solid var(--ink);
}

.about-hero h2 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
    margin-bottom: 0.75rem;
    text-align: center;
}

.about-hero p {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--ink);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.35;
}

.founder-editorial {
    background: var(--bg-dark);
    padding: 0;
    overflow: hidden;
}

.founder-editorial-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 420px;
    max-width: 100%;
}

.founder-editorial-photo {
    min-height: 360px;
}

.founder-editorial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.founder-editorial-copy {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.founder-editorial-copy .label-mono {
    margin-bottom: 0.5rem;
}

.founder-editorial-copy h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.founder-pull-quote {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-style: italic;
    margin: 1.5rem 0 0;
    color: var(--ink);
    line-height: 1.35;
}

.team-section-label {
    margin-bottom: 2rem;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
}

.team-member {
    display: grid;
    grid-template-columns: 30% 1fr;
    gap: 32px;
    align-items: start;
    padding: 0 0 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--cream-border);
    cursor: default;
    perspective: none;
    min-height: 0;
}

.team-member:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.team-member-photo {
    overflow: hidden;
}

.team-member-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 2px;
    filter: grayscale(0.3);
    transition: filter 0.2s ease;
}

.team-member:hover .team-member-photo img {
    filter: grayscale(0);
}

.team-member-body h3 {
    font-size: 2rem;
    margin: 0 0 0.35rem;
}

.team-member-role {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--red);
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.team-member-bio {
    margin: 0 0 1rem;
    color: var(--ink-muted);
}

.team-member-quote {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-style: italic;
    margin: 0;
    padding-left: 1rem;
    border-left: 3px solid var(--red);
    color: var(--ink);
}

/* Impact dark */
.impact-dark {
    background: var(--ink);
    color: var(--white);
    padding: var(--section-pad-y) 0;
}

.impact-dark h2 {
    font-style: italic;
    color: var(--white);
    text-align: center;
    margin-bottom: 2.5rem;
}

.impact-dark .section-intro {
    color: rgba(253, 250, 245, 0.8);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.impact-numbered {
    max-width: 720px;
    margin: 0 auto;
}

.impact-item {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 0;
    margin-bottom: 2.5rem;
    align-items: start;
}

.impact-num {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--red);
}

.impact-item h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 0.35rem;
}

.impact-item p {
    margin: 0;
    color: rgba(253, 250, 245, 0.7);
    font-size: 0.95rem;
}

.partner-row {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(253, 250, 245, 0.85);
    line-height: 1.8;
}

.partner-row a {
    color: rgba(253, 250, 245, 0.85);
    text-decoration: none;
}

.partner-row a:hover {
    color: var(--red);
}

/* --- Menu page --- */
.menu-page-intro {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 2rem;
}

.menu-page-intro h1 {
    text-align: center;
    margin: 0 0 0.5rem;
}

.menu-page-intro .section-intro {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.menu-board {
    background: var(--ink);
    color: var(--white);
    padding: 40px 32px 48px;
    border: 2px solid var(--ink);
    margin-bottom: 48px;
}

.menu-board-header {
    text-align: center;
    margin-bottom: 2rem;
}

.menu-board-header h2 {
    font-style: italic;
    color: var(--white);
    margin: 0 0 0.5rem;
    text-align: center;
}

.menu-board-sub {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: rgba(253, 250, 245, 0.75);
    margin: 0;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list-item {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    transition: background var(--ease-snappy);
}

.menu-list-item:last-child {
    border-bottom: none;
}

.menu-list-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.menu-list-item .item-details h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 0 0 0.35rem;
    color: var(--white);
    font-weight: 400;
}

.menu-list-item .item-details p {
    margin: 0;
    color: rgba(253, 250, 245, 0.75);
    font-size: 0.95rem;
}

.item-price {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--red);
    background: none;
    padding: 0;
    border-radius: 0;
}

.payment-box {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 24px;
    margin-top: 32px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: rgba(253, 250, 245, 0.9);
    text-align: center;
}

.payment-box p {
    margin: 0;
}

.payment-box .payment-box-lead {
    margin: 12px 0 20px;
}

.payment-box .venmo-info {
    margin-top: 20px;
}

.payment-box .payment-disclaimer {
    margin-top: 16px;
    opacity: 0.85;
}

.coming-soon-section {
    padding: var(--section-pad-y) 0;
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.coming-card {
    border: 1px solid var(--cream-border);
    background: var(--white);
    padding: 24px;
    transition: transform var(--ease-snappy), box-shadow var(--ease-snappy);
}

.coming-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
}

.coming-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.coming-card p {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: var(--ink-muted);
}

/* --- Forms --- */
.form-container {
    position: relative;
    width: 100%;
    max-width: 850px;
    height: 600px;
    margin: 40px auto 0;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid var(--cream-border);
    box-shadow: 4px 4px 0 var(--ink);
}

.form-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.page-header-editorial h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}

.page-header-editorial .section-intro {
    margin-bottom: 0;
}

/* --- Carousel --- */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    box-sizing: border-box;
}

.carousel-viewport {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.35s ease-in-out;
}

.carousel-slide {
    flex: 0 0 33.33%;
    box-sizing: border-box;
    padding: 0 10px;
    text-align: center;
}

.carousel-slide img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0;
    cursor: pointer;
    box-shadow: none;
    transition: opacity 0.3s;
}

.carousel-slide img:hover {
    opacity: 0.9;
}

.carousel-slide figcaption {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    margin-top: 10px;
    color: var(--ink-muted);
}

.carousel-button {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 2px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.25rem;
    font-family: var(--font-mono);
    color: var(--ink);
    line-height: 1;
    transition: background var(--ease-snappy), color var(--ease-snappy);
}

.carousel-button:hover:not(:disabled) {
    background: var(--ink);
    color: var(--white);
}

.carousel-button:disabled {
    cursor: not-allowed;
    opacity: 0.35;
}

.carousel-button.prev {
    left: 0;
}

.carousel-button.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 40px;
    height: 4px;
    padding: 0;
    border: none;
    background: var(--cream-border);
    cursor: pointer;
    transition: background var(--ease-snappy), color var(--ease-snappy);
}

.carousel-dot.active {
    background: var(--ink);
}

/* --- Lightbox --- */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    padding: 15px;
    box-sizing: border-box;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.98);
    transition: transform 0.2s ease;
    text-align: center;
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 2px;
    box-shadow: 0 0 0 2px var(--white);
    margin-bottom: 15px;
}

.lightbox-caption {
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: var(--ink);
    color: var(--white);
    border: 2px solid var(--white);
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 2px;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    transition: background var(--ease-snappy), color var(--ease-snappy);
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--white);
    color: var(--ink);
}

.lightbox-close {
    top: 0;
    right: 0;
}

.lightbox-prev {
    top: 50%;
    left: -70px;
    transform: translateY(-50%);
}

.lightbox-next {
    top: 50%;
    right: -70px;
    transform: translateY(-50%);
}

/* --- Footer --- */
.site-footer {
    background: var(--ink);
    color: var(--white);
    padding: 60px 20px 0;
    margin-top: auto;
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
}

.footer-wordmark {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    margin: 0 0 0.5rem;
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(253, 250, 245, 0.85);
    margin: 0 0 1rem;
}

.footer-copy-small {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(253, 250, 245, 0.85);
    margin: 0;
}

.footer-col-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red);
    margin: 0 0 1rem;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-body);
    display: block;
    margin-bottom: 0.5rem;
    transition: color var(--ease-snappy);
}

.footer-nav a:hover {
    color: var(--red);
}

.footer-social a {
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-body);
    display: block;
    margin-bottom: 0.5rem;
    transition: color var(--ease-snappy);
}

.footer-social a:hover {
    color: var(--red);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 40px 28px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(253, 250, 245, 0.65);
}

/* Fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Language switcher */
.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 10px;
    position: relative;
    list-style: none;
}

.lang-dropdown {
    position: relative;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--ink);
    padding: 6px 12px;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ink);
    transition: border-color var(--ease-snappy), background var(--ease-snappy);
}

.lang-btn:hover,
.lang-dropdown.active .lang-btn {
    border-color: var(--red);
    background: var(--bg-dark);
}

.arrow-icon {
    transition: transform 0.15s ease;
}

.lang-dropdown.active .arrow-icon {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 2px;
    padding: 6px;
    list-style: none;
    min-width: 140px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 1002;
    box-shadow: 4px 4px 0 var(--ink);
}

.lang-dropdown.active .lang-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-menu li {
    padding: 10px 12px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink);
    transition: background-color 0.12s;
}
.lang-menu li:hover {
    background-color: var(--bg-dark);
}

.lang-menu li.selected {
    background-color: var(--bg-dark);
    font-weight: 600;
}

.arrow-icon path {
    stroke: currentColor;
}

/* --- Gallery Page --- */
.gallery-page-header {
    margin-bottom: 0;
}

.gallery-page-header h1 {
    margin-bottom: 0.5rem;
}

.upload-band {
    background: var(--bg-dark);
    border-top: 2px solid var(--ink);
    padding: var(--section-pad-y) 0;
}

.upload-section-header,
.gallery-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.upload-section-header h3,
.gallery-toolbar h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.75rem;
}

.password-cancel-btn {
    margin-top: 12px;
    width: 100%;
}

.unlock-upload-block {
    text-align: center;
    padding: 48px 20px;
}

.unlock-upload-icon {
    margin: 0 auto 20px;
    display: block;
    opacity: 0.45;
}

.unlock-upload-desc {
    margin: 0 0 20px;
    color: var(--ink-muted);
}

.gallery-section-wrap {
    padding-top: 0;
}

.upload-band {
    background: var(--bg-dark);
    border-top: 2px solid var(--ink);
    padding: var(--section-pad-y) 0;
    margin-bottom: 0;
}

.unlock-upload-block {
    text-align: center;
    padding: 48px 20px;
    text-align: center;
}

.upload-section {
    margin-bottom: 0;
}

.upload-container {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
}

.upload-area {
    border: 2px dashed var(--cream-border);
    border-radius: 0;
    padding: 48px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--ease-snappy), background var(--ease-snappy);
    background: var(--bg);
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--ink);
    background: var(--white);
}

.upload-content h3 {
    font-size: 1.35rem;
    margin: 16px 0 8px 0;
    color: var(--ink);
    font-family: var(--font-display);
}

.upload-content p {
    margin: 5px 0;
    color: var(--ink-muted);
}

.upload-hint {
    font-size: 0.85rem;
    font-style: italic;
}

.upload-icon {
    color: var(--ink-muted);
    margin-bottom: 10px;
}

.preview-container {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--cream-border);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.preview-header h4 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
}

.btn-clear {
    background: transparent;
    border: 2px solid var(--ink);
    color: var(--ink);
    padding: 8px 16px;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--ease-snappy);
    font-family: var(--font-body);
    font-size: 0.8rem;
}

.btn-clear:hover {
    background: var(--ink);
    color: var(--white);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--cream-border);
}

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

.preview-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 2px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.preview-remove:hover {
    background: rgba(196, 75, 43, 0.95);
}

.upload-progress {
    margin-top: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--cream-border);
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: var(--red);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: var(--ink-muted);
    font-weight: 600;
    margin: 0;
}

.upload-success {
    margin-top: 20px;
    padding: 15px 20px;
    background: var(--green);
    color: var(--white);
    text-align: center;
}

.success-message {
    color: white;
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
}

.gallery-section {
    margin-top: 0;
    padding: var(--section-pad-y) 0;
}

.gallery-section h3 {
    font-size: 1.5rem;
    text-align: left;
    margin-bottom: 24px;
    color: var(--ink);
}

.gallery-grid {
    column-count: 3;
    column-gap: 16px;
    margin-bottom: 40px;
}

.gallery-grid .loading-spinner {
    column-span: all;
}

.group-card {
    position: relative;
    break-inside: avoid;
    margin-bottom: 16px;
    aspect-ratio: 1;
    border-radius: 0;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: none;
    border: 1px solid var(--cream-border);
    background: var(--white);
    transition: opacity 0.2s ease;
}

.group-card:hover {
    opacity: 0.85;
    transform: none;
    box-shadow: none;
}

.group-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

.group-card:hover .group-cover {
    transform: none;
}

.group-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(28, 25, 23, 0.92) 0%, transparent 100%);
    padding: 20px 16px 16px;
    color: white;
}

.group-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: white;
    text-shadow: none;
    font-family: var(--font-body);
}

.group-count {
    font-size: 0.75rem;
    margin: 0;
    opacity: 0.9;
    font-family: var(--font-mono);
}

.delete-group-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(253, 250, 245, 0.95);
    border: 1px solid var(--ink);
    border-radius: 2px;
    width: 32px;
    height: 32px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background var(--ease-snappy);
}

.delete-group-btn:hover {
    background: var(--red);
    color: var(--white);
}

.group-selection {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--cream-border);
}

.group-selection h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--ink);
    font-family: var(--font-display);
}

.group-options {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.group-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--ink);
}

.group-options input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--red);
}

.group-input-container {
    margin-top: 15px;
}

.group-input,
.group-select {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 2px solid var(--ink);
    border-radius: 0;
    font-size: 1rem;
    font-family: var(--font-mono);
    background: transparent;
    transition: border-color var(--ease-snappy);
    box-sizing: border-box;
}

.group-input:focus,
.group-select:focus {
    outline: none;
    border-color: var(--red);
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--ink-muted);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--cream-border);
    border-top-color: var(--ink);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty-gallery {
    text-align: center;
    padding: 60px 20px;
    color: var(--ink-muted);
    font-size: 1.05rem;
}

/* Slideshow modal */
.slideshow-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    padding: 20px;
    box-sizing: border-box;
}

.slideshow-modal.active {
    opacity: 1;
    visibility: visible;
}

.slideshow-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slideshow-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.slideshow-info {
    margin-top: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.delete-image-btn {
    background: rgba(196, 75, 43, 0.95);
    color: white;
    border: 2px solid var(--white);
    border-radius: 2px;
    padding: 8px 16px;
    font-size: 14px;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: background var(--ease-snappy);
}

.delete-image-btn:hover {
    background: var(--red);
}

.slideshow-counter {
    color: white;
    font-size: 1rem;
    font-family: var(--font-mono);
    margin: 0;
}

.slideshow-close,
.slideshow-nav {
    position: absolute;
    background: var(--white);
    color: var(--ink);
    border: 2px solid var(--ink);
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    width: 48px;
    height: 48px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--ease-snappy), color var(--ease-snappy);
    z-index: 3001;
    line-height: 1;
}

.slideshow-close:hover,
.slideshow-nav:hover {
    background: var(--ink);
    color: var(--white);
}

.slideshow-close {
    top: 20px;
    right: 20px;
    font-size: 2rem;
}

.slideshow-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.slideshow-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Password modal */
.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.password-modal[style*="display: none"] {
    display: none !important;
}

.password-modal-content {
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 2px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    box-shadow: 8px 8px 0 var(--ink);
    text-align: center;
}

.password-modal-content h2 {
    color: var(--ink);
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: 1.5rem;
}

.password-modal-content p {
    color: var(--ink-muted);
    margin-bottom: 25px;
    font-size: 1rem;
}

.password-input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid var(--ink);
    border-radius: 0;
    font-size: 1rem;
    font-family: var(--font-mono);
    margin-bottom: 20px;
    transition: border-color var(--ease-snappy);
    box-sizing: border-box;
    background: transparent;
}

.password-input:focus {
    outline: none;
    border-color: var(--red);
}

.password-error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: left;
}

/* Legacy hero fallback (if any page still uses .hero) */
.hero {
    min-height: auto;
    background: none;
    border-radius: 0;
    margin-bottom: 0;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .polaroid-stack {
        display: none;
    }
    .polaroid-strip {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        padding: 24px 0;
        scroll-snap-type: x mandatory;
    }
    .polaroid-strip .polaroid {
        position: relative;
        flex: 0 0 200px;
        scroll-snap-align: start;
        top: auto;
        right: auto;
        transform: none;
    }
    .polaroid-strip .polaroid:nth-child(2) { transform: rotate(1deg); }
    .polaroid-strip .polaroid:nth-child(1) { transform: rotate(-2deg); }
    .polaroid-strip .polaroid:nth-child(3) { transform: rotate(-1deg); }

    .founder-editorial-inner {
        grid-template-columns: 1fr;
    }
    .founder-editorial-photo {
        min-height: 280px;
    }
    .carousel-slide {
        flex-basis: 50%;
    }
    .gallery-grid {
        column-count: 2;
    }
    .social-editorial {
        grid-template-columns: 1fr;
    }
    .social-editorial-card {
        border-right: none;
        border-bottom: 1px solid var(--cream-border);
    }
    .coming-soon-grid {
        grid-template-columns: 1fr;
    }
    .menu-list-item {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .item-price {
        justify-self: start;
    }
    .stat-grid {
        grid-template-columns: 1fr;
    }
    .container {
        padding: 0 24px;
    }
    .page-section {
        padding: var(--section-pad-y-mobile) 0;
    }
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        height: calc(100vh - 64px);
        background-color: var(--bg);
        border-bottom: 2px solid var(--ink);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 32px;
        gap: 0;
        transform: translateY(-100%);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s ease;
    }
    .nav-links.transition-ready {
        transition: all 0.2s ease;
    }
    .nav-links.nav-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-links li a {
        font-family: var(--font-display);
        font-size: 1.75rem;
        padding: 16px 24px;
        text-transform: none;
        letter-spacing: 0;
    }
    .nav-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        position: relative;
        width: 30px;
        height: 22px;
    }
    .hamburger,
    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        left: 0;
        background-color: var(--ink);
        height: 3px;
        width: 30px;
        border-radius: 0;
        transition: all 0.2s ease;
    }
    .hamburger {
        top: 50%;
        transform: translateY(-50%);
    }
    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        left: 0;
        background-color: var(--ink);
        height: 3px;
        width: 30px;
        border-radius: 0;
        transition: all 0.2s ease;
    }
    .hamburger::before { top: -10px; }
    .hamburger::after { top: 10px; }
    .nav-toggle.is-active .hamburger {
        background-color: transparent;
    }
    .nav-toggle.is-active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }
    .nav-toggle.is-active .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
    }
    .form-container {
        height: 750px;
    }
    .lightbox-prev,
    .lightbox-next {
        transform: translateY(-50%);
        top: 50%;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .carousel-slide {
        flex-basis: 100%;
    }
    .carousel-container {
        padding: 0 45px;
    }
    .team-member {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        padding: 0 24px 32px;
    }
    .gallery-grid {
        column-count: 1;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-secondary {
        margin-left: 0;
    }
    .form-container {
        height: 850px;
    }
    .impact-item {
        grid-template-columns: 1fr;
    }
    .impact-num {
        font-size: 3rem;
    }
}
