/* =========================================================
   Bu Rucci Jepang — Rough design v0.1  "Kitchen Journal"
   ========================================================= */

:root {
  /* base */
  --washi: #f4efe3;
  --washi-2: #ebe3d1;
  --paper: #fbf8f1;
  --ink: #1d1a16;
  --ink-2: #4a433a;
  --muted: #7a7064;
  --line: rgba(29, 26, 22, 0.14);
  --gold: #a9823a;
  --gold-soft: #d8bf87;
  --shu: #b8321f; /* 朱 */

  /* brands */
  --sanju-bg: #12100e;
  --sanju-bg-2: #1d1a17;
  --sanju-red: #d4252a;
  --chako-bg: #f2e9d7;
  --chako-accent: #a87b2d;
  --nor-bg: #eceee2;
  --nor-green: #1f4a35;
  --nor-orange: #e2852a;

  /* type */
  --f-display: "Fraunces", "Shippori Mincho B1", Georgia, serif;
  --f-body: "Inter", "Zen Kaku Gothic New", system-ui, sans-serif;
  --f-jp-display: "Shippori Mincho B1", serif;
  --f-brush: "Yuji Syuku", "Shippori Mincho B1", serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

html[lang="ja"] {
  --f-display: "Shippori Mincho B1", "Fraunces", serif;
  --f-body: "Zen Kaku Gothic New", "Inter", sans-serif;
}

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

/* --header-h is kept in sync with the fixed header by main.js */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h, 76px) + 16px); }

body {
  margin: 0;
  background: var(--washi);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ja"] body { line-height: 1.95; letter-spacing: 0.02em; }

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .28 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- shared type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-2);
}
html[lang="ja"] .eyebrow { letter-spacing: 0.12em; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }

.label {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: 15px; color: var(--gold);
}
html[lang="ja"] .label { font-style: normal; font-size: 14px; letter-spacing: 0.14em; }

.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 14px 0 0;
  font-variation-settings: "SOFT" 60, "opsz" 96;
}
html[lang="ja"] .h2 { font-size: clamp(28px, 3.8vw, 48px); line-height: 1.45; letter-spacing: 0.04em; font-weight: 500; }
.h2 em, .hero__title em { font-style: italic; color: var(--gold); }
html[lang="ja"] .h2 em, html[lang="ja"] .hero__title em { font-style: normal; }

.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); max-width: 46ch; }
html[lang="ja"] .lead { max-width: 34em; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--washi);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em; text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(29, 26, 22, 0.55); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--paper); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

.btn-platform {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 18px 0 12px;
  border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 14px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.btn-platform:hover { transform: translateY(-2px); border-color: currentColor; }
.btn-platform .dot { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 800; }
.btn-platform--gofood .dot { background: #e0262c; }
.btn-platform--grab .dot { background: #00b14f; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 0 14px;
}
.site-header.is-scrolled {
  background: rgba(244, 239, 227, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
  padding: calc(6px + env(safe-area-inset-top, 0px)) 0 6px;
}
.site-header .container { display: flex; align-items: center; gap: 28px; }
.brandmark { display: flex; align-items: center; text-decoration: none; flex: none; }
.brandmark img { height: 64px; width: auto; mix-blend-mode: multiply; transition: height 0.4s; }
.is-scrolled .brandmark img { height: 46px; }

.nav { display: flex; gap: clamp(14px, 1.8vw, 26px); margin-left: auto; }
.nav a { white-space: nowrap; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(251, 248, 241, 0.6); }
.lang button { border: 0; background: transparent; cursor: pointer; font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; color: var(--muted); letter-spacing: 0.04em; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--washi); }

.header-cta { flex: none; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 980px) {
  .header-cta { display: none; }
  .brandmark img { height: 46px; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 120px 0 76px; display: flex; align-items: center; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero__status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.hero__status i { width: 8px; height: 8px; border-radius: 50%; background: #3a9a5b; box-shadow: 0 0 0 4px rgba(58, 154, 91, 0.16); }
.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 26px 0 26px;
  font-variation-settings: "SOFT" 80, "opsz" 144;
}
html[lang="ja"] .hero__title { font-size: clamp(38px, 5.4vw, 76px); line-height: 1.32; letter-spacing: 0.02em; font-weight: 500; }
html[lang="id"] .hero__title { font-size: clamp(40px, 5.8vw, 88px); }
.hero__sub { font-size: clamp(16px, 1.35vw, 18px); color: var(--ink-2); max-width: 44ch; margin: 0 0 34px; }
html[lang="ja"] .hero__sub { max-width: 30em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin-top: 18px; font-size: 13px; color: var(--muted); }

.hero__visual { position: relative; aspect-ratio: 1 / 1; width: min(100%, 680px); justify-self: end; }
.hero__enso { position: absolute; inset: -6%; width: 112%; height: 112%; color: var(--gold); opacity: 0.85; }
.hero__enso path { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 2.6s 0.3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__bowl {
  position: absolute; inset: 11%;
  filter: drop-shadow(0 40px 40px rgba(60, 40, 15, 0.28)) drop-shadow(0 8px 10px rgba(60, 40, 15, 0.18));
  animation: float 9s ease-in-out infinite;
}
.hero__bowl img { width: 100%; height: 100%; object-fit: contain; }
@keyframes float { 50% { transform: translateY(-10px) rotate(1.5deg); } }

.steam { position: absolute; left: 30%; top: -4%; width: 40%; height: 34%; pointer-events: none; color: var(--ink-2); opacity: 0.35; }
.steam path { animation: steam 5.5s ease-in-out infinite; transform-origin: bottom; }
.steam path:nth-child(2) { animation-delay: 1.6s; }
.steam path:nth-child(3) { animation-delay: 3.1s; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(18px) scaleY(0.8); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-26px) scaleY(1.1); }
}

.hero__vertical {
  position: absolute; right: -4%; top: 0;
  writing-mode: vertical-rl; font-family: var(--f-brush); font-size: clamp(18px, 1.9vw, 26px);
  letter-spacing: 0.3em; color: var(--ink); opacity: 0.85;
}
.hero__vertical .seal { display: inline-block; margin-top: 14px; width: 1.3em; height: 1.3em; background: var(--shu); color: #fff; font-size: 0.6em; line-height: 1.3em; text-align: center; border-radius: 3px; letter-spacing: 0; writing-mode: horizontal-tb; }

.note {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  font-size: 13px; line-height: 1.35; white-space: nowrap;
}
.note .txt { background: var(--paper); padding: 9px 14px 10px; border-radius: 12px; box-shadow: 0 10px 24px -14px rgba(60, 40, 15, 0.45), 0 0 0 1px var(--line); }
.note b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 17px; font-style: italic; color: var(--ink); }
html[lang="ja"] .note b { font-style: normal; font-size: 15px; }
.note span { color: var(--muted); font-size: 12px; }
.note::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--ink); background: var(--washi); flex: none; order: var(--dot-order, 0); }
.note .rule { width: clamp(30px, 5vw, 70px); height: 1px; background: var(--ink); opacity: 0.5; order: var(--rule-order, 1); }
.note--1 { left: -6%; top: 22%; --dot-order: 2; --rule-order: 1; flex-direction: row; }
.note--1 .txt { order: 0; text-align: right; }
.note--2 { right: -4%; top: 70%; }
.note--3 { left: -2%; bottom: 8%; --dot-order: 2; --rule-order: 1; }
.note--3 .txt { order: 0; text-align: right; }

.hero__brands { display: flex; align-items: center; gap: 18px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 520px; }
.hero__brands small { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.hero__brands a { display: block; height: 44px; transition: transform 0.3s var(--ease); }
.hero__brands a:hover { transform: translateY(-3px); }
.hero__brands img { height: 100%; width: auto; mix-blend-mode: multiply; }
.hero__brands .sanju-chip { width: 44px; border-radius: 50%; overflow: hidden; background: #000; }
.hero__brands .sanju-chip img { mix-blend-mode: normal; width: 100%; height: 100%; object-fit: cover; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--ink), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 900px) {
  .hero { padding-top: 96px; padding-bottom: 48px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; width: min(92%, 460px); justify-self: center; margin-top: 8px; }
  .note { display: none; }
  .hero__vertical { right: -6%; }
  .scroll-cue { display: none; }
}

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--washi); overflow: hidden; padding: 18px 0; position: relative; z-index: 2; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--f-display); font-style: italic; font-size: clamp(18px, 2vw, 24px); white-space: nowrap; }
html[lang="ja"] .marquee__track span { font-style: normal; font-size: clamp(15px, 1.6vw, 19px); letter-spacing: 0.1em; }
.marquee__track span::after { content: "✦"; font-style: normal; color: var(--gold-soft); font-size: 0.7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(88px, 12vw, 168px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* story */
/* the vertical tagline gets its own column so it can never sit on top of the text */
.story__grid { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 0.9fr) auto; gap: 40px clamp(32px, 4.4vw, 64px); align-items: start; }
.story__num { font-family: var(--f-display); font-size: 15px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--ink); }
.story__statement {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(30px, 4vw, 54px); line-height: 1.18; letter-spacing: -0.015em; margin: 0;
  font-variation-settings: "SOFT" 60, "opsz" 96;
}
html[lang="ja"] .story__statement { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.6; letter-spacing: 0.04em; font-weight: 500; }
.story__statement em { font-style: italic; color: var(--gold); }
html[lang="ja"] .story__statement em { font-style: normal; }
.story__body p { margin: 0 0 1.2em; color: var(--ink-2); }
.story__text { grid-column: 2; }
.story__body { margin-top: 36px; }
.story__chef { grid-column: 3; margin: 0; width: 100%; max-width: 380px; justify-self: center; align-self: center; }
.story__chef img { display: block; width: 100%; height: auto; }
.story__photos { grid-column: 2 / 4; display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 20px; margin-top: 40px; align-items: end; }
.story__photos figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.story__photos figure:nth-child(1) { aspect-ratio: 4 / 3; }
.story__photos figure:nth-child(2) { aspect-ratio: 3 / 4; transform: translateY(40px); }
.story__photos figure:nth-child(3) { aspect-ratio: 1 / 1; }
.story__photos img { width: 100%; height: 100%; object-fit: cover; }
.story__vertical { grid-column: 4; grid-row: 1 / span 2; writing-mode: vertical-rl; font-family: var(--f-brush); font-size: clamp(17px, 1.6vw, 22px); line-height: 1; letter-spacing: 0.4em; color: var(--ink-2); opacity: 0.55; white-space: nowrap; }
@media (max-width: 960px) {
  .story__grid { grid-template-columns: 1fr; }
  /* phone: heading → chef → body text */
  .story__text { display: contents; }
  .story__statement { order: 1; }
  .story__chef { grid-column: 1; order: 2; max-width: 300px; }
  .story__body { order: 3; margin-top: 0; }
  .story__photos { order: 4; }
  .story__photos { grid-column: 1; grid-template-columns: 1fr 1fr; }
  .story__photos figure:nth-child(3) { display: none; }
  .story__vertical { display: none; }
}

/* craft */
.craft { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.craft__list { display: grid; gap: clamp(64px, 9vw, 120px); }
.pillar { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pillar:nth-child(even) .pillar__media { order: 2; }
.pillar__num { font-family: var(--f-display); font-size: clamp(64px, 8vw, 120px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); font-weight: 300; }
.pillar__en { font-family: var(--f-display); font-style: italic; font-size: 18px; color: var(--gold); margin: 8px 0 0; }
.pillar__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.2; margin: 10px 0 20px; letter-spacing: -0.01em; }
html[lang="ja"] .pillar__title { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.6; font-weight: 500; letter-spacing: 0.04em; }
.pillar__body { color: var(--ink-2); max-width: 46ch; margin: 0; }
html[lang="ja"] .pillar__body { max-width: 30em; }
.pillar__media { position: relative; }
.pillar__kanji { position: absolute; top: -28px; right: -10px; font-family: var(--f-brush); font-size: clamp(64px, 8vw, 110px); line-height: 1; color: var(--ink); opacity: 0.9; z-index: 2; pointer-events: none; }
@media (max-width: 860px) {
  .pillar { grid-template-columns: 1fr; }
  .pillar:nth-child(even) .pillar__media { order: 0; }
}

/* photo-to-shoot placeholder */
.shot {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(169, 130, 58, 0.09) 0 1px, transparent 1px 14px),
    var(--washi-2);
  border: 1px dashed rgba(169, 130, 58, 0.6);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
}
.shot__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.16; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
.shot__tag { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--washi); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.shot__tag svg { width: 14px; height: 14px; }
.shot__title { position: relative; font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); line-height: 1.25; margin: 0 0 6px; }
.shot__spec { position: relative; font-size: 13px; color: var(--ink-2); margin: 0; }

/* kitchens intro */
.kitchens-intro { padding-bottom: clamp(48px, 6vw, 80px); }
.kitchen-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kitchen-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px;
  border-radius: var(--radius); text-decoration: none; overflow: hidden; min-height: 460px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.kitchen-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(29, 26, 22, 0.55); }
.kitchen-card__logo { height: 92px; display: flex; align-items: center; }
.kitchen-card__logo img { max-height: 100%; width: auto; }
.kitchen-card__genre { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.kitchen-card__copy { font-family: var(--f-display); font-size: 21px; line-height: 1.35; margin: 0; max-width: 18ch; position: relative; z-index: 2; }
html[lang="ja"] .kitchen-card__copy { font-size: 17px; line-height: 1.7; max-width: 15em; }
.kitchen-card__img { position: absolute; right: -14%; bottom: -16%; width: 66%; transition: transform 0.6s var(--ease); filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.3)); }
.kitchen-card:hover .kitchen-card__img { transform: rotate(-8deg) scale(1.04); }
.kitchen-card__go { margin-top: auto; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; position: relative; z-index: 2; }
.kitchen-card--sanju { background: var(--sanju-bg); color: #f4efe3; }
.kitchen-card--sanju .kitchen-card__logo img { mix-blend-mode: screen; height: 92px; }
.kitchen-card--sanju .kitchen-card__genre { color: var(--sanju-red); }
.kitchen-card--chako { background: var(--chako-bg); }
.kitchen-card--chako .kitchen-card__logo img { mix-blend-mode: multiply; height: 70px; }
.kitchen-card--chako .kitchen-card__genre { color: var(--chako-accent); }
.kitchen-card--nor { background: var(--nor-bg); color: var(--nor-green); }
.kitchen-card--nor .kitchen-card__logo img { mix-blend-mode: multiply; height: 92px; }
.kitchen-card--nor .kitchen-card__genre { color: var(--nor-orange); }
@media (max-width: 900px) {
  .kitchen-index { grid-template-columns: 1fr; }
  .kitchen-card { min-height: 300px; }
  .kitchen-card__img { width: 44%; right: -6%; bottom: -18%; }
}

/* brand sections */
.brand { padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.brand__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.brand__logo { height: clamp(96px, 11vw, 140px); width: auto; margin-bottom: 28px; }
.brand__genre { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.brand__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -0.02em; margin: 12px 0 22px; font-variation-settings: "SOFT" 70, "opsz" 120; }
html[lang="ja"] .brand__title { font-size: clamp(26px, 3vw, 40px); line-height: 1.5; letter-spacing: 0.04em; font-weight: 500; }
.brand__body { max-width: 44ch; margin: 0 0 28px; opacity: 0.85; }
html[lang="ja"] .brand__body { max-width: 30em; }
.brand__sig { list-style: none; padding: 0; margin: 0 0 32px; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 18%, transparent); }
.brand__sig li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 13px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.brand__sig .n { font-family: var(--f-display); font-style: italic; font-size: 13px; opacity: 0.55; width: 22px; flex: none; }
.brand__sig .name { font-family: var(--f-display); font-size: 19px; }
.brand__sig .jp { font-family: var(--f-jp-display); font-size: 13px; opacity: 0.6; }
.brand__sig .tag { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.brand__ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.brand__ctas .label-sm { width: 100%; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; font-weight: 600; margin-bottom: 2px; }

.brand__visual { position: relative; aspect-ratio: 1 / 1; }
.brand__visual .hero-img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, 0.35)); z-index: 1; }
.brand__visual .ring { position: absolute; inset: 0; width: 100%; height: 100%; }

.brand__strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(56px, 7vw, 96px); }
.dish { margin: 0; }
.dish__img { aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.dish:hover .dish__img img { transform: scale(1.06); }
.dish figcaption { padding-top: 12px; }
.dish figcaption b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 17px; }
.dish figcaption span { font-size: 13px; opacity: 0.65; }
@media (max-width: 900px) {
  .brand__grid, .brand--chako .brand__grid { grid-template-columns: 1fr; }
  .brand__visual { width: min(100%, 460px); justify-self: center; order: -1; }
  .brand__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Sanju */
.brand--sanju { background: radial-gradient(120% 80% at 80% 30%, #2a211c 0%, var(--sanju-bg) 60%); color: #f4efe3; }
.brand--sanju .brand__logo { mix-blend-mode: screen; }
.brand--sanju .brand__genre { color: var(--sanju-red); }
.brand--sanju .brand__title em { color: var(--sanju-red); font-style: italic; }
html[lang="ja"] .brand--sanju .brand__title em { font-style: normal; }
.brand--sanju .tag { background: rgba(212, 37, 42, 0.16); color: #ff7a6b; }
.brand--sanju .btn-platform { background: rgba(255, 255, 255, 0.06); color: #f4efe3; border-color: rgba(255, 255, 255, 0.18); }
.brand--sanju .ring circle { stroke: var(--sanju-red); }
.brand--sanju .sun { position: absolute; width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--sanju-red); top: 4%; right: 8%; z-index: 0; box-shadow: 0 0 80px rgba(212, 37, 42, 0.45); }
.brand--sanju .spice { display: inline-flex; align-items: center; gap: 10px; margin: -8px 0 28px; font-size: 13px; opacity: 0.85; }
.brand--sanju .spice i { display: inline-flex; gap: 3px; }
.brand--sanju .spice i b { width: 14px; height: 6px; border-radius: 3px; background: var(--sanju-red); }
.brand--sanju .spice i b:nth-child(n + 4) { opacity: 0.35; }

/* Chako */
.brand--chako { background: var(--chako-bg); }
.brand--chako .brand__logo { mix-blend-mode: multiply; height: clamp(76px, 8vw, 104px); }
.brand--chako .brand__genre { color: var(--chako-accent); }
.brand--chako .brand__title em { color: var(--chako-accent); font-style: italic; }
html[lang="ja"] .brand--chako .brand__title em { font-style: normal; }
.brand--chako .tag { background: rgba(168, 123, 45, 0.14); color: var(--chako-accent); }
.brand--chako .brand__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.brand--chako .brand__visual { order: -1; }
.brand--chako .udon-v { position: absolute; top: 4%; right: 2%; z-index: 2; writing-mode: vertical-rl; font-family: var(--f-brush); font-size: clamp(22px, 2.4vw, 34px); letter-spacing: 0.3em; color: var(--chako-accent); }
.brand--chako .wave { position: absolute; left: -6%; bottom: 8%; width: 60%; color: var(--chako-accent); opacity: 0.5; }

/* Nor */
.brand--nor { background: var(--nor-bg); color: var(--nor-green); }
.brand--nor .brand__logo { mix-blend-mode: multiply; }
.brand--nor .brand__genre { color: var(--nor-orange); }
.brand--nor .brand__title em { color: var(--nor-orange); font-style: italic; }
html[lang="ja"] .brand--nor .brand__title em { font-style: normal; }
.brand--nor .tag { background: rgba(226, 133, 42, 0.16); color: #b9621a; }
.brand--nor .tag--veg { background: rgba(31, 74, 53, 0.12); color: var(--nor-green); }
.brand--nor .btn-platform { color: var(--nor-green); }
.nor-stack { position: absolute; inset: 0; }
.nor-stack img { position: absolute; width: 56%; filter: drop-shadow(0 28px 30px rgba(31, 74, 53, 0.32)); transition: transform 0.8s var(--ease); }
.nor-stack img:nth-child(1) { left: 0; top: 4%; transform: rotate(-16deg); }
.nor-stack img:nth-child(2) { right: -2%; top: 30%; transform: rotate(12deg); z-index: 2; }
.nor-stack img:nth-child(3) { left: 10%; bottom: -2%; transform: rotate(-4deg); z-index: 3; }
.brand--nor .brand__visual:hover .nor-stack img:nth-child(1) { transform: rotate(-20deg) translate(-10px, -6px); }
.brand--nor .brand__visual:hover .nor-stack img:nth-child(2) { transform: rotate(16deg) translate(10px, 0); }
.nor-blob { position: absolute; inset: 10%; border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%; background: var(--nor-orange); opacity: 0.9; }

/* menu */
.menu { background: var(--washi); }
.moods { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.mood {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 11px 18px; font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.mood:hover { border-color: var(--ink); }
.mood[aria-pressed="true"] { background: var(--ink); color: var(--washi); border-color: var(--ink); }
.mood .count { font-size: 11px; opacity: 0.6; }
.menu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.menu-item { display: flex; flex-direction: column; animation: pop 0.5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } }
.menu-item__img { position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: var(--washi-2); }
.menu-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.menu-item:hover .menu-item__img img { transform: scale(1.06); }
.menu-item__brand { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; backdrop-filter: blur(6px); }
.b-sanju { background: rgba(18, 16, 14, 0.82); color: #f4efe3; }
.b-chako { background: rgba(242, 233, 215, 0.92); color: var(--chako-accent); }
.b-nor { background: rgba(31, 74, 53, 0.88); color: #f4efe3; }
.b-side { background: rgba(251, 248, 241, 0.9); color: var(--ink-2); }
.menu-item__name { font-family: var(--f-display); font-weight: 500; font-size: 18px; line-height: 1.3; margin: 14px 0 2px; }
.menu-item__jp { font-family: var(--f-jp-display); font-size: 12px; color: var(--muted); }
.menu-item__desc { font-size: 13.5px; color: var(--ink-2); margin: 8px 0 0; line-height: 1.6; }
.menu-item__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.menu-item__tags span { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--washi-2); color: var(--ink-2); }
.menu-item__tags .t-spicy { background: rgba(184, 50, 31, 0.12); color: var(--shu); }
.menu-item__tags .t-veg { background: rgba(31, 74, 53, 0.12); color: var(--nor-green); }
.menu-item__tags .t-allergen { background: rgba(169, 130, 58, 0.16); color: #7a5a1f; }
.menu-more-wrap { display: flex; justify-content: center; margin-top: 40px; }
.menu-more-wrap .btn[hidden] { display: none; }
.menu-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.menu-foot p { margin: 0; font-size: 13px; color: var(--muted); max-width: 60ch; }
@media (max-width: 1080px) { .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .menu-item__desc { display: none; }
  .moods { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
  .mood { flex: none; }
}

/* promise */
.promise { background: var(--ink); color: var(--washi); padding: clamp(72px, 9vw, 120px) 0; }
.promise .h2 em { color: var(--gold-soft); }
.promise__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid rgba(244, 239, 227, 0.2); }
.promise__item { padding: 32px 28px 0 0; }
.promise__item + .promise__item { padding-left: 28px; border-left: 1px solid rgba(244, 239, 227, 0.2); }
.promise__icon { width: 44px; height: 44px; color: var(--gold-soft); margin-bottom: 20px; }
.promise__item h3 { font-family: var(--f-display); font-weight: 400; font-size: 22px; margin: 0 0 8px; line-height: 1.3; }
html[lang="ja"] .promise__item h3 { font-size: 18px; font-weight: 500; }
.promise__item p { margin: 0; font-size: 14px; color: rgba(244, 239, 227, 0.7); }
@media (max-width: 900px) {
  .promise__grid { grid-template-columns: 1fr 1fr; }
  .promise__item { padding: 28px 16px 28px 0 !important; border-left: 0 !important; border-bottom: 1px solid rgba(244, 239, 227, 0.2); }
  .promise__item:nth-child(even) { padding-left: 16px !important; border-left: 1px solid rgba(244, 239, 227, 0.2) !important; }
}

/* order */
.order__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3vw, 40px); }
.panel__head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.panel__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--washi); flex: none; }
.panel__icon svg { width: 24px; height: 24px; }
.panel h3 { font-family: var(--f-display); font-weight: 500; font-size: 26px; margin: 0; line-height: 1.2; }
.panel__head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.order-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.order-row__logo { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.order-row__logo img { width: 100%; height: 100%; object-fit: contain; }
.order-row__logo.l-sanju { background: #000; }
.order-row__logo.l-chako { background: #f4efea; }
.order-row__logo.l-nor { background: #f8f1e8; }
.order-row b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 19px; }
.order-row span { font-size: 13px; color: var(--muted); }
.order-row__btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.qr-row { display: flex; gap: 16px; margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line); align-items: center; }
.qr-row img { width: 76px; height: 76px; border-radius: 8px; background: #fff; padding: 4px; border: 1px solid var(--line); }
.qr-row p { font-size: 13px; color: var(--muted); margin: 0 0 0 auto; max-width: 18ch; }
.pickup dl { margin: 0; display: grid; gap: 18px; }
.pickup dt { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.pickup dd { margin: 4px 0 0; font-size: 16px; }
.tbd { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; padding: 2px 7px; border-radius: 4px; background: rgba(169, 130, 58, 0.16); color: var(--gold); margin-left: 6px; vertical-align: middle; }
.map { margin-top: 24px; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--washi); text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); transition: border-color 0.25s, transform 0.25s var(--ease); }
.map:hover { border-color: var(--ink); transform: translateY(-2px); }
.map svg { width: 28px; height: 28px; color: var(--shu); flex: none; }
@media (max-width: 900px) {
  .order__grid { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: 52px minmax(0, 1fr); }
  .order-row__logo { width: 52px; height: 52px; }
  .order-row__btns { grid-column: 1 / -1; justify-content: flex-start; }
}

/* footer */
.footer { padding: 80px 0 120px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.6fr)); gap: 40px; }
.footer__slogan { font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.2; margin: 18px 0 0; max-width: 16ch; }
html[lang="ja"] .footer__slogan { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.6; }
.footer__logo { height: 90px; width: auto; mix-blend-mode: multiply; }
.footer h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 6px 0 14px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { text-decoration: none; font-size: 15px; }
.footer ul a:hover { text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__top > :first-child { grid-column: 1 / -1; } }

/* sticky mobile order bar */
.mobile-bar { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: none; }
.mobile-bar .btn { width: 100%; min-height: 56px; box-shadow: 0 16px 30px -12px rgba(29, 26, 22, 0.6); }
@media (max-width: 980px) { .mobile-bar { display: block; transform: translateY(140%); transition: transform 0.45s var(--ease); } .mobile-bar.is-visible { transform: none; } }

/* order sheet (dialog) */
.sheet { border: 0; padding: 0; background: transparent; max-width: 560px; width: calc(100% - 24px); color: var(--ink); }
.sheet::backdrop { background: rgba(29, 26, 22, 0.5); backdrop-filter: blur(4px); }
.sheet__inner { background: var(--washi); border-radius: 26px; padding: 28px; position: relative; }
.sheet h2 { font-family: var(--f-display); font-weight: 400; font-size: 30px; margin: 4px 0 6px; line-height: 1.2; }
html[lang="ja"] .sheet h2 { font-size: 24px; font-weight: 500; }
.sheet__lead { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.sheet__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; display: grid; place-items: center; }
.sheet__close svg { width: 18px; height: 18px; }
.sheet .order-row { grid-template-columns: 52px minmax(0, 1fr); }
.sheet .order-row__logo { width: 52px; height: 52px; }
.sheet .order-row__btns { grid-column: 1 / -1; justify-content: flex-start; }
.sheet__foot { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.sheet__foot a { font-weight: 600; }
.sheet[open] .sheet__inner { animation: sheetIn 0.45s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 90px; translate: -50% 20px; z-index: 200; background: var(--ink); color: var(--washi); padding: 12px 18px; border-radius: 12px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity 0.3s, translate 0.3s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; translate: -50% 0; }


/* reveal */
.reveal { transform: translateY(24px); transition: transform 1s var(--ease); }
.reveal.is-in { transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { transform: none; }
  .hero__enso path { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

/* review mode: ?static disables motion */
.is-static .reveal { transform: none; transition: none; }
.is-static .hero__enso path { animation: none; stroke-dashoffset: 0; }
.is-static .site-header { position: absolute; }
.is-static .mobile-bar { display: none; }

/* Japanese line breaking */
html[lang="ja"] :is(h1, h2, h3, p, dd, figcaption, .lead) { word-break: auto-phrase; line-break: strict; }
.nw { white-space: nowrap; }
.ph { display: inline-block; }
html[lang="ja"] .hero__title { font-size: clamp(30px, 4.6vw, 68px); }
html[lang="ja"] .footer__slogan { font-size: clamp(20px, 2.4vw, 30px); max-width: none; }
@media (max-width: 900px) {
  .brand--chako .brand__grid { grid-template-columns: 1fr; }
}
.site-header.is-measuring, .site-header.is-measuring * { transition: none !important; }

/* In-page links: land with the section's heading just below the header, skipping most of the section's top padding */
.section[id] { scroll-margin-top: calc(40px - clamp(88px, 12vw, 168px)); }
.brand[id] { scroll-margin-top: calc(40px - clamp(80px, 11vw, 150px)); }

/* Section numbers count only the sections that are shown (a hidden section is skipped) */
main { counter-reset: sec; }
.sec-num::before { counter-increment: sec; content: counter(sec, decimal-leading-zero) " — "; }
[hidden] { display: none !important; }

/* cookie consent banner (shown to visitors in Europe) */
.consent {
  position: fixed; z-index: 70;
  left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 520px; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  padding: 16px 18px; border-radius: 16px;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 20px 40px -20px rgba(29, 26, 22, 0.45);
}
.consent p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); flex: 1 1 240px; min-width: 0; }
.consent__btns { display: flex; gap: 8px; }
@media (max-width: 980px) { .consent { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
.link-btn { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
