/* ==========================================================
   YAKINIKU ICHIBAN — premium dark theme
   Palette: charcoal #0d0b0a, paper #f5efe6, ember red #c1272d,
            gold #d4a253
   ========================================================== */
:root {
  --bg: #0d0b0a;
  --bg-soft: #151110;
  --bg-card: #1b1614;
  --line: rgba(245, 239, 230, 0.09);
  --text: #f5efe6;
  --text-dim: rgba(245, 239, 230, 0.62);
  --red: #c1272d;
  --red-bright: #e6383f;
  --gold: #d4a253;
  --serif: "Shippori Mincho", "Noto Serif JP", serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1rem; }
.accent { color: var(--red-bright); }
.center { text-align: center; }
.muted { color: var(--text-dim); font-size: 0.9em; }

.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; font-weight: 500;
}
.section { padding: clamp(4rem, 9vw, 7.5rem) 1.5rem; }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-sub { color: var(--text-dim); max-width: 560px; margin: 0 auto 3rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 0.85rem 1.9rem; font-size: 0.85rem;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  border: 1px solid transparent; transition: all 0.25s ease; cursor: pointer;
}
.btn-solid { background: var(--red); color: #fff; }
.btn-solid:hover { background: var(--red-bright); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(245,239,230,0.35); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(13, 11, 10, 0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0.7rem 1.5rem;
  display: flex; align-items: center; gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-logo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.brand-name { font-family: var(--serif); font-weight: 800; letter-spacing: 0.06em; font-size: 1.02rem; }
.brand-name em { font-style: normal; color: var(--red-bright); }
.nav-links { display: flex; gap: 1.7rem; margin-left: auto; }
.nav-links a { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { padding: 0.6rem 1.3rem; }
.nav-burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-burger span { width: 24px; height: 2px; background: var(--text); display: block; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-media {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,11,10,0.85) 0%, rgba(13,11,10,0.45) 50%, rgba(13,11,10,0.15) 100%),
    url("hero.jpg") center / cover no-repeat;
}
.hero-kanji {
  position: absolute; right: 4vw; top: 50%; transform: translateY(-52%);
  font-family: "Noto Serif JP", serif; font-weight: 900;
  font-size: clamp(14rem, 34vw, 30rem); line-height: 0.9;
  color: rgba(245, 239, 230, 0.045); user-select: none; writing-mode: vertical-rl;
}
.embers { position: absolute; inset: 0; overflow: hidden; }
.embers::before, .embers::after {
  content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); bottom: -10px; left: 22%;
  box-shadow: 30vw 0 0 -1px var(--red-bright), 55vw 0 0 0 var(--gold), 70vw 0 0 -2px var(--red);
  animation: rise 9s linear infinite; opacity: 0.5; filter: blur(0.5px);
}
.embers::after { left: 38%; animation-duration: 13s; animation-delay: 3s; opacity: 0.35; }
@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: 0.6; }
  100% { transform: translateY(-105vh) translateX(4vw); opacity: 0; }
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,11,10,0.55) 0%, transparent 35%, rgba(13,11,10,0.72) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; padding: 7rem 1.5rem 4rem; width: 100%; }
.hero-sub { max-width: 480px; color: var(--text-dim); margin: 1.4rem 0 2.2rem; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-hours { margin-top: 2.6rem; font-size: 0.85rem; letter-spacing: 0.06em; color: var(--text-dim); display: flex; gap: 0.6rem; flex-wrap: wrap; }
.hero-hours .dot { color: var(--gold); }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg-soft); padding: 0.85rem 0; }
.marquee-track { display: flex; white-space: nowrap; animation: scroll 38s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: 0.95rem; letter-spacing: 0.28em; color: var(--text-dim); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- story ---------- */
.story-points { list-style: none; margin-top: 1.6rem; display: grid; gap: 0.75rem; }
.story-points li { padding-left: 1.4rem; position: relative; color: var(--text-dim); }
.story-points li::before { content: "—"; position: absolute; left: 0; color: var(--red-bright); }
.story-points strong { color: var(--text); font-weight: 600; }
.story-text p + p { margin-top: 1rem; color: var(--text-dim); }
.story-media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; height: 520px; }
.ph {
  background: linear-gradient(150deg, var(--bg-card), #241c18);
  border: 1px solid var(--line); border-radius: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem;
  position: relative; overflow: hidden;
}
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ph:hover img { transform: scale(1.04); }
.ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 100%, rgba(193,39,45,0.12), transparent 60%); }
.ph-tall { grid-row: span 2; }
.ph-kanji { font-family: "Noto Serif JP", serif; font-weight: 900; font-size: 3rem; color: rgba(245,239,230,0.13); }
.ph-label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245,239,230,0.3); }

/* ---------- menu ---------- */
.menu { background: var(--bg-soft); border-block: 1px solid var(--line); }
.menu-photos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  max-width: 920px; margin: 0 auto 3rem;
}
.menu-photos img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border: 1px solid var(--line); border-radius: 4px;
}
.menu-tabs { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.8rem; }
.tab {
  background: none; border: 1px solid var(--line); color: var(--text-dim);
  padding: 0.65rem 1.5rem; font-family: var(--sans); font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: all 0.22s;
}
.tab:hover { border-color: var(--gold); color: var(--gold); }
.tab.active { background: var(--red); border-color: var(--red); color: #fff; }
.menu-panel { display: none; max-width: 760px; margin: 0 auto; }
.menu-panel.active { display: block; animation: fade 0.35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.dish {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem;
  padding: 1.5rem 0.25rem; border-bottom: 1px dashed var(--line);
}
.dish h3 { font-size: 1.25rem; }
.dish .jp { font-size: 0.85rem; color: var(--gold); font-weight: 500; margin-left: 0.4rem; }
.dish-head p { color: var(--text-dim); font-size: 0.92rem; margin-top: 0.2rem; }
.dish-prices { display: flex; gap: 1.1rem; white-space: nowrap; font-size: 0.82rem; color: var(--text-dim); padding-top: 0.35rem; }
.dish-prices b { color: var(--text); font-weight: 600; font-size: 1rem; margin-left: 0.15rem; }
.dish.premium .jp { color: var(--red-bright); }
.crown { display: inline-block; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(212,162,83,0.4); padding: 0.15rem 0.55rem; border-radius: 99px; margin-left: 0.5rem; vertical-align: middle; }
.set-banner {
  margin: 3rem auto 0; max-width: 760px; display: flex; align-items: center; gap: 1.2rem;
  border: 1px solid rgba(212, 162, 83, 0.35); background: rgba(212, 162, 83, 0.06);
  padding: 1.1rem 1.5rem; border-radius: 4px;
}
.set-plus { font-family: var(--serif); font-size: 1.5rem; font-weight: 800; color: var(--gold); white-space: nowrap; }
.set-banner p { color: var(--text-dim); } .set-banner strong { color: var(--text); }

/* ---------- sets ---------- */
.sets-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.1rem; }
.set-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 4px;
  padding: 1.6rem 1.5rem 1.4rem; transition: transform 0.22s, border-color 0.22s; position: relative;
}
.set-card:hover { transform: translateY(-4px); border-color: rgba(212,162,83,0.45); }
.set-card h3 { font-size: 1.12rem; margin-bottom: 0.3rem; }
.set-card p { font-size: 0.86rem; color: var(--text-dim); min-height: 2.6em; }
.set-price { margin-top: 0.9rem; font-weight: 600; letter-spacing: 0.04em; color: var(--gold); }
.set-price i { color: var(--text-dim); font-style: normal; margin: 0 0.15rem; font-weight: 300; }
.set-card.featured { border-color: var(--red); background: linear-gradient(160deg, rgba(193,39,45,0.14), var(--bg-card) 55%); }
.flag {
  position: absolute; top: -0.7rem; right: 1rem; background: var(--red); color: #fff;
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.25rem 0.7rem;
}

/* ---------- reviews ---------- */
.reviews { background: var(--bg-soft); border-block: 1px solid var(--line); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-top: 2.5rem; }
.review { background: var(--bg-card); border: 1px solid var(--line); padding: 1.8rem; border-radius: 4px; }
.stars { color: var(--gold); letter-spacing: 0.25em; margin-bottom: 0.9rem; font-size: 0.85rem; }
.review p { font-family: var(--serif); font-size: 1.05rem; line-height: 1.55; }
.review footer { margin-top: 1.1rem; font-size: 0.8rem; color: var(--text-dim); letter-spacing: 0.05em; }

/* ---------- visit ---------- */
.visit-info h2 { margin-bottom: 1.8rem; }
.info-block { margin-bottom: 1.6rem; }
.info-block h4 { font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; font-weight: 600; }
.info-block p, .hours-table { color: var(--text-dim); font-size: 0.98rem; }
.info-block a { color: var(--text); border-bottom: 1px solid rgba(212,162,83,0.4); transition: color 0.2s; }
.info-block a:hover { color: var(--gold); }
.hours-table td { padding: 0.25rem 0; vertical-align: top; }
.hours-table td:first-child { padding-right: 2.2rem; color: var(--text); font-weight: 500; }
.visit-map iframe { width: 100%; height: 100%; min-height: 480px; border: 1px solid var(--line); border-radius: 4px; filter: grayscale(0.35) contrast(1.05); }
.visit .btn { margin-top: 0.5rem; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 3rem 1.5rem; }
.footer-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; font-family: var(--serif); font-weight: 800; line-height: 1.25; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.footer-brand em { font-style: normal; color: var(--red-bright); }
.footer-brand small { color: var(--text-dim); font-family: var(--sans); font-weight: 400; letter-spacing: 0.08em; }
.footer-links { display: flex; gap: 1.5rem; margin-left: auto; }
.footer-links a { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
.footer-links a:hover { color: var(--gold); }
.footer-copy { width: 100%; font-size: 0.78rem; color: rgba(245,239,230,0.35); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .story-media { height: 420px; }
  .visit-map iframe { min-height: 340px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: rgba(13,11,10,0.97); padding: 1.5rem;
    gap: 1.2rem; border-bottom: 1px solid var(--line);
  }
  .dish { flex-direction: column; gap: 0.6rem; }
  .hero-kanji { right: -6vw; }
}
