/* ============================================================
   cafe'u - daytime cafe of 焼肉ゆう (same premises, dual identity).
   Day cream ground with ONE copper-flame accent; a single dark
   "night band" section for the yakiniku identity. The band is a
   deliberate one-time theme shift (documented composition device),
   not section-flipping. Distinct from 16 (copper on ink NAVY) by
   ground; from 03/04 creams by accent hue.
   --accent (#96491c) passes as TEXT on the cream ground (5.86) but
   FAILS on the night band (2.58, measured), so the band uses
   --accent-night (#e0925c, 7.2 on #241d18) for accent text there.
   Display: Yuji Mai (ships 400 ONLY, verified via the Fonts API
   2026-09-13; display rules pin 400) - brush elegance bridging
   cafe and yakiniku. Sibling of 05's Yuji Syuku but a visibly
   different cut on an unrelated palette. Body: M PLUS 1p, reused
   (07/14) under catalogue exhaustion; gestalt shares nothing.
   Radius 10px. Wrap 1060px. VARIANCE 6 / MOTION 3 / DENSITY 3.
   Contrast: text/bg 14.33, muted/bg 6.68, accent-as-text 5.86,
   ink-on-accent 5.87, night text 13.85, accent-night-on-band 7.2.
   ============================================================ */
:root {
  --bg: #f8f4ec; --bg-2: #efe8da; --bg-3: #e6dcc9;
  --line: rgba(43, 33, 27, 0.16);
  --text: #2b211b; --muted: #60544a;
  --accent: #96491c; --accent-hover: #a85723; --accent-ink: #fdf3ea;
  --accent-night: #e0925c;
  --night: #241d18; --night-text: #f2e9e0; --night-line: rgba(242,233,224,0.16);
  --warn: #8c3418;
  --nav-bg: rgba(248, 244, 236, 0.9);
  --font-display: "Yuji Mai", "Hiragino Mincho ProN", serif;
  --font-body: "M PLUS 1p", "Hiragino Kaku Gothic ProN", sans-serif;
  --nav-h: 64px; --r: 10px; --wrap: 1060px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--text); font-family: var(--font-body);
  font-size: 1rem; line-height: 1.85; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.6rem); }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--nav-h);
  display: flex; align-items: center; background: var(--nav-bg);
  backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line); }
.nav .wrap { width: 100%; display: flex; align-items: center; gap: 0.9rem; }
.brand { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem;
  letter-spacing: 0.06em; white-space: nowrap; }
.lang { display: flex; gap: 0.2rem; margin-left: auto; font-size: 0.78rem; font-weight: 700;
  flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.lang::-webkit-scrollbar { display: none; }
.lang a { padding: 0.3rem 0.5rem; min-height: 44px; display: inline-flex; align-items: center;
  color: var(--muted); border: 1px solid transparent; white-space: nowrap; flex: 0 0 auto; }
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { color: var(--text); border-color: var(--line); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0.7rem 1.4rem; font-family: var(--font-body); font-size: 0.95rem;
  font-weight: 700; white-space: nowrap; cursor: pointer; border: 1px solid transparent;
  border-radius: var(--r); transition: transform 0.15s, background 0.25s, border-color 0.25s; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }
.nav .btn { min-height: 40px; padding: 0.45rem 0.9rem; font-size: 0.82rem; }

.hero { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 2.2rem) 0 2.4rem; }
.eyebrow { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.2em; color: var(--accent-text, var(--accent));
  margin-bottom: 1.1rem; }
.hero h1 { font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.9rem, 6.4vw, 3.1rem); line-height: 1.32; letter-spacing: 0.02em;
  margin-bottom: 1.2rem; }
.hero-sub { color: var(--muted); max-width: 36em; margin-bottom: 1.9rem; }
.hero-ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-media { margin-top: 2rem; }

section { padding: clamp(3.6rem, 8vw, 6rem) 0; }
.sec-head { margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.sec-head h2 { font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.35; }
.sec-head p { color: var(--muted); max-width: 40em; margin-top: 0.8rem; }
.note { margin-top: 1rem; color: var(--muted); font-size: 0.85rem; }

.menu-list { list-style: none; }
.menu-row { display: flex; align-items: baseline; gap: 0.8rem; padding: 0.9rem 0;
  border-bottom: 1px solid var(--line); }
.menu-row .name { font-weight: 700; }
.menu-row .kana { color: var(--muted); font-size: 0.8rem; }
.menu-row .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.menu-row .price { font-weight: 700; white-space: nowrap; }
.price-hold { color: var(--muted); font-weight: 700; }

.info-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.hours dt { font-weight: 700; margin-top: 1.1rem; color: var(--accent-text, var(--accent));
  font-size: 0.82rem; letter-spacing: 0.08em; }
.hours dt:first-child { margin-top: 0; }
.hours dd { font-size: 1.08rem; font-weight: 500; }
.info-list { list-style: none; }
.info-list li { padding: 0.95rem 0; display: flex; flex-direction: column; gap: 0.1rem;
  border-bottom: 1px solid var(--line); }
.info-list .label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); }
.info-list a.link { color: var(--accent-text, var(--accent)); font-weight: 700; min-height: 44px;
  display: inline-flex; align-items: center; }
.info-list a.link:hover { text-decoration: underline; }
.steps { list-style: none; counter-reset: st; }
.steps li { counter-increment: st; display: flex; gap: 0.9rem; padding: 0.8rem 0;
  border-bottom: 1px solid var(--line); align-items: baseline; }
.steps li::before { content: counter(st); font-family: var(--font-display); font-size: 1.15rem;
  color: var(--accent-text, var(--accent)); min-width: 1.4rem; }

.reserve { background: var(--bg-2); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); }
.form { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-top: 1.6rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.84rem; font-weight: 700; }
.field input, .field select { background: var(--bg); border: 1px solid var(--line);
  color: var(--text); font-family: var(--font-body); font-size: 1rem; padding: 0.8rem 0.95rem;
  border-radius: var(--r); appearance: none; -webkit-appearance: none; min-height: 48px; }
.field input:focus, .field select:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.field input::placeholder { color: var(--muted); }
.form-error { display: none; color: var(--warn); font-size: 0.9rem; font-weight: 500; }
.form-error.show { display: block; }
.form-ok { display: none; color: var(--text); background: var(--bg-3); border: 1px solid var(--line);
  padding: 0.95rem 1.1rem; font-size: 0.93rem; border-radius: var(--r); }
.form-ok.show { display: block; }
.form .btn { justify-self: start; }

footer { padding: 2.6rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted);
  font-size: 0.86rem; }
.foot-brand { font-family: var(--font-display); color: var(--text); margin-bottom: 0.3rem; }
.demo-note { margin-top: 1.3rem; font-size: 0.77rem; }

.rv { opacity: 0; transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

@media (min-width: 720px) {
  .info-grid { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
  .form { grid-template-columns: 1fr 1fr; }
  .field.full { grid-column: 1 / -1; }
  .form-error, .form-ok { grid-column: 1 / -1; }
  .form .btn { grid-column: 1 / -1; }
  .hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.4rem); }
}

/* Chrome: two-row centred nav on desktop; reserve split; footer 2col. */
@media (min-width: 721px) {
  :root { --nav-h: 96px; }
  .nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "lang brand cta"; align-items: center; }
  .nav .brand { grid-area: brand; justify-self: center; font-size: 1.45rem; }
  .nav .lang { grid-area: lang; justify-self: start; margin-left: 0; }
  .nav .btn { grid-area: cta; justify-self: end; }
}
/* The night band: the yakiniku identity, one deliberate shift. */
.night { background: var(--night); color: var(--night-text); }
.night .sec-head h2, .night .foot-brand { color: var(--night-text); }
.night .sec-head p, .night .note { color: rgba(242, 233, 224, 0.75); }
.night .eyebrow { color: var(--accent-night); }
.night .menu-row { border-color: var(--night-line); }
.night .info-list li { border-color: var(--night-line); }
