/* Technology 83 Marker α */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Screen-reader / SEO-only text: present in the DOM (so crawlers see the H1) but
   visually hidden. */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

/* Height of one "Who We Are" card: the combined section (100vh) minus its
   top padding, 60px bottom padding, 32px divider border, and the 4vh inner
   padding of .combined-top-half. Used to size the collabs band at exactly 2×. */
:root { --who-card-h: calc(100vh - clamp(80px, 7.2vw, 112px) - 60px - 32px - 4vh); }

html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

@media (max-width: 768px) {
    html {
        scrollbar-gutter: auto;
        overflow-y: auto;
    }
    body {
        overflow-x: hidden;
        width: 100%;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000; color: #fff; line-height: 1.05;
    margin: 0; overflow-x: hidden;
}

body.locked { overflow: hidden; position: fixed; width: 100%; }
a { color: #fff; text-decoration: none; transition: color 0.3s, transform 0.3s; }
a:hover { color: #ff0000; transform: scale(1.05); }

nav ul li a.active { color: #ff0000; transform: scale(1.05); }

section { width: 100%; position: relative; transition: opacity 0.6s ease; opacity: 0; }
section.visible { opacity: 1; }
.container { max-width: 1120px; margin: 0 auto; width: 100%; z-index: 3; position: relative; }

.mobile-only-message { display: none; }
.mobile-tab-bar { display: none !important; }
.mobile-sub-menu { display: none; }

header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000; display: flex; align-items: center; padding: 0 5%;
    justify-content: space-between;
    height: clamp(80px, 7.2vw, 112px);
    transition: background 0.4s ease, opacity 0.4s ease;
    overflow: visible;
}

.logo { display: flex; justify-content: flex-start; }
.logo img { height: clamp(60px, 4.4vw, 80px); width: auto; display: block; cursor: pointer; }

.nav-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}
nav ul { list-style: none; display: flex; gap: clamp(20px, 2.2vw, 48px); align-items: center; flex-wrap: nowrap; }
nav ul li a { font-size: clamp(1rem, 1.2vw, 1.6rem); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; white-space: nowrap; }

.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    visibility: hidden; opacity: 0; position: absolute; top: 100%; left: 50%;
    transform: translate(-50%, 0); background: rgba(0, 0, 0, 0.95); min-width: clamp(140px, 9.6vw, 144px);
    z-index: 1001; padding: 5px 0; border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s ease;
}
.dropdown-content a {
    color: #fff; padding: clamp(5px, 0.64vw, 6.4px) clamp(10px, 1.2vw, 12px);
    font-size: clamp(0.75rem, 0.88vw, 0.96rem); font-weight: 600; display: block;
    text-align: left; letter-spacing: 1.4px; white-space: nowrap;
}
.dropdown-content a:hover { color: #ff0000; background: transparent; }
.dropdown:hover .dropdown-content { visibility: visible; opacity: 1; transform: translate(-50%, 10px); }

#full-view-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: #000; z-index: 9999; overflow-y: auto; overflow-x: hidden; cursor: pointer;
}
#full-view-overlay img { width: 100vw; height: auto; display: block; }
#menu-toggle { display: none; }
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1100; margin-top: 25px; }
.hamburger span { width: 30px; height: 3.5px; background: #fff; transition: all 0.4s; }

.hero-character-wrapper { position: relative; display: block; width: 100%; clip-path: inset(0); min-height: 200vh; margin-bottom: 75px; }
.hero-video-container { position: absolute; top: 0; left: 0; width: 100%; height: 200vh; overflow: hidden; z-index: 1; background: url("/assets/hero-bg-1b4d072c.jpg") center/cover no-repeat; }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none;}

.snap-section {
    scroll-margin-top: clamp(80px, 7.2vw, 112px);
}

#hero, #character, #craft {
    height: 100vh; padding-top: clamp(80px, 7.2vw, 112px); box-sizing: border-box; position: relative; z-index: 3; color: #fff; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
}

#hero .container { text-align: left; max-width: 100%; padding: 0 20px; }
#hero h1 { font-size: clamp(2.25rem, 5vw, 6.4rem); text-shadow: 0 4px 12px #000; line-height: 1.05; position: relative; }

#hero .story {
    display: inline-block; background: #000; color: #fff; border: 3px solid #F6F8EF;
    padding: clamp(15px, 2.4vw, 16px) clamp(30px, 4vw, 36px); font-size: clamp(1.4rem, 3.2vw, 2.24rem);
    font-weight: bold; letter-spacing: 2px; margin-top: clamp(20px, 2.4vw, 32px);
    border-radius: 0; position: relative; cursor: pointer; transition: transform 0.3s ease; white-space: nowrap;
}
#hero .story:hover { transform: scale(1.1); }

.crafted-title { display: block; margin: 0 auto clamp(30px, 4vh, 48px) auto; max-width: 816px; width: clamp(250px, 50.4vw, 713.6px); height: auto; object-fit: contain; }

.cans-wrapper { position: relative; width: 100%; margin: 0 auto; overflow: visible; }
.cans { display: flex; justify-content: center; flex-wrap: nowrap; gap: 0; margin: 0 auto; padding: 0; box-sizing: border-box; overflow: visible; }
#character .cans { padding: 0; }

.cans img { width: 31%; height: auto; object-fit: contain; clip-path: inset(0 29% 0 29%); margin-left: -13.7%; flex-shrink: 0; transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); position: relative; z-index: 1; cursor: pointer; }
.cans img:first-child { margin-left: 0; }
.cans img:hover { transform: scale(1.095) translateY(-12px); z-index: 10; }

#craft .cans img { width: 40%; margin-left: -17.7%; clip-path: inset(0 29% 0 29%); }
#craft .cans img:first-child { margin-left: 0; }

#craft { position: relative; min-height: 100vh; overflow: hidden; height: 100vh; }
.craft-video-container { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: url("/assets/collabsbg-6e1c0778.jpg") center/cover no-repeat; }
.craft-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.craft-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }

#craft .craft-headline { font-family: 'League Spartan', sans-serif; font-size: clamp(2.75rem, 5.76vw, 7.6rem); font-weight: 900; line-height: 0.92; text-shadow: 0 4px 20px rgba(0,0,0,0.9); margin-bottom: 20px; letter-spacing: 0.03em; }
#craft .craft-tag { font-size: clamp(1.45rem, 3.04vw, 2.08rem); font-weight: 500; letter-spacing: 1.8px; text-transform: uppercase; text-shadow: 0 4px 15px rgba(0,0,0,0.85); margin-bottom: 40px; }

.modal {
    display: none; position: fixed; z-index: 2000; inset: 0;
    background-color: rgba(0,0,0,0.98); align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.4s ease; width: 100%; left: 0; right: 0;
}
.modal.show { display: flex; opacity: 1; }
.modal-content, .form-modal-content {
    max-width: 96%; max-height: 96vh; object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1); transform: scale(0.88);
}
.modal.show .modal-content, .modal.show .form-modal-content { transform: scale(1); }
.close {
    position: absolute; top: 35px; right: 45px; color: #fff;
    font-size: 58px; font-weight: 300; cursor: pointer; z-index: 2100; transition: color 0.3s;
    line-height: 1;
}
.close:hover { color: #ff0000; }

@media (min-width: 1024px) {
    #hero .container, #character .container {
        max-width: none; width: 80%; margin-left: 10%; margin-right: 10%; padding: 0 32px;
    }
}

#site-wrapper, #street-kitchen-wrapper { width: 100%; position: relative; }

#splash-screen {
    position: fixed; top: 0; left: 0; width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #000; z-index: 99999; display: flex; align-items: center;
    justify-content: center; text-align: center; transition: opacity 0.6s ease;
    overflow: hidden;
    touch-action: none;
}
.splash-content { max-width: 720px; padding: 40px; width: 100%; }
.splash-logo { height: auto; max-height: clamp(120px, 18vw, 180px); width: 100%; max-width: 85vw; object-fit: contain; margin-bottom: clamp(28px, 6vw, 48px); }
.gateway-options, .age-options { display: flex; gap: clamp(16px, 3vw, 30px); justify-content: center; flex-wrap: wrap; }
.splash-btn { background: transparent; border: 3px solid #fff; color: #fff; padding: clamp(18px, 2.4vw, 25px) clamp(28px, 4vw, 40px); font-size: clamp(1.2rem, 2.4vw, 1.44rem); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; transition: all 0.3s ease; flex: 1 1 220px; min-width: 200px; }
.splash-btn:hover { background: #ff0000; border-color: #ff0000; transform: scale(1.05); }
#splash-screen h2 { font-size: clamp(1.5rem, 5vw, 2rem); margin: 0 0 clamp(28px, 6vw, 48px); letter-spacing: 1px; font-weight: 700; line-height: 1.25; }

@media (max-width: 600px) {
    .splash-content { padding: 28px 22px; }
    .age-options { flex-direction: column; gap: 14px; }
    .splash-btn { width: 100%; min-width: 0; }
}

.sk-hero-section { min-height: 80vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; text-align: center; }
.sk-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0.5; }
.sk-hero-content { position: relative; z-index: 3; padding: 0 20px; margin-top: 100px; }
.sk-hero-content h1 { font-size: clamp(3rem, 6.4vw, 5.6rem); text-shadow: 0 4px 12px #000; margin-bottom: 20px; letter-spacing: 3px; }
.sk-hero-content p { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 600; letter-spacing: 1px; color: #ccc; }
.sk-info-section { padding: 80px 5%; background: #111; text-align: center; }
.sk-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; max-width: 1120px; margin: 0 auto; }
.sk-info-card h3 { font-size: 2.5rem; color: #ff0000; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px; }
.sk-info-card p { font-size: 1.4rem; line-height: 1.6; color: #ddd; }
.sk-menu-btn { display: inline-block; background: #ff0000; color: #fff; padding: 20px 50px; font-size: 1.8rem; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; margin-top: 60px; transition: background 0.3s; }
.sk-menu-btn:hover { background: #cc0000; color: #fff; }

#collabs-master {
    position: fixed; top: 0; left: 0; right: 0; margin: 0 auto;
    width: 100%; height: 100vh; background: #000;
    z-index: 500; transform: translateX(-100vw);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1); overflow: hidden;
}
#collabs-master { transform: translateX(100vw); }
#collabs-scroller {
    width: 100%; height: 100vh; overflow-y: auto; overflow-x: hidden; scrollbar-width: none;
}
#collabs-scroller::-webkit-scrollbar { display: none; }

#dynamic-full-collabs { width: 100%; display: flex; flex-direction: column; }

.full-collab-section {
    height: 100vh; width: 100%; background-size: cover; background-position: center; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; scroll-snap-align: start; padding-top: clamp(80px, 7.2vw, 112px); box-sizing: border-box; overflow: hidden;
}
.full-collab-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.5); z-index: 1; pointer-events: none;
}
.full-collab-content { position: relative; z-index: 3; text-align: center; width: 90%; max-width: 1200px; }
.full-collab-label {
    font-family: 'League Spartan', sans-serif; font-size: clamp(3rem, 8vw, 8rem); font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0; text-shadow: 0 10px 30px rgba(0,0,0,0.9); line-height: 0.9;
}
.collab-learn-more {
    position: absolute; bottom: 40px; right: 40px; z-index: 10; font-family: 'League Spartan', sans-serif;
    background: transparent; border: 3px solid #F6F8EF; color: #F6F8EF; padding: 12px 30px; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
    cursor: pointer; transition: all 0.3s ease; text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.collab-learn-more:hover { background: #F6F8EF; color: #000; transform: scale(1.05); }

.slide-gallery { position: relative; display: flex; align-items: center; justify-content: flex-start; overflow: hidden; }
.slide-gallery img { position: absolute; max-width: 100%; max-height: 100%; object-fit: contain; object-position: left center; opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.slide-gallery img.active { opacity: 1; transform: translateY(0); z-index: 2; }

#collab-modal { flex-direction: column; justify-content: center; align-items: center; overflow: hidden; }
.collab-modal-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 1; }
.collab-modal-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.85); }
.collab-modal-content { position: relative; z-index: 10; width: 95%; max-width: 1400px; max-height: 85vh; overflow-y: auto; padding: 40px; text-align: center; scrollbar-width: thin; scrollbar-color: #ff0000 #111; margin-left: auto; margin-right: auto; }
.collab-modal-content::-webkit-scrollbar { width: 8px; }
.collab-modal-content::-webkit-scrollbar-track { background: #111; }
.collab-modal-content::-webkit-scrollbar-thumb { background-color: #ff0000; border-radius: 4px; }
#collab-modal-title { font-size: clamp(2.5rem, 4.8vw, 3.6rem); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px; color: #fff; text-shadow: 0 4px 15px rgba(0,0,0,0.9); }
.collab-modal-body {
    display: flex;
    flex-direction: row;
    gap: 50px;
    align-items: stretch;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .collab-modal-body {
        flex-direction: column;
        gap: 20px;
    }
}
#collab-modal-desc { font-size: 1.3rem; line-height: 1.8; color: #ddd; flex: 2; text-align: left; margin: 0; }
#collab-modal-gallery { flex: 2.5; height: 45vh; min-height: 350px; border: 2px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.4); border-radius: 12px; display: flex; justify-content: center; }
#collab-modal-gallery img { object-position: center; }
.collab-close { z-index: 20; }

#beer-modal { flex-direction: column; }
.beer-modal-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 1; }
.beer-modal-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.40); }
.beer-modal-content { position: relative; z-index: 10; width: 95%; max-width: 1120px; height: 88vh; padding: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.beer-modal-split { display: grid; grid-template-columns: 40% 60%; align-items: center; width: 100%; height: 100%; }
.beer-modal-left { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; pointer-events: none; }
#beer-modal-can { position: absolute; height: 95vh; width: auto; max-width: none; top: 50%; left: 45%; transform: translate(-50%, -50%); filter: drop-shadow(15px 20px 30px rgba(0,0,0,0.9)); }
.beer-modal-right { display: flex; flex-direction: column; justify-content: flex-start; padding-top: 6vh; height: 100%; padding-right: 40px; gap: 15px; z-index: 5; pointer-events: auto; }
.beer-detail-card { background: linear-gradient(135deg, rgba(20,20,20,0.65) 0%, rgba(5,5,5,0.45) 100%); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 25px 35px; box-shadow: 0 15px 35px rgba(0,0,0,0.3); width: 100%; max-width: 640px; text-align: left; flex-shrink: 0; }
#card-title { padding-bottom: 20px; }
#beer-modal-title { font-size: clamp(2.5rem, 3.2vw, 3.2rem); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 2px; color: #fff; line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,0.8); word-wrap: break-word; }
#beer-modal-style { font-size: clamp(1.2rem, 2vw, 1.28rem); color: #ff0000; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 10px; }
.beer-modal-subheadline { font-size: 1.25rem; font-weight: bold; color: #fff; margin-bottom: 0; font-style: italic; line-height: 1.4; opacity: 0.9; }
.beer-stats-row { display: flex; flex-direction: row; gap: 50px; padding: 15px 35px; align-items: center; }
.stat-box { display: flex; flex-direction: column; }
.stat-label { font-size: 0.85rem; color: #aaa; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; }
.stat-box span:not(.stat-label) { font-size: 1.6rem; font-weight: 800; color: #fff; }

.beer-where-btn { background: #ff0000; color: #fff; border: none; padding: 10px 20px; font-size: 0.9rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: background 0.3s; border-radius: 4px; height: 100%; }
.beer-where-btn:hover { background: #cc0000; color: #fff; transform: scale(1.02); }

#beer-modal-desc { font-size: 1.15rem; line-height: 1.7; color: #ddd; margin: 0; }
#beer-modal-gallery { flex: 1; min-height: 25vh; width: 100%; max-width: 640px; margin-top: 10px; background: transparent; border: none; }
.beer-close { z-index: 20; }

@media (max-width: 768px) {
    .beer-modal-split { display: flex !important; flex-direction: column !important; gap: 20px !important; height: auto !important; width: 100% !important; }
    .beer-modal-left { height: auto !important; width: 100% !important; overflow: visible !important; position: relative !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 60px 0 10px !important; }
    #beer-modal-can { position: relative !important; height: 38vh !important; width: auto !important; max-width: 85% !important; top: auto !important; left: auto !important; transform: none !important; display: block !important; margin: 0 auto !important; }
    .beer-modal-right { padding-right: 0 !important; padding-top: 0 !important; width: 100% !important; box-sizing: border-box !important; }
    .beer-detail-card { padding: 16px !important; width: 100% !important; box-sizing: border-box !important; max-width: 100% !important; }
    .beer-stats-row { gap: 20px !important; flex-wrap: wrap !important; padding: 12px 16px !important; }
    #beer-modal-gallery { height: 25vh !important; margin-top: 15px !important; width: 100% !important; }
    #beer-modal-where-box { width: 100% !important; margin-left: 0 !important; align-items: stretch !important; margin-top: 15px !important; flex-direction: column !important; gap: 12px !important; }
    #beer-modal-title { font-size: clamp(1.8rem, 7vw, 2.4rem) !important; }
}

#content-shifter {
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
body.about-mode #content-shifter { transform: translateX(100vw); }
body.map-mode #content-shifter, body.collection-mode #content-shifter, body.beers-mode #content-shifter, body.collabs-mode #content-shifter { transform: translateX(-100vw); }

#about-us-master, #map-master, #collection-master, #beers-master {
    position: fixed; top: 0; left: 0; right: 0; margin: 0 auto;
    width: 100%; height: 100vh; background: #000;
    z-index: 500; transform: translateX(-100vw);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1); overflow: hidden;
}
#map-master, #beers-master { transform: translateX(100vw); }
#map-master { display: flex; flex-direction: column; padding-top: clamp(80px, 7.2vw, 112px); }
#collection-master { transform: translateY(100vh); overflow-y: auto; overflow-x: hidden; padding-top: clamp(80px, 7.2vw, 112px); scrollbar-width: none; z-index: 600; }
#collection-master::-webkit-scrollbar { display: none; }

body.about-mode #about-us-master, body.map-mode #map-master, body.collection-mode #collection-master, body.beers-mode #beers-master, body.collabs-mode #collabs-master { transform: translateX(0); }
body.collection-mode #collection-master { transform: translateY(0); }

#about-us-scroller, #beers-scroller {
    width: 100%; height: 100vh; overflow-y: auto; overflow-x: hidden; scrollbar-width: none;
}
#about-us-scroller::-webkit-scrollbar, #beers-scroller::-webkit-scrollbar { display: none; }

.about-page { width: 100%; height: 100vh; scroll-snap-align: start; position: relative; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; padding-top: clamp(80px, 7.2vw, 112px); box-sizing: border-box; }
.about-page:nth-child(2) { background-position: top center !important; align-items: flex-end; padding-bottom: 5vh; }
.about-page:nth-child(2) .about-content-wrapper { max-width: 1300px; width: 90%; padding-top: 0; z-index: 10; }

.about-content-wrapper { width: 90%; max-width: 720px; z-index: 10; position: relative; }
.about-split-layout { max-width: 1120px; display: flex; gap: clamp(20px, 3.2vw, 40px); flex-wrap: wrap; }
.about-content-box { background: rgba(15, 15, 15, 0.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: clamp(20px, 2.4vw, 28px); text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.about-half-box { flex: 1; min-width: 300px; display: flex; flex-direction: column; justify-content: flex-start; }
.about-content-box h2 {
    font-size: clamp(1.2rem, 2.45vw, 1.97rem);
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.about-content-box p {
    font-size: clamp(1rem, 1.6vw, 1.33rem);
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 20px;
}
.about-content-box p:last-child { margin-bottom: 0; }
#about-persistent-logo { position: absolute; bottom: 15vh; left: 50%; transform: translateX(-50%); width: 15%; z-index: 20; transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); pointer-events: none; }
#about-persistent-logo.cornered { bottom: 5vh; left: 100%; transform: translateX(calc(-100% - 40px)); width: 10%; }

.scroll-arrow { position: absolute; bottom: 5vh; left: 50%; transform: translateX(-50%); font-size: 3.5rem; color: #ff0000; font-weight: 300; cursor: pointer; z-index: 3; }
.pulse-active { animation: pulseArrow 1s infinite alternate cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes pulseArrow { 0% { transform: translate(-50%, 0); opacity: 1; } 100% { transform: translate(-50%, 15px); opacity: 0.5; } }

.about-mobile-layout { display: none; }

#map { flex-grow: 1; position: relative; width: 100%; }

#filter-container { position: absolute; top: 20px; left: 20px; background: #ffffff; padding: 20px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.15); z-index: 10; width: 320px; transition: all 0.3s ease; }
#filter-header { display: flex; justify-content: space-between; align-items: center; }
#filter-header h3 { margin: 0; font-size: 20px; color: #333; pointer-events: none; }
#filter-toggle { font-size: 16px; transition: transform 0.3s ease; color: #333; }
#filter-content { margin-top: 15px; }
.filter-option { display: flex; align-items: center; margin-bottom: 12px; }
.filter-option input { margin-right: 12px; cursor: pointer; transform: scale(1.4); }
.filter-option label { font-size: 20px; cursor: pointer; color: #444; }

.mapboxgl-popup-content { padding: 15px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); min-width: 200px; color: #333; }
.popup-title { font-weight: bold; font-size: 16px; margin-bottom: 4px; }
.popup-type { color: #666; font-size: 12px; margin-bottom: 8px; text-transform: uppercase; }
.popup-address { margin-bottom: 12px; font-size: 14px; }

.directions-btn { display: block; background-color: #11b4da; color: #ffffff; text-align: center; padding: 8px 12px; border-radius: 4px; text-decoration: none; font-weight: bold; font-size: 13px; transition: background-color 0.2s; margin-top: 10px; }
.directions-btn:hover { background: #0d96b8; color: #fff; }
#close-map-btn { position: absolute; top: 20px; right: 60px; z-index: 10; background: #333; color: white; border: none; border-radius: 50%; width: 40px; height: 40px; font-size: 24px; line-height: 24px; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.2); transition: background 0.2s; }
#close-map-btn:hover { background: #000; }

.newsletter-wrapper { width: 100%; background: #000; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; padding-top: clamp(80px, 7.2vw, 112px); box-sizing: border-box; z-index: 10; scroll-snap-align: start; }
.newsletter-top {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: clamp(40px, 5vw, 100px);
    padding: 0 clamp(40px, 6vw, 120px);
    width: 100%;
    box-sizing: border-box;
}
.newsletter-intro { min-width: 0; }
.newsletter-title { font-family: 'League Spartan', sans-serif; font-size: clamp(3rem, 4vw, 5rem); font-weight: 900; line-height: 0.9; color: #ff0000; letter-spacing: clamp(-2px, -0.32vw, -4px); margin-bottom: 20px; text-transform: uppercase; }
.newsletter-subtitle { font-size: clamp(1.1rem, 1.28vw, 1.4rem); font-weight: 400; line-height: 1.35; margin-bottom: clamp(30px, 3.2vw, 46.4px); color: #fff; }
.newsletter-form { display: flex; flex-direction: column; gap: clamp(10px, 1.2vw, 19.2px); align-items: stretch; width: 100%; min-width: 0; }
.email-input { width: 100%; min-width: 0; flex: 0 0 auto; height: clamp(60px, 4vw, 65.6px); background: #ffffff; color: #000; border: none; font-size: clamp(1rem, 1.12vw, 1.2rem); font-weight: 700; padding: 0 clamp(15px, 1.6vw, 25.6px); text-transform: uppercase; outline: none; box-sizing: border-box; }
.email-input::placeholder { color: #ff0000; }
.subscribe-btn { width: 100%; flex: 0 0 auto; height: clamp(60px, 4vw, 65.6px); padding: 0 clamp(30px, 3.2vw, 54.4px); background: #000000; color: #ff0000; border: 3px solid #ffffff; font-size: clamp(1rem, 1.12vw, 1.2rem); font-weight: 700; text-transform: uppercase; cursor: pointer; transition: all 0.3s ease; box-sizing: border-box; }
.subscribe-btn:hover { background: #bbbbbb; color: #111; border-color: #bbb; }
/* Honeypot: kept off-screen (not display:none, which some bots skip) so real
   users never see or focus it, but bots still fill it. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.links-column { font-size: clamp(1.2rem, 1.28vw, 1.36rem); font-weight: 700; text-transform: uppercase; line-height: 1.45; text-align: left; flex-shrink: 0; }
@media (max-width: 850px) {
    .newsletter-top { grid-template-columns: 1fr; gap: 36px; align-items: start; }
    .links-column { text-align: left; width: 100%; }
}
.links-column a { color: #ffffff; text-decoration: none; display: block; margin-bottom: 12px; transition: color 0.3s ease; }
.links-column a:hover { color: #ff0000; }

.footer-bottom { height: clamp(120px, 12vh, 208px); background: #000000; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 4.8vw, 96px); border-top: 1px solid rgba(255,255,255,0.12); }
.footer-bottom .footer-logo img { height: clamp(45px, 4.8vw, 86.4px); width: auto; }
.footer-bottom .footer-right { text-align: right; font-size: clamp(0.9rem, 0.96vw, 1.1rem); line-height: 1.5; color: #fff; text-transform: uppercase; }

.form-modal-content { background: #111111; width: 90%; max-width: 921px; padding: clamp(40px, 4vw, 48px) clamp(30px, 4.8vw, 64px); border: 3px solid #ffffff; position: relative; text-align: left; overflow-y: auto; max-height: 90vh; }
.form-modal-content .modal-title { font-size: clamp(2rem, 2.4vw, 2.6rem); font-weight: 900; color: #ffffff; margin-bottom: clamp(25px, 2.4vw, 32px); text-align: center; text-transform: uppercase; }
.form-group { margin-bottom: clamp(15px, 1.6vw, 19.2px); }
.form-group label { display: block; font-size: clamp(1rem, 0.88vw, 0.9rem); font-weight: 700; text-transform: uppercase; margin-bottom: 8px; color: #ddd; }
.form-input, .form-textarea { width: 100%; background: #222; border: 2px solid #ffffff; color: #fff; font-size: clamp(1rem, 0.96vw, 1rem); padding: 14px 20px; outline: none; transition: border-color 0.3s ease; }
.form-input:focus, .form-textarea:focus { border-color: #bbbbbb; }
.form-textarea { height: clamp(140px, 16vh, 176px); resize: vertical; }
.submit-btn { margin-top: 20px; width: 100%; height: clamp(60px, 4vw, 62.4px); background: #ffffff; color: #ff0000; font-size: clamp(1.2rem, 1.28vw, 1.3rem); font-weight: 900; text-transform: uppercase; border: none; cursor: pointer; transition: all 0.3s ease; }
.submit-btn:hover { background: #bbbbbb; color: #111111; }

#retail-modal .form-modal-content { display: flex; align-items: center; justify-content: center; height: 50vh; text-align: center; background: #0a0a0a; border: 2px solid #333; }
.retail-placeholder-text { font-size: clamp(2rem, 3.2vw, 3.2rem); font-weight: 900; color: #555; text-transform: uppercase; letter-spacing: 4px; line-height: 1.2; }

.close-btn { position: absolute; top: 20px; right: 40px; color: #fff; background: transparent; border: none; font-size: 50px; font-weight: 300; cursor: pointer; z-index: 610; transition: color 0.3s; }
.close-btn:hover { color: #ff0000; }

.collection-header { padding: 20px 5%; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 10px; }
.filter-wrapper { display: flex; align-items: center; gap: 15px; }
.filter-label { font-size: 1.2rem; font-weight: 800; color: #fff; text-transform: uppercase; }
#collection-filter { background: #000; color: #ff0000; border: 2px solid #fff; padding: 8px 15px; font-size: 1rem; font-weight: bold; text-transform: uppercase; cursor: pointer; outline: none; }

.collection-section { text-align: center; padding: 20px 20px 60px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.collection-section:last-child { border-bottom: none; padding-bottom: 100px; }
.collection-section h2 { font-family: 'League Spartan', sans-serif; font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 900; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 10px; }
.collection-section p { font-size: clamp(1rem, 1.5vw, 1.3rem); color: #ccc; font-style: italic; max-width: 800px; margin: 0 auto 50px auto; }
.collection-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 20px 0 60px;
    width: 100%;
    overflow: visible;
    margin: 0 auto;
}
.collection-item {
    cursor: pointer;
    position: relative;
    z-index: 1;
    width: 34%;
    margin-left: -15%;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), z-index 0s;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* The cans overlap heavily and are visually clipped to a centre strip on the
       <img>. Clip the link's HIT area to the same strip too — otherwise the wide,
       overlapping link boxes (raised to z-index 10 on hover) steal hover from the
       can you've actually moved onto. */
    clip-path: inset(0 29% 0 29%);
}
.collection-item:first-child { margin-left: 0; }
.collection-item:hover { transform: scale(1.095) translateY(-12px); z-index: 10; }
.collection-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    clip-path: inset(0 29% 0 29%);
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.8));
}
.collection-item.mix-pack { width: 35%; margin-left: 0; margin-right: 20px; clip-path: none; }
.collection-item.mix-pack:last-child { margin-right: 0; }
.collection-item.mix-pack img { clip-path: none; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.9)); }

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.new-hero-container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.new-hero-image-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.new-hero-image {
    height: 100%; width: 100%;
    background: url("/assets/P49-lager-83f23676.jpg") center 30% / cover no-repeat;
    animation: slowZoom 30s ease-out forwards;
    transform-origin: center center;
}

.new-hero-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 38%;
    background: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.92) 30%, rgba(0,0,0,0) 100%);
    z-index: 2;
    pointer-events: none;
}

.new-hero-container::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 38%;
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.92) 30%, rgba(0,0,0,0) 100%);
    z-index: 2;
    pointer-events: none;
}

.new-hero-top {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: calc(clamp(80px, 7.2vw, 112px) + 2.5vh);
    padding-bottom: 3vh;
}

.new-hero-bottom {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4vh;
}

.new-hero-top p, .new-hero-bottom h1 {
    color: #fff !important;
    font-family: 'League Spartan', sans-serif !important;
    font-size: clamp(3rem, min(15vw, 13vh), 160px) !important;
    letter-spacing: -0.01em !important;
    margin: 0;
    line-height: 0.85;
    white-space: nowrap;
    font-weight: 800 !important;
}

.new-hero-bottom h1 {
    line-height: 1 !important;
}

.combined-section-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding-top: clamp(80px, 7.2vw, 112px);
    padding-bottom: 60px;
    box-sizing: border-box;
    overflow: visible;
    scroll-snap-align: start;
    border-bottom: 32px solid #000;
}

.combined-top-half {
    flex: 1 1 0;
    padding: 2vh 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
}
/* Featured beer — two cards (can + text) the same size as the Who/What cards
   above. White-on-white, so the card edges are invisible by design. */
.featured-card {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 2vh 3%;
}

.split-container { display: flex; gap: clamp(16px, 2vw, 32px); justify-content: center; align-items: stretch; width: 100%; max-width: none; height: 100%; }
.split-block {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    position: relative; background-size: cover; background-position: center; border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 30px 40px;
    box-sizing: border-box;
    overflow: hidden;
}
.split-overlay-gradient { position: absolute; inset: 0; z-index: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%); }
.split-top-title {
    position: relative;
    z-index: 1;
    font-size: clamp(2.9rem, 5.2vw, 4.2rem);
    font-weight: 900;
    line-height: 1;
    color: #fff;
    text-align: left;
    text-transform: uppercase;
    font-family: 'League Spartan', sans-serif;
}

.split-bottom-content {
    position: relative;
    z-index: 1;
    padding-right: 60px;
    text-align: left;
    color: #fff;
    pointer-events: none;
}

.split-bottom-content h3 {
    font-size: 1.65rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: 'League Spartan', sans-serif;
    letter-spacing: 1px;
}

.split-bottom-content p {
    font-size: clamp(1rem, 1.6vw, 1.4rem);
    line-height: 1.5;
    font-weight: 500;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin-bottom: 0;
    max-width: 85%;
}

.split-more {
    position: absolute;
    bottom: 34px;
    right: 40px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    z-index: 10;
    pointer-events: auto;
    font-family: 'League Spartan', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, gap 0.2s ease;
}
.split-more::after {
    content: '→';
    display: inline-block;
    transition: transform 0.2s ease;
}
.split-more:hover { color: #ff0000; gap: 10px; }
.split-more:hover::after { transform: translateX(4px); }

.featured-card-can a { display: flex; align-items: center; justify-content: center; height: 100%; width: 100%; }
.featured-card-can img { display: block; max-height: 100%; max-width: 100%; width: auto; object-fit: contain; filter: drop-shadow(20px 20px 30px rgba(0,0,0,0.4)); transition: transform 0.3s ease; }
.featured-card-can img:hover { transform: scale(1.05) translateY(-8px); }
.featured-beer-text-wrap {
    max-width: 460px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-height: 0;
    gap: 8px;
}
.white-section-featured { font-family: 'League Spartan', sans-serif; font-size: clamp(3rem, 7vh, 7rem); font-weight: 900; text-transform: uppercase; line-height: 0.85; margin-bottom: 2vh; color: #000; letter-spacing: -2px; }

#home-partnerships { scroll-snap-align: start; height: calc(var(--who-card-h) * 2); display: block; width: 100%; padding: 0; box-sizing: border-box; background: #000; overflow: hidden; }
#home-collab-highlights { width: 100%; height: 100%; }

.new-collab-grid {
    display: flex; flex-direction: column; width: 100%; height: 100%; position: relative; gap: 32px;
    box-sizing: border-box; background: #000; overflow: hidden; margin-bottom: 0;
}
.collab-grid-item { flex: 1; overflow: hidden; position: relative; cursor: pointer; }
.collab-grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.6s ease; filter: grayscale(50%) brightness(0.7); }
.collab-grid-item:hover img { transform: scale(1.03); filter: grayscale(0%) brightness(1); z-index: 2; position: relative; }

.collab-overlay-text-1, .collab-overlay-text-2 {
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(3.5rem, 8vw, 8rem);
    font-weight: 900; color: #fff; text-shadow: 0 5px 30px rgba(0,0,0,1);
    pointer-events: none; z-index: 5; width: 100%; text-align: center;
    letter-spacing: 0em; text-transform: none;
}
.collab-overlay-text-1 { position: absolute; top: calc(33.333%); left: 50%; transform: translate(-50%, -50%); }
.collab-overlay-text-2 { position: absolute; top: calc(66.666%); left: 50%; transform: translate(-50%, -50%); }

@media (max-width: 768px) {
    html, body, #about-us-scroller, #beers-scroller, #collabs-scroller { scroll-snap-type: none !important; overflow-y: auto !important; }
    .snap-section { scroll-snap-align: none !important; }
    #beers-scroller { scroll-snap-type: none !important; height: calc(100dvh - 65px - env(safe-area-inset-bottom)) !important; }

    header#main-header, header#sk-header { display: none !important; }
    body { padding-top: 0 !important; }

    .nav-container, .hamburger, #menu-toggle { display: none !important; }
    body { padding-bottom: calc(65px + env(safe-area-inset-bottom)); }

    #brewery-mobile-nav { display: flex !important; }
    #sk-mobile-nav { display: none !important; }
    body.sk-mode #brewery-mobile-nav { display: none !important; }
    body.sk-mode #sk-mobile-nav { display: flex !important; }

    .mobile-tab-bar {
        position: fixed; bottom: 0; left: 0; width: 100%;
        height: calc(65px + env(safe-area-inset-bottom));
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1500;
        padding-bottom: env(safe-area-inset-bottom);
        justify-content: space-around; align-items: center;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
    .tab-item { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #777; text-decoration: none; width: 20%; transition: color 0.2s ease, transform 0.2s ease; }
    .tab-item svg { width: 22px; height: 22px; margin-bottom: 4px; }
    .tab-item span { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap;}
    .tab-item.active, .tab-item:hover { color: #ffffff; transform: scale(1.05); }

    .mobile-sub-menu { display: none; position: fixed; bottom: calc(65px + env(safe-area-inset-bottom) + 10px); left: 20%; width: 180px; background: rgba(20, 20, 20, 0.95); backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; z-index: 1400; flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,0.8); opacity: 0; transform: translateY(20px); transition: all 0.3s ease; }
    .mobile-sub-menu.show { display: flex; opacity: 1; transform: translateY(0); }
    .mobile-sub-menu a { padding: 15px 20px; color: #fff; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); text-align: center; }
    .mobile-sub-menu a:last-child { border-bottom: none; }
    .mobile-sub-menu a:active { background: rgba(255,0,0,0.2); }

    .cans-wrapper { width: 100vw; margin-left: -20px; overflow: hidden; }
    .cans { display: flex; flex-wrap: nowrap; justify-content: flex-start; padding: 40px 0 40px 14vw; gap: 0; overflow-x: auto; scroll-snap-type: none; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .cans::-webkit-scrollbar { display: none; }
    .cans img { width: 50vw !important; margin: 0 -12vw !important; clip-path: none !important; scroll-snap-align: none; flex-shrink: 0; transition: none; opacity: 1 !important; filter: drop-shadow(0 15px 25px rgba(0,0,0,0.8)) !important; transform: none !important; z-index: 1; }
    #craft .cans img { width: 50vw !important; margin: 0 -12vw !important; }

    .modal { align-items: flex-end; padding: 0; }
    .beer-modal-content,
    .collab-modal-content,
    .form-modal-content {
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }
    .beer-modal-content, .collab-modal-content, .form-modal-content { width: 100vw; max-width: 100vw; height: 88vh !important; max-height: 88vh !important; margin: 0; border-radius: 28px 28px 0 0; background: #111; border: none; border-top: 1px solid rgba(255,255,255,0.1); transform: translateY(100%) !important; transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1) !important; padding: 45px 16px 30px !important; overflow-y: auto; overscroll-behavior-y: contain; box-sizing: border-box; left: 0; right: 0; position: relative; }
    .beer-modal-content::before, .collab-modal-content::before, .form-modal-content::before { content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 45px; height: 5px; background: rgba(255,255,255,0.4); border-radius: 5px; }
    .modal.show .beer-modal-content, .modal.show .collab-modal-content, .modal.show .form-modal-content { transform: translateY(0) !important; }
    .close { display: none !important; }
    .beer-modal-bg, .collab-modal-bg { display: none !important; }

    #filter-container { width: 46px; height: 46px; padding: 0; border-radius: 23px; top: 15px; left: 15px; overflow: hidden; display: flex; flex-direction: column; }
    #filter-header { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
    #filter-header h3 { display: none; }
    #filter-container.expanded { width: calc(100% - 90px); height: auto; border-radius: 12px; padding: 15px; }
    #filter-container.expanded #filter-header { width: 100%; height: auto; justify-content: space-between; }
    #filter-container.expanded #filter-header h3 { display: block; font-size: 18px; }
    #filter-content { display: none; }
    #filter-container.expanded #filter-content { display: block; padding-top: 10px; }
    #filter-toggle { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; }

    #about-us-master, #map-master, #collection-master, #beers-master, #collabs-master { transform: translateY(100vh) !important; left: 0; right: 0; transition: transform 0.4s ease-out; }
    body.about-mode #about-us-master, body.map-mode #map-master, body.collection-mode #collection-master, body.beers-mode #beers-master, body.collabs-mode #collabs-master { transform: translateY(0) !important; }
    body.about-mode #content-shifter, body.map-mode #content-shifter, body.collection-mode #content-shifter, body.beers-mode #content-shifter, body.collabs-mode #content-shifter { transform: none !important; }
    #content-shifter { transition: none; }

    #about-persistent-logo, #about-scroll-arrow { display: none !important; }
    #about-us-scroller { scroll-snap-type: none !important; overflow-y: auto !important; height: calc(100dvh - 65px - env(safe-area-inset-bottom)) !important; }

    .about-page {
        scroll-snap-align: none !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        display: block !important;
        position: relative;
    }

    .about-page:nth-child(1) {
        height: calc(100dvh - 65px - env(safe-area-inset-bottom)) !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: center !important;
        background-size: cover !important;
        background-position: center top !important;
    }
    .about-page:nth-child(1)::after {
        content: '';
        position: absolute;
        bottom: 0; left: 0; right: 0;
        height: 40%;
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
        pointer-events: none;
    }
    .about-page:nth-child(1) .scroll-arrow {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        z-index: 5;
        margin-bottom: 30px;
        font-size: 2.5rem !important;
    }

    .about-page:nth-child(2) {
        min-height: 90vh !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        background-size: 100vw auto !important;
        background-repeat: no-repeat !important;
        background-position: top center !important;
        background-color: #000 !important;
        padding: 68vw 0 40px 0 !important;
    }
    .about-page:nth-child(2)::after {
        display: none !important;
    }
    .about-page:nth-child(2) .about-content-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 20px 30px !important;
        box-sizing: border-box !important;
        position: relative;
        z-index: 2;
    }

    .about-page:nth-child(2) .about-mobile-layout { display: none !important; }

    .about-box-desktop { display: block !important; }
    .about-page:nth-child(2) .about-content-box.about-box-desktop {
        background: rgba(0,0,0,0.58) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
        border-radius: 12px !important;
        padding: 16px 20px !important;
        box-shadow: none !important;
        text-align: left !important;
    }
    .about-page:nth-child(2) .about-content-box.about-box-desktop h2 {
        font-size: 1.4rem !important;
        color: #fff !important;
        margin-bottom: 10px !important;
        letter-spacing: 1px !important;
        text-shadow: 0 2px 8px rgba(0,0,0,0.8) !important;
    }
    .about-page:nth-child(2) .about-content-box.about-box-desktop p {
        font-size: 0.95rem !important;
        line-height: 1.65 !important;
        color: #ddd !important;
        margin: 0 !important;
        text-shadow: 0 1px 4px rgba(0,0,0,0.8) !important;
    }

    .about-page:nth-child(3),
    .about-page:nth-child(4),
    .about-page:nth-child(5) {
        min-height: 90vh !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: center !important;
        background-size: cover !important;
        background-position: top center !important;
        background-color: #000 !important;
        padding: 45vh 0 40px 0 !important;
    }
    .about-page:nth-child(3)::after,
    .about-page:nth-child(4)::after,
    .about-page:nth-child(5)::after {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        height: 100%;
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 50%, rgba(0,0,0,1) 60%, rgba(0,0,0,1) 100%);
        pointer-events: none;
        z-index: 1;
    }
    .about-page:nth-child(3) .about-content-wrapper,
    .about-page:nth-child(4) .about-content-wrapper,
    .about-page:nth-child(5) .about-content-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 20px 30px !important;
        box-sizing: border-box !important;
        position: relative;
        z-index: 2;
    }
    .about-page:nth-child(3) .about-content-box,
    .about-page:nth-child(4) .about-content-box,
    .about-page:nth-child(5) .about-content-box {
        background: rgba(0,0,0,0.58) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
        border-radius: 12px !important;
        padding: 16px 20px !important;
        text-align: left !important;
        box-shadow: none !important;
    }
    .about-page:nth-child(3) .about-content-box h2,
    .about-page:nth-child(4) .about-content-box h2,
    .about-page:nth-child(5) .about-content-box h2 {
        font-size: 1.5rem !important;
        color: #fff !important;
        margin-bottom: 12px !important;
        text-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
    }
    .about-page:nth-child(3) .about-content-box p,
    .about-page:nth-child(4) .about-content-box p,
    .about-page:nth-child(5) .about-content-box p {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
        color: #ccc !important;
        margin-bottom: 12px !important;
        text-shadow: 0 1px 4px rgba(0,0,0,0.5) !important;
    }

    .about-page:nth-child(6) {
        background: #0a0a0a !important;
        padding: 30px 20px 40px !important;
        min-height: 0 !important;
    }
    .about-split-layout { flex-direction: column; gap: 16px; }
    .about-half-box { width: 100%; box-sizing: border-box; }
    .about-page:nth-child(6) .about-content-box {
        background: rgba(255,255,255,0.05) !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
        border-radius: 12px !important;
        padding: 20px !important;
        text-align: left !important;
        backdrop-filter: none !important;
    }
    .about-page:nth-child(6) .about-content-box h2 {
        font-size: 1.2rem !important;
        color: #ff0000 !important;
        margin-bottom: 10px !important;
        letter-spacing: 1px !important;
    }
    .about-page:nth-child(6) .about-content-box p {
        font-size: 0.9rem !important;
        line-height: 1.65 !important;
        color: #bbb !important;
        margin: 0 !important;
    }

    .about-mobile-layout .about-content-box h2 { margin-bottom: 15px !important; }
    .mobile-founders-img { display: none !important; }

    .hero-video { object-position: 63% center !important; display: block !important; }
    .hero-video-container { background-position: 63% center !important; }

    .collection-grid { flex-wrap: wrap !important; overflow-x: visible; justify-content: center; gap: 15px; padding: 10px; }
    .collection-item { width: 40% !important; margin: 0 !important; clip-path: none !important; }
    .collection-item img { clip-path: none !important; width: 100%; height: auto; }
    .collection-item.mix-pack { width: 80% !important; margin: 10px auto !important; }

    .footer-bottom { flex-direction: column; height: auto; padding: 25px 20px; gap: 15px; justify-content: center; }
    .footer-right { text-align: center !important; font-size: 0.85rem !important; max-width: 100%; line-height: 1.6; word-break: normal; }

    .new-hero-container {
        height: calc(100dvh - 65px - env(safe-area-inset-bottom)) !important;
    }
    .new-hero-top { padding-top: calc(clamp(80px, 7.2vw, 112px) + 1.5vh) !important; padding-bottom: 1vh !important; }
    .new-hero-bottom {
        padding-bottom: 2vh !important;
    }
    .new-hero-image-wrap {
        position: absolute !important;
        inset: 0 !important;
    }

    .combined-section-container { flex-direction: column !important; height: auto !important; min-height: 0 !important; max-height: none !important; padding-top: 40px !important; border-bottom: none !important; overflow: visible !important; }
    .combined-top-half { flex: none !important; height: auto !important; min-height: 0 !important; padding: 20px !important; width: 100% !important; box-sizing: border-box !important; overflow: visible !important; }
    .combined-bottom-half { height: auto !important; min-height: 0 !important; padding: 20px 20px 40px !important; width: 100% !important; box-sizing: border-box !important; }
    .split-container { flex-direction: column !important; gap: 20px !important; padding: 0 20px !important; width: 100% !important; box-sizing: border-box !important; height: auto !important; }
    .split-block { min-height: 90vw !important; width: 100% !important; max-width: 100% !important; height: auto !important; box-sizing: border-box !important; flex: none !important; padding: 24px 20px !important; }
    .featured-card { width: 100% !important; max-width: 100% !important; height: auto !important; box-sizing: border-box !important; flex: none !important; padding: 10px 0 !important; }
    .split-top-title { font-size: clamp(1.8rem, 7vw, 2.4rem) !important; top: auto !important; left: auto !important; }
    .split-bottom-content { padding-right: 50px !important; }
    .split-bottom-content h3 { font-size: 0.9rem !important; margin-bottom: 6px !important; }
    .split-bottom-content p { font-size: 0.9rem !important; line-height: 1.5 !important; max-width: 100% !important; }
    .split-more { font-size: 0.9rem !important; bottom: 20px !important; right: 20px !important; }
    .featured-card-can img { max-height: 35vh !important; }
    .featured-beer-text-wrap { align-items: center !important; text-align: center !important; max-width: 100% !important; }
    #beer-order-online-btn { border: 2px solid #F6F8EF !important; }
    #home-partnerships { height: auto !important; padding: 0 !important; }
    .new-collab-grid { height: 75vh !important; margin-bottom: 0 !important; gap: 4px !important; }
    .collab-overlay-text-1, .collab-overlay-text-2 { font-size: clamp(1.6rem, 5.5vw, 2.4rem) !important; }
    #instagram-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; padding: 0 10px !important; }

    .full-collab-section {
        height: calc(100dvh - 65px - env(safe-area-inset-bottom)) !important;
        min-height: calc(100dvh - 65px - env(safe-area-inset-bottom)) !important;
        padding-top: 0 !important;
    }
    #collabs-scroller {
        height: calc(100dvh - 65px - env(safe-area-inset-bottom)) !important;
    }
    .collab-learn-more { bottom: 20px; right: 20px; font-size: 1rem; padding: 10px 20px; }
}
@media (min-width: 769px) { #filter-toggle { display: none; } }

@media (min-width: 769px) {
    html, body {
        background-color: #000 !important;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    body:not(.about-mode) #about-us-master { transform: translateX(-100vw) !important; }
    body:not(.map-mode) #map-master { transform: translateX(100vw) !important; }
    body:not(.collection-mode) #collection-master { transform: translateY(100vh) !important; }
    body:not(.beers-mode) #beers-master { transform: translateX(100vw) !important; }
    body:not(.collabs-mode) #collabs-master { transform: translateX(100vw) !important; }

    body.about-mode #content-shifter { transform: translateX(100vw) !important; }
    body.map-mode #content-shifter,
    body.collection-mode #content-shifter,
    body.beers-mode #content-shifter,
    body.collabs-mode #content-shifter { transform: translateX(-100vw) !important; }
}
/* Technology 83 Marker β */

#home-instagram + .newsletter-wrapper,
#craft + .newsletter-wrapper {
    min-height: auto !important;
    padding-top: 40px !important;
}

#home-instagram + .newsletter-wrapper .newsletter-top,
#craft + .newsletter-wrapper .newsletter-top {
    padding-bottom: 50px !important;
}

@media (min-width: 769px) {
    .about-page:nth-child(2) {
        background-position: center top !important;
        background-size: cover !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-end !important;
        padding-top: clamp(80px, 7.2vw, 112px) !important;
        padding-bottom: 5vh !important;
    }

    .about-page:nth-child(2) .about-content-wrapper {
        width: 90% !important;
        max-width: 1300px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        height: auto !important;
    }

    .about-page:nth-child(2) .about-mobile-layout {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .about-page:nth-child(2) .about-content-box.about-box-desktop {
        display: block !important;
        background: rgba(0, 0, 0, 0.62) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border: 1px solid rgba(255,255,255,0.12) !important;
        border-radius: 16px !important;
        padding: 36px 52px !important;
        text-align: left !important;
        margin: 0 !important;
    }

    .about-page:nth-child(2) .about-content-box.about-box-desktop h2 {
        font-size: clamp(1.4rem, 2vw, 1.9rem) !important;
        margin-bottom: 14px !important;
        letter-spacing: 2px !important;
    }

    .about-page:nth-child(2) .about-content-box.about-box-desktop p {
        font-size: clamp(1rem, 1.3vw, 1.15rem) !important;
        line-height: 1.8 !important;
        color: #ccc !important;
        margin: 0 !important;
    }
}

/* =========================================================================
   PHASE 1 SHELL — temporary scaffolding for the Rails migration.
   Removed as each page's real content is ported (see MIGRATION_SPEC.md §9).
   ========================================================================= */

/* The legacy IntersectionObserver that toggled `.visible` isn't ported yet,
   so reveal sections by default for now. */
main section { opacity: 1; }

.shell-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(120px, 14vh, 180px) 24px 80px;
    gap: 18px;
}
.shell-page h1 {
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(3rem, 9vw, 7rem);
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 0.95;
    text-transform: uppercase;
}
.shell-phase {
    color: #ff0000;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.95rem;
}
.shell-desc { max-width: 580px; color: #bbb; line-height: 1.6; }
.shell-back {
    display: inline-block;
    margin-top: 24px;
    border: 2px solid #fff;
    padding: 14px 28px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}
.shell-back:hover { background: #ff0000; border-color: #ff0000; }

/* =========================================================================
   PORTED STANDALONE PAGES — neutralize the legacy overlay positioning so the
   masters flow as normal pages (the JS view-switcher isn't ported).
   ========================================================================= */

/* About: the master + scroller were fixed/off-screen overlays; make them flow.
   The legacy rules slide the master off-screen with !important (both a
   `body:not(.about-mode)` desktop rule and a mobile translateY rule), so the
   reset must also be !important to win. */
html body.page-about #about-us-master {
    position: static !important;
    transform: none !important;
    height: auto;
    overflow: visible;
    z-index: auto;
    background: #000;
}
html body.page-about #about-us-scroller {
    height: auto;
    overflow: visible;
}
/* Round logo centered on the first about panel (replaces the JS persistent logo). */
#about-intro-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: clamp(150px, 18vw, 250px);
    height: auto;
    z-index: 5;
    pointer-events: none;
}

/* Collection: the master was a fixed off-screen overlay (translateY(100vh) with
   !important on desktop + mobile). Same high-specificity !important reset as about. */
html body.page-collection #collection-master {
    position: static !important;
    transform: none !important;
    height: auto;
    overflow: visible;
    z-index: auto;
}

/* Beers index: each can is wrapped in a link to its detail page. `display: contents`
   removes the anchor's box so the <img> is the flex item again — the legacy
   `.cans img` sizing/overlap (width:31%, negative margins, clip-path) applies as before. */
.cans a { display: contents; }

/* Beers index: CTA to the full collection. */
.beers-cta { background: #000; text-align: center; padding: 60px 20px 90px; }

/* Beer detail page (replaces the modal as a real, shareable page). Reuses the
   .beer-detail-card / .beer-stats-row / .stat-box / .beer-where-btn styles. */
.beer-detail-page {
    position: relative;
    min-height: 100vh;
    background: #0a0a0a;
    padding: clamp(120px, 12vw, 160px) 5% 60px;
    box-sizing: border-box;
    overflow: hidden;
}
.beer-detail-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    z-index: 0;
}
.beer-detail-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: clamp(20px, 4vw, 60px);
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
}
.beer-detail-left { display: flex; align-items: center; justify-content: center; }
.beer-detail-shot { max-height: 70vh; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(20px 20px 35px rgba(0,0,0,0.6)); }
.beer-detail-right { display: flex; flex-direction: column; gap: 15px; }
.beer-detail-right h1 { font-family: 'League Spartan', sans-serif; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 900; text-transform: uppercase; line-height: 0.95; }
.beer-detail-right h3 { font-size: clamp(1.1rem, 1.8vw, 1.5rem); color: #ff0000; text-transform: uppercase; letter-spacing: 2px; margin-top: 6px; }
.beer-formats { font-size: 1.1rem; line-height: 1.3; margin-top: 5px; }
.beer-detail-actions { justify-content: center; gap: 10px; }
.beer-order-btn { background: transparent !important; border: 2px solid #F6F8EF; text-align: center; text-decoration: none; color: #fff; }
.beer-order-btn:hover { background: #F6F8EF !important; color: #000; }
.beer-detail-back {
    position: relative;
    z-index: 2;
    display: inline-block;
    margin: 40px auto 0;
    width: fit-content;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid #fff;
    padding: 12px 26px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    font-size: 0.9rem;
}
.beer-detail-back:hover { background: #ff0000; border-color: #ff0000; }

@media (max-width: 768px) {
    .beer-detail-inner { grid-template-columns: 1fr; text-align: center; }
    .beer-detail-right { align-items: center; }
    .beer-detail-shot { max-height: 42vh; }
}

/* Find Us (Google map + p49-api radius search). Native CSS, P49 theme. */
.hidden { display: none !important; }

.find-us { background: #000; padding-top: clamp(80px, 7.2vw, 112px); }
.find-us-hero { text-align: center; padding: 40px 5% 20px; }
.find-us-hero h1 { font-family: 'League Spartan', sans-serif; font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.find-us-hero p { color: #bbb; margin-top: 10px; font-size: clamp(1rem, 1.4vw, 1.2rem); }

.find-us-controls { max-width: 1120px; margin: 0 auto; padding: 0 5%; display: flex; flex-wrap: wrap; gap: 16px 30px; align-items: center; justify-content: space-between; }
.find-us-search { flex: 1 1 320px; min-width: 280px; }
.find-us-search gmp-place-autocomplete,
.find-us-search input { width: 100%; padding: 12px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); background: #111; color: #fff; font-size: 1rem; outline: none; }
.find-us-filters { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.find-us-filters .filter-option { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; color: #ddd; cursor: pointer; }
.find-us-filters .location-checkbox { accent-color: #ff0000; width: 16px; height: 16px; cursor: pointer; }

.find-us-map { width: 100%; height: 520px; margin-top: 20px; background: #111; }

.find-us-loading { text-align: center; color: #bbb; padding: 16px; }

.find-us-results { max-width: 1120px; margin: 0 auto; padding: 40px 5% 80px; }
.find-us-results h2 { font-family: 'League Spartan', sans-serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; text-transform: uppercase; margin-bottom: 24px; }
.loc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.loc-empty { grid-column: 1 / -1; text-align: center; color: #888; padding: 30px; }
.loc-card { background: #111; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 20px; cursor: pointer; transition: border-color 0.2s, transform 0.2s, background 0.2s; }
.loc-card:hover { border-color: rgba(255,255,255,0.25); transform: translateY(-3px); }
.loc-card.is-active { border-color: #ff0000; background: #1a0a0a; }
.loc-card h3 { font-family: 'League Spartan', sans-serif; font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.loc-type { display: inline-block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: #fff; background: rgba(255,0,0,0.7); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
.loc-addr { color: #bbb; font-size: 0.9rem; line-height: 1.4; }
.loc-phone { display: inline-block; margin-top: 6px; color: #ff0000; font-size: 0.9rem; }
.loc-dist { color: #777; font-size: 0.8rem; margin-top: 8px; }

@media (max-width: 768px) {
    .find-us-controls { flex-direction: column; align-items: stretch; }
    .find-us-map { height: 60vh; }
}

/* --- Integrations: contact page, flash, Instagram grid --- */

/* Contact: render the modal form card as a standalone page (neutralize modal scale). */
.contact-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: clamp(120px, 12vw, 160px) 5% 80px; background: #000; }
.contact-page .form-modal-content { transform: none; max-height: none; }
.form-flash { padding: 14px 18px; margin-bottom: 20px; border-radius: 6px; font-weight: 700; }
.form-flash-err { background: rgba(255,0,0,0.12); border: 1px solid #ff0000; color: #ff6b6b; }

/* Global flash toast */
.site-flash { position: fixed; top: clamp(90px, 8vw, 120px); left: 50%; transform: translateX(-50%); z-index: 1500; display: flex; flex-direction: column; gap: 8px; width: max-content; max-width: 90vw; transition: opacity 0.4s ease; }
.site-flash-item { padding: 14px 26px; border-radius: 8px; font-weight: 700; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.site-flash-notice { background: #0f0f0f; color: #fff; border: 2px solid #ff0000; }
.site-flash-alert { background: #1a0a0a; color: #ff6b6b; border: 2px solid #ff0000; }

/* Instagram grid (homepage) */
#home-instagram { background: #000; padding: 60px 0 40px; box-sizing: border-box; }
.instagram-header { text-align: center; margin-bottom: 40px; padding: 0 4%; }
.instagram-header h2 { font-family: 'League Spartan', sans-serif; font-size: clamp(4rem, 10vw, 140px); font-weight: 900; letter-spacing: 2px; text-transform: uppercase; margin: 0; color: #fff; line-height: 0.95; }
#instagram-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 40px); width: 100%; padding: 0 4%; box-sizing: border-box; margin: 0 auto; }
.ig-tile { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #111; position: relative; }
.ig-tile img, .ig-tile video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.ig-tile:hover img, .ig-tile:hover video { transform: scale(1.06); }
.instagram-follow { text-align: center; margin-top: clamp(28px, 3vw, 44px); padding: 0 4%; }
.instagram-follow a {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'League Spartan', sans-serif; font-weight: 700;
    font-size: clamp(1.1rem, 1.6vw, 1.45rem); letter-spacing: 2px; text-transform: uppercase;
    color: #fff; text-decoration: none; transition: color 0.2s ease, gap 0.2s ease;
}
.instagram-follow a::after { content: '\2192'; display: inline-block; transition: transform 0.2s ease; }
.instagram-follow a:hover { color: #ff0000; gap: 12px; }
.instagram-follow a:hover::after { transform: translateX(4px); }
@media (max-width: 768px) {
    #instagram-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Collab detail page (replaces the modal as a real, shareable page) --- */
.collab-detail { background: #000; }
.collab-detail-hero {
    position: relative;
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: clamp(120px, 12vw, 160px) 5% clamp(40px, 6vw, 70px);
}
.collab-detail-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.85) 100%); }
.collab-detail-hero-content { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; width: 100%; }
.collab-detail-tag { display: inline-block; color: #ff0000; text-transform: uppercase; letter-spacing: 3px; font-weight: 700; font-size: 0.95rem; margin-bottom: 12px; }
.collab-detail-hero-content h1 { font-family: 'League Spartan', sans-serif; font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 900; text-transform: uppercase; line-height: 0.95; }
.collab-detail-body { max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 70px) 5% 80px; }
.collab-detail-desc { color: #ddd; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.8; }
.collab-detail-desc p { margin-bottom: 1.2em; }
.collab-detail-gallery { width: 100%; height: clamp(300px, 50vh, 560px); margin: 40px 0; }
.collab-detail-back {
    display: inline-block;
    margin-top: 10px;
    border: 2px solid #fff;
    padding: 12px 26px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    font-size: 0.9rem;
}
.collab-detail-back:hover { background: #ff0000; border-color: #ff0000; }

/* =========================================================================
   RESPONSIVE HEADER — below 1200px the centered nav would overlap the logo,
   so collapse it into a hamburger dropdown. Also keeps the header visible on
   mobile (overrides the legacy <768px rules that hid it for the bottom tab bar
   we don't use). Pure-CSS checkbox toggle; Turbo loads each page fresh so the
   menu closes on navigation automatically.
   ========================================================================= */
@media (max-width: 1200px) {
    header#main-header { display: flex !important; }

    #main-header .hamburger { display: flex !important; margin-top: 0; align-self: center; }

    #main-header .nav-container {
        position: fixed;
        top: clamp(80px, 7.2vw, 112px);
        left: 0;
        right: 0;
        transform: none;
        display: block !important;
        background: rgba(0, 0, 0, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        z-index: 990;
    }
    #main-header .nav-container nav ul { flex-direction: column; gap: 0; width: 100%; }
    #main-header .nav-container nav ul li { width: 100%; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.08); }
    #main-header .nav-container nav ul li a { display: block; padding: 20px; font-size: 1.1rem; }

    #menu-toggle:checked ~ .nav-container { max-height: calc(100vh - clamp(80px, 7.2vw, 112px)); }

    /* hamburger → X when open */
    #menu-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
    #menu-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
    #menu-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }
}