/*
Theme Name: Junya Bake & Brew
Theme URI: https://www.instagram.com/junya.bakeandbrew/
Author: Junya Bake & Brew
Description: Custom theme for Junya Bake & Brew — sourdough bakery & fermentation café. Every text, photo and list is editable from wp-admin → Junya Website. The menu page shows an uploaded PDF as a flip-book.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: junya
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--red: #B02827;
	--red-deep: #8a1f1e;
	--sage: #9E9F73;
	--cream: #F5DBAA;
	--oat: #EDE8D7;
	--paper: #F7F2E7;
	--ink: #1c1714;
	--ink-soft: #4a3f37;
	--joyu: #770000;
	--line: rgba(28, 23, 20, 0.12);
	--pad-x: 56px;
	--pad-y: 110px;
	--header-h: 92px;
	--ease: cubic-bezier(.65, 0, .35, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html, body { margin: 0; padding: 0; background: var(--paper); }
body {
	font-family: 'KoHo', system-ui, sans-serif;
	color: var(--ink);
	font-weight: 300;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); transition: color .15s; }
a:hover { color: var(--red-deep); }
button, input, textarea, select { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; }
p { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
button:disabled { opacity: .35; cursor: default; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 4px; }
.skip-link:focus { top: 12px; color: var(--paper); }

/* Photos */
.cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.contain { width: 100%; height: 100%; object-fit: contain; display: block; }
.ph {
	width: 100%; height: 100%; min-height: inherit;
	display: flex; align-items: center; justify-content: center; text-align: center;
	padding: 16px; color: rgba(74, 63, 55, 0.6);
	background:
		repeating-linear-gradient(135deg, rgba(28,23,20,0.035) 0 1px, transparent 1px 14px),
		var(--oat);
	font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.ph span { max-width: 26ch; }
/* Fixed-shape photo frames: the photo fills the frame whatever its own size. */
.atlas-photo, .dish-photo, .bread-anatomy-photo, .team-photo, .home-story-photo, .value-photo,
.bottle-photo, .jun-drink-photo, .visit-photo, .home-shop-frame { position: relative; flex: none; overflow: hidden; }
.atlas-photo > img, .atlas-photo > .ph, .dish-photo > img, .dish-photo > .ph,
.bread-anatomy-photo > img, .bread-anatomy-photo > .ph, .team-photo > img, .team-photo > .ph,
.home-story-photo > img, .home-story-photo > .ph, .value-photo > img, .value-photo > .ph,
.bottle-photo > img, .bottle-photo > .ph, .jun-drink-photo > img, .jun-drink-photo > .ph,
.visit-photo > img, .visit-photo > .ph, .home-shop-frame > img, .home-shop-frame > .ph {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.section--ink .ph, .ohero .ph, .home-hero .ph, .home-shop .ph { background: repeating-linear-gradient(135deg, rgba(247,242,231,0.05) 0 1px, transparent 1px 14px), #3a302a; color: rgba(247,242,231,0.4); }

/* Type */
.label {
	font-weight: 500; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; line-height: 1.5;
	display: block; margin-bottom: 14px;
}
.label-red { color: var(--red); }
.label-cream { color: var(--cream); }
.text-red { color: var(--red); }
.hl { color: var(--red); }
.h-88 { font-size: clamp(48px, 7vw, 88px); line-height: .95; letter-spacing: -0.03em; }
.h-72 { font-size: clamp(40px, 5.6vw, 72px); line-height: .98; letter-spacing: -0.025em; }
.h-64 { font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -0.025em; }
.h-56 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.h-52 { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.02em; }
.body-text { font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.sub-text { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 680px; margin-top: 20px; }
.lead-text { font-size: 18px; line-height: 1.65; color: var(--ink-soft); max-width: 460px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 22px; border-radius: 999px; text-decoration: none;
	font-weight: 600; font-size: 16px; line-height: 1.2; letter-spacing: 0.02em;
	cursor: pointer; border: 1.5px solid transparent; background: none;
	transition: background .15s, color .15s, border-color .15s;
	white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-red { background: var(--red); color: var(--paper); }
.btn-red:hover, .btn-red.is-on { background: var(--red-deep); color: var(--paper); }
.btn-ghost-ink { border-color: var(--ink); color: var(--ink); }
.btn-ghost-ink:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--oat); color: var(--ink); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.round-btn {
	width: 44px; height: 44px; border-radius: 50%; flex: none;
	background: var(--paper); color: var(--ink); border: 1px solid rgba(28,23,20,0.18);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 20px; font-weight: 300; line-height: 1; cursor: pointer; transition: opacity .2s, background .15s;
}
.round-btn:hover:not(:disabled) { background: #fff; }
.arrow-pair { display: flex; gap: 8px; }

/* Sections */
.section { padding: var(--pad-y) var(--pad-x); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--oat { background: var(--oat); }
.section-head { margin-bottom: 48px; }
.section-head .label { margin-top: 25px; }
.section--ink .h-72 { color: var(--paper); }
.section--ink .sub-text { color: rgba(247,242,231,0.78); }

.rail { scrollbar-width: thin; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-track { border-radius: 3px; }
.rail::-webkit-scrollbar-thumb { border-radius: 3px; }

.jy-admin-edit {
	display: inline-block; margin-top: 18px; font-size: 12px; font-weight: 500; letter-spacing: .04em;
	padding: 6px 12px; border-radius: 999px; background: rgba(28,23,20,.08); color: var(--ink-soft); text-decoration: none;
}
.jy-admin-edit:hover { background: var(--ink); color: var(--paper); }
.section--ink .jy-admin-edit, .juntea .jy-admin-edit { background: rgba(247,242,231,.18); color: inherit; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 50;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 24px var(--pad-x);
	background: var(--paper);
	border-bottom: 1px solid rgba(28,23,20,0.08);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.brand { display: flex; align-items: center; flex: none; }
.brand-logo { height: 44px; width: auto; }
.brand .ph { width: 100px; height: 44px; }

.site-nav .nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; }
.site-nav .nav-list a {
	position: relative; display: block; padding: 6px 0;
	font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--ink-soft); text-decoration: none; transition: color .25s;
}
.site-nav .nav-list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--red);
	transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.site-nav .nav-list a:hover,
.site-nav .nav-list .is-on > a,
.site-nav .nav-list .current-menu-item > a { color: var(--red); }
.site-nav .nav-list a:hover::after,
.site-nav .nav-list .is-on > a::after,
.site-nav .nav-list .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }

.header-cta { padding: 10px 20px; font-size: 13px; }
.nav-drawer-cta { display: none; }
.nav-toggle { display: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--paper); padding: 80px var(--pad-x) 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 64px; width: auto; }
.footer-brand p { font-size: 14px; opacity: .7; margin-top: 18px; line-height: 1.6; max-width: 280px; }
.footer-label { opacity: .6; }
.footer-address { font-size: 13px; line-height: 1.6; opacity: .85; }
.footer-hours, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-hours li { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; line-height: 1.7; opacity: .85; max-width: 240px; }
.footer-hours li.is-closed { opacity: .5; }
.footer-hours strong { font-weight: 500; letter-spacing: .04em; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a { color: inherit; text-decoration: none; display: flex; gap: 10px; font-size: 13px; opacity: .85; }
.footer-contact a:hover { opacity: 1; color: var(--cream); }
.footer-contact a span { opacity: .6; min-width: 34px; }
.footer-bottom {
	display: flex; justify-content: space-between; gap: 16px;
	margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(247,242,231,0.15);
	font-size: 11px; opacity: .5; font-weight: 500; letter-spacing: .04em;
}

/* ==========================================================================
   Page hero (Bread / Fermented / Story)
   ========================================================================== */
.ohero { position: relative; overflow: hidden; color: var(--paper); min-height: min(78vh, 820px); display: flex; background: var(--ink); }
.ohero-bg { position: absolute; inset: 0; }
.ohero-bg img, .ohero-bg .ph { width: 100%; height: 100%; object-fit: cover; }
.ohero-scrim { position: absolute; inset: 0; pointer-events: none; }
.ohero-in { position: relative; z-index: 1; width: 100%; padding: clamp(28px, 5vw, 72px); display: flex; }
.ohero-text { display: flex; flex-direction: column; gap: 20px; }
.ohero .label { color: var(--cream); margin: 0; }
.ohero h1 { font-weight: 300; letter-spacing: -0.03em; line-height: .94; text-wrap: balance; }
.ohero h1 .hl { color: var(--cream); }
.ohero p { font-size: 17px; line-height: 1.6; max-width: 440px; text-wrap: pretty; }

.ohero--bottom .ohero-scrim { background: linear-gradient(to top, rgba(28,23,20,.78), rgba(28,23,20,.1) 65%); }
.ohero--bottom .ohero-in { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: clamp(48px, 12vh, 140px); }
.ohero--bottom h1 { font-size: clamp(40px, 5.5vw, 84px); }

.ohero--top .ohero-scrim { background: linear-gradient(to bottom, rgba(28,23,20,.72), rgba(28,23,20,.05) 55%, rgba(28,23,20,.55)); }
.ohero--top .ohero-in { flex-direction: column; justify-content: space-between; gap: 48px; }
.ohero--top h1 { font-size: clamp(44px, 6.5vw, 104px); }
.ohero--top p { align-self: flex-end; text-align: right; }

.ohero--center .ohero-scrim { background: radial-gradient(ellipse at 50% 50%, rgba(28,23,20,.7), rgba(28,23,20,.2) 75%); }
.ohero--center .ohero-in { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 24px; }
.ohero--center h1 { font-size: clamp(40px, 5.5vw, 84px); }
.ohero--center p { max-width: 520px; }

/* ==========================================================================
   Home
   ========================================================================== */
.home-hero {
	position: relative; min-height: 78vh; overflow: hidden; color: var(--paper); background: var(--ink);
	padding: 120px 80px 100px; display: flex; flex-direction: column; justify-content: space-between;
}
.home-hero-bg { position: absolute; inset: 0; z-index: 0; }
.home-hero-bg img, .home-hero-bg .ph { width: 100%; height: 100%; object-fit: cover; }
.home-hero-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(28,23,20,0.32) 0%, rgba(28,23,20,0.42) 60%, rgba(28,23,20,0.55) 100%); }
.home-hero-top, .home-hero-bottom { position: relative; z-index: 2; }
.home-hero-top { max-width: 640px; }
.home-hero-kicker { font-weight: 400; font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--cream); margin-bottom: 14px; }
.home-hero h1 { font-weight: 400; font-size: clamp(40px, 5vw, 64px); line-height: 1.1; letter-spacing: -0.005em; color: var(--paper); }
.home-hero h1 .hl { color: var(--cream); font-weight: 600; }
.home-hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px; margin-top: 64px; }
.home-hero-bottom p { font-size: 18px; line-height: 1.65; color: rgba(247,242,231,0.92); max-width: 440px; }

.home-story { background: var(--oat); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.home-story-photo { height: 520px; border-radius: 4px; overflow: hidden; }
.home-story-text .label { margin-bottom: 18px; }
.home-story-text .body-text { margin-top: 24px; max-width: 480px; }
.home-story-text .btn { margin-top: 28px; }

.home-shop { background: var(--paper); padding: 120px var(--pad-x); }
.home-shop-frame { max-width: 1180px; margin: 0 auto; position: relative; height: 640px; border-radius: 4px; overflow: hidden; }
.home-shop-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(28,23,20,0.62), rgba(28,23,20,0.08) 55%, transparent); }
.home-shop-text { position: absolute; left: 48px; right: 48px; bottom: 44px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; color: var(--paper); }
.home-shop-text p { font-size: 18px; line-height: 1.6; max-width: 420px; text-wrap: pretty; }

/* ==========================================================================
   Bread
   ========================================================================== */
.bread-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.bread-anatomy { position: relative; }
.bread-anatomy-photo { aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden; }
.callout {
	position: absolute; width: 240px; background: var(--paper); color: var(--ink);
	padding: 14px 16px; border-radius: 4px; box-shadow: 0 18px 40px -16px rgba(0,0,0,0.5);
	border-left: 3px solid var(--c);
}
.callout .label { color: var(--c); margin-bottom: 6px; }
.callout--red { --c: var(--red); }
.callout--cream { --c: var(--cream); }
.callout--sage { --c: var(--sage); }
.callout--1 { top: 8%; left: max(-10%, calc(16px - var(--pad-x))); }
.callout--2 { top: 42%; right: -8%; }
.callout--3 { bottom: 4%; left: max(-6%, calc(16px - var(--pad-x))); }
.callout-title { font-weight: 500; font-size: 16px; letter-spacing: -0.01em; margin-bottom: 4px; line-height: 1.3; }
.callout-text { font-size: 12px; line-height: 1.5; color: var(--ink-soft); }
.bread-intro-text .label { margin-bottom: 18px; }
.bread-intro-text .body-text { font-size: 17px; margin-top: 24px; max-width: 460px; color: var(--paper); opacity: .85; }

/* Flavor guide */
.atlas-section {
	padding: clamp(24px, 5vh, 72px) var(--pad-x);
	min-height: calc(100vh - var(--header-h));
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	--atlas: clamp(260px, calc(100vh - var(--header-h) - 10vh - 150px), 540px);
}
.atlas {
	display: grid; width: 100%; max-width: 1240px; margin: 0 auto;
	grid-template-columns: minmax(280px, 400px) auto;
	grid-template-areas: "head fig" "list fig";
	grid-template-rows: auto 1fr;
	column-gap: 80px; justify-content: center; align-items: start;
}
.atlas-head { grid-area: head; max-width: 400px; }
.atlas-head .label { margin-bottom: clamp(6px, 1.2vh, 12px); }
.atlas-head h2 { font-size: clamp(34px, 5.5vh, 52px); line-height: 1; letter-spacing: -0.025em; }
.atlas-head p { font-size: 14px; line-height: 1.5; color: var(--ink-soft); margin: clamp(8px, 1.4vh, 14px) 0 clamp(10px, 2vh, 20px); text-wrap: pretty; }
.atlas-list { grid-area: list; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 400px; }
.atlas-item {
	width: 100%; display: flex; align-items: center; gap: 16px; padding: 0; margin: 0;
	height: clamp(36px, 5vh, 44px); background: none; border: 0; border-bottom: 1px solid var(--line);
	cursor: pointer; text-align: left; color: var(--ink-soft); transition: color .2s;
}
.atlas-num { font-size: 12px; font-weight: 500; letter-spacing: .1em; opacity: .6; transition: transform .25s, color .2s, opacity .2s; }
.atlas-name { font-size: clamp(17px, 2.4vh, 20px); font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: transform .25s; }
.atlas-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); opacity: 0; transition: opacity .2s; flex: none; }
.atlas-item:hover { color: var(--ink); }
.atlas-item.is-on { color: var(--ink); }
.atlas-item.is-on .atlas-num { color: var(--red); opacity: 1; transform: translateX(12px); }
.atlas-item.is-on .atlas-name { transform: translateX(12px); }
.atlas-item.is-on .atlas-dot { opacity: 1; }
.atlas-figure { grid-area: fig; width: var(--atlas); max-width: 100%; }
.atlas-panel { display: flex; flex-direction: column; gap: 16px; animation: jyFade .35s ease; }
.atlas-photo { width: 100%; aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden; }
.tint-cream { background: var(--cream); } .tint-oat { background: var(--oat); } .tint-sage { background: var(--sage); }
.atlas-info { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.atlas-info h3 { font-weight: 400; font-size: 28px; letter-spacing: -0.015em; line-height: 1.15; }
.atlas-tags { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--red); white-space: pre-wrap; }
.atlas-desc { font-size: 15px; line-height: 1.6; color: var(--ink-soft); max-width: 560px; text-wrap: pretty; }
@keyframes jyFade { from { opacity: 0; } to { opacity: 1; } }

/* Dishes carousel */
.dishes { background: var(--oat); padding: 110px 0 96px; border-top: 1px solid rgba(28,23,20,0.08); }
.dishes > .jy-admin-edit { margin-left: var(--pad-x); }
.dishes-head { padding: 0 var(--pad-x); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.dishes-title { max-width: 640px; }
.dishes-title .sub-text { margin-top: 18px; max-width: 520px; }
.dishes-controls { display: flex; flex-direction: column; gap: 18px; align-items: flex-end; }
.pill-group { display: flex; gap: 6px; padding: 4px; background: var(--paper); border-radius: 999px; border: 1px solid rgba(28,23,20,0.1); flex-wrap: wrap; }
.pill {
	font-weight: 500; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
	padding: 8px 16px; border-radius: 999px; border: 0; cursor: pointer;
	background: transparent; color: var(--ink-soft); transition: background .15s, color .15s;
}
.pill:hover { color: var(--ink); }
.pill.is-on { background: var(--red); color: var(--paper); }
.dishes-track {
	display: flex; gap: 20px; padding: 8px var(--pad-x) 32px;
	overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad-x);
	scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain;
}
.dishes-track::-webkit-scrollbar { display: none; }
.dish-card { flex: 0 0 320px; scroll-snap-align: start; background: var(--paper); border: 1px solid rgba(28,23,20,0.1); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.dish-photo { position: relative; aspect-ratio: 1 / 1; background: var(--cream); }
.dish-tag { position: absolute; top: 14px; left: 14px; font-weight: 600; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; padding: 5px 10px; border-radius: 2px; background: var(--paper); color: var(--red); }
.dish-count { position: absolute; bottom: 14px; right: 14px; font-size: 11px; letter-spacing: .2em; color: var(--ink-soft); background: rgba(247,242,231,.85); padding: 2px 6px; border-radius: 2px; }
.dish-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.dish-body h3 { font-weight: 500; font-size: 24px; letter-spacing: -0.01em; line-height: 1.15; }
.dish-body p { font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.track-end { flex: 0 0 4px; }

/* ==========================================================================
   Fermented — JOYU
   ========================================================================== */
.joyu { position: relative; overflow: hidden; padding-bottom: 120px; }
.joyu-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: center; margin-bottom: 72px; }
.joyu-logo img { width: 170px; height: auto; }
.joyu-logo .ph { width: 170px; height: 200px; }
.joyu-intro { border-left: 1px solid rgba(119,0,0,0.2); padding-left: 56px; }
.joyu-intro .label { color: var(--joyu); }
.joyu-intro h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -0.025em; color: var(--joyu); }
.joyu-intro h2 .hl { color: inherit; font-weight: 600; }
.joyu-intro p { font-size: 17px; line-height: 1.65; color: var(--ink-soft); margin-top: 22px; max-width: 640px; text-wrap: pretty; }

.joyu-viewer { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: stretch; }
.joyu-stage { border-radius: 6px; position: relative; min-height: 520px; transition: background .4s ease; }
.joyu-shot { position: absolute; inset: 48px; opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
.joyu-shot.is-on { opacity: 1; transform: none; pointer-events: auto; }
.joyu-shot .ph { background: rgba(255,255,255,.25); border-radius: 4px; }
.joyu-kind { position: absolute; top: 20px; left: 22px; z-index: 2; background: var(--joyu); color: var(--paper); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; display: none; }
.joyu-kind.is-on { display: inline-block; }
.joyu-side { display: flex; flex-direction: column; gap: 28px; justify-content: center; min-width: 0; }
.joyu-info { display: flex; flex-direction: column; gap: 28px; animation: jyFade .35s ease; }
.joyu-info h3 { font-weight: 600; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.02; letter-spacing: -0.02em; color: var(--joyu); }
.joyu-made { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.joyu-made .label, .joyu-uses .label { color: var(--ink-soft); margin: 0; }
.joyu-made p { font-size: 18px; line-height: 1.6; color: var(--ink); white-space: pre-wrap; }
.joyu-uses { display: flex; flex-direction: column; gap: 10px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(119,0,0,0.33); color: var(--joyu); }
.joyu-avail { font-size: 14px; color: var(--ink-soft); font-weight: 400; border-top: 1px solid rgba(119,0,0,0.15); padding-top: 22px; }
.joyu-nav { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.joyu-nav-row { display: flex; justify-content: space-between; align-items: center; }
.joyu-counter { color: var(--ink-soft); margin: 0; }
.round-btn--joyu { width: 40px; height: 40px; font-size: 18px; color: var(--joyu); border-color: rgba(119,0,0,0.33); }
.joyu-rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 30px) / 4); gap: 10px;
	overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
	scrollbar-color: var(--joyu) rgba(119,0,0,0.12);
}
.joyu-rail::-webkit-scrollbar-track { background: rgba(119,0,0,0.12); }
.joyu-rail::-webkit-scrollbar-thumb { background: var(--joyu); }
.joyu-thumb {
	scroll-snap-align: start; cursor: pointer; text-align: left;
	background: var(--paper); color: var(--ink); border: 1px solid rgba(28,23,20,0.12); border-radius: 4px;
	padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 8px; transition: background .2s, color .2s;
}
.joyu-thumb.is-on { background: var(--joyu); color: var(--paper); border-color: var(--joyu); }
.joyu-swatch { display: block; width: 100%; aspect-ratio: 1; border-radius: 3px; overflow: hidden; padding: 8%; }
.joyu-thumb-name { font-size: 13px; font-weight: 600; line-height: 1.2; }

/* Fermented — Juntea */
.juntea { background: var(--sage); color: var(--ink); position: relative; overflow: hidden; padding-bottom: 120px; }
.juntea-mark {
	position: absolute; right: -60px; top: -50px; width: 420px; height: 346px; opacity: .18; pointer-events: none;
	background: var(--oat); -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat;
}
.juntea-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 64px; position: relative; }
.juntea-head .label { color: var(--ink); }
.juntea-head h2 { font-size: clamp(48px, 7vw, 88px); line-height: .95; letter-spacing: -0.03em; }
.juntea-head h2 .hl { font-weight: 600; color: var(--red); }
.juntea-head p { font-size: 18px; line-height: 1.65; font-weight: 400; max-width: 480px; }
.bottles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; position: relative; }
.bottle-card { background: var(--oat); border-radius: 6px; padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.bottle-photo { height: 380px; border-radius: 4px; overflow: hidden; }
.bottle-text { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 8px 8px 8px 0; }
.bottle-top { display: flex; flex-direction: column; gap: 6px; }
.bottle-top .label { color: var(--red); margin: 0; }
.bottle-top h3 { font-weight: 600; font-size: clamp(28px, 2.6vw, 34px); line-height: 1.05; letter-spacing: -0.02em; color: var(--red); }
.bottle-top p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.bottle-foot { font-size: 14px; color: var(--ink-soft); border-top: 1px solid rgba(176,40,39,0.2); padding-top: 16px; }
.bar-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 80px 0 24px; position: relative; flex-wrap: wrap; }
.bar-head .label { color: var(--ink); margin-bottom: 10px; }
.bar-head h3 { font-weight: 300; font-size: clamp(36px, 4vw, 48px); letter-spacing: -0.02em; line-height: 1; }
.bar-controls { display: flex; gap: 10px; align-items: center; }
.bar-controls .btn { margin-right: 8px; background: var(--red); color: var(--oat); }
.bar-controls .btn:hover { background: var(--red-deep); }
.round-btn--jun { background: var(--oat); color: var(--red); border-color: rgba(28,23,20,0.35); font-size: 18px; }
.jun-rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; position: relative;
	scrollbar-color: var(--red) rgba(237,232,215,0.5);
}
.jun-rail::-webkit-scrollbar-track { background: rgba(237,232,215,0.5); }
.jun-rail::-webkit-scrollbar-thumb { background: var(--red); }
.jun-drink { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; }
.jun-drink-photo { height: 300px; border-radius: 4px; overflow: hidden; }
.jun-drink-name { font-size: 20px; font-weight: 600; line-height: 1.2; }
.jun-drink-mix { font-size: 14px; font-weight: 400; line-height: 1.45; }

/* ==========================================================================
   Story
   ========================================================================== */
.team { padding: 40px var(--pad-x) var(--pad-y); }
.team-inner { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.team-hero { position: relative; }
.team-photo { aspect-ratio: 21 / 9; border-radius: 4px; overflow: hidden; }
.team-card { position: absolute; left: 0; bottom: 0; background: var(--paper); padding: 24px 36px 0 0; border-top-right-radius: 4px; }
.team-card .label { margin-bottom: 12px; }
.team-card h2 { font-size: clamp(36px, 4.2vw, 64px); line-height: .95; letter-spacing: -0.03em; }
.team-text { max-width: 760px; font-size: clamp(20px, 2vw, 26px); line-height: 1.45; text-wrap: pretty; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 24px; }
.value { display: flex; flex-direction: column; gap: 20px; }
.value .label { margin: 0; }
.value-photo { height: 300px; border-radius: 4px; overflow: hidden; }
.value-title { font-weight: 400; font-size: 26px; letter-spacing: -0.01em; line-height: 1.2; }
.value p { font-size: 14px; line-height: 1.65; color: rgba(247,242,231,0.78); }

/* ==========================================================================
   Menu (PDF flip-book)
   ========================================================================== */
.menu-head { padding: 80px var(--pad-x) 48px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.menu-head .label { margin: 0; }
.menu-head h1 { font-size: clamp(48px, 5.6vw, 72px); letter-spacing: -0.025em; line-height: 1; }
.menu-hint { font-size: 14px; color: var(--ink-soft); }
.menu-body { padding: 0 var(--pad-x) var(--pad-y); }
.menu-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 80px 0; color: var(--ink-soft); font-size: 15px; }
.menu-spinner { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(176,40,39,.2); border-top-color: var(--red); animation: jySpin .8s linear infinite; }
@keyframes jySpin { to { transform: rotate(360deg); } }
.menu-error, .menu-noscript { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 48px 0; text-align: center; }
.menu-download { text-align: center; margin-top: 28px; font-size: 14px; }
.menu-download a { font-weight: 500; }

.book { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.book-wrap { width: 100%; }
.book-stage { position: relative; transform-origin: top left; transition: transform .5s ease; perspective: 2600px; margin: 0 auto; }
.leaf { position: absolute; top: 0; background: #fff; box-shadow: 0 24px 50px -24px rgba(28,23,20,0.45); overflow: hidden; }
.leaf img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.leaf::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.leaf--left::after { background: linear-gradient(to left, rgba(28,23,20,0.18), transparent 7%); }
.leaf--right::after { background: linear-gradient(to right, rgba(28,23,20,0.18), transparent 7%); }
.leaf.is-empty { background: none; box-shadow: none; }
.leaf.is-empty::after { display: none; }
.leaf-pending { width: 100%; height: 100%; background: var(--oat); }
.flipper { position: absolute; top: 0; transform-style: preserve-3d; transform-origin: left center; z-index: 5; }
.flipper.go { transition: transform .7s cubic-bezier(.45,.05,.3,1); }
.flipper .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flipper .face--back { transform: rotateY(180deg); }
.flipper .leaf { position: absolute; inset: 0; }
.book-controls { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.book-count { color: var(--ink-soft); min-width: 90px; text-align: center; margin: 0; }
.book-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 900px; }
.toc-chip { font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 999px; cursor: pointer; border: 1px solid rgba(28,23,20,0.2); background: transparent; color: var(--ink); transition: background .15s, color .15s, border-color .15s; }
.toc-chip:hover { border-color: var(--red); }
.toc-chip.is-on { background: var(--red); border-color: var(--red); color: var(--paper); }

.menu-stack { display: flex; flex-direction: column; gap: 16px; }
.menu-stack img, .menu-stack .leaf-pending { width: 100%; height: auto; box-shadow: 0 12px 30px -16px rgba(28,23,20,0.4); }

.zoom { position: fixed; inset: 0; z-index: 200; background: rgba(28,23,20,0.88); }
.zoom-scroll { position: absolute; inset: 0; overflow-y: auto; display: flex; justify-content: center; padding: 64px 24px; }
.zoom-scroll img { width: min(1100px, 100%); height: auto; align-self: flex-start; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6); }
.zoom-count { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); color: var(--paper); background: rgba(28,23,20,0.6); padding: 8px 14px; border-radius: 999px; margin: 0; pointer-events: none; }
.zoom-btn { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); font-size: 20px; cursor: pointer; top: 50%; transform: translateY(-50%); }
.zoom-btn--close { top: 36px; right: 24px; transform: none; }
.zoom-btn--prev { left: 24px; }
.zoom-btn--next { right: 24px; }
body.no-scroll { overflow: hidden; }

/* ==========================================================================
   Find us
   ========================================================================== */
.visit-head { padding: 80px var(--pad-x) 0; }
.visit-head .hl { color: var(--red); }
.visit { padding: 48px var(--pad-x) var(--pad-y); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: stretch; }
.visit-photo { position: relative; border-radius: 4px; overflow: hidden; min-height: 480px; background: var(--paper); }
.visit-photo > * { position: absolute; inset: 0; }
.visit-info { display: flex; flex-direction: column; justify-content: center; gap: 32px; }
.visit-info .label { margin-bottom: 12px; }
.visit-address { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; letter-spacing: -0.01em; }
.visit-hours { border-top: 1px solid rgba(28,23,20,0.15); padding-top: 24px; }
.visit-hours p { font-size: 17px; line-height: 1.7; font-weight: 400; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-head { padding: 80px var(--pad-x) 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.contact-head .hl { color: var(--red); }
.contact-main { padding: 0 var(--pad-x) var(--pad-y); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: stretch; }
.contact-left { display: flex; flex-direction: column; gap: 16px; }
.contact-map { position: relative; border-radius: 4px; overflow: hidden; flex: 1; min-height: 300px; background: var(--oat); }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.35) sepia(0.15); }
.contact-card { background: var(--oat); border-radius: 4px; padding: 26px 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.contact-card-item { display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.5; font-weight: 400; min-width: 0; overflow-wrap: anywhere; }
.contact-card-item .label { margin: 0; }
.contact-card-item a { color: var(--ink); text-decoration: none; }
.contact-card-item a:hover { color: var(--red); }
.contact-card-item.is-wide { grid-column: 1 / -1; }

.form-card { background: var(--cream); border-radius: 4px; padding: 44px 44px 40px; display: flex; flex-direction: column; gap: 24px; scroll-margin-top: calc(var(--header-h) + 16px); }
.form-card .label { margin-bottom: 10px; }
.form-card h2 { font-size: clamp(32px, 3.4vw, 40px); letter-spacing: -0.02em; line-height: 1.05; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink-soft); border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 8px; }
.field input, .field textarea {
	font-size: 16px; font-weight: 400; padding: 14px 16px; border: 1px solid rgba(28,23,20,0.18); border-radius: 4px;
	background: var(--paper); color: var(--ink); width: 100%; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(176,40,39,.12); }
.field .is-invalid, .field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.topic-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.topic-pill { position: relative; cursor: pointer; }
.topic-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.topic-pill span { display: inline-block; font-size: 14px; font-weight: 500; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(28,23,20,0.2); color: var(--ink); transition: background .15s, color .15s, border-color .15s; }
.topic-pill input:checked + span { background: var(--red); border-color: var(--red); color: var(--paper); }
.topic-pill input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.contact-form .btn { align-self: flex-start; border: 0; }
.contact-form .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.form-error { color: var(--red-deep); font-size: 14px; font-weight: 500; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.form-success-title { font-size: 28px; font-weight: 500; color: var(--red); line-height: 1.2; }
.form-success-text { font-size: 16px; color: var(--ink-soft); line-height: 1.6; overflow-wrap: anywhere; }
.form-success .btn { align-self: flex-start; margin-top: 8px; }

.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
.faq-head p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin-top: 20px; max-width: 360px; }
.faq > .jy-admin-edit { grid-column: 2; }
.faq-item { border-top: 1px solid rgba(28,23,20,0.15); }
.faq-item:last-child { border-bottom: 1px solid rgba(28,23,20,0.15); }
.faq-q { font-size: inherit; }
.faq-q button {
	width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0;
	background: none; border: 0; cursor: pointer; text-align: left; font-size: 20px; font-weight: 500; color: var(--ink); line-height: 1.35; transition: color .2s;
}
.faq-q button:hover, .faq-item.is-open .faq-q button { color: var(--red); }
.faq-plus { font-size: 24px; font-weight: 300; transition: transform .25s; flex: none; }
.faq-item.is-open .faq-plus { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0 0 24px; font-size: 16px; line-height: 1.65; color: var(--ink-soft); max-width: 620px; }

/* ==========================================================================
   Plain pages
   ========================================================================== */
.plain-page { max-width: 820px; margin: 0 auto; padding: 80px 22px var(--pad-y); }
.plain-page .entry { margin-top: 32px; font-size: 17px; line-height: 1.75; color: var(--ink-soft); }
.plain-page .entry p { margin: 0 0 1.2em; }
.plain-page .entry h2, .plain-page .entry h3 { color: var(--ink); margin: 1.6em 0 .6em; font-weight: 400; }
.entry-item { padding: 32px 0; border-bottom: 1px solid var(--line); }
.entry-item h2 a { color: var(--ink); text-decoration: none; }
.not-found .btn { margin-top: 28px; }
.not-found .lead-text { margin-top: 20px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
	:root { --pad-x: 40px; }
	.site-nav .nav-list { gap: 24px; }
	.home-story, .bread-intro-grid { gap: 56px; }
	.callout { width: 210px; }
	.callout--1 { left: -6%; } .callout--2 { right: -5%; } .callout--3 { left: -3%; }
	.bottles { grid-template-columns: 1fr; }
	.jun-rail { grid-auto-columns: calc((100% - 40px) / 3); }
	.joyu-viewer { gap: 40px; }
}

@media (max-width: 1024px) {
	:root { --pad-y: 88px; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
	.home-hero { padding: 96px 48px 72px; }
	.atlas { column-gap: 48px; grid-template-columns: minmax(240px, 340px) auto; }
	.atlas-section { --atlas: clamp(260px, 44vw, 480px); min-height: 0; padding-top: 88px; padding-bottom: 88px; }
}

@media (max-width: 960px) {
	/* Hamburger + drawer */
	:root { --header-h: 76px; }
	.site-header { padding: 16px var(--pad-x); }
	.brand-logo { height: 40px; }
	.header-cta { display: none; }
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(28,23,20,0.18);
		background: var(--paper); cursor: pointer; position: relative; z-index: 61;
	}
	.nav-toggle-bars { position: relative; width: 18px; height: 12px; }
	.nav-toggle-bars span { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
	.nav-toggle-bars span:nth-child(1) { top: 0; }
	.nav-toggle-bars span:nth-child(2) { top: 5.25px; }
	.nav-toggle-bars span:nth-child(3) { top: 10.5px; }
	.nav-open .nav-toggle-bars span:nth-child(1) { top: 5.25px; transform: rotate(45deg); }
	.nav-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle-bars span:nth-child(3) { top: 5.25px; transform: rotate(-45deg); }
	.site-nav {
		position: fixed; inset: 0; z-index: 60; background: var(--paper);
		display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 40px;
		padding: calc(var(--header-h) + 24px) var(--pad-x) 48px;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
		overflow-y: auto;
	}
	.admin-bar .site-nav { top: 46px; }
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .3s ease; }
	.site-nav .nav-list { flex-direction: column; gap: 6px; }
	.site-nav .nav-list a { font-size: clamp(30px, 8vw, 44px); font-weight: 300; letter-spacing: -0.02em; text-transform: none; color: var(--ink); padding: 4px 0; }
	.nav-drawer-cta { display: inline-flex; }
	.brand { position: relative; z-index: 61; }
	body.nav-open { overflow: hidden; }
}

@media (max-width: 860px) {
	:root { --pad-x: 22px; --pad-y: 72px; }

	.ohero { min-height: 72vh; }
	.ohero--top p { text-align: left; align-self: flex-start; }

	.home-hero { padding: 88px var(--pad-x) 48px; min-height: 82vh; }
	.home-hero-bottom { margin-top: 48px; }
	.home-hero-bottom p { font-size: 17px; }
	.home-hero-kicker { font-size: 11px; letter-spacing: .22em; }
	.home-story { grid-template-columns: 1fr; gap: 36px; }
	.home-story-photo { height: auto; aspect-ratio: 4 / 3; }
	.home-shop { padding: var(--pad-y) var(--pad-x); }
	.home-shop-frame { height: auto; aspect-ratio: 3 / 4; max-height: 640px; }
	.home-shop-text { left: 24px; right: 24px; bottom: 24px; }
	.home-shop-text p { font-size: 16px; }

	.bread-intro-grid { grid-template-columns: 1fr; gap: 40px; }
	.bread-anatomy { display: flex; flex-direction: column; gap: 12px; }
	.callout { position: static; width: auto; box-shadow: 0 10px 24px -14px rgba(0,0,0,.5); }

	.atlas-section { padding: var(--pad-y) var(--pad-x); --atlas: 100%; }
	.atlas { grid-template-columns: 1fr; grid-template-areas: "head" "fig" "list"; row-gap: 28px; }
	.atlas-head, .atlas-list { max-width: none; }
	.atlas-head p { margin-bottom: 0; }
	.atlas-figure { width: 100%; }
	.atlas-item { height: 48px; }

	.dishes { padding: var(--pad-y) 0 64px; }
	.dishes-head { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 28px; }
	.dishes-controls { align-items: flex-start; width: 100%; flex-direction: row; justify-content: space-between; flex-wrap: wrap; }
	.dish-card { flex-basis: min(78vw, 320px); }
	.dish-body h3 { font-size: 22px; }

	.joyu-head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
	.joyu-logo img { width: 120px; }
	.joyu-intro { border-left: 0; padding-left: 0; border-top: 1px solid rgba(119,0,0,0.2); padding-top: 28px; }
	.joyu-viewer { grid-template-columns: 1fr; gap: 28px; }
	.joyu-stage { min-height: 0; aspect-ratio: 1 / 1; }
	.joyu-shot { inset: 28px; }
	.joyu-info { gap: 22px; }

	.juntea-mark { width: 260px; height: 214px; right: -50px; top: -30px; }
	.juntea-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
	.juntea-head p { font-size: 17px; }
	.bar-head { margin-top: 56px; }
	.jun-rail { grid-auto-columns: calc((100% - 20px) / 2.2); }
	.jun-drink-photo { height: auto; aspect-ratio: 3 / 4; }

	.team { padding-top: 32px; }
	.team-inner { gap: 32px; }
	.team-hero { display: flex; flex-direction: column-reverse; }
	.team-card { position: static; padding: 0 0 24px; }
	.team-card h2 { font-size: clamp(36px, 8vw, 56px); }
	.team-photo { aspect-ratio: 4 / 3; }
	.values-grid { grid-template-columns: 1fr; gap: 48px; }
	.value-photo { height: auto; aspect-ratio: 4 / 3; }

	.menu-head { padding: 48px var(--pad-x) 8px; align-items: flex-start; text-align: left; }
	.menu-hint { display: none; }
	.menu-body { padding: 24px var(--pad-x) var(--pad-y); }

	.visit-head { padding-top: 56px; }
	.visit { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
	.visit-photo { min-height: 0; aspect-ratio: 4 / 3; }
	.visit-info { gap: 24px; }

	.contact-head { grid-template-columns: 1fr; gap: 20px; padding: 56px var(--pad-x) 36px; }
	.contact-main { grid-template-columns: 1fr; gap: 24px; }
	.contact-map { flex: none; height: 300px; }
	.form-card { padding: 30px 22px 28px; }
	.faq { grid-template-columns: 1fr; gap: 28px; }
	.faq > .jy-admin-edit { grid-column: 1; }
	.faq-q button { font-size: 18px; padding: 18px 0; }

	.site-footer { padding: 64px var(--pad-x) 28px; }
	.section-head { margin-bottom: 36px; }
}

@media (max-width: 560px) {
	.btn { font-size: 15px; padding: 13px 20px; }
	.home-hero-bottom { flex-direction: column; align-items: flex-start; }
	.home-shop-text { flex-direction: column; align-items: flex-start; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.footer-bottom { justify-content: flex-start; }
	.footer-hours li { max-width: none; }
	.bottle-card { grid-template-columns: 1fr; padding: 14px; gap: 16px; }
	.bottle-photo { height: auto; aspect-ratio: 4 / 5; }
	.bottle-text { padding: 0 6px 6px; }
	.jun-rail { grid-auto-columns: 74%; }
	.joyu-rail { grid-auto-columns: calc((100% - 20px) / 3); }
	.form-row { grid-template-columns: 1fr; }
	.contact-card { grid-template-columns: 1fr; padding: 22px; }
	.contact-form .btn { align-self: stretch; }
	.bar-controls { width: 100%; }
	.bar-controls .btn { margin-right: auto; }
	.pill { padding: 8px 12px; letter-spacing: .12em; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
	.site-header, .site-footer, .nav-toggle { display: none; }
}
