/* =========================================================================
   UKI GREEN VEGAN RAMEN - architectural ledger
   Canvas: concrete graphite | Ink: warm bone | Structure: stone-grey
   Accent (single): moss-matcha green | Display: Zilla Slab | Body: Hanken Grotesk
   ========================================================================= */
:root {
  --bg: #1c1d1b;
  --bg-2: #232420;
  --timber: #2a241b;
  --ink: #ECEAE3;
  --muted: #9aa39a;
  --moss: #7c9a3e;
  --moss-dim: #5f7730;
  --line: rgba(236, 234, 227, 0.14);
  --line-2: rgba(236, 234, 227, 0.07);
  --kuro: #2b2b2b; --aka: #b23a2e; --midori: #5e8c4f; --daidai: #d98a2b; --pea: #3b56a6;
  --rail: 64px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition: none !important; } }
body {
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  background: var(--bg); color: var(--ink);
  line-height: 1.6; font-size: 1.0rem; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--moss); }
h1, h2, h3, .slab { font-family: "Zilla Slab", Georgia, serif; line-height: 1.06; letter-spacing: -0.005em; }
.wrap { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.eyebrow { font: 600 0.72rem "Hanken Grotesk", sans-serif; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* ---------- structural rail (left) ---------- */
.rail {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--rail); z-index: 60;
  background: #181917; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.rail .mark { width: 18px; height: 18px; background: var(--moss); }
.rail .word { writing-mode: vertical-rl; transform: rotate(180deg); font-family: "Zilla Slab", serif; font-weight: 700; letter-spacing: 0.36em; text-transform: uppercase; font-size: 0.92rem; color: var(--ink); }
.rail .word b { color: var(--moss); font-weight: 700; }
.rail .lang { display: flex; flex-direction: column; gap: 4px; }
.rail .lang button { writing-mode: vertical-rl; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 600 0.66rem "Hanken Grotesk"; padding: 8px 3px; cursor: pointer; }
.rail .lang button[aria-pressed="true"] { background: var(--moss); color: #14160f; border-color: var(--moss); }

main { margin-left: var(--rail); }

/* top nav index (sticky, thin) */
.index {
  position: sticky; top: 0; z-index: 40; display: flex; gap: 26px; align-items: center;
  padding: 13px 40px; background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
  font: 600 0.78rem "Hanken Grotesk"; letter-spacing: 0.04em;
}
.index a { color: var(--muted); text-decoration: none; }
.index a:hover { color: var(--ink); }
.index a .n { color: var(--moss); font-variant-numeric: tabular-nums; margin-right: 6px; }
.index .spacer { flex: 1; }
.index .addr { color: var(--muted); font-size: 0.74rem; letter-spacing: 0.02em; }
@media (max-width: 720px) { .index { gap: 14px; padding: 12px 22px; overflow-x: auto; } .index .addr { display: none; } }

/* ---------- band scaffold ---------- */
.band { padding: 96px 0; border-bottom: 1px solid var(--line); position: relative; }
.band.timber { background: var(--timber); }
.band.panel { background: var(--bg-2); }
.band-head { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; margin-bottom: 46px; }
.band-head .idx { font-family: "Zilla Slab", serif; font-weight: 700; font-size: 0.95rem; color: var(--moss); white-space: nowrap; padding-top: 8px; border-top: 2px solid var(--moss); }
.band-head h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 700; }
.band-head p { color: var(--muted); margin-top: 12px; max-width: 52ch; }

/* joinery corner brackets */
.joinery { position: relative; }
.joinery::before, .joinery::after { content: ""; position: absolute; width: 16px; height: 16px; pointer-events: none; }
.joinery::before { top: 0; left: 0; border-top: 1px solid var(--moss); border-left: 1px solid var(--moss); }
.joinery::after { bottom: 0; right: 0; border-bottom: 1px solid var(--moss); border-right: 1px solid var(--moss); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .bg { position: absolute; inset: 0; z-index: 0; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3) brightness(0.42); }
.hero .scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,21,19,.86) 0%, rgba(20,21,19,.5) 55%, rgba(20,21,19,.2) 100%); }
.hero .wrap { position: relative; z-index: 2; padding: 0 0 84px; }
.hero .tick { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.hero .tick .v { width: 1px; height: 54px; background: var(--line); }
.hero .tick .lbl { font-family: "Zilla Slab", serif; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5.4rem); font-weight: 700; max-width: 16ch; }
.hero h1 .u { position: relative; }
.hero h1 .u::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 4px; background: var(--moss); }
.hero .sub { margin-top: 22px; color: var(--muted); font-size: 1.1rem; }
.hero .cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-block; padding: 13px 24px; font: 600 0.92rem "Hanken Grotesk"; text-decoration: none; border: 1px solid var(--line); color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.btn:hover { border-color: var(--moss); color: var(--moss); }
.btn-fill { background: var(--moss); color: #14160f; border-color: var(--moss); }
.btn-fill:hover { background: var(--moss-dim); border-color: var(--moss-dim); color: #14160f; }

/* ---------- broth swatches ---------- */
.broths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 820px) { .broths { grid-template-columns: 1fr 1fr; } }
.broth {
  position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--bg);
  padding: 26px 22px 28px; min-height: 230px; display: flex; flex-direction: column; isolation: isolate;
}
.broth .fill { position: absolute; inset: 0; z-index: -1; transform: scale(0); transform-origin: 18px 18px; border-radius: 50%; transition: transform .55s cubic-bezier(.2,.7,.2,1); opacity: .9; }
.broth:hover .fill { transform: scale(3.4); border-radius: 0; }
.broth .chip { width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.35); }
.broth h3 { font-size: 1.5rem; margin: 16px 0 8px; }
.broth .pl { color: var(--muted); font-size: 0.92rem; }
.broth:hover .pl, .broth:hover h3 { color: #fff; }
.broth .jp { margin-top: auto; font-family: "Zilla Slab", serif; color: var(--muted); font-size: 0.86rem; letter-spacing: 0.1em; }
.broth:hover .jp { color: rgba(255,255,255,.85); }

/* ---------- dish split rows ---------- */
.rows { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 220px 1fr auto; gap: 26px; align-items: center; background: var(--bg); padding: 22px 26px; }
.row .ph { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.row h3 { font-size: 1.3rem; }
.row p { color: var(--muted); font-size: 0.94rem; margin-top: 4px; }
.row .tag { font: 600 0.68rem "Hanken Grotesk"; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss); white-space: nowrap; }
@media (max-width: 720px) { .row { grid-template-columns: 1fr; gap: 12px; } .row .ph { aspect-ratio: 16/9; } }

/* ---------- gallery (sala) ---------- */
.sala { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.sala figure { position: relative; overflow: hidden; border: 1px solid var(--line); background: #000; }
.sala img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15); transition: filter .4s, transform .6s; }
.sala figure:hover img { filter: grayscale(0); transform: scale(1.03); }
.s-a { grid-column: span 8; aspect-ratio: 16/9; }
.s-b { grid-column: span 4; aspect-ratio: 3/4; }
.s-c { grid-column: span 4; aspect-ratio: 1; }
.s-d { grid-column: span 4; aspect-ratio: 1; }
.s-e { grid-column: span 4; aspect-ratio: 1; }
@media (max-width: 720px) { .sala { grid-template-columns: 1fr 1fr; } .sala figure { grid-column: span 1 !important; aspect-ratio: 1 !important; } .s-a { grid-column: span 2 !important; aspect-ratio: 16/9 !important; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.info dl { display: grid; grid-template-columns: auto 1fr; gap: 14px 22px; margin-top: 8px; }
.info dt { font: 600 0.72rem "Hanken Grotesk"; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss); padding-top: 3px; }
.info dd { color: var(--ink); }
.info dd a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--moss); }
.info .socials { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.map-box { border: 1px solid var(--line); overflow: hidden; min-height: 360px; filter: grayscale(1) brightness(0.85) contrast(1.05); }
.map-box iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- footer ---------- */
.foot { padding: 52px 0 44px; border-top: 1px solid var(--line); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px; align-items: baseline; }
.foot-mark { font-family: "Zilla Slab", serif; font-weight: 700; font-size: 1.5rem; letter-spacing: 0.04em; }
.foot-mark b { color: var(--moss); }
.foot-contact { color: var(--muted); font-size: 0.9rem; }
.foot-contact a { color: var(--moss); }
.disclaimer { margin-top: 24px; font-size: 0.78rem; color: #6b6f68; max-width: 72ch; line-height: 1.5; }

/* reveals (JS only; visible without JS) */
.r { will-change: transform, opacity; }

@media (max-width: 720px) {
  :root { --rail: 0px; }
  .rail { flex-direction: row; bottom: auto; right: 0; width: auto; height: 50px; padding: 0 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .rail .word { writing-mode: horizontal-tb; transform: none; font-size: 0.82rem; letter-spacing: 0.22em; }
  .rail .lang { flex-direction: row; }
  .rail .lang button { writing-mode: horizontal-tb; padding: 5px 9px; }
  main { margin-left: 0; margin-top: 50px; }
  .index { top: 50px; }
  .wrap { width: min(1120px, calc(100% - 40px)); }
}
