/* =============================================================================
   The Cereal Boom Coffee — public site
   Editorial / boutique design. Theme colours come in as CSS variables from
   resources/views/partials/theme.blade.php (admin-editable).
   ============================================================================= */

*,*::before,*::after { box-sizing: border-box; }

:root {
    /* Injected by theme.blade.php; these are fallbacks. */
    --primary:   #556B2F;
    --secondary: #8A9A5B;
    --accent:    #D9C89E;

    --ink:    #23241c;
    --ink-soft:#4a4c40;
    --muted:  #7c7d70;
    --cream:  #f6f2e8;
    --cream-2:#efe9db;
    --paper:  #fffdf8;
    --line:   rgba(35,36,28,.12);

    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sans:  'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius: 18px;
    --radius-lg: 30px;
    --shadow-sm: 0 4px 16px rgba(40,45,25,.08);
    --shadow: 0 18px 50px -18px rgba(40,45,25,.35);
    --maxw: 1200px;
    --ease: cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Subtle paper grain over the whole page */
body::before {
    content:"";
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: .5;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 2; }

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }

h1,h2,h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -.015em; margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 44px); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    text-transform: uppercase; letter-spacing: .28em;
    font-size: .72rem; font-weight: 600; color: var(--primary);
    font-family: var(--sans);
}
.eyebrow::before { content:""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow.center { justify-content:center; }

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--primary); --btn-fg:#fff;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 26px; border-radius: 999px;
    font-family: var(--sans); font-weight: 600; font-size: .95rem;
    letter-spacing: .01em; cursor: pointer; border: 1.5px solid transparent;
    background: var(--btn-bg); color: var(--btn-fg);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s, color .25s;
    will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--btn-fg); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--primary); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 60;
    transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
    border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 80px; }
.site-header.scrolled {
    background: rgba(246,242,232,.82);
    backdrop-filter: blur(14px) saturate(1.3);
    border-bottom-color: var(--line);
}
/* On the hero, header text is light until scrolled */
.site-header:not(.scrolled) .brand,
.site-header:not(.scrolled) .nav-link { color: #fff; }
.site-header:not(.scrolled) .brand .bean { background:#fff; color: var(--primary); }

.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; transition: color .4s; }
.brand .bean { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color:#fff; display: grid; place-items: center; font-size: 1.1rem; transition: background .4s, color .4s; }
.brand small { display:block; font-family: var(--sans); font-weight: 500; font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; opacity: .7; margin-top: 1px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--ink-soft); font-weight: 500; font-size: .95rem; position: relative; transition: color .3s; }
.nav-link::after { content:""; position:absolute; left:0; bottom:-6px; width:0; height:2px; background: currentColor; transition: width .3s var(--ease); }
.nav-link:hover::after { width:100%; }

/* Language switch */
.lang-switch { display:inline-flex; align-items:center; gap:2px; background: rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.28); border-radius:999px; padding:3px; transition: background .4s, border-color .4s; }
.site-header.scrolled .lang-switch { background: var(--paper); border-color: var(--line); }
.lang-switch a { display:inline-flex; align-items:center; gap:5px; padding:5px 11px; border-radius:999px; font-size:.8rem; font-weight:600; color:#fff; opacity:.85; line-height:1; transition: background .2s, color .2s; }
.site-header.scrolled .lang-switch a { color: var(--muted); }
.lang-switch a .flag { font-size:1rem; }
.lang-switch a.active { background:#fff; color: var(--primary) !important; opacity:1; }

/* Solid header for pages without a hero (legal, privacy) */
body.solid .site-header { background: rgba(246,242,232,.9); backdrop-filter: blur(14px) saturate(1.3); border-bottom-color: var(--line); }
body.solid .site-header .brand, body.solid .site-header .nav-link { color: var(--ink); }
body.solid .site-header .brand .bean { background: var(--primary); color:#fff; }
body.solid .site-header .lang-switch { background: var(--paper); border-color: var(--line); }
body.solid .site-header .lang-switch a { color: var(--muted); }
body.solid .site-header .nav-toggle span { background: var(--ink); }

/* Mobile nav */
.nav-toggle { display:none; width:44px; height:44px; border:none; background:transparent; cursor:pointer; flex-direction:column; gap:5px; justify-content:center; align-items:center; }
.nav-toggle span { width:24px; height:2px; background: currentColor; color: var(--ink); transition: .3s var(--ease); }
.site-header:not(.scrolled) .nav-toggle span { background:#fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color:#fff; overflow: hidden; }
.hero-bg { position:absolute; inset:0; z-index:0; }
.hero-slide { position:absolute; inset:0; background-size: cover; background-position: center; opacity:0; transform: scale(1.08); transition: opacity 1.4s var(--ease), transform 7s linear; }
.hero-slide.is-active { opacity:1; transform: scale(1); }
.hero-bg::after { content:""; position:absolute; inset:0; background:
    linear-gradient(180deg, rgba(20,24,12,.35) 0%, rgba(20,24,12,.15) 35%, rgba(20,24,12,.78) 100%); }
/* Fallback when there are no featured photos */
.hero-fallback { position:absolute; inset:0; z-index:0; background:
    radial-gradient(1000px 600px at 75% 10%, color-mix(in srgb, var(--secondary) 60%, transparent), transparent),
    linear-gradient(160deg, color-mix(in srgb, var(--primary) 92%, #000), color-mix(in srgb, var(--primary) 60%, #000)); }

.hero-inner { position: relative; z-index:2; padding-bottom: clamp(56px, 9vh, 110px); padding-top: 120px; max-width: 900px; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { font-size: clamp(3rem, 9vw, 6.6rem); font-weight: 600; margin: 20px 0 22px; text-shadow: 0 2px 40px rgba(0,0,0,.3); }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.4rem); max-width: 46ch; color: rgba(255,255,255,.92); margin: 0 0 34px; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; }
.hero .btn-ghost { color:#fff; border-color: rgba(255,255,255,.5); }
.hero .btn-ghost:hover { background:#fff; color: var(--ink); border-color:#fff; }

.scroll-cue { position:absolute; left:50%; bottom:26px; transform:translateX(-50%); z-index:2; color:rgba(255,255,255,.8); font-size:.72rem; letter-spacing:.25em; text-transform:uppercase; display:flex; flex-direction:column; align-items:center; gap:8px; }
.scroll-cue .line { width:1px; height:40px; background:linear-gradient(#fff, transparent); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0%{transform:scaleY(0);transform-origin:top} 40%{transform:scaleY(1);transform-origin:top} 60%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ---------- Marquee ---------- */
.marquee { background: var(--primary); color: var(--paper); overflow: hidden; border-top:1px solid rgba(255,255,255,.1); }
.marquee-track { display:flex; gap:0; white-space:nowrap; width:max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-size: clamp(1.3rem,3vw,2rem); font-style: italic; padding: 16px 30px; display:inline-flex; align-items:center; gap:30px; }
.marquee span::after { content:"✦"; font-style:normal; font-size:.7em; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 12vh, 140px) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px,6vh,64px); text-align: center; }
.section-head h2 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin: 16px 0 14px; color: var(--ink); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* About — editorial split */
.about { background: var(--paper); }
.about-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.about-text h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); color: var(--ink); margin: 18px 0 20px; }
.about-text .drop { font-size: 1.15rem; color: var(--ink-soft); }
.about-text .drop::first-letter { font-family: var(--serif); font-size: 3.4em; float:left; line-height:.8; padding: 6px 14px 0 0; color: var(--primary); }
.feature-list { list-style:none; padding:0; margin: 28px 0 34px; display:grid; gap:14px; }
.feature-list li { display:flex; gap:14px; align-items:flex-start; font-weight:500; }
.feature-list .tick { flex:none; width:30px; height:30px; border-radius:50%; background: color-mix(in srgb, var(--secondary) 26%, #fff); color: var(--primary); display:grid; place-items:center; font-weight:700; font-size:.9rem; }

.about-visual { position: relative; }
.about-visual .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; background: var(--cream-2); }
.about-visual .frame img { width:100%; height:100%; object-fit: cover; }
.about-visual .quote-card {
    position:absolute; left:-28px; bottom:-28px; max-width: 260px;
    background: var(--primary); color:#fff; padding: 24px 26px; border-radius: var(--radius);
    box-shadow: var(--shadow); font-family: var(--serif); font-style: italic; font-size:1.15rem; line-height:1.35;
}
.about-visual .badge-round {
    position:absolute; right:-22px; top:-22px; width: 104px; height:104px; border-radius:50%;
    background: var(--accent); color: var(--ink); display:grid; place-items:center; text-align:center;
    font-family: var(--serif); font-weight:600; font-size:.9rem; box-shadow: var(--shadow-sm); transform: rotate(-8deg);
    line-height:1.1;
}

/* ---------- Collections / slideshows ---------- */
.collection + .collection { padding-top: 0; }
.collection-head { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom: 26px; flex-wrap:wrap; }
.collection-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); color: var(--ink); text-transform: capitalize; }
.collection-head .count { color: var(--muted); font-size:.9rem; letter-spacing:.05em; }

/* Carousel */
.carousel { position: relative; }
.carousel-track { display:flex; gap: 18px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; padding: 8px 4px 22px; -ms-overflow-style:none; scrollbar-width:none; }
.carousel-track::-webkit-scrollbar { display:none; }
.slide { scroll-snap-align:center; flex: 0 0 min(78vw, 460px); }
.slide figure { margin:0; position:relative; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); background: var(--cream-2); aspect-ratio: 4/3; cursor: zoom-in; }
.slide figure img { width:100%; height:100%; object-fit:cover; transition: transform .8s var(--ease); }
.slide figure:hover img { transform: scale(1.05); }
.slide figcaption { position:absolute; inset:auto 0 0 0; padding: 34px 18px 16px; color:#fff; background: linear-gradient(to top, rgba(15,18,8,.82), transparent); }
.slide figcaption strong { display:block; font-family: var(--serif); font-size:1.15rem; }
.slide figcaption span { font-size:.86rem; opacity:.88; }
.slide .zoom-ico { position:absolute; top:12px; right:12px; width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.85); color:var(--ink); display:grid; place-items:center; opacity:0; transition:opacity .3s; }
.slide figure:hover .zoom-ico { opacity:1; }

.carousel-nav { display:flex; gap:10px; }
.carousel-btn {
    width:48px; height:48px; border-radius:50%; border:1.5px solid var(--line); background: var(--paper);
    color: var(--ink); cursor:pointer; display:grid; place-items:center; font-size:1.1rem;
    transition: background .25s, color .25s, transform .25s, border-color .25s;
}
.carousel-btn:hover { background: var(--primary); color:#fff; border-color: var(--primary); transform: translateY(-2px); }
.carousel-btn:disabled { opacity:.35; cursor:default; transform:none; background:var(--paper); color:var(--ink); border-color:var(--line); }

/* Main gallery (masonry-ish) */
.gallery { background: var(--cream-2); }
.gallery-grid { columns: 3; column-gap: 18px; }
.gallery-grid .g-item { break-inside: avoid; margin-bottom: 18px; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); position:relative; cursor: zoom-in; background: var(--cream); }
.gallery-grid .g-item img { width:100%; height:auto; display:block; transition: transform .8s var(--ease); }
.gallery-grid .g-item:hover img { transform: scale(1.05); }
.gallery-grid .g-item figcaption { position:absolute; inset:auto 0 0 0; padding: 30px 16px 14px; color:#fff; background:linear-gradient(to top, rgba(15,18,8,.8), transparent); opacity:0; transition:opacity .3s; }
.gallery-grid .g-item:hover figcaption { opacity:1; }
.gallery-grid .g-item figcaption strong { font-family: var(--serif); display:block; }

.gallery-empty { text-align:center; padding: 70px 20px; color: var(--muted); background: var(--paper); border-radius: var(--radius); border:2px dashed var(--line); }
.gallery-empty .big { font-size: 2.6rem; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset:0; z-index: 200; background: rgba(15,17,10,.94); display:none; align-items:center; justify-content:center; padding: 24px; }
.lightbox.open { display:flex; animation: fade .3s var(--ease); }
@keyframes fade { from{opacity:0} to{opacity:1} }
.lightbox img { max-width: min(92vw, 1100px); max-height: 82vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox .lb-cap { position:absolute; bottom: 26px; left:0; right:0; text-align:center; color:#fff; font-family: var(--serif); font-size:1.1rem; padding:0 20px; }
.lightbox button { position:absolute; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25); color:#fff; width:52px; height:52px; border-radius:50%; cursor:pointer; font-size:1.3rem; display:grid; place-items:center; transition:background .2s; }
.lightbox button:hover { background:rgba(255,255,255,.28); }
.lb-close { top:22px; right:22px; }
.lb-prev { left:22px; top:50%; transform:translateY(-50%); }
.lb-next { right:22px; top:50%; transform:translateY(-50%); }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap:18px; margin-top: 8px; }
.contact-card { background: var(--cream); border:1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-card .ico { font-size:1.8rem; }
.contact-card h3 { font-family: var(--serif); font-size:1.15rem; color: var(--ink); margin: 12px 0 6px; }
.contact-card p, .contact-card a { color: var(--muted); margin:0; word-break: break-word; }
.contact-card a:hover { color: var(--primary); }
.ig-cta { text-align:center; margin-top: 44px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: clamp(56px,9vh,90px) 0 30px; }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color:#fff; font-size:1.5rem; }
.site-footer .brand .bean { background: var(--primary); color:#fff; }
.site-footer .f-about { max-width: 34ch; margin: 18px 0 0; color: rgba(255,255,255,.6); }
.footer-col h4 { font-family: var(--sans); text-transform:uppercase; letter-spacing:.16em; font-size:.74rem; color: rgba(255,255,255,.5); margin:0 0 16px; }
.footer-col a, .footer-col p { display:block; color: rgba(255,255,255,.78); margin: 0 0 10px; transition: color .2s; }
.footer-col a:hover { color:#fff; }
.footer-social { display:flex; gap:12px; margin-top: 6px; }
.footer-social a { width:42px; height:42px; border-radius:50%; border:1px solid rgba(255,255,255,.2); display:grid; place-items:center; font-size:1.15rem; color:#fff; transition: background .25s, transform .25s; }
.footer-social a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.14); margin-top: 44px; padding-top: 22px; display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; font-size:.85rem; color: rgba(255,255,255,.55); }
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color:#fff; }

/* ---------- Legal pages ---------- */
.legal { padding: 150px 0 90px; background: var(--paper); min-height: 70vh; }
.legal .container { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem,6vw,3.2rem); color: var(--ink); margin-bottom: 10px; }
.legal .updated { color: var(--muted); font-size:.9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; color: var(--primary); margin: 38px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal a { color: var(--primary); text-decoration: underline; }
.legal .lead { font-size:1.15rem; }
.legal-back { display:inline-flex; margin-top: 40px; }

/* ---------- Menu / carta ---------- */
.menu-hero { padding: 140px 0 20px; text-align: center; background: var(--paper); }
.menu-hero h1 { font-size: clamp(2.4rem, 7vw, 4rem); color: var(--ink); margin: 14px 0 12px; }
.menu-hero p { color: var(--muted); max-width: 60ch; margin: 0 auto; font-size: 1.1rem; }
.menu-hero .chips { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top: 26px; }
.menu-hero .chip { padding:8px 16px; border-radius:999px; font-weight:600; font-size:.86rem; color:#fff; }

.menu-wrap { background: var(--paper); padding-bottom: 90px; }
.menu-group { padding: 40px 0 10px; scroll-margin-top: 90px; }
.menu-group-head { display:flex; align-items:center; gap:16px; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 2px solid var(--line); }
.menu-group-head .g-emoji {
    font-size: 1.7rem; width: 60px; height: 60px; border-radius: 18px;
    display:grid; place-items:center; color:#fff; flex:none;
    background: var(--gaccent); box-shadow: 0 10px 24px -8px var(--gaccent);
}
.menu-group-head h2 { font-size: clamp(1.7rem, 4.5vw, 2.7rem); color: var(--ink); }
.menu-cats { display:grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items:start; }
.menu-card {
    background: var(--cream); border: 1px solid var(--line);
    border-top: 5px solid var(--gaccent); border-radius: 16px;
    padding: 24px 26px; box-shadow: var(--shadow-sm);
}
.menu-card h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.menu-note { display:inline-block; font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; padding:3px 9px; border-radius:999px; background: var(--gaccent); color:#fff; }
.menu-list { margin: 12px 0 0; }
.menu-item { display:flex; align-items:baseline; gap:6px; padding: 9px 0; }
.menu-item + .menu-item { border-top: 1px solid var(--line); }
.mi-main { display:flex; flex-direction:column; }
.mi-name { font-weight:500; color: var(--ink); }
.mi-desc { font-size:.82rem; color: var(--muted); line-height:1.4; margin-top:2px; }
.mi-dots { flex:1; align-self:center; border-bottom: 2px dotted var(--line); min-width: 14px; margin: 0 2px; }
.mi-price { font-family: var(--serif); font-weight:600; color: var(--gaccent); white-space:nowrap; font-size:1.02rem; }

@media (max-width: 720px) {
    .menu-cats { grid-template-columns: 1fr; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity:0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity:1; transform:none; }
.reveal.d1{transition-delay:.08s}.reveal.d2{transition-delay:.16s}.reveal.d3{transition-delay:.24s}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity:1; transform:none; transition:none; }
    .hero-slide { transition: opacity .6s; }
    * { scroll-behavior:auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-visual { max-width: 460px; margin: 0 auto; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .gallery-grid { columns: 2; }
}
@media (max-width: 720px) {
    .nav-links { display:none; }
    .nav-toggle { display:flex; }
    .nav.open .nav-links {
        display:flex; position:absolute; top:80px; left:0; right:0; flex-direction:column; gap:0;
        background: var(--paper); border-bottom:1px solid var(--line); padding: 10px 0; box-shadow: var(--shadow);
    }
    .nav.open .nav-links .nav-link { color: var(--ink); padding: 14px 28px; width:100%; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; }
    .about-visual .quote-card { left:0; right:0; max-width:none; bottom:-20px; }
}
@media (max-width: 480px) {
    .gallery-grid { columns: 1; }
    .slide { flex-basis: 86vw; }
}
