/* ============================================================
   麺屋藤ろう 本厚木店 — warm paper / ink / terracotta
   Palette tokens (--bg, --ink, --muted, --accent, --surface…)
   are supplied by the pipeline's tokens.css. Fonts and local
   tonal names live here.
   ============================================================ */

:root {
  --font-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;

  /* local tonal helpers (colors only, never text-only accents) */
  --sheet: #f6efe2;                 /* receipt paper, one step off the page */
  --line: color-mix(in srgb, var(--ink, #241c14) 16%, transparent);
  --line-strong: color-mix(in srgb, var(--ink, #241c14) 38%, transparent);
  --paper-line: color-mix(in srgb, var(--bg, #efe7db) 26%, transparent);

  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- base ---------- */

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg, #efe7db);
  color: var(--ink, #241c14);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .02em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .03em;
  margin: 0;
}

p { margin: 0; }
ul, ol, dl, figure, blockquote { margin: 0; padding: 0; }
li { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent, #7a3b2e);
  outline-offset: 3px;
}

.num, time, .tel {
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

.wrap {
  max-width: 1060px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- shared section furniture ---------- */

.sec { padding-block: clamp(88px, 12vw, 152px); }

.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }

.sec-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--muted, #5c4c3c);
  margin-bottom: 18px;
}
.sec-label::before {
  content: "";
  inline-size: 2.6em;
  block-size: 1px;
  background: var(--accent, #7a3b2e);
}

.sec-title { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.3; }

.sec-lede {
  max-inline-size: 40ic;
  margin-top: 24px;
  color: var(--ink, #241c14);
}

.textlink {
  display: inline-block;
  margin-top: 36px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--accent, #7a3b2e);
  font-size: .95rem;
  letter-spacing: .12em;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.textlink:hover { color: var(--accent, #7a3b2e); }

/* ---------- header / nav ---------- */

.ewb-chrome-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  background: var(--bg, #efe7db);
  border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease);
}
.ewb-chrome-nav.is-solid { padding-block: 12px; }

.ewb-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: .06em;
  white-space: nowrap;
}

.head-right { display: flex; align-items: center; gap: 20px; }

.head-tel {
  display: none;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--accent, #7a3b2e);
  padding: 10px 0;
}

.ewb-navtoggle {
  display: none;
  inline-size: 44px;
  block-size: 44px;
  margin-inline-end: -10px;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: opacity .3s var(--ease);
}
.ewb-navtoggle:hover { opacity: .55; }
.ewb-navtoggle span {
  display: block;
  inline-size: 22px;
  block-size: 1.5px;
  background: var(--ink, #241c14);
  transition: transform .3s var(--ease);
}
.ewb-chrome-nav[data-open="true"] .ewb-navtoggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
.ewb-chrome-nav[data-open="true"] .ewb-navtoggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.ewb-navpanel {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
}
.ewb-navpanel a {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .14em;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.ewb-navpanel a:hover { color: var(--accent, #7a3b2e); border-color: var(--accent, #7a3b2e); }
.ewb-navpanel .nav-tel {
  color: var(--accent, #7a3b2e);
  border-bottom: 1px solid var(--accent, #7a3b2e);
}

@media (max-width: 900px) {
  .ewb-navtoggle { display: flex; }
  .head-tel { display: inline-block; }
  .ewb-navpanel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--gutter) 20px;
    background: var(--bg, #efe7db);
    border-bottom: 1px solid var(--line);
  }
  .ewb-chrome-nav[data-open="true"] .ewb-navpanel { display: var(--ewb-panel-display, block); }
  .ewb-navpanel a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
    min-block-size: 44px;
  }
  .ewb-navpanel a:last-child { border-bottom: 0; }
  .ewb-navpanel .nav-tel { color: var(--accent, #7a3b2e); }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: flex;
  flex-direction: column;
  padding-block: clamp(40px, 7vh, 88px) 0;
  overflow: clip;
}

.steam {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 40% at 24% 14%, rgba(92, 76, 60, .13), transparent 70%),
    radial-gradient(34% 30% at 62% 4%, rgba(92, 76, 60, .09), transparent 70%),
    radial-gradient(30% 26% at 44% 34%, rgba(92, 76, 60, .06), transparent 70%);
}
.steam--foot {
  background:
    radial-gradient(60% 46% at 30% 0%, rgba(239, 231, 219, .08), transparent 70%),
    radial-gradient(44% 36% at 74% 6%, rgba(239, 231, 219, .06), transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr clamp(128px, 24vw, 300px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  width: 100%;
}

.hero-eyebrow {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--muted, #5c4c3c);
  margin-bottom: clamp(20px, 3.5vh, 44px);
}

.hero-wordmark {
  font-size: clamp(3.4rem, 7.4vw, 6.9rem);
  white-space: nowrap;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero-wordmark .wordmark { display: block; }
.hero-wordmark .wordmark span { display: inline-block; }

.hero-sub {
  display: inline-block;
  margin-top: clamp(12px, 2vh, 24px);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: .3em;
  color: var(--accent, #7a3b2e);
}

.hero-cat {
  margin-top: 8px;
  font-size: .85rem;
  letter-spacing: .24em;
  color: var(--muted, #5c4c3c);
}

.hero-lede {
  max-inline-size: 40ic;
  margin-top: clamp(24px, 4vh, 44px);
  font-size: .95rem;
}

.hero-photo {
  align-self: end;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.hero-photo img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-foot {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: clamp(32px, 5vh, 56px);
}
.hero-foot-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 32px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  letter-spacing: .08em;
}
.hero-foot-line .tel {
  color: var(--accent, #7a3b2e);
  font-weight: 500;
}

@media (max-width: 720px) {
  .hero { min-height: calc(100svh - 66px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-inline-size: 220px; }
  .hero-lede { font-size: .9rem; }
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.about-body p + p { margin-top: 1.6em; }
.about-body { max-inline-size: 40ic; }

.about-points { margin-top: clamp(32px, 4vw, 52px); }
.about-points li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  font-size: .95rem;
}
.about-points li:last-child { border-bottom: 1px solid var(--line); }
.about-points .pt-no {
  flex: none;
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--muted, #5c4c3c);
  font-variant-numeric: tabular-nums;
}

.about-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.about-photo img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.about-photo figcaption {
  margin-top: 12px;
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--muted, #5c4c3c);
}

@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-inline-size: 420px; }
}

/* ---------- menu receipt (signature) ---------- */

.receipt-track { /* script.js: height ≈ 230vh on desktop when scrubbing the print */
}

.receipt-stage {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(48px, 8vh, 96px);
}

.receipt-sheet {
  max-inline-size: 880px;
  margin-top: clamp(28px, 4vh, 48px);
  background: var(--sheet);
  border: 1px solid var(--line);
  border-bottom: 0;
  padding: clamp(24px, 4vw, 48px) clamp(20px, 4vw, 48px) 4px;
}

.receipt-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
  font-size: .8rem;
  letter-spacing: .18em;
  color: var(--muted, #5c4c3c);
}

.receipt-rows li {
  display: grid;
  grid-template-columns: minmax(11em, 15em) 1fr;
  gap: 6px 32px;
  align-items: baseline;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}
.receipt-rows .item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: .04em;
  line-height: 1.4;
}
.receipt-rows .item .tag {
  display: inline-block;
  margin-left: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .18em;
  color: var(--accent, #7a3b2e);
  border: 1px solid var(--accent, #7a3b2e);
  padding: 1px 8px;
  vertical-align: .35em;
  white-space: nowrap;
}
.receipt-rows .desc {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--muted, #5c4c3c);
}

.receipt-note {
  padding-block: 20px;
  font-size: .85rem;
  letter-spacing: .06em;
}
.receipt-note span { color: var(--muted, #5c4c3c); }

.receipt-perf {
  max-inline-size: 880px;
  border-top: 2px dashed var(--line-strong);
}

.receipt-tear {
  max-inline-size: 880px;
  height: 12px;
  background:
    linear-gradient(-45deg, var(--sheet) 8px, transparent 0) left bottom / 16px 12px repeat-x,
    linear-gradient(45deg, var(--sheet) 8px, transparent 0) left bottom / 16px 12px repeat-x;
  border-inline: 1px solid transparent;
}

@media (max-width: 900px) {
  .receipt-stage { position: static; min-height: 0; padding-block: 0; }
}
@media (max-width: 720px) {
  .receipt-rows li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- voices (reviews teaser) ---------- */

.quote-band {
  display: grid;
  gap: clamp(56px, 9vw, 104px);
  margin-top: clamp(40px, 6vw, 64px);
}

.quote { max-inline-size: 34em; }
.quote--right { margin-inline-start: auto; }

.quote p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  line-height: 1.75;
  letter-spacing: .02em;
}

.quote footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  margin-top: 22px;
  font-family: var(--font-body);
  font-size: .85rem;
  letter-spacing: .08em;
}
.quote .stars {
  color: var(--accent, #7a3b2e);
  letter-spacing: .14em;
  font-size: .8rem;
}
.quote .who { font-weight: 500; }
.quote .when { color: var(--muted, #5c4c3c); font-variant-numeric: tabular-nums; }

/* ---------- gallery ---------- */

.gallery-photo img {
  inline-size: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.gallery-photo figcaption {
  margin-top: 14px;
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--muted, #5c4c3c);
}

/* ---------- ledger (hours / access, 案内板) ---------- */

.ledger { border-bottom: 1px solid var(--line); }
.ledger > div {
  display: grid;
  grid-template-columns: minmax(8em, 14em) 1fr;
  gap: 8px 40px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.ledger dt {
  font-weight: 500;
  letter-spacing: .12em;
  font-size: .95rem;
}
.ledger dd { margin: 0; font-size: .95rem; }
.ledger dd .sub { color: var(--muted, #5c4c3c); font-size: .85rem; }
.ledger a {
  border-bottom: 1px solid var(--accent, #7a3b2e);
  padding-bottom: 2px;
  transition: color .3s var(--ease);
}
.ledger a:hover { color: var(--accent, #7a3b2e); }

@media (max-width: 720px) {
  .ledger > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- FAQ (shared with faq.html) ---------- */

.faq-list { counter-reset: faq; border-bottom: 1px solid var(--line); }

.faq-item { border-top: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-block: 22px;
  min-block-size: 44px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::before {
  counter-increment: faq;
  content: counter(faq, decimal-leading-zero);
  flex: none;
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--muted, #5c4c3c);
  font-variant-numeric: tabular-nums;
}

.faq-item .q {
  flex: 1;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .04em;
  line-height: 1.7;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--muted, #5c4c3c);
  transition: transform .35s var(--ease), color .35s var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent, #7a3b2e);
}

.faq-item .a {
  padding: 0 0 26px;
  padding-inline-start: calc(1.1em + 18px); /* clears the number column */
  max-inline-size: 40ic;
  font-size: .95rem;
}

@media (max-width: 720px) {
  .faq-item summary { gap: 12px; }
  .faq-item .a { padding-inline-start: 0; }
}

/* ---------- reviews page (shared with reviews.html) ---------- */

.page-head { padding-block: clamp(64px, 10vw, 120px) clamp(40px, 6vw, 72px); }
.page-head .sec-title { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
.page-head .sec-lede { margin-top: 28px; }

.review-intro {
  max-inline-size: 40ic;
  margin-top: 28px;
}

.review {
  border-top: 1px solid var(--line);
  padding-block: 30px 40px;
}
.review:last-of-type { border-bottom: 1px solid var(--line); }

.review-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
}
.review-stars {
  color: var(--accent, #7a3b2e);
  letter-spacing: .14em;
  font-size: .85rem;
}
.review-author { font-weight: 500; letter-spacing: .06em; }
.review-date {
  color: var(--muted, #5c4c3c);
  font-size: .85rem;
  font-variant-numeric: tabular-nums;
}
.review p {
  margin-top: 16px;
  max-inline-size: 42ic;
  white-space: pre-line;
}

/* ---------- SNS ---------- */

.sns-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  transition: color .3s var(--ease);
}
.sns-list a:last-child { border-bottom: 1px solid var(--line); }
.sns-list a:hover { color: var(--accent, #7a3b2e); }
.sns-list .platform {
  font-weight: 500;
  letter-spacing: .1em;
}
.sns-list .handle {
  font-size: .85rem;
  color: var(--muted, #5c4c3c);
  font-variant-numeric: tabular-nums;
}

/* ---------- footer (inked surface) ---------- */

footer.ewb-chrome-footer {
  position: relative;
  background: var(--ink, #241c14);
  color: var(--bg, #efe7db);
  overflow: clip;
  padding-block: clamp(72px, 10vw, 128px) 0;
}

.foot-inner { position: relative; z-index: 1; }

.foot-closing {
  font-size: .9rem;
  letter-spacing: .1em;
  color: color-mix(in srgb, var(--bg, #efe7db) 78%, transparent);
}

.foot-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.1rem, 13.5vw, 12rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-top: clamp(28px, 4vw, 48px);
  white-space: nowrap;
}

.foot-ledger {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px 64px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--paper-line);
}

.foot-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .22em;
  color: color-mix(in srgb, var(--bg, #efe7db) 66%, transparent);
  margin-bottom: 12px;
}

.foot-fact { margin-bottom: 32px; }
.foot-fact p { font-size: .95rem; line-height: 1.9; }
.foot-fact .sub { font-size: .85rem; color: color-mix(in srgb, var(--bg, #efe7db) 72%, transparent); }

.foot-fact a {
  border-bottom: 1px solid color-mix(in srgb, var(--bg, #efe7db) 45%, transparent);
  padding-bottom: 2px;
  transition: border-color .3s var(--ease);
}
.foot-fact a:hover { border-color: var(--bg, #efe7db); }

.foot-phone .tel {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.2;
  letter-spacing: .02em;
  border-bottom: 2px solid color-mix(in srgb, var(--bg, #efe7db) 40%, transparent);
  transition: border-color .3s var(--ease);
}
.foot-phone .tel:hover { border-color: var(--bg, #efe7db); }
.foot-phone .foot-note {
  margin-top: 10px;
  font-size: .85rem;
  color: color-mix(in srgb, var(--bg, #efe7db) 72%, transparent);
}

.foot-colophon {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
  margin-top: clamp(48px, 7vw, 80px);
  padding-block: 22px;
  border-top: 1px solid var(--paper-line);
  font-size: .8rem;
  letter-spacing: .1em;
}
.foot-colophon a {
  color: color-mix(in srgb, var(--bg, #efe7db) 80%, transparent);
  transition: color .3s var(--ease);
}
.foot-colophon a:hover { color: var(--bg, #efe7db); }
.foot-colophon small {
  margin-inline-start: auto;
  color: color-mix(in srgb, var(--bg, #efe7db) 60%, transparent);
}

@media (max-width: 720px) {
  .foot-ledger { grid-template-columns: 1fr; }
  .foot-colophon small { margin-inline-start: 0; }
}

/* ---------- reduced motion ---------- */

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

/* ---------- reviews.html: voice band ---------- */

.review-band {
  display: grid;
  gap: clamp(48px, 8vw, 88px);
}

.review-band .review {
  border-top: 0;
  border-bottom: 0;
  padding-block: 0;
  max-inline-size: 34em;
}
.review-band .review:nth-of-type(even) { margin-inline-start: auto; }

.review-band .review p {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  line-height: 1.8;
  letter-spacing: .02em;
  white-space: pre-line;
  max-inline-size: none;
}

@media (max-width: 720px) {
  .review-band .review { max-inline-size: none; }
  .review-band .review:nth-of-type(even) { margin-inline-start: 0; }
}

/* closing strip */
.closing-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 40px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  font-size: .95rem;
  letter-spacing: .06em;
}
.closing-strip .tel {
  color: var(--accent, #7a3b2e);
  font-weight: 500;
}
.closing-strip a {
  border-bottom: 1px solid var(--accent, #7a3b2e);
  padding-bottom: 2px;
}


/* ---------- faq.html ---------- */

.sec--flush { padding-top: 0; }

