/* NAGI Sushi & Ramen — one-page draft. No external fonts, no CDN. */
:root {
  --ink: #13222b;        /* deep calm sea */
  --ink-2: #1c3240;
  --paper: #f3eee4;      /* washi */
  --paper-2: #e9e1d2;
  --text: #13222b;
  --muted: #475761;      /* 7.0:1 on paper */
  --on-ink: #f3eee4;
  --on-ink-muted: #b9c4c9; /* 8.6:1 on ink */
  --red: #a63a22;        /* hanko vermilion, 5.6:1 on paper */
  --red-bright: #d0583b; /* sun / seal fill only */
  --line: #cfc5b2;
  --ph-bg: #fff1b8;      /* placeholder marker */
  --ph-ink: #4d3800;

  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif CJK JP",
           "Noto Serif JP", "Songti SC", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
          "Noto Sans", Arial, sans-serif;
  --wrap: 68rem;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --gutter: max(var(--pad), calc((100% - var(--wrap)) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--red-bright);
  outline-offset: 3px;
  border-radius: 2px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: 0.02em; }
p { margin: 0 0 1rem; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 20;
  background: var(--ink); color: var(--on-ink); padding: 0.6rem 1rem;
}
.skip:focus { top: 1rem; }

/* Placeholder marker: visible on purpose until the owner fills it in */
.ph {
  background: var(--ph-bg);
  color: var(--ph-ink);
  padding: 0.05em 0.35em;
  border-radius: 3px;
  font-family: var(--sans);
  font-style: normal;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 1rem;
  padding: 0.7rem var(--gutter);
  background: rgba(19, 34, 43, 0.96);
  color: var(--on-ink);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  text-decoration: none; font-family: var(--serif);
  font-size: 1.15rem; letter-spacing: 0.32em;
}
.brand-mark { width: 1.9rem; height: 1.9rem; }
.brand-mark circle { fill: var(--red-bright); }
.brand-mark path { stroke: var(--on-ink); stroke-width: 3; stroke-linecap: round; fill: none; }
.top nav { display: none; margin-left: auto; }
.top nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.top nav a { text-decoration: none; font-size: 0.95rem; color: var(--on-ink-muted); }
.top nav a:hover { color: var(--on-ink); text-decoration: underline; }
.call {
  margin-left: auto;
  text-decoration: none; font-size: 0.9rem;
  border: 1px solid rgba(243, 238, 228, 0.55);
  padding: 0.45rem 0.9rem; border-radius: 999px;
  min-height: 44px; display: inline-flex; align-items: center;
}
.call:hover { background: var(--on-ink); color: var(--ink); }
@media (min-width: 52rem) {
  .top nav { display: block; }
  .call { margin-left: 1.6rem; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--on-ink);
  display: grid;
  gap: 1rem;
  padding: clamp(2.5rem, 8vw, 6rem) var(--gutter) 0;
  overflow: hidden;
}
.hero-text { max-width: 36rem; }
.kicker {
  font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--on-ink-muted); margin-bottom: 1.2rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.wordmark {
  display: block;
  font-size: clamp(4rem, 18vw, 8.5rem);
  letter-spacing: 0.22em; line-height: 1;
  margin-right: -0.22em;
}
.tagline {
  display: block; margin-top: 0.9rem;
  font-size: clamp(1.25rem, 3.4vw, 1.75rem); font-weight: 400;
  color: var(--on-ink-muted);
}
.lead { font-size: 1.1rem; color: var(--on-ink); max-width: 32rem; }
.opening { display: inline-block; margin: 0.25rem 0 1.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.3rem;
  text-decoration: none; font-weight: 600; font-size: 0.98rem;
  border-radius: 2px; border: 1px solid currentColor;
}
.btn-solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-solid:hover { background: #fff; }
.btn-line:hover { color: inherit; background: rgba(127, 127, 127, 0.14); }

.hero-art { position: relative; align-self: end; }
.sea { display: block; width: 100%; height: auto; max-height: 20rem; }
.sea .sun { fill: var(--red-bright); }
.sea .lines path { stroke: var(--on-ink); stroke-width: 1.4; opacity: 0.85; vector-effect: non-scaling-stroke; }
.sea .lines path:nth-child(n+3) { opacity: 0.6; }
.sea .lines path:nth-child(n+5) { opacity: 0.35; }
.seal {
  position: absolute; right: 0; top: 0;
  writing-mode: vertical-rl;
  font-family: var(--serif); font-size: 1.6rem; line-height: 1;
  color: var(--paper);
  border: 2px solid var(--red-bright);
  padding: 0.45rem 0.35rem;
}
@media (min-width: 52rem) {
  .hero { grid-template-columns: 1.1fr 0.9fr; align-items: end; min-height: min(80vh, 40rem); }
  .hero-text { padding-bottom: 4rem; }
  .seal { top: 0; right: 12%; font-size: 2.2rem; }
}

/* ---------- Bands ---------- */
.band { padding: clamp(3.5rem, 9vw, 6.5rem) var(--pad); }
.band-paper { background: var(--paper-2); }
.band-ink { background: var(--ink-2); color: var(--on-ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.two { display: grid; gap: 2.5rem; }
@media (min-width: 52rem) { .two { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.center { text-align: center; }
.num {
  font-family: var(--serif); color: var(--red); font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.band-ink .num { color: #ef8a6e; }
.note { margin-bottom: 2rem; display: inline-block; }
.fine { font-size: 0.92rem; color: var(--muted); }
.band-ink .fine { color: var(--on-ink-muted); }

/* Photo slot: replace .photo-empty with an <img> */
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-empty {
  aspect-ratio: 4 / 5;
  display: grid; place-items: center; padding: 1rem; text-align: center;
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(19, 34, 43, 0.07) 22px 23px),
    var(--paper-2);
  border: 1px solid var(--line);
  font-size: 0.9rem; color: var(--muted);
}
@media (max-width: 51.99rem) { .photo-empty, .photo img { aspect-ratio: 3 / 2; } }

/* ---------- Menu ---------- */
.menu { display: grid; gap: 2.5rem; }
@media (min-width: 52rem) { .menu { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.menu-group h3 {
  font-size: 1.4rem; padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--ink);
  display: flex; align-items: baseline; gap: 0.6rem;
}
.menu-group h3 span { color: var(--red); font-size: 1rem; letter-spacing: 0.1em; }
.items { list-style: none; margin: 0; padding: 0; }
.items li {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: 0.8rem 0; border-bottom: 1px dotted var(--line);
}
.item small { display: block; font-size: 0.85rem; margin-top: 0.25rem; width: fit-content; }
.price { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Hours / address ---------- */
.hours { margin: 0; }
.hours div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--line);
}
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }
.addr { font-style: normal; font-family: var(--serif); font-size: 1.4rem; line-height: 1.5; margin-bottom: 1.25rem; }

/* ---------- Contact ---------- */
.phone { font-family: var(--serif); font-size: clamp(1.9rem, 6vw, 3rem); margin: 0.5rem 0 1.25rem; }
.phone a { text-decoration: none; border-bottom: 2px solid var(--red-bright); }
.phone a:hover { color: #fff; }

/* ---------- Footer ---------- */
.foot {
  background: var(--ink); color: var(--on-ink-muted);
  padding: 3.5rem var(--pad) 2rem; font-size: 0.92rem;
}
.foot h2 { font-size: 1.15rem; color: var(--on-ink); letter-spacing: 0.06em; }
.foot a { color: var(--on-ink); }
.copy {
  max-width: var(--wrap); margin: 2.5rem auto 0; padding-top: 1.25rem;
  border-top: 1px solid rgba(243, 238, 228, 0.18); font-size: 0.85rem;
}
