/* Kamisama Ramen — original design system */
:root {
  --ink: #141211;
  --ink-2: #1d1917;
  --ink-3: #2a2420;
  --cream: #f3ebdc;
  --cream-2: #e8dec9;
  --paper: #faf5ea;
  --red: #c8301c;
  --red-2: #e86b4f;
  --clay: #b5603f;
  --muted: #8a8178;
  --line: rgba(243, 235, 220, 0.12);
  --line-ink: rgba(20, 18, 17, 0.14);

  --f-display: "Fraunces", "Cormorant Garamond", ui-serif, Georgia, serif;
  --f-body: "Manrope", ui-sans-serif, system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --f-jp: "Noto Serif JP", "Fraunces", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- brushy wordmark ---------- */
.wordmark {
  font-family: "Haruto", "Shotengai", "Sofude", "Harukaze", var(--f-display);
  font-weight: 400;
  font-stretch: 100%;
  font-size: clamp(72px, 13vw, 180px);
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--cream);
  text-transform: uppercase;
  transform: none;
  display: inline-block;
}
.wordmark-sub {
  font-family: "Haruto", "Shotengai", "Sofude", "Harukaze", var(--f-display);
  font-size: clamp(18px, 2.4vw, 32px);
  letter-spacing: 0.28em;
  color: var(--red);
  text-transform: uppercase;
  margin-top: 0;
}

/* ---------- utility ---------- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 720px) { .container { padding: 0 20px; } }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-2);
}

.display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.rule {
  height: 1px;
  background: var(--line);
  width: 100%;
}
.rule-ink { background: var(--line-ink); }

/* ---------- top announcement bar ---------- */
.annbar {
  background: var(--red);
  color: var(--cream);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.annbar .marquee {
  display: inline-flex;
  gap: 60px;
  animation: marquee 40s linear infinite;
  padding-left: 100%;
}
.annbar .marquee span::before {
  content: "✦";
  margin-right: 60px;
  opacity: 0.7;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.nav .nav-links a { color: #141211; }
.nav .nav-links a.active::after { background: var(--red); }
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.nav-inner > .brand { justify-self: start; }
.nav-inner > :last-child { justify-self: end; }
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.brand-mark {
  font-family: var(--f-display);
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.brand-mark em { color: var(--red-2); font-style: italic; }
.brand-sub {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--cream);
  opacity: 0.8;
  position: relative;
  padding: 6px 0;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--red);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.15s, background 0.15s;
}
.nav-cta:hover { background: var(--red-2); color: var(--cream); transform: translateY(-1px); }
.nav-cta .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--red); }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  background: var(--cream);
}
.hero .wordmark { color: var(--ink); }
.hero .wordmark-sub { color: var(--red); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: end;
}
.hero h1 {
  font-size: clamp(44px, 6.5vw, 96px);
  color: var(--cream);
}
.hero h1 .it { font-style: italic; color: var(--red-2); }
.hero h1 .tiny {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.hero-copy {
  max-width: 440px;
  color: var(--ink);
  opacity: 0.85;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 28px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.15s, background 0.15s, color 0.15s;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: var(--cream); }
.btn-primary:hover { background: #a82415; }
.btn-ghost { border-color: var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); }
.hero .btn-ghost { border-color: rgba(10,10,10,0.2); color: var(--ink); }
.hero .btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}
.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta strong {
  display: block;
  color: var(--cream);
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  margin-bottom: 4px;
}
.hero-meta strong em { color: var(--red-2); font-style: italic; }

@media (max-width: 900px) {
  .hero { padding: 60px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: clamp(56px, 16vw, 96px); }
}

/* ---------- placeholder ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(232, 107, 79, 0.08) 0 12px,
      rgba(232, 107, 79, 0.03) 12px 24px
    ),
    linear-gradient(180deg, #2a2420, #1d1917);
  color: var(--muted);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line);
}
.ph.light {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(200, 48, 28, 0.08) 0 12px,
      rgba(200, 48, 28, 0.03) 12px 24px
    ),
    linear-gradient(180deg, #ece1c9, #e0d3b4);
  color: #8a6a4a;
  border-color: var(--line-ink);
}
.ph::before {
  content: "";
  position: absolute;
  top: 16px; right: 16px;
  width: 10px; height: 10px;
  border: 1px solid currentColor;
  opacity: 0.4;
}

/* ---------- sections ---------- */
section { position: relative; }
.sec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  padding-bottom: 32px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.sec-head .eyebrow { margin-bottom: 16px; }

/* Centered variant for the gallery heading */
.sec-head.gallery-head {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  position: relative;
}
.sec-head.gallery-head h2 { text-align: center; }
.sec-head.gallery-head .sec-meta {
  position: absolute;
  right: 0;
  bottom: 24px;
  text-align: right;
}
@media (max-width: 720px) {
  .sec-head.gallery-head .sec-meta { position: static; text-align: center; margin-top: 24px; }
}
.sec-head h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.sec-head h2 em { color: var(--red-2); font-style: italic; }
.sec-head .sec-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
@media (max-width: 720px) {
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .sec-meta { text-align: left; }
}

.sec { padding: 100px 0; }
.sec-cream { background: var(--cream); color: var(--ink); }
.sec-cream .eyebrow { color: var(--red); }
.sec-cream .rule { background: var(--line-ink); }
.sec-cream .sec-head { border-bottom-color: var(--line-ink); }
.sec-cream .sec-head .sec-meta { color: #8a6a4a; }

/* ---------- featured bowls ---------- */
.bowls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-ink);
}
.bowl {
  border-right: 1px solid var(--line-ink);
  border-bottom: 1px solid var(--line-ink);
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: background 0.25s;
}
.bowl:nth-child(3n) { border-right: none; }
.bowl:hover { background: rgba(200, 48, 28, 0.04); }
.bowl-img {
  aspect-ratio: 4 / 3;
  border-radius: 2px;
}
.bowl-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.bowl-name {
  font-family: var(--f-display);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.bowl-name .jp {
  display: block;
  font-size: 14px;
  color: var(--clay);
  font-family: var(--f-mono);
  letter-spacing: 0.1em;
  margin-top: 6px;
  text-transform: uppercase;
}
.bowl-price {
  font-family: var(--f-mono);
  font-size: 14px;
  color: var(--red);
}
.bowl-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #5e564d;
  max-width: 30ch;
}
.bowl-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--line-ink);
  border-radius: 999px;
  color: #8a6a4a;
}
.tag.hot { color: var(--red); border-color: var(--red); }

@media (max-width: 960px) {
  .bowls { grid-template-columns: repeat(2, 1fr); }
  .bowl:nth-child(3n) { border-right: 1px solid var(--line-ink); }
  .bowl:nth-child(2n) { border-right: none; }
}
@media (max-width: 640px) {
  .bowls { grid-template-columns: 1fr; }
  .bowl { border-right: none; }
}

/* ---------- happy hour ---------- */
.hh {
  background: var(--ink);
  color: var(--cream);
}
.hh-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hh h2 {
  font-family: var(--f-display);
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.hh h2 em { font-style: italic; opacity: 0.85; }
.hh-times {
  margin-top: 32px;
  display: grid;
  gap: 14px;
}
.hh-time {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid rgba(243, 235, 220, 0.25);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hh-time:last-child { border-bottom: 1px solid rgba(243, 235, 220, 0.18); }
.hh-deals {
  display: grid;
  gap: 18px;
}
.hh-deal {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(243, 235, 220, 0.18);
}
.hh-deal-num {
  font-family: var(--f-mono);
  font-size: 11px;
  opacity: 0.7;
  letter-spacing: 0.2em;
}
.hh-deal-name {
  font-family: var(--f-display);
  font-size: 28px;
  line-height: 1.1;
}
.hh-deal-price {
  font-family: var(--f-mono);
  font-size: 14px;
}
.hh-deal-price .old {
  opacity: 0.55;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.hh-deal-price strong {
  font-weight: 500;
  color: var(--red);
  text-decoration: none;
  margin-left: 10px;
  font-size: 20px;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .hh-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 8px;
}
.gallery .g {
  border-radius: 2px;
}
.g1 { grid-column: span 5; grid-row: span 3; }
.g2 { grid-column: span 4; grid-row: span 2; }
.g3 { grid-column: span 3; grid-row: span 2; }
.g4 { grid-column: span 4; grid-row: span 2; }
.g5 { grid-column: span 3; grid-row: span 2; }
.g6 { grid-column: span 5; grid-row: span 2; }

@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 100px; }
  .g1 { grid-column: span 4; grid-row: span 2; }
  .g2 { grid-column: span 2; }
  .g3 { grid-column: span 2; }
  .g4 { grid-column: span 2; }
  .g5 { grid-column: span 2; }
  .g6 { grid-column: span 4; }
}

/* ---------- reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  border: 1px solid var(--line);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--ink-2);
}
.review .stars {
  color: var(--red-2);
  font-size: 14px;
  letter-spacing: 3px;
}
.review .quote {
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1.3;
  color: var(--cream);
}
.review .who {
  margin-top: auto;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.review .who strong { color: var(--cream); font-weight: 500; }

@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- locations ---------- */
.locs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.loc {
  padding: 48px 40px;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 24px;
  position: relative;
  transition: background 0.2s;
}
.loc:last-child { border-right: none; }
.loc:hover { background: var(--ink-2); }
.loc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.loc-head h3 {
  font-family: var(--f-display);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.loc-head h3 em { color: var(--red-2); font-style: italic; }
.loc-badge {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.loc-badge.open { color: var(--red-2); border-color: var(--red-2); }
.loc-badge.open::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--red-2);
  margin-right: 6px;
  vertical-align: middle;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.loc-addr {
  font-size: 16px;
  line-height: 1.5;
  color: var(--cream);
  opacity: 0.85;
}
.loc-hours {
  display: grid;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.loc-hours .row {
  display: grid;
  grid-template-columns: 70px 1fr;
  padding: 4px 0;
}
.loc-hours .row span:last-child { color: var(--cream); }
.loc-map {
  aspect-ratio: 16 / 9;
  border-radius: 2px;
}
.loc-links {
  display: flex;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.loc-links a {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--red-2);
  transition: color 0.15s;
}
.loc-links a:hover { color: var(--red-2); }

@media (max-width: 900px) {
  .locs { grid-template-columns: 1fr; }
  .loc { border-right: none; border-bottom: 1px solid var(--line); }
  .loc:last-child { border-bottom: none; }
}

/* ---------- about strip ---------- */
.about-strip {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-strip h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.about-strip h2 em { color: var(--red); font-style: italic; }
.about-strip .body {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--cream);
  max-width: 52ch;
}
.about-strip .body p + p { margin-top: 16px; }
.about-img {
  aspect-ratio: 4 / 5;
}
@media (max-width: 900px) { .about-strip { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- footer ---------- */
.footer {
  background: #ffffff;
  color: var(--ink);
  padding: 80px 0 32px;
  border-top: 1px solid var(--line-ink);
}
.footer h4 { color: var(--ink); }
.footer .foot-grid { border-bottom: 1px solid var(--line-ink); }
.footer .foot-grid a { color: var(--ink); }
.footer .foot-grid a:hover { color: var(--red); opacity: 1; }
.footer .foot-brand p { color: #5a5248; }
.footer .foot-bottom { color: #5a5248; border-top-color: var(--line-ink); }
.footer .foot-bottom a { color: #5a5248; }
.footer .foot-bottom a:hover { color: var(--red); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.foot-grid h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.foot-grid ul { list-style: none; display: grid; gap: 10px; }
.foot-grid a { opacity: 0.85; font-size: 14px; transition: opacity 0.15s, color 0.15s; }
.foot-grid a:hover { opacity: 1; color: var(--red-2); }
.foot-brand .brand-mark { font-size: 40px; }
.foot-brand p { margin-top: 16px; font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 38ch; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot-bottom a:hover { color: var(--red-2); }
.foot-socials { display: flex; gap: 18px; }

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; gap: 14px; }
}

/* ---------- menu page specific ---------- */
.menu-hero {
  padding: 40px 0 20px;
  border-bottom: 1px solid var(--line);
}
.menu-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
.menu-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.menu-hero h1 em { color: var(--red-2); font-style: italic; }
.menu-hero-meta {
  text-align: right;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.8;
}
.menu-hero-meta strong { color: var(--cream); font-weight: 400; }

.menu-tabs {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(20, 18, 17, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.menu-tabs-inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-tabs-inner::-webkit-scrollbar { display: none; }
.menu-tab {
  flex-shrink: 0;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all 0.15s;
  cursor: pointer;
  background: transparent;
}
.menu-tab:hover { color: var(--cream); border-color: var(--cream); }
.menu-tab.active { background: var(--red); color: var(--cream); border-color: var(--red); }

.menu-section {
  padding: 28px 0 48px;
  display: none;
}
.menu-section.active { display: block; }
.menu-section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.menu-section-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.menu-section-head h2 {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.menu-section-head h2 em { color: var(--red-2); font-style: italic; }
.menu-section-desc {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 42ch;
  text-align: right;
  line-height: 1.6;
}

.menu-items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 40px;
}
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  align-items: baseline;
}
.menu-item:hover .menu-item-name { color: var(--red-2); }
.menu-item-name {
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1.15;
  transition: color 0.15s;
}
.menu-item-name .sub {
  display: inline;
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 6px;
}
.menu-item-desc { display: none; }
.menu-item-price {
  font-family: var(--f-mono);
  font-size: 17px;
  color: var(--cream);
  text-align: right;
  white-space: nowrap;
}

.menu-extras {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 40px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.menu-extras span { color: var(--cream); }

@media (max-width: 960px) {
  .menu-items { grid-template-columns: 1fr 1fr; }
  .menu-extras { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .menu-items { grid-template-columns: 1fr; }
  .menu-section-head { grid-template-columns: auto 1fr; }
  .menu-section-desc { display: none; }
}

/* ---------- tweaks panel ---------- */
.tweaks-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  width: 280px;
  z-index: 100;
  font-family: var(--f-body);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  display: none;
}
.tweaks-panel.on { display: block; }
.tweaks-panel h5 {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.tweaks-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.tweaks-row label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.tweaks-swatches { display: flex; gap: 6px; }
.tweaks-sw {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s;
}
.tweaks-sw.active { border-color: var(--cream); }
.tweaks-radios {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.tweaks-radio {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.tweaks-radio:hover { color: var(--cream); }
.tweaks-radio.active { background: var(--red); color: var(--cream); border-color: var(--red); }

/* ---------- menu page dark theme (scoped to body.menu-page) ---------- */
body.menu-page { background: var(--ink); color: var(--cream); }

body.menu-page .nav { background: #ffffff; border-bottom-color: rgba(0,0,0,0.08); }
body.menu-page .nav .nav-links a { color: var(--ink); opacity: 0.75; }
body.menu-page .nav .nav-links a:hover,
body.menu-page .nav .nav-links a.active { opacity: 1; color: var(--ink); }
body.menu-page .nav .nav-links a.active::after { background: var(--ink); }
body.menu-page .nav-cta { background: var(--ink); color: var(--cream); }
body.menu-page .nav-cta:hover { background: #2a2420; color: var(--cream); }
body.menu-page .nav-cta .dot { background: var(--cream); }

body.menu-page .menu-hero { border-bottom-color: var(--line); }
body.menu-page .menu-hero h1 { color: var(--cream); }
body.menu-page .menu-hero h1 em { color: var(--cream); font-style: italic; }
body.menu-page .menu-hero .eyebrow { color: var(--muted); }
body.menu-page .menu-hero-meta { color: var(--muted); }
body.menu-page .menu-hero-meta strong { color: var(--cream); }
body.menu-page .menu-hero-meta a { color: var(--cream) !important; border-bottom-color: var(--cream) !important; }

body.menu-page .menu-tabs {
  background: rgba(20, 18, 17, 0.92);
  border-bottom-color: var(--line);
}
body.menu-page .menu-tab { border-color: rgba(243,235,220,0.22); color: var(--muted); }
body.menu-page .menu-tab:hover { color: var(--cream); border-color: var(--cream); }
body.menu-page .menu-tab.active {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

body.menu-page .menu-section-head { border-bottom-color: var(--line); }
body.menu-page .menu-section-num { color: var(--muted); }
body.menu-page .menu-section-head h2 { color: var(--cream); }
body.menu-page .menu-section-head h2 em { color: var(--cream); font-style: italic; }
body.menu-page .menu-section-desc { color: var(--muted); }

body.menu-page .menu-item { border-bottom-color: rgba(243,235,220,0.14); }
body.menu-page .menu-item-name { color: var(--cream); }
body.menu-page .menu-item:hover .menu-item-name { color: var(--cream); opacity: 0.75; }
body.menu-page .menu-item-name .sub { color: var(--muted); }
body.menu-page .menu-item-price { color: var(--cream); }

/* signature dishes — red name (brighter red for dark bg) */
body.menu-page .menu-item-name.signature,
body.menu-page .menu-item-name.signature em { color: var(--red-2); }
body.menu-page .menu-item:hover .menu-item-name.signature { color: var(--red-2); opacity: 0.85; }

/* toppings grid / extras note block */
.toppings-grid {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px dashed rgba(243,235,220,0.22);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 32px;
}
.toppings-head {
  grid-column: 1 / -1;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.topping {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--cream);
  border-bottom: 1px dotted rgba(243,235,220,0.14);
}
.topping .p { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.topping.free .p { color: var(--red-2); }
@media (max-width: 960px) {
  .toppings-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .toppings-grid { grid-template-columns: 1fr; }
}

body.menu-page .footer { border-top-color: var(--line-ink); }

/* menu switch button — dark theme */
.menu-switch-wrap {
  display: flex;
  justify-content: center;
  padding: 28px 24px 4px;
  background: var(--ink);
}
.menu-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background 0.15s, transform 0.15s;
}
.menu-switch-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
}
.menu-switch-btn span { font-size: 16px; opacity: 0.8; }

/* ---------- nav dropdown (More Info) ---------- */
.nav-links .has-dropdown {
  position: relative;
}
.nav-links .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  padding: 0;
}
.nav-links .dropdown-toggle::after {
  content: "▾";
  font-size: 0.7em;
  line-height: 1;
  opacity: 0.7;
  transition: transform 0.15s ease;
}
.nav-links .has-dropdown:hover .dropdown-toggle::after,
.nav-links .has-dropdown.open .dropdown-toggle::after {
  transform: translateY(1px);
  opacity: 1;
}
.nav-links .dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 220px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  list-style: none;
  margin: 0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 50;
}
.nav-links .has-dropdown:hover .dropdown-menu,
.nav-links .has-dropdown:focus-within .dropdown-menu,
.nav-links .has-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-links .dropdown-menu li {
  list-style: none;
}
.nav-links .dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.12s ease, color 0.12s ease;
}
.nav-links .dropdown-menu a:hover,
.nav-links .dropdown-menu a.active {
  background: var(--ink-3);
  color: var(--red-2);
}

/* ---------- careers page: inverted (cream bg, ink text, no red) ---------- */
body.careers-page {
  background: var(--cream);
  color: var(--ink);
}
body.careers-page .nav {
  background: var(--cream);
  border-bottom: 1px solid var(--line-ink);
}
body.careers-page .nav-links a,
body.careers-page .nav-links .dropdown-toggle {
  color: var(--ink);
}
body.careers-page .nav-links .dropdown-menu {
  background: var(--paper);
  border-color: var(--line-ink);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
body.careers-page .nav-links .dropdown-menu a {
  color: var(--ink);
}
body.careers-page .nav-links .dropdown-menu a:hover,
body.careers-page .nav-links .dropdown-menu a.active {
  background: var(--cream-2);
  color: var(--ink);
}

/* Kill red accents on the page */
body.careers-page .eyebrow {
  color: var(--ink);
  opacity: 0.7;
}
body.careers-page em {
  color: var(--ink) !important;
  font-style: italic;
}

/* Hero meta strip */
body.careers-page .menu-hero {
  background: var(--cream);
  color: var(--ink);
}
body.careers-page .menu-hero-meta {
  color: var(--ink);
}
/* Meta strip labels: bold black with space separating them from the value */
body.careers-page .menu-hero-meta strong {
  color: var(--ink) !important;
  font-weight: 700;
  opacity: 1;
  margin-right: 10px;
}

/* Body muted text */
body.careers-page [style*="color:var(--muted)"] {
  color: #6b6158 !important;
}

/* Strong labels in bullet lists stay ink-colored */
body.careers-page strong {
  color: var(--ink);
}

/* The "How to Apply" boxes: swap to paper bg + ink border, no red eyebrow */
body.careers-page [style*="background:var(--ink-2)"] {
  background: var(--paper) !important;
  border-color: var(--line-ink) !important;
}
body.careers-page [style*="color:var(--red-2)"] {
  color: var(--ink) !important;
  opacity: 0.7;
}
body.careers-page [style*="border-bottom:1px solid var(--red-2)"] {
  border-bottom-color: var(--ink) !important;
}

/* Horizontal rule between listings */
body.careers-page .rule {
  background: var(--line-ink);
}

/* Footer keeps its dark styling — it's a full-width section at the bottom,
   and inverting it too would look incoherent. Leave it as-is. */

/* ============================================================
   SITE-WIDE OVERRIDES
   ============================================================ */

/* 1. Nav bar is white on every page — no exceptions */
body .nav {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}
body .nav .nav-links a,
body .nav .nav-links .dropdown-toggle {
  color: var(--ink) !important;
}
body .nav .nav-links a.active {
  color: var(--ink) !important;
}
/* Dropdown on white nav uses light paper styling everywhere */
body .nav .nav-links .dropdown-menu {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12) !important;
}
body .nav .nav-links .dropdown-menu a {
  color: var(--ink) !important;
}
body .nav .nav-links .dropdown-menu a:hover,
body .nav .nav-links .dropdown-menu a.active {
  background: var(--cream-2) !important;
  color: var(--ink) !important;
}

/* 2. Meta strip labels on every page: bold, full-opacity, with dash separator before value */
body .menu-hero-meta strong {
  font-weight: 700 !important;
  opacity: 1;
}
body .menu-hero-meta strong::after {
  content: " — ";
  font-weight: 400;
  margin: 0 4px;
}

/* ============================================================
   SITE-WIDE: no font/color switching inside headlines
   Every <em> inside a heading uses the same font, weight, color,
   and style as the rest of the heading — no italic, no red.
   ============================================================ */
h1 em, h2 em, h3 em, h4 em, h5 em, h6 em,
.brand-mark em,
.hero-meta strong em,
.sec-head h2 em,
.hh h2 em,
.loc-head h3 em,
.about-strip h2 em,
.menu-hero h1 em,
.menu-section-head h2 em,
body.menu-page .menu-hero h1 em {
  font-style: normal !important;
  color: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  opacity: 1 !important;
}
