/* Kimura-ya Dubai — site styles. Dark izakaya-at-night look: sumi black, washi text, lantern gold. */
:root {
  --ink: #131110; --ink-2: #1c1916; --ink-3: #28231e; --line: #3b342c;
  --washi: #efe6d6; --washi-2: #bdb19d; --washi-3: #8d8272;
  --gold: #c9a46a; --gold-2: #e2c48f; --on-gold: #1b150e; --shu: #c2463a;
  --ok: #94c58c; --warn: #e2a96c;
  --display: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  --body: "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Sans", "Segoe UI", system-ui, sans-serif;
  --r: 6px; --head: 64px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ink); scroll-padding-top: calc(var(--head) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--washi); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
h1, h2, h3, h4, h5 { text-wrap: balance; margin: 0; line-height: 1.2; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 8px 14px; border-radius: var(--r); }
.skip:focus { left: 8px; }
.in { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.i { width: 20px; height: 20px; flex: none; }
.kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.jp { font-family: var(--display); }
.muted { color: var(--washi-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 4px; padding: 12px 18px; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; border: 1px solid transparent; line-height: 1.2; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn.gold { background: var(--gold); color: var(--on-gold); }
.btn.gold:hover { background: var(--gold-2); }
.btn.ghost { border-color: rgba(239,230,214,.5); color: var(--washi); background: rgba(19,17,16,.35); }
.btn.ghost:hover { border-color: var(--washi); }
.btn.sm { padding: 8px 14px; font-size: 14px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.linkbtn { background: none; border: 0; color: var(--washi-2); text-decoration: underline; cursor: pointer; padding: 8px 4px; font-size: 14px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--ink); }
.head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--ink) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(239,230,214,.08); }
.head .in { display: flex; align-items: center; gap: 12px; height: var(--head); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--washi); flex: none; }
.logo img { width: 42px; height: 42px; border-radius: 50%; }
.logo b { font-weight: 700; letter-spacing: .14em; font-size: 14px; display: block; line-height: 1.15; }
.logo small { font-family: var(--display); color: var(--gold); font-size: 12px; letter-spacing: .1em; }
.nav { display: none; gap: 2px; margin-left: auto; }
.nav a { color: var(--washi-2); padding: 8px 11px; font-size: 14px; border-radius: var(--r); text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--washi); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.head .book-top { display: none; margin-left: 8px; }
.burger { margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--r); width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer; color: var(--washi); }
.drawer { border-top: 1px solid var(--line); background: var(--ink); max-height: calc(100dvh - var(--head)); overflow-y: auto; }
.drawer a { display: flex; justify-content: space-between; align-items: baseline; padding: 14px max(20px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--line); color: var(--washi); text-decoration: none; font-size: 17px; }
.drawer a span { font-family: var(--display); color: var(--gold); font-size: 13px; }
@media (min-width: 960px) {
  .nav { display: flex; }
  .head .book-top { display: inline-flex; }
  .burger, .drawer { display: none !important; }
}

/* Hero (home) */
.hero { position: relative; min-height: min(640px, 86svh); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19,17,16,.2) 0%, rgba(19,17,16,.4) 40%, rgba(19,17,16,.94) 100%); }
/* Falling seasons: one layer over the whole screen on every page, faint, never blocks taps */
.fx-global { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 15; pointer-events: none; opacity: var(--fx-opacity, .45); }
.fx-toggle { position: fixed; z-index: 26; left: max(12px, env(safe-area-inset-left, 0px)); bottom: calc(88px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(239,230,214,.2); background: rgba(19,17,16,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #e6dccb; cursor: pointer; font-size: 13px; opacity: .85; }
.fx-toggle:hover { opacity: 1; }
.fx-toggle .i { width: 13px; height: 13px; }
.fx-toggle .jp { color: var(--gold-2); font-weight: 700; }
.fx-toggle[aria-pressed="true"] .jp { color: var(--washi-3); }
@media (min-width: 960px) { .fx-toggle { bottom: 20px; left: 20px; } }
.noren { position: absolute; top: 22px; right: max(20px, env(safe-area-inset-right, 0px)); z-index: 1; writing-mode: vertical-rl; font-family: var(--display); font-weight: 800; font-size: 46px; letter-spacing: .12em; color: var(--gold-2); opacity: .88; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.hero-copy { position: relative; z-index: 1; padding-block: 0 36px; display: grid; gap: 14px; }
.hero-copy > * { max-width: 620px; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 6.4vw, 56px); line-height: 1.12; }
.hero .sub { color: #e6dccb; font-size: 17px; max-width: 48ch; }
.rating { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #e6dccb; }
.rating .i { width: 16px; height: 16px; color: var(--gold-2); fill: var(--gold-2); }
.season { position: absolute; top: 16px; left: max(20px, env(safe-area-inset-left, 0px)); z-index: 2; display: flex; align-items: center; gap: 6px; max-width: calc(100% - 110px); }
.season-pill { font-size: 12px; line-height: 1.4; background: rgba(19,17,16,.62); backdrop-filter: blur(6px); border: 1px solid rgba(239,230,214,.18); border-radius: 999px; padding: 5px 11px; color: #e6dccb; }
.season-pill b { font-family: var(--display); color: var(--gold-2); }
.fx-btn { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(239,230,214,.18); background: rgba(19,17,16,.62); color: #e6dccb; display: grid; place-items: center; cursor: pointer; padding: 0; }
.fx-btn .i { width: 14px; height: 14px; }
@media (min-width: 960px) {
  .hero-copy { padding-block: 0 64px; }
  .noren { font-size: 66px; top: 44px; }
  .season { top: auto; left: auto; bottom: 28px; right: max(20px, env(safe-area-inset-right, 0px)); }
}

/* Page header (inner pages) */
.page-head { position: relative; overflow: hidden; isolation: isolate; padding-block: 56px 36px; border-bottom: 1px solid var(--line); }
.page-head.photo { min-height: 340px; display: flex; align-items: flex-end; }
.page-head.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-head.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19,17,16,.25), rgba(19,17,16,.92)); }
.page-head .in { display: grid; gap: 12px; }
.page-head h1 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 5.6vw, 52px); }
.page-head p.lede { color: #e2d8c6; max-width: 60ch; font-size: 17px; }
.crumbs { font-size: 13px; color: var(--washi-3); }
.crumbs a { color: var(--washi-2); text-decoration: none; }
.page-head.photo .crumbs, .page-head.photo .crumbs a { color: #e6dccb; text-shadow: 0 1px 8px rgba(0,0,0,.7); }

/* Sections */
.sec { padding-block: 56px; }
.sec.alt { background: var(--ink-2); border-block: 1px solid var(--line); }
.sec-head { display: grid; gap: 8px; margin-bottom: 24px; }
.sec-head h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4.4vw, 42px); }
.sec-head p { color: var(--washi-2); max-width: 60ch; }
.prose { max-width: 70ch; display: grid; gap: 16px; color: #e2d8c6; }
.prose h2, .prose h3, .prose h4 { font-family: var(--display); font-weight: 700; color: var(--washi); margin-top: 12px; }
.prose h2 { font-size: 28px; } .prose h3 { font-size: 22px; } .prose h4 { font-size: 19px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.prose img { border-radius: var(--r); margin-block: 8px; }
.prose a { color: var(--gold-2); }
@media (min-width: 960px) { .sec { padding-block: 80px; } }

/* Branch picker */
.tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-bottom: 14px; }
.tab { background: var(--ink); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 6px; cursor: pointer; display: grid; gap: 2px; text-align: center; color: var(--washi-2); }
.tab b { font-size: 14px; font-weight: 700; color: var(--washi); }
.tab span { font-family: var(--display); font-size: 12px; color: var(--washi-3); }
.tab[aria-selected="true"] { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, var(--ink)); }
.tab[aria-selected="true"] span { color: var(--gold-2); }
.branch-card { display: grid; gap: 16px; background: var(--ink); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.branch-card h3 { font-family: var(--display); font-weight: 700; font-size: 21px; }
.status { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-top: 6px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent); flex: none; }
.status.soon .dot { background: var(--warn); box-shadow: 0 0 0 4px color-mix(in srgb, var(--warn) 22%, transparent); }
.status.closed .dot { background: var(--washi-3); box-shadow: none; }
.meta { font-size: 14px; color: var(--washi-2); margin-top: 4px; font-variant-numeric: tabular-nums; }
.actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.act { display: grid; justify-items: center; gap: 6px; padding: 12px 4px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ink-2); color: var(--washi); font-size: 13px; cursor: pointer; text-decoration: none; text-align: center; }
.act:hover { border-color: var(--gold); }
.act .i { color: var(--gold-2); }
.note { font-size: 13px; color: var(--washi-3); margin-top: 10px; }
@media (min-width: 600px) { .tabs { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) { .branch-card { grid-template-columns: 1fr minmax(400px, auto); align-items: center; } }

/* Cards: experiences, branches, posts */
.grid { display: grid; gap: 14px; }
.grid.c2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; min-width: 0; color: var(--washi); text-decoration: none; }
a.card:hover { border-color: var(--gold); }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 14px 16px 16px; display: grid; gap: 6px; align-content: start; }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 20px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.card h3 span { font-size: 13px; color: var(--gold); font-weight: 500; }
.card p { color: var(--washi-2); font-size: 15px; }
.card .date { font-size: 13px; color: var(--washi-3); }
.card details { margin-top: 4px; border-top: 1px solid var(--line); padding-top: 10px; }
.card summary { cursor: pointer; color: var(--gold-2); font-size: 14px; font-weight: 700; list-style: none; display: flex; align-items: center; gap: 6px; }
.card summary::-webkit-details-marker { display: none; }
.card summary::after { content: "+"; font-weight: 400; font-size: 18px; line-height: 1; }
.card details[open] summary::after { content: "−"; }
.card ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; color: var(--washi-2); }

/* Menu */
.menu-tools { position: relative; z-index: 10; background: color-mix(in srgb, var(--ink) 94%, transparent); backdrop-filter: blur(8px); padding-block: 12px; border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .menu-tools { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--head)); } }
.chips-label { flex: none; align-self: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--washi-3); margin-right: 2px; }
#menu-sec-nav .chip { border-color: transparent; background: none; padding-inline: 10px; }
#menu-sec-nav .chip[aria-current="true"] { background: none; color: var(--gold-2); border-color: var(--gold); font-weight: 700; }
.menu-tools .in { display: grid; gap: 10px; }
.search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--ink-2); border-radius: var(--r); padding: 0 12px; }
.search .i { color: var(--washi-3); }
.search input { flex: 1; min-width: 0; background: none; border: 0; padding: 11px 0; outline: none; font-size: 16px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: var(--ink); color: var(--washi-2); border-radius: 999px; padding: 7px 14px; cursor: pointer; font-size: 14px; white-space: nowrap; text-decoration: none; }
.chip[aria-pressed="true"], .chip[aria-current="true"], .chip[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 700; }
.chip:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.mylist-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--washi-2); }
.menu-sec { padding-block: 36px 8px; }
.menu-sec-head { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 18px; align-items: end; }
.menu-sec-head h2 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 4vw, 36px); display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.menu-sec-head h2 span { font-size: 16px; color: var(--gold); }
.menu-sec-head p { color: var(--washi-2); }
.dishes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dish { position: relative; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.dish img { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; background: #0c0b0a; }
.dish .tile { aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 10px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--gold-2); background-color: var(--ink-3);
  background-image: radial-gradient(circle at 50% 100%, transparent 36%, rgba(201,164,106,.13) 37%, rgba(201,164,106,.13) 43%, transparent 44%, transparent 55%, rgba(201,164,106,.13) 56%, rgba(201,164,106,.13) 62%, transparent 63%); background-size: 30px 15px; }
.dish-body { padding: 10px 12px 12px; display: grid; gap: 3px; }
.dish b { font-size: 15px; line-height: 1.3; }
.dish .d { font-size: 13px; color: var(--washi-2); line-height: 1.45; }
.dish .cat { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--washi-3); }
.dish .price { font-size: 15px; font-weight: 700; color: var(--gold-2); font-variant-numeric: tabular-nums; margin-top: 2px; }
.dish .jp-name { font-family: var(--display); font-size: 12px; color: var(--gold); }
.dish .tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.dish .tag { font-style: normal; font-size: 11px; line-height: 1.6; padding: 0 7px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); color: var(--gold-2); }
.dish .avail { font-size: 12px; color: var(--washi-3); }
#menu-branch-note { margin: 16px 0 0; }
.heart { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(19,17,16,.72); color: var(--washi); display: grid; place-items: center; cursor: pointer; }
.heart[aria-pressed="true"] { color: var(--shu); }
.heart[aria-pressed="true"] .i { fill: currentColor; }
.empty { grid-column: 1 / -1; color: var(--washi-2); padding: 20px 0; }
.mylist { background: var(--ink-2); border: 1px solid var(--gold); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 8px; }
.mylist ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.mylist li { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.more-secs { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 600px) { .dishes { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .dishes { grid-template-columns: repeat(4, 1fr); } .menu-sec-head { grid-template-columns: 1fr auto; } }

/* Quiz */
.quiz-wrap { display: grid; gap: 24px; }
.quiz { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 14px; }
.quiz .step { font-size: 13px; color: var(--washi-3); }
.quiz h3 { font-family: var(--display); font-weight: 700; font-size: 22px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.result { display: grid; gap: 14px; }
.result img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
.result h4 { font-family: var(--display); font-weight: 800; font-size: 24px; }
.result p { color: var(--washi-2); }
@media (min-width: 960px) { .quiz-wrap { grid-template-columns: 1fr 1.2fr; align-items: start; gap: 40px; } }

/* Reviews */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.review { margin: 0; scroll-snap-align: start; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 10px; align-content: start; }
.stars { color: var(--gold-2); letter-spacing: .1em; font-size: 14px; }
.review q { font-family: var(--display); font-size: 18px; line-height: 1.45; }
.review small { color: var(--washi-3); font-size: 13px; }
.review-cta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; color: var(--washi-2); }
@media (min-width: 760px) { .reviews { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } }

/* Feature band */
.band { display: grid; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.band img { width: 100%; height: 100%; min-height: 240px; max-height: 380px; object-fit: cover; }
.band-body { padding: 24px 20px; display: grid; gap: 12px; align-content: center; }
.band-body h2 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.6vw, 36px); }
.band-body p { color: var(--washi-2); }
@media (min-width: 860px) { .band { grid-template-columns: 1.1fr 1fr; } .band img { max-height: none; } .band-body { padding: 40px; } .band.flip img { order: 2; } }

/* Steps, facts, gallery */
.steps { counter-reset: s; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 6px; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--gold); line-height: 1; }
.steps b { font-size: 16px; }
.steps p { color: var(--washi-2); font-size: 15px; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); margin: 0; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--washi-3); font-size: 14px; }
.facts dd { margin: 0; }
.facts a { color: var(--washi); }
.photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
@media (min-width: 760px) { .photos { grid-template-columns: repeat(4, 1fr); } }
.two { display: grid; gap: 28px; }
@media (min-width: 900px) { .two { grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; } }

/* Booking form (inline and in the sheet) */
.book-form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > label, .field > .lbl { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--washi-3); }
.field input[type="text"], .field input[type="tel"], .field textarea, .field select { width: 100%; background: var(--ink); border: 1px solid var(--line); border-radius: var(--r); padding: 11px 12px; font-size: 16px; }
.field textarea { resize: vertical; min-height: 70px; }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--ink); cursor: pointer; font-size: 20px; line-height: 1; }
.stepper output { font-family: var(--display); font-weight: 800; font-size: 26px; min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
.wa-preview { background: #1d2a22; border: 1px solid #2e4134; border-radius: 12px 12px 12px 2px; padding: 12px 14px; font-size: 15px; line-height: 1.5; color: #e4efe6; overflow-wrap: anywhere; }
.wa-preview small { display: block; color: #9bb5a2; font-size: 12px; margin-bottom: 4px; }
.form-foot { display: grid; gap: 8px; }
.form-foot p { font-size: 13px; color: var(--washi-3); }
.panel { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }

.sheet { position: fixed; inset: 0; z-index: 40; display: flex; align-items: flex-end; justify-content: center; }
.sheet-back { position: absolute; inset: 0; background: rgba(0,0,0,.62); border: 0; cursor: pointer; }
.sheet-panel { position: relative; width: 100%; max-height: 92dvh; overflow-y: auto; background: var(--ink-2); border-top: 1px solid var(--gold); border-radius: 16px 16px 0 0; padding: 18px max(18px, env(safe-area-inset-left, 0px)) calc(22px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 16px; overscroll-behavior: contain; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-head h2 { font-family: var(--display); font-weight: 800; font-size: 26px; }
.x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; display: grid; place-items: center; cursor: pointer; }
@media (min-width: 700px) { .sheet { align-items: center; } .sheet-panel { width: 560px; border-radius: 12px; border: 1px solid var(--gold); max-height: 88dvh; padding-bottom: 22px; } }

/* Phone action bar */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 6px; padding: 8px max(10px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--ink) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.actionbar a, .actionbar button { display: grid; justify-items: center; gap: 3px; border: 0; background: none; color: var(--washi); font-size: 12px; padding: 6px 2px; cursor: pointer; border-radius: var(--r); text-decoration: none; }
.actionbar .i { color: var(--gold-2); }
.actionbar .book { background: var(--gold); color: var(--on-gold); font-weight: 700; }
.actionbar .book .i { color: var(--on-gold); }
body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 960px) { .actionbar { display: none; } body { padding-bottom: 0; } }

/* Offers */
.offers { display: grid; gap: 12px; }
.offer { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; background: var(--ink-2); border: 1px solid var(--gold); border-radius: var(--r); padding: 12px; }
.offer img { width: 96px; height: 96px; object-fit: cover; border-radius: 4px; }
.offer h3 { font-family: var(--display); font-size: 19px; }
.offer p { color: var(--washi-2); font-size: 14px; }
.offer small { color: var(--gold); font-size: 12px; }

/* Footer */
.foot { border-top: 1px solid var(--line); background: #0f0d0c; padding-block: 44px 28px; }
.foot-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.foot h3 { font-size: 14px; margin: 0 0 6px; letter-spacing: .04em; }
.foot h3 span { font-family: var(--display); color: var(--gold); font-weight: 500; margin-left: 6px; }
.foot p, .foot li { font-size: 14px; color: var(--washi-2); line-height: 1.7; font-variant-numeric: tabular-nums; }
.foot a { color: var(--washi-2); text-decoration: none; }
.foot a:hover { color: var(--washi); text-decoration: underline; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot-base { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--washi-3); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 50; width: min(92%, 440px); background: var(--washi); color: var(--ink); border-radius: 10px; padding: 12px 14px; font-size: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.5); }
@media (min-width: 960px) { .toast { bottom: 28px; } }

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