:root {
  --ink: #1E2A30;
  --ink-soft: #46545C;
  --ink-mute: #5A6870;
  --line: #DCE3E7;
  --bg: #FFFFFF;
  --bg-soft: #F4F6F7;
  --bg-tint: #E8EEF2;
  --accent: #2F5F80;
  --peach: #F6E3D6;
  --sand: #EFE6D6;
  --en: "Outfit", sans-serif;
  --ja: "Zen Kaku Gothic New", sans-serif;
  --wrap: 1200px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ja);
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
h1, h2, h3, p { margin: 0; }
a { color: var(--accent); }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 120px 0; }
.soft { background: var(--bg-soft); }
.en { font-family: var(--en); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E6EBEE;
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 4px 32px; padding-top: 10px; padding-bottom: 10px;
}
.logo {
  display: flex; align-items: center; gap: 12px; min-height: 44px;
  color: var(--ink); text-decoration: none;
  font-family: var(--en); font-weight: 600; font-size: 19px; letter-spacing: 0.3em;
}
.logo svg { flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: 0 24px; font-family: var(--en); font-size: 14px; letter-spacing: 0.12em; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; display: inline-block; }
.nav a:hover { color: var(--accent); }

/* ---------- hero ---------- */
.hero { padding: 88px 0 0; }
.hero-grid {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px 64px;
}
.hero h1 {
  font-family: var(--en); font-weight: 300;
  font-size: clamp(56px, 11vw, 144px); line-height: 0.96; letter-spacing: 0.05em;
}
.hero-copy { flex: 0 1 380px; display: flex; flex-direction: column; gap: 20px; padding-bottom: 8px; }
.hero-lead { font-size: 22px; font-weight: 700; line-height: 1.6; }
.hero-copy p:not(.hero-lead) { color: var(--ink-soft); }
.btn {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  background: var(--ink); color: #FFFFFF; text-decoration: none; font-size: 15px;
}
.btn:hover { background: var(--accent); color: #FFFFFF; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #FFFFFF; }

/* photo-free hero visual: roast scale band */
.roast {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 300px;
}
.roast div {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  padding: 24px;
}
.roast span { font-family: var(--en); font-size: 12px; letter-spacing: 0.18em; }
.roast strong { font-size: 15px; font-weight: 700; }
.r1 { background: #F7EBDD; color: var(--ink); }
.r2 { background: #EBD3B6; color: var(--ink); }
.r3 { background: #C99B6D; color: var(--ink); }
.r4 { background: #7A5236; color: #FFFFFF; }
.r5 { background: #3A281E; color: #FFFFFF; }
.r1 { position: relative; }
.r1::before {
  content: "HAKUTO ROAST"; position: absolute; top: 24px; left: 24px;
  font-family: var(--en); font-size: 12px; letter-spacing: 0.18em; color: var(--accent);
}
.roast-caption { margin-top: 12px; font-size: 14px; color: var(--ink-mute); }

.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #E6EBEE; border-top: none;
}
.facts div { padding: 20px 28px; }
.facts div + div { border-left: 1px solid #E6EBEE; }
.label { font-family: var(--en); font-size: 12px; letter-spacing: 0.2em; color: var(--ink-mute); }
.facts strong { display: block; margin-top: 2px; }

/* ---------- headings ---------- */
.eyebrow { font-family: var(--en); font-size: 13px; letter-spacing: 0.24em; color: var(--accent); }
.h2 { margin-top: 8px; font-size: 32px; font-weight: 700; line-height: 1.5; }
.head { margin-bottom: 48px; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; margin-bottom: 40px; }
.head-row p { color: var(--ink-soft); max-width: 32em; }
.note { margin-top: 20px; font-size: 14px; color: var(--ink-mute); }

/* ---------- about ---------- */
.about-top { display: flex; flex-wrap: wrap; gap: 32px 96px; }
.about-top > div:first-child { flex: 0 1 300px; }
.about-body { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; font-size: 17px; }
.points { margin-top: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.point { border-top: 2px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.point .num { font-family: var(--en); font-size: 28px; font-weight: 300; color: var(--accent); line-height: 1.4; }
.point h3 { font-size: 19px; }
.point p { color: var(--ink-soft); }

/* ---------- recommend ---------- */
.recs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.rec { background: var(--bg); display: flex; flex-direction: column; }
.rec-visual {
  min-height: 240px; padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.rec-visual.peach { background: var(--peach); }
.rec-visual.sand { background: var(--sand); }
.rec-visual .big {
  font-family: var(--en); font-weight: 300; font-size: clamp(40px, 5vw, 60px);
  line-height: 1.05; letter-spacing: 0.02em;
}
.rec-visual svg { align-self: flex-end; }
.rec-body { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.rec-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.rec-title h3 { font-size: 24px; }
.rec-title .price { font-family: var(--en); font-size: 22px; font-weight: 500; }
.rec-body > p { color: var(--ink-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { font-size: 13px; padding: 2px 12px; border: 1px solid #C9D3D9; border-radius: 999px; }

/* ---------- beans ---------- */
.beans { border-top: 2px solid var(--ink); }
.bean {
  display: grid; grid-template-columns: 2fr 1fr 2.4fr 1fr 1fr; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.bean.th { padding: 14px 0; font-family: var(--en); font-size: 12px; letter-spacing: 0.16em; color: var(--ink-mute); }
.bean .name { font-weight: 700; }
.bean .flavor { color: var(--ink-soft); }
.bean .num { text-align: right; font-family: var(--en); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 0; }
.sm { display: none; }

/* ---------- menu ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 56px; }
.menu-grid h3 { font-size: 15px; margin-bottom: 8px; }
.menu-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.menu-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.menu-list .p { font-family: var(--en); white-space: nowrap; }

/* ---------- info ---------- */
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 80px; }
.rows { margin-top: 28px; border-bottom: 1px solid var(--line); }
.row { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 16px 0; border-top: 1px solid var(--line); }
.row dt { width: 7em; color: var(--ink-soft); flex: none; }
.row dd { margin: 0; flex: 1 1 200px; }
.row .time { font-family: var(--en); font-size: 20px; }

/* ---------- access ---------- */
.access-grid { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.access-text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.access-text .addr { font-size: 17px; }
.access-text p:not(.addr) { color: var(--ink-soft); }
.route { flex: 1.4 1 440px; min-width: 0; background: var(--bg); border: 1px solid var(--line); padding: 32px; }
.route ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.route li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; position: relative; padding-bottom: 28px; }
.route li:last-child { padding-bottom: 0; }
.route li:not(:last-child)::after {
  content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; border-left: 2px dashed #B9C6CE;
}
.route .step {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--en); font-size: 15px; background: var(--bg);
}
.route li:last-child .step { background: var(--ink); color: #FFFFFF; }
.route strong { display: block; padding-top: 8px; }
.route span { color: var(--ink-soft); font-size: 15px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #C9D3D9; }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px;
  padding-top: 56px; padding-bottom: 56px;
}
.site-footer .name { font-family: var(--en); font-weight: 600; font-size: 22px; letter-spacing: 0.3em; color: #FFFFFF; display: block; }
.site-footer small { font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 24px; font-family: var(--en); font-size: 13px; letter-spacing: 0.12em; }
.foot-links a, .foot-links span { padding: 12px 0; display: inline-block; }
.foot-links a { color: #FFFFFF; }

/* ---------- tablet ---------- */
@media (max-width: 960px) {
  .section { padding: 96px 0; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .points { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .roast { grid-template-columns: repeat(5, minmax(0, 1fr)); min-height: 220px; }
  .roast div { padding: 16px; }
}

/* ---------- phone ---------- */
@media (max-width: 680px) {
  :root { --gutter: 20px; }
  body { font-size: 15px; }
  .section { padding: 72px 0; }
  .site-header .wrap { padding-top: 6px; padding-bottom: 2px; }
  .nav { gap: 0 16px; font-size: 13px; letter-spacing: 0.08em; overflow-x: auto; flex-wrap: nowrap; width: 100%; }
  .nav a { padding: 8px 0 10px; white-space: nowrap; }
  .hero { padding-top: 48px; }
  .hero-lead { font-size: 20px; }
  .roast { margin-top: 48px; grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .roast div { flex-direction: row; align-items: baseline; justify-content: space-between; padding: 14px 20px; }
  .r1 { padding-top: 48px !important; }
  .r1::before { top: 16px; left: 20px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div { padding: 16px 20px; }
  .facts div + div { border-left: none; border-top: 1px solid #E6EBEE; }
  .h2 { font-size: 26px; }
  .head { margin-bottom: 32px; }
  .about-body { font-size: 16px; }
  .points { margin-top: 48px; }
  .recs, .menu-grid, .info-grid { grid-template-columns: minmax(0, 1fr); }
  .info-grid { gap: 56px; }
  .rec-visual, .rec-body { padding: 24px; }
  .rec-visual { min-height: 180px; }
  .bean.th { display: none; }
  .bean { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 18px 0; }
  .bean .name { grid-column: 1; }
  .bean .roastlv { grid-column: 2; grid-row: 1; text-align: right; font-size: 13px; color: var(--ink-mute); }
  .bean .flavor { grid-column: 1 / -1; font-size: 14px; }
  .bean .num { text-align: left; grid-column: auto; }
  .bean .num.cup { grid-column: 1; }
  .bean .num.bag { grid-column: 2; text-align: right; }
  .sm { display: inline; font-family: var(--ja); font-size: 12px; color: var(--ink-mute); margin-right: 6px; }
  .route { padding: 24px 20px; }
  .row dt { width: 6em; }
}

/* =========================================================
   multi-page additions
   ========================================================= */
.nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.nav-ja { font-family: var(--ja); letter-spacing: 0.06em; }

.more {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 28px;
  color: var(--ink); text-decoration: none; font-weight: 700;
  border-bottom: 1px solid var(--ink);
}
.more:hover { color: var(--accent); border-color: var(--accent); }
.more svg { transition: transform .2s; }
.more:hover svg { transform: translateX(3px); }

/* page header for sub pages */
.page-head { padding: 64px 0 72px; border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; margin: 0 0 40px; padding: 0; font-size: 13px; color: var(--ink-mute); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: #B9C6CE; }
.crumbs a { color: var(--ink-mute); }
.page-title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
.page-title h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.35; }
.page-title .en-big { display: block; font-family: var(--en); font-weight: 300; font-size: clamp(14px, 1.6vw, 16px); letter-spacing: 0.3em; color: var(--accent); margin-bottom: 12px; }
.page-title p { flex: 0 1 440px; color: var(--ink-soft); }

/* in-page jump links */
.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 40px 0 0; padding: 0; }
.jump a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid #C9D3D9; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px;
}
.jump a:hover { border-color: var(--ink); }

/* text blocks */
.prose { max-width: 40em; display: flex; flex-direction: column; gap: 20px; font-size: 17px; }
.split { display: flex; flex-wrap: wrap; gap: 32px 96px; }
.split > .side { flex: 0 1 300px; }
.split > .main { flex: 1 1 520px; min-width: 0; }
.big-num { font-family: var(--en); font-weight: 300; font-size: clamp(56px, 8vw, 96px); line-height: 1; color: var(--accent); }

/* timeline (about) */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.timeline .t { font-family: var(--en); font-size: 20px; }
.timeline h3 { font-size: 18px; }
.timeline p { color: var(--ink-soft); margin-top: 4px; }

/* roast process steps (about) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li { background: var(--bg); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { counter-increment: s; content: "STEP " counter(s, decimal-leading-zero); font-family: var(--en); font-size: 12px; letter-spacing: 0.2em; color: var(--accent); }
.steps h3 { font-size: 18px; }
.steps p { color: var(--ink-soft); font-size: 15px; }

/* bean detail cards */
.bean-cards { display: flex; flex-direction: column; gap: 32px; }
.bean-card { display: grid; grid-template-columns: 280px minmax(0, 1fr); background: var(--bg); border: 1px solid var(--line); scroll-margin-top: 88px; }
.bean-swatch { padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 260px; }
.bean-swatch .origin { font-family: var(--en); font-weight: 300; font-size: 40px; line-height: 1.1; letter-spacing: 0.02em; }
.bean-swatch .lv { font-family: var(--en); font-size: 12px; letter-spacing: 0.2em; }
.meter { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.meter i { height: 6px; background: rgba(30, 42, 48, 0.15); }
.meter i.on { background: var(--ink); }
.bean-info { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.bean-info .rec-title h2 { font-size: 24px; }
.bean-info > p { color: var(--ink-soft); }
.spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.spec div { padding: 14px 16px 0 0; }
.spec dt { font-family: var(--en); font-size: 11px; letter-spacing: 0.18em; color: var(--ink-mute); }
.spec dd { margin: 0; font-size: 15px; }
.taste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; }
.taste div { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.bar { height: 6px; background: #E6EBEE; position: relative; }
.bar b { position: absolute; inset: 0 auto 0 0; background: var(--accent); }
.prices { display: flex; flex-wrap: wrap; gap: 4px 24px; font-family: var(--en); font-size: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.prices span span { font-family: var(--ja); font-size: 12px; color: var(--ink-mute); margin-right: 6px; }

/* guide cards (grind / brew) */
.guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.guide > div { border-top: 2px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.guide h3 { font-size: 18px; }
.guide p { color: var(--ink-soft); font-size: 15px; }
.recipe { display: flex; flex-wrap: wrap; gap: 4px 16px; font-family: var(--en); font-size: 14px; color: var(--ink); }

/* full menu with descriptions */
.menu-block + .menu-block { margin-top: 80px; }
.menu-block > h2 { font-size: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.menu-block > h2 .en { font-size: 13px; font-weight: 400; letter-spacing: 0.24em; color: var(--accent); }
.dish-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.dish { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.dish-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.dish-head h3 { font-size: 17px; }
.dish-head .p { font-family: var(--en); font-size: 17px; white-space: nowrap; }
.dish p { color: var(--ink-soft); font-size: 14px; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 0 8px; margin-left: 8px; border: 1px solid var(--accent); color: var(--accent); vertical-align: 2px; letter-spacing: 0.06em; }
.notice { margin-top: 64px; padding: 28px 32px; background: var(--bg-soft); display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-soft); }
.notice strong { color: var(--ink); font-size: 15px; }

/* weekly hours */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 28px; }
.week div { background: var(--bg); border: 1px solid var(--line); padding: 16px 8px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.week b { font-size: 15px; }
.week span { font-family: var(--en); font-size: 13px; line-height: 1.5; }
.week .off { background: var(--bg-soft); color: var(--ink-mute); }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 56px; padding: 16px 40px 16px 0; position: relative;
  font-weight: 700; display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; font-family: var(--en); font-weight: 300; font-size: 26px; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); max-width: 44em; }

/* other pages + back to top */
.other-pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.page-link {
  display: flex; flex-direction: column; gap: 4px; padding: 28px; min-height: 140px;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink); text-decoration: none; position: relative;
}
.page-link:hover { border-color: var(--ink); color: var(--ink); }
.page-link .label { color: var(--accent); }
.page-link strong { font-size: 19px; }
.page-link span:last-child { color: var(--ink-soft); font-size: 14px; }
.back-home { display: flex; justify-content: center; margin-top: 48px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 24px; list-style: none; margin: 0; padding: 0; font-size: 14px; width: 100%; }
.foot-nav a { color: #FFFFFF; text-decoration: none; display: inline-block; padding: 10px 0; }
.foot-nav a:hover { text-decoration: underline; }
.site-footer .foot-top { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }

/* top page: summary rows that link out */
.teaser-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.teaser {
  display: flex; flex-direction: column; gap: 8px; padding: 36px; min-height: 220px;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.teaser:hover { border-color: var(--ink); color: var(--ink); }
.teaser h3 { font-size: 22px; }
.teaser p { color: var(--ink-soft); }
.teaser .go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding-top: 16px; }

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bean-card { grid-template-columns: minmax(0, 1fr); }
  .bean-swatch { min-height: 0; flex-direction: row; align-items: flex-end; flex-wrap: wrap; }
  .bean-swatch .meter { flex: 1 1 100%; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide, .other-pages { grid-template-columns: minmax(0, 1fr); }
  .dish-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .nav.nav-ja {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px;
    overflow: visible; width: 100%; font-size: 14px; letter-spacing: 0.04em;
    border-top: 1px solid #E6EBEE; margin-top: 2px;
  }
  .nav.nav-ja a { padding: 10px 0; min-height: 44px; display: flex; align-items: center; white-space: normal; }
  .site-header { position: relative; }
  html { scroll-padding-top: 12px; }
  .bean-card { scroll-margin-top: 12px; }
  .page-head { padding: 32px 0 48px; }
  .crumbs { margin-bottom: 24px; }
  .prose { font-size: 16px; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 20px 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { padding: 20px; }
  .bean-swatch, .bean-info { padding: 24px 20px; }
  .bean-swatch .origin { font-size: 32px; }
  .taste { grid-template-columns: minmax(0, 1fr); }
  .week { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .week div { flex-direction: row; justify-content: space-between; text-align: left; padding: 12px 16px; border-top: none; }
  .week div:first-child { border-top: 1px solid var(--line); }
  .menu-block + .menu-block { margin-top: 56px; }
  .notice { padding: 20px; margin-top: 48px; }
  .teaser-grid { grid-template-columns: minmax(0, 1fr); }
  .teaser { padding: 24px; min-height: 0; }
  .page-link { padding: 20px; min-height: 0; }
}

/* =========================================================
   motion
   ========================================================= */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(30, 42, 48, 0.07); }
::view-transition-old(root) { animation: vt-out .25s ease both; }
::view-transition-new(root) { animation: vt-in .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes appear { to { opacity: 1; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* first view (no scroll needed): play on load */
.js .hero h1:not(.is-split) { opacity: 0; animation: appear .01s 1.2s forwards; }
.js .hero h1 .ch {
  display: inline-block; opacity: 0;
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards;
  animation-delay: calc(var(--i) * 45ms + 80ms);
}
.js .hero-copy { opacity: 0; animation: rise .9s cubic-bezier(.2, .7, .2, 1) .6s forwards; }
.js .roast div { animation: unveil 1s cubic-bezier(.7, 0, .2, 1) both; }
.js .roast .r1 { animation-delay: .8s; }
.js .roast .r2 { animation-delay: .9s; }
.js .roast .r3 { animation-delay: 1s; }
.js .roast .r4 { animation-delay: 1.1s; }
.js .roast .r5 { animation-delay: 1.2s; }
.js .facts > div { opacity: 0; animation: rise .8s ease forwards; }
.js .facts > div:nth-child(1) { animation-delay: 1.4s; }
.js .facts > div:nth-child(2) { animation-delay: 1.5s; }
.js .facts > div:nth-child(3) { animation-delay: 1.6s; }
.js .page-head .crumbs { opacity: 0; animation: rise .7s ease .05s forwards; }
.js .page-head .page-title { opacity: 0; animation: rise .9s cubic-bezier(.2, .7, .2, 1) .15s forwards; }
.js .page-head .jump { opacity: 0; animation: rise .9s cubic-bezier(.2, .7, .2, 1) .35s forwards; }

/* scroll reveal */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* bars and meters grow when their card appears */
.bean-card .bar b, .bean-card .meter i.on { transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1) .35s; }
.bean-card.is-in .bar b, .bean-card.is-in .meter i.on { transform: scaleX(1); }
.bean-card .taste div:nth-child(2) .bar b { transition-delay: .5s; }
.bean-card .taste div:nth-child(3) .bar b { transition-delay: .65s; }

/* ticker band (top page) */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; margin-top: 96px; }
.ticker-track { display: flex; width: max-content; animation: tick 45s linear infinite; }
.ticker-group { display: flex; gap: 48px; padding-right: 48px; font-family: var(--en); font-weight: 300; font-size: clamp(22px, 3.2vw, 36px); letter-spacing: 0.08em; white-space: nowrap; }
.ticker-group span:nth-child(even) { color: var(--accent); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* drip drop in the recommend card */
.drop { animation: drip 2.4s ease-in infinite; transform-box: fill-box; }
@keyframes drip {
  0%, 30% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  75% { opacity: 1; transform: translateY(9px); }
  85%, 100% { opacity: 0; transform: translateY(10px); }
}
.rec-visual svg { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.rec:hover .rec-visual.sand svg { transform: rotate(-18deg); }

/* hover lifts */
.rec, .page-link, .bean-card, .teaser { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .2s; }
.rec:hover, .page-link:hover, .teaser:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(30, 42, 48, 0.08); }
.btn svg, .page-link strong { transition: transform .25s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-outline:hover svg { transform: translateX(-4px); }
.page-link:hover strong { transform: translateX(4px); }
.jump a, .nav a, .more { transition: color .2s, border-color .2s, background-color .2s, box-shadow .2s; }
.jump a:hover { background: var(--ink); color: #FFFFFF; }
.menu-list li, .dish { transition: background-color .2s; }
.faq details[open] p { animation: rise .45s ease both; }

@media (max-width: 680px) {
  .ticker { margin-top: 64px; padding: 16px 0; }
  .site-header { view-transition-name: none; }
}

/* respect "reduce motion" */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero h1, .js .hero h1 .ch, .js .hero-copy, .js .facts > div,
  .js .page-head .crumbs, .js .page-head .page-title, .js .page-head .jump,
  .reveal { opacity: 1 !important; transform: none !important; }
  .js .roast div { clip-path: none !important; }
  .bean-card .bar b, .bean-card .meter i.on { transform: none !important; }
  .drop { display: none; }
}

/* =========================================================
   photos
   ========================================================= */
.hero-photo { margin: 72px 0 0; overflow: hidden; background: var(--bg-tint); aspect-ratio: 16 / 8; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero-photo + .roast { margin-top: 0; min-height: 132px; }
.hero-photo + .roast div { padding: 18px 24px; }
.hero-photo + .roast .r1::before { top: 18px; }

.js .hero-photo { animation: unveil 1.3s cubic-bezier(.7, 0, .2, 1) .45s both; }
.js .hero-photo img { animation: settle 2.2s cubic-bezier(.2, .7, .2, 1) .45s both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
.js .hero-photo + .roast .r1 { animation-delay: 1.2s; }
.js .hero-photo + .roast .r2 { animation-delay: 1.28s; }
.js .hero-photo + .roast .r3 { animation-delay: 1.36s; }
.js .hero-photo + .roast .r4 { animation-delay: 1.44s; }
.js .hero-photo + .roast .r5 { animation-delay: 1.52s; }
.js .hero-photo ~ .facts > div:nth-child(1) { animation-delay: 1.7s; }
.js .hero-photo ~ .facts > div:nth-child(2) { animation-delay: 1.8s; }
.js .hero-photo ~ .facts > div:nth-child(3) { animation-delay: 1.9s; }

@media (max-width: 960px) {
  .hero-photo { aspect-ratio: 3 / 2; }
  .hero-photo + .roast { min-height: 96px; }
}
@media (max-width: 680px) {
  .hero-photo { margin-top: 40px; aspect-ratio: 4 / 3; margin-inline: calc(var(--gutter) * -1); }
  .hero-photo img { object-position: 62% 50%; }
  .hero-photo + .roast { min-height: 0; }
  .hero-photo + .roast div { padding: 14px 20px; }
  .hero-photo + .roast .r1 { padding-top: 48px !important; }
  .hero-photo + .roast .r1::before { top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-photo { clip-path: none !important; }
  .js .hero-photo img { transform: none !important; }
}

/* recommend cards: photo or panel, same size */
.rec-visual { aspect-ratio: 4 / 3; min-height: 0; }
.rec-photo { padding: 0; overflow: hidden; }
.rec-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.rec:hover .rec-photo img { transform: scale(1.04); }
@media (max-width: 680px) {
  .rec-visual { min-height: 0; }
  .rec-photo { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rec:hover .rec-photo img { transform: none; }
}
