:root {
  --bg: #e2e2e2;
  --paper: #e2e2e2;
  --surface: #d6d6d6;
  --ink: #7d0c14;
  --muted: #7a4a4e;
  --field: #7d0c14;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.15vw, 1.25rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --pad: 28px;
  --font: "Noto Serif SC", "Noto Serif CJK SC", "Songti SC", serif;
}

* { box-sizing: border-box; }
html { overflow-x: clip; }
body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--field); color: var(--paper); }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 9;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 56px));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  background: var(--field);
  color: var(--paper);
  text-decoration: none;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-weight: 600;
  font-size: var(--step-body);
  cursor: pointer;
}
.btn.on-field { background: var(--paper); color: var(--field); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.square { width: 48px; height: 48px; padding: 0; }
.btn:active { transform: scale(0.98); }
.btn:hover { filter: brightness(1.08); }
.btn.ghost:hover { background: var(--field); color: var(--paper); filter: none; }

.diamond {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 10px;
  background: var(--ink);
  transform: rotate(45deg);
  vertical-align: middle;
}

h1, h2, h3, p { overflow-wrap: anywhere; }
h2 {
  margin: 0;
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

/* hero: the card, cropped */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--field);
  color: var(--paper);
  padding: 0 28px 72px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  position: relative;
  z-index: 3;
}
.mark {
  color: var(--paper);
  text-decoration: none;
  font-weight: 900;
  font-size: var(--step-lead);
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-links {
  display: flex;
  gap: 8px;
}
.nav-links a, .card-links a {
  color: var(--paper);
  text-decoration: none;
  font-size: var(--step-body);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
}
.nav-links a:hover, .card-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.topbar :focus-visible { outline-color: var(--paper); }

.hero-card {
  width: min(560px, calc(100% - 96px));
  margin: 150px auto 0;
  min-height: calc(100svh - 80px);
  background: var(--paper);
  color: var(--ink);
  position: relative;
  padding: 64px 48px 72px;
  text-align: center;
  display: flex;
  flex-direction: column;
  animation: rise 0.8s ease both;
}
.notch {
  position: absolute;
  width: 32px;
  height: 32px;
  background: var(--field);
  border-radius: 50%;
}
.n-tl { top: -16px; left: -16px; }
.n-tr { top: -16px; right: -16px; }
.n-bl { bottom: -16px; left: -16px; }
.n-br { bottom: -16px; right: -16px; }
.hero-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.hero-title .l1 { display: block; text-align: left; padding-left: 8%; }
.hero-title .l2 { display: block; text-align: right; padding-right: 2%; margin-top: 8px; }
.hero-meta {
  margin: 22px 0 0;
  font-size: var(--step-body);
}
.card-links { display: none; }

/* intro */
.intro {
  background: var(--bg);
  padding: 120px 0 100px;
}
.intro-top {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: end;
}
.intro-top h2 { grid-column: 1 / 7; }
.intro-top .note {
  grid-column: 10 / 13;
  margin: 0;
  max-width: 34ch;
  font-size: var(--step-body);
  color: var(--muted);
}
.facts {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 100px 0 0;
  padding: 0;
}
.facts div { min-width: 0; }
.facts dt {
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.facts dd {
  margin: 8px 0 0;
  font-size: var(--step-body);
  color: var(--muted);
}
.intro-media {
  width: min(460px, 42%);
  margin: 28px 0 0 auto;
}
.intro-media figcaption, .sheet-note, .hours, .saved, .visit-phone {
  font-size: var(--step-body);
  color: var(--muted);
}
.intro-media figcaption { margin-top: 10px; }

.pan-frame { overflow: hidden; background: var(--surface); }
.pan-frame img, .pan-frame video, .contact-photo img, .list-bg, .sq, .stamp {
  filter: grayscale(1);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pan-frame img, .pan-frame video, .contact-photo img {
  animation: drift 18s ease-in-out alternate infinite;
}
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-45 { aspect-ratio: 4 / 5; }
.poster-still { display: none; }

/* menu sheet */
.menu-sec {
  background: var(--field);
  padding: 88px 16px;
}
.sheet {
  width: min(560px, 100%);
  margin-inline: auto;
  background: var(--paper);
  color: var(--ink);
  padding: 56px 36px 48px;
  clip-path: polygon(
    0 14px, 5% 0, 10% 14px, 15% 0, 20% 14px, 25% 0, 30% 14px, 35% 0, 40% 14px, 45% 0, 50% 14px,
    55% 0, 60% 14px, 65% 0, 70% 14px, 75% 0, 80% 14px, 85% 0, 90% 14px, 95% 0, 100% 14px,
    100% calc(100% - 14px),
    95% 100%, 90% calc(100% - 14px), 85% 100%, 80% calc(100% - 14px), 75% 100%, 70% calc(100% - 14px),
    65% 100%, 60% calc(100% - 14px), 55% 100%, 50% calc(100% - 14px), 45% 100%, 40% calc(100% - 14px),
    35% 100%, 30% calc(100% - 14px), 25% 100%, 20% calc(100% - 14px), 15% 100%, 10% calc(100% - 14px),
    5% 100%, 0 calc(100% - 14px)
  );
}
.sheet h2, .menu-sheet h2 { text-align: center; }
.sheet > .diamond { display: block; margin: 18px auto; }
.group { margin-top: 44px; }
.group h3, .season h3 {
  margin: 0 0 16px;
  font-size: var(--step-lead);
  font-weight: 600;
}
.season h3 { text-align: center; }
.item { margin-top: 18px; }
.item-top, .dish-top, .hours-rows div, .addr a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: var(--step-body);
  font-weight: 600;
}
.leaders {
  flex: 1;
  border-bottom: 4px dotted var(--ink);
  transform: translateY(-6px);
  min-width: 20px;
}
.item p, .dish p {
  margin: 6px 0 0;
  max-width: 34ch;
  font-size: var(--step-body);
  color: var(--muted);
  font-weight: 400;
}
.picks { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.say-line {
  font-size: var(--step-lead);
  color: var(--ink);
  font-weight: 600;
  min-height: 3.2em;
  margin-top: 18px;
}
.tonight {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}
.tonight label { font-size: var(--step-body); font-weight: 600; }
.tonight input {
  font: inherit;
  font-size: var(--step-body);
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-bottom: 4px solid var(--ink);
  padding: 10px 0;
  border-radius: 0;
  width: 100%;
}
.saved { margin-top: 12px; }

/* moments */
.moments {
  background: var(--bg);
  padding: 100px 0 80px;
  overflow-x: clip;
}
.moments-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}
.moment-nav { display: flex; gap: 8px; }
.bar {
  height: 6px;
  background: var(--surface);
  margin-top: 18px;
}
.bar span {
  display: block;
  height: 6px;
  width: 16%;
  background: var(--ink);
}
.drag {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 28px 28px 12px;
  scrollbar-width: none;
}
.drag::-webkit-scrollbar { display: none; }
.moment {
  flex: 0 0 280px;
  scroll-snap-align: start;
}
.moment h3 { margin: 0; font-size: var(--step-lead); font-weight: 600; }
.moment p { margin: 8px 0 0; font-size: var(--step-body); color: var(--muted); max-width: 28ch; }
.gap { height: 80px; }
.g1 { height: 48px; }
.g2 { height: 110px; }
.g3 { height: 28px; }
.g4 { height: 90px; }
.g5 { height: 60px; }
.g6 { height: 130px; }

/* seasonal list on a photograph */
.list-sec {
  position: relative;
  background: var(--field);
  padding: 88px 28px;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
}
.list-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  z-index: 0;
}
.menu-sheet {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  margin-right: 4%;
  margin-left: auto;
}
.sheet-note, .hours { text-align: center; margin: 14px auto 0; max-width: 36ch; }
.season { margin-top: 56px; }
.dish { margin-top: 16px; }
.dish-top span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.hours + .hours { margin-top: 4px; }

/* faq */
.faq { background: var(--surface); padding: 120px 0 88px; overflow-x: clip; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: start;
}
.faq-copy { grid-column: 1 / 6; }
.faq-photos { grid-column: 7 / 13; position: relative; }
.plain { list-style: none; margin: 28px 0 0; padding: 0; }
.plain li { font-size: var(--step-body); margin-top: 8px; color: var(--ink); }
.accordion { margin-top: 36px; }
.accordion details { margin-top: 28px; }
.accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: var(--step-lead);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  flex: 0 0 auto;
}
details[open] .chev { transform: rotate(-135deg); }
.accordion details p { margin: 10px 0 0; color: var(--muted); font-size: var(--step-body); }
.faq-actions { display: flex; gap: 18px; align-items: center; margin-top: 36px; flex-wrap: wrap; }
.text-link { color: var(--ink); font-weight: 600; }
.tall { aspect-ratio: 3 / 4; margin-top: -80px; }
.sq {
  position: absolute;
  width: 34%;
  aspect-ratio: 1;
  object-fit: cover;
  left: -28px;
  bottom: 48px;
  height: auto;
}

/* contact */
.contact {
  position: relative;
  height: 100svh;
  background: var(--field);
  overflow: hidden;
}
.contact-photo { position: absolute; inset: 0; }
.contact-photo img {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  object-position: center 35%;
  max-width: none;
}
.visit-card {
  position: absolute;
  top: 60px;
  right: 60px;
  width: min(380px, calc(100% - 48px));
  background: var(--paper);
  color: var(--ink);
  padding: 32px 32px 0;
  z-index: 1;
}
.visit-card h2 { font-weight: 600; font-size: var(--step-head); }
.visit-card p { margin: 14px 0 0; font-size: var(--step-body); }
.hours-rows { margin-top: 18px; }
.hours-rows div { font-weight: 400; font-size: var(--step-body); margin-top: 8px; }
.visit-phone { margin-bottom: 18px; }
.visit-btn { width: calc(100% + 64px); margin-left: -32px; min-height: 52px; }

/* curtain footer */
main {
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.back {
  position: relative;
  z-index: 0;
  min-height: 100svh;
  background: var(--field);
  color: var(--paper);
  display: grid;
  align-items: center;
  padding: 28px;
}
.back-panel {
  width: min(980px, 100%);
  margin-inline: auto;
  background: var(--paper);
  color: var(--ink);
  min-height: 420px;
  padding: 48px 36px 28px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px 32px;
  clip-path: polygon(
    0 16px,
    4.2% 0, 8.3% 16px, 12.5% 0, 16.7% 16px, 20.8% 0, 25% 16px,
    29.2% 0, 33.3% 16px, 37.5% 0, 41.7% 16px, 45.8% 0, 50% 16px,
    54.2% 0, 58.3% 16px, 62.5% 0, 66.7% 16px, 70.8% 0, 75% 16px,
    79.2% 0, 83.3% 16px, 87.5% 0, 91.7% 16px, 95.8% 0, 100% 16px,
    100% 100%, 0 100%
  );
}
.sign-off {
  margin: 8px 0 12px;
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.sign p:last-child { margin: 0; max-width: 36ch; }
.addr { position: relative; padding-top: 8px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.addr a { text-decoration: none; font-size: var(--step-body); font-weight: 600; }
.addr a:hover { text-decoration: underline; text-underline-offset: 4px; }
.stamp {
  width: 88px;
  height: 118px;
  object-fit: cover;
  margin-left: auto;
  margin-bottom: 8px;
}
.imprint, .credits {
  grid-column: 1 / -1;
  text-align: center;
  font-size: var(--step-body);
  color: var(--ink);
  margin: 0 auto;
  max-width: 36ch;
}
.credits a { color: var(--ink); }

.part { animation: rise 0.7s ease both; }
.part:nth-child(2) { animation-delay: 0.08s; }
.part:nth-child(3) { animation-delay: 0.14s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.5%, -1%, 0); }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 24px); }
  .nav-links { display: none; }
  .hero { padding: 0 12px 48px; }
  .hero-card {
    width: calc(100% - 8px);
    margin-top: 96px;
    min-height: calc(100svh + 64px);
    padding: 48px 22px 28px;
  }
  .hero-title { font-size: clamp(36px, 11vw, 52px); }
  .hero-title .l1, .hero-title .l2 { text-align: center; padding: 0; }
  .card-links {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: auto;
  }
  .card-links a { color: var(--ink); }
  .intro { padding: 72px 0; }
  .intro-top { display: block; }
  .intro-top .note { margin-top: 16px; max-width: none; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 16px; margin-top: 48px; }
  .facts dt { font-size: 26px; }
  .intro-media { width: 100%; }
  .menu-sec, .list-sec { padding: 48px 10px; }
  .sheet { padding: 40px 20px 32px; }
  .list-sec { display: block; }
  .menu-sheet { margin: 0; }
  .moments { padding: 64px 0; }
  .moment-nav { display: none; }
  .moment { flex-basis: 72vw; }
  .gap, .g1, .g2, .g3, .g4, .g5, .g6 { height: 36px; }
  .g2, .g4, .g6 { height: 64px; }
  .faq { padding: 48px 0 64px; }
  .faq-grid { display: flex; flex-direction: column; }
  .faq-photos { order: -1; }
  .tall { margin-top: 0; aspect-ratio: 4 / 5; }
  .sq { left: auto; right: 8%; bottom: -8%; width: 38%; }
  .faq-actions .btn { width: 100%; }
  .contact { height: auto; overflow: visible; }
  .contact-photo { position: relative; height: 70svh; overflow: hidden; }
  .visit-card {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% - 32px);
    margin: -80px 16px 0;
    padding: 28px 20px 0;
  }
  .visit-btn { width: calc(100% + 40px); margin-left: -20px; min-height: 56px; }
  .back { padding: 16px; align-items: center; }
  .back-panel {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 36px 18px 20px;
  }
  .stamp { width: 64px; height: 86px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .pan-frame video { display: none; }
  .poster-still { display: block; height: 100%; object-fit: cover; }
  .back { min-height: 0; }
}
