:root {
  --paper: #f4efe5;
  --paper-light: #faf7ef;
  --paper-deep: #e9e0d1;
  --ink: #171713;
  --charcoal: #292824;
  --muted: #605c54;
  --red: #b13a29;
  --red-dark: #87291f;
  --line: #cfc4b4;
  --serif: "Songti TC", "Noto Serif TC", "Source Han Serif TC", "PMingLiU", serif;
  --sans: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 17%, rgba(255, 255, 255, 0.72), transparent 24rem),
    linear-gradient(115deg, rgba(124, 98, 67, 0.025) 0 1px, transparent 1px 9px),
    var(--paper);
}

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

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

button,
a {
  font: inherit;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

#top,
#story,
#visit,
#menu {
  scroll-margin-top: 7rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(250, 247, 239, 0.97);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  width: min(100%, 1440px);
  min-height: 94px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-width: 0;
}

.brand img {
  width: 62px;
  height: 64px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-name {
  margin-left: 0.45rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.brand-detail {
  display: grid;
  gap: 0.12rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}

.brand-detail b {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.brand-detail small {
  font-family: Georgia, serif;
  font-size: 0.54rem;
  letter-spacing: 0.13em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.35rem, 2.8vw, 2.7rem);
}

.primary-nav a {
  position: relative;
  padding: 0.7rem 0;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.member-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  min-height: 48px;
  padding: 0 1.25rem;
  border: 1px solid var(--red);
  border-radius: 999px;
  font-family: var(--serif);
  font-weight: 700;
  white-space: nowrap;
}

.member-link:hover {
  color: #fff;
  background: var(--red);
}

.hero {
  display: grid;
  grid-template-columns: minmax(430px, 40%) minmax(0, 60%);
  width: min(100%, 1440px);
  min-height: 650px;
  margin: 0 auto;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper-light);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(3.25rem, 6vw, 6.5rem) clamp(2rem, 4.5vw, 4.4rem) clamp(2.8rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 5% 10%, #fff 0, transparent 28rem),
    linear-gradient(135deg, rgba(177, 58, 41, 0.035), transparent 55%),
    var(--paper-light);
}

.eyebrow {
  color: var(--red);
  font-family: var(--serif);
  font-size: clamp(0.76rem, 1vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hero h1 {
  margin-top: 1rem;
  font-family: var(--serif);
  font-size: clamp(3.7rem, 5vw, 5.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.015em;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-subline {
  margin-top: 1.1rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  letter-spacing: 0.08em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 50px;
  padding: 0 1.65rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.button-primary {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.button-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button-outline {
  color: var(--charcoal);
  background: transparent;
  border-color: var(--red);
}

.button-outline:hover {
  color: #fff;
  background: var(--red);
}

.years-lockup {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  color: var(--charcoal);
}

.years-lockup > span {
  display: grid;
  padding-right: 1.5rem;
  border-right: 1px solid #a98e77;
}

.years-lockup b {
  font-family: Georgia, var(--serif);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 0.9;
}

.years-lockup small {
  margin-top: 0.25rem;
  font-family: Georgia, serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.years-lockup p {
  font-family: var(--serif);
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.hero-photo {
  position: relative;
  min-width: 0;
  min-height: 650px;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-photo::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 12%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(250, 247, 239, 0.7), transparent);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 51%;
}

.hero-photo figcaption {
  position: absolute;
  top: 2.5rem;
  right: 2.75rem;
  z-index: 2;
  color: #fff;
  font-family: cursive;
  font-size: 1.35rem;
  line-height: 1.6;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.82);
  transform: rotate(-7deg);
}

.menu-preview,
.menu-featured,
.addon-menu {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: clamp(3.2rem, 6vw, 6rem) clamp(1.25rem, 5vw, 4.4rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 1fr) auto;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-heading::after {
  grid-column: 2;
  grid-row: 1;
  height: 1px;
  content: "";
  background: var(--line);
}

.section-heading h2,
.story h2,
.visit h2,
.addon-menu h2 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
}

.section-heading h2 {
  margin-top: 0.55rem;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0;
  color: var(--red);
  font-family: var(--serif);
  font-weight: 700;
  white-space: nowrap;
}

.dish-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 2.5vw, 2.4rem);
}

.dish {
  position: relative;
  min-width: 0;
}

.dish + .dish::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(clamp(0.9rem, 2.5vw, 2.4rem) / -2);
  width: 1px;
  content: "";
  background: var(--line);
}

.dish img {
  width: 100%;
  aspect-ratio: 1.05 / 1;
  object-fit: cover;
  object-position: 50% 48%;
}

.dish-caption {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0 0.4rem;
  text-align: center;
}

.dish-caption h3 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
}

.dish-caption p {
  color: var(--red);
  font-family: Georgia, var(--serif);
  font-size: 1rem;
}

.dish-caption strong {
  font-size: 1.45rem;
  font-weight: 500;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 57%) minmax(340px, 43%);
  width: min(100%, 1440px);
  min-height: 470px;
  margin: 0 auto;
  background: var(--paper-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-photo {
  position: relative;
  min-height: 470px;
  overflow: hidden;
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(3rem, 5vw, 5.2rem);
  background:
    radial-gradient(circle at 100% 30%, rgba(169, 146, 111, 0.13), transparent 16rem),
    var(--paper-light);
}

.story-copy h2 {
  margin-top: 0.8rem;
  font-size: clamp(3rem, 4.3vw, 4rem);
}

.story-copy h2 span,
.story-lead span {
  display: block;
  white-space: nowrap;
}

.story-lead {
  max-width: 30rem;
  margin-top: 1.25rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.65;
}

.story-copy .button {
  margin-top: 1.7rem;
}

.story-note {
  position: absolute;
  right: 2.2rem;
  bottom: 1.6rem;
  color: #786d62;
  font-family: cursive;
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
  transform: rotate(-6deg);
}

.visit {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto minmax(260px, 0.75fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.2rem) clamp(1.25rem, 5vw, 4.4rem);
  background: var(--paper-light);
}

.visit-place {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-width: 0;
}

.visit h2 {
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

.map-pin {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  background: var(--red);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.map-pin::after {
  position: absolute;
  top: 9px;
  left: 9px;
  width: 14px;
  height: 14px;
  content: "";
  background: var(--paper-light);
  border-radius: 50%;
}

.visit > .button {
  min-width: 170px;
}

.visit > p {
  padding-left: clamp(1rem, 3vw, 2.7rem);
  border-left: 1px solid #aa9784;
  color: var(--muted);
  font-family: var(--serif);
  line-height: 1.7;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 1.6rem clamp(1.25rem, 5vw, 4.4rem) 2rem;
  border-top: 1px solid var(--line);
  color: var(--charcoal);
  background: var(--paper-light);
  font-family: var(--serif);
}

.site-footer strong {
  font-size: 1.25rem;
}

.site-footer small {
  margin-left: 0.75rem;
  font-family: Georgia, serif;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
}

.site-footer > p:last-child {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

/* Complete menu page */

.menu-page {
  width: min(100%, 1440px);
  margin: 0 auto;
}

.menu-page-intro {
  display: grid;
  place-items: center;
  min-height: 330px;
  padding: 4.8rem 1.25rem 4.2rem;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(177, 58, 41, 0.04), transparent 28%, transparent 72%, rgba(177, 58, 41, 0.04)),
    var(--paper-light);
  border-bottom: 1px solid var(--line);
}

.menu-page-intro h1 {
  margin-top: 0.45rem;
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}

.menu-page-intro > p:last-child {
  margin-top: 1.25rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.18em;
}

.menu-featured {
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

.menu-featured .section-heading {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 1.4fr);
}

.addon-menu {
  display: grid;
  grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
  background: var(--charcoal);
  color: var(--paper-light);
}

.addon-heading {
  position: sticky;
  top: 2rem;
}

.addon-heading h2 {
  margin-top: 0.75rem;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 1.25;
}

.addon-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(244, 239, 229, 0.35);
}

.addon-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(244, 239, 229, 0.25);
}

.addon-list > div:nth-child(odd) {
  padding-right: 1.8rem;
}

.addon-list > div:nth-child(even) {
  padding-left: 1.8rem;
  border-left: 1px solid rgba(244, 239, 229, 0.18);
}

.addon-list dt {
  font-family: var(--serif);
  font-size: 1.25rem;
}

.addon-list dd {
  color: #e1725f;
  font-family: Georgia, var(--serif);
  font-size: 1.05rem;
  white-space: nowrap;
}

.menu-visit {
  grid-template-columns: minmax(0, 1fr) auto auto;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: minmax(275px, 1fr) auto auto;
    gap: 1.4rem;
    padding-inline: 1.5rem;
  }

  .brand-detail {
    display: none;
  }

  .primary-nav {
    gap: 1.3rem;
  }

  .hero {
    grid-template-columns: minmax(390px, 43%) minmax(0, 57%);
  }

  .hero-copy {
    padding-inline: 2.5rem;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 5.6vw, 4.4rem);
  }

  .story {
    grid-template-columns: minmax(0, 53%) minmax(340px, 47%);
  }

  .story-copy {
    padding: 3.2rem;
  }

  .story-copy h2 {
    font-size: clamp(1.9rem, 3.8vw, 3.3rem);
  }
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem 1rem;
    padding-block: 0.65rem 0.75rem;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .brand img {
    width: 48px;
    height: 50px;
  }

  .brand-name {
    font-size: 2rem;
  }

  .member-link {
    grid-column: 2;
    grid-row: 1;
    min-width: 104px;
    min-height: 42px;
    padding-inline: 1rem;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 0.7rem;
    padding-top: 0.25rem;
    border-top: 1px solid var(--line);
  }

  .primary-nav a {
    flex: 1;
    padding: 0.55rem 0.3rem 0.25rem;
    text-align: center;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero-copy {
    padding: 3.4rem clamp(1.25rem, 7vw, 3rem) 2.8rem;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 11vw, 5.4rem);
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-photo {
    min-height: 0;
    height: min(92vw, 690px);
  }

  .hero-photo::before {
    inset: 0 0 auto;
    width: 100%;
    height: 14%;
    background: linear-gradient(180deg, var(--paper-light), transparent);
  }

  .hero-photo figcaption {
    top: 2rem;
    right: 1.5rem;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .section-heading::after {
    display: none;
  }

  .dish-row {
    gap: 1rem;
  }

  .dish + .dish::before {
    display: none;
  }

  .dish-caption {
    flex-direction: column;
    gap: 0.3rem;
  }

  .story {
    grid-template-columns: 1fr;
  }

  .story-photo {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .story-copy {
    min-height: 440px;
  }

  .visit {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .visit > p {
    grid-column: 1 / -1;
    padding: 1.2rem 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .addon-menu {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }

  .addon-heading {
    position: static;
  }

  .menu-visit {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .menu-visit > .text-link {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  #top,
  #story,
  #visit,
  #menu {
    scroll-margin-top: 1rem;
  }

  .header-inner {
    padding-inline: 0.85rem;
  }

  .brand img {
    width: 42px;
    height: 44px;
  }

  .brand-name {
    margin-left: 0.3rem;
    font-size: 1.75rem;
  }

  .member-link {
    min-width: 94px;
    min-height: 40px;
    padding-inline: 0.75rem;
    font-size: 0.9rem;
  }

  .primary-nav a {
    font-size: 0.9rem;
  }

  .hero-copy {
    padding-top: 2.8rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.25rem);
    line-height: 1.09;
  }

  .hero-subline {
    max-width: 19rem;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .button {
    min-height: 48px;
    padding-inline: 0.8rem;
    gap: 0.55rem;
  }

  .years-lockup {
    gap: 1rem;
  }

  .years-lockup > span {
    padding-right: 1rem;
  }

  .years-lockup b {
    font-size: 2.8rem;
  }

  .years-lockup p {
    font-size: 0.93rem;
  }

  .hero-photo {
    height: 104vw;
    max-height: 450px;
  }

  .hero-photo img {
    object-position: 50% 46%;
  }

  .hero-photo figcaption {
    top: 1.5rem;
    right: 1rem;
    font-size: 1rem;
  }

  .menu-preview,
  .menu-featured,
  .addon-menu {
    padding: 3.5rem 1.25rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
  }

  .section-heading h2 {
    font-size: clamp(2.25rem, 11vw, 3.2rem);
  }

  .section-heading .text-link {
    justify-self: start;
  }

  .dish-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .dish img {
    aspect-ratio: 1.12 / 1;
  }

  .dish-caption {
    flex-direction: row;
    justify-content: space-between;
    padding: 0.9rem 0 0;
  }

  .dish-caption h3 {
    font-size: 1.5rem;
  }

  .story-photo {
    aspect-ratio: 4 / 3;
  }

  .story-copy {
    min-height: 420px;
    padding: 3.2rem 1.4rem 5.2rem;
  }

  .story-copy h2 {
    font-size: clamp(1.9rem, 11vw, 3.4rem);
  }

  .story-copy h2 span,
  .story-lead span {
    white-space: nowrap;
  }

  .story-lead {
    font-size: 1.3rem;
  }

  .story-note {
    right: 1.4rem;
    bottom: 1.2rem;
    font-size: 0.9rem;
  }

  .visit,
  .menu-visit {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 2.3rem 1.25rem;
  }

  .visit h2 {
    font-size: 1.8rem;
  }

  .visit > .button {
    width: 100%;
  }

  .visit > p,
  .menu-visit > .text-link {
    grid-column: 1;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
    padding-inline: 1.25rem;
  }

  .site-footer small {
    display: block;
    margin: 0.35rem 0 0;
  }

  .menu-page-intro {
    min-height: 260px;
    padding: 3.6rem 1.25rem 3.2rem;
  }

  .menu-page-intro h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  .menu-featured .section-heading {
    grid-template-columns: 1fr;
  }

  .addon-menu {
    gap: 2.4rem;
  }

  .addon-heading h2 {
    font-size: clamp(2.6rem, 12vw, 3.5rem);
  }

  .addon-list {
    grid-template-columns: 1fr;
  }

  .addon-list > div,
  .addon-list > div:nth-child(odd),
  .addon-list > div:nth-child(even) {
    padding: 1.1rem 0;
    border-right: 0;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
