:root {
  --ink: #241812;
  --muted: #745f52;
  --brown: #743217;
  --brown-deep: #4b1e0f;
  --red: #c94f2d;
  --tea: #315f4d;
  --rice: #fff8ea;
  --paper: #f5e3bf;
  --line: rgba(36, 24, 18, .16);
  --shadow: 0 24px 70px rgba(75, 30, 15, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(rgba(116, 50, 23, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 50, 23, .055) 1px, transparent 1px),
    var(--rice);
  background-size: 34px 34px;
}

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

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

.site-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
}

.side-brand {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 100vh;
  padding: 28px 22px;
  color: #fff6df;
  background: linear-gradient(180deg, var(--brown) 0%, var(--brown-deep) 100%);
  display: flex;
  flex-direction: column;
  gap: 30px;
  border-right: 1px solid rgba(255, 255, 255, .16);
}

.brand-lockup {
  display: block;
  padding: 10px;
  border-radius: 22px;
  background: rgba(255, 248, 234, .96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
}

.brand-lockup img {
  width: 100%;
  height: auto;
}

.rail-nav {
  display: grid;
  gap: 8px;
}

.rail-nav a {
  position: relative;
  display: block;
  padding: 11px 12px 11px 16px;
  border-radius: 12px;
  color: rgba(255, 246, 223, .82);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.rail-nav a::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: transparent;
}

.rail-nav a:hover,
.rail-nav a.active {
  color: #fff;
  background: rgba(255, 248, 234, .12);
}

.rail-nav a.active::before {
  background: #ffd98a;
}

.rail-note {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 248, 234, .24);
  color: rgba(255, 246, 223, .72);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.75;
}

.mobile-top {
  display: none;
}

.page {
  min-width: 0;
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(420px, 1.02fr) minmax(420px, .98fr);
  border-bottom: 1px solid var(--line);
}

.hero-photo {
  position: relative;
  min-height: 640px;
  background:
    linear-gradient(180deg, rgba(36, 24, 18, .12), rgba(36, 24, 18, .54)),
    url("https://images.unsplash.com/photo-1562967914-608f82629710?auto=format&fit=crop&w=1400&q=84") center / cover;
}

.photo-caption {
  position: absolute;
  left: 36px;
  bottom: 38px;
  max-width: min(360px, calc(100% - 72px));
  padding: 14px 18px;
  border: 1px solid rgba(255, 248, 234, .42);
  border-radius: 10px;
  color: #fff8ea;
  background: rgba(36, 24, 18, .42);
  backdrop-filter: blur(8px);
  font-size: 18px;
  font-weight: 900;
}

.hero-copy {
  padding: clamp(54px, 8vw, 112px) clamp(38px, 7vw, 118px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  position: relative;
  margin: 0 0 18px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 44px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 1.06;
  font-weight: 950;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 1.14;
  font-weight: 950;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.3;
}

.lead,
.sub-hero p,
.story-copy p,
.paper-card p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 34px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--brown);
  border-radius: 7px;
  font-weight: 900;
  line-height: 1.2;
}

.btn.primary {
  color: #fff8ea;
  background: var(--brown);
  box-shadow: 0 14px 28px rgba(116, 50, 23, .18);
}

.btn.ghost {
  color: var(--brown);
  background: rgba(255, 248, 234, .62);
}

.btn.wide {
  width: 100%;
  margin-top: 18px;
}

.time-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(255, 248, 234, .62);
}

.time-board div {
  padding: 26px 28px;
}

.time-board div + div {
  border-left: 1px solid var(--line);
}

.time-board strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.time-board span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: clamp(58px, 7vw, 112px) clamp(28px, 7vw, 118px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(360px, 1.22fr);
  gap: 46px;
  align-items: start;
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dish-card,
.paper-card,
.menu-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 252, 244, .82);
  box-shadow: var(--shadow);
}

.dish-card {
  min-height: 230px;
  padding: 26px;
}

.dish-card span {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--tea);
  background: rgba(49, 95, 77, .12);
  font-size: 13px;
  font-weight: 900;
}

.dish-card p {
  color: var(--muted);
  line-height: 1.75;
}

.story-band {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(360px, 1.1fr);
  gap: 0;
  align-items: stretch;
  padding-top: 0;
}

.story-photo {
  min-height: 430px;
  border-radius: 26px 0 0 26px;
  background:
    linear-gradient(180deg, rgba(36, 24, 18, .08), rgba(36, 24, 18, .34)),
    url("https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=1200&q=84") center / cover;
}

.story-copy {
  padding: clamp(38px, 5vw, 74px);
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 26px 26px 0;
  background: rgba(255, 252, 244, .88);
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--brown);
  font-weight: 900;
  border-bottom: 2px solid var(--red);
}

.footer {
  padding: 28px clamp(28px, 7vw, 118px) 46px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
  line-height: 1.7;
}

.sub-hero {
  min-height: 470px;
  padding: clamp(70px, 10vw, 136px) clamp(28px, 7vw, 118px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 248, 234, .96), rgba(255, 248, 234, .72)),
    var(--sub-image, none) center / cover;
}

.sub-hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 5.8vw, 82px);
}

.sub-hero p {
  max-width: 780px;
}

.menu-hero {
  --sub-image: url("https://images.unsplash.com/photo-1512058564366-18510be2db19?auto=format&fit=crop&w=1500&q=84");
}

.story-hero {
  --sub-image: url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=1500&q=84");
}

.about-hero {
  --sub-image: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1500&q=84");
}

.contact-hero {
  --sub-image: url("https://images.unsplash.com/photo-1481833761820-0509d3217039?auto=format&fit=crop&w=1500&q=84");
}

.menu-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.menu-panel {
  padding: 32px;
}

.menu-panel.dark {
  color: #fff8ea;
  background: linear-gradient(160deg, var(--brown) 0%, var(--brown-deep) 100%);
}

.menu-panel.dark .menu-list div {
  border-color: rgba(255, 248, 234, .18);
}

.menu-panel h2 {
  font-size: 30px;
}

.menu-list {
  display: grid;
  gap: 2px;
}

.menu-list div {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  font-size: 17px;
}

.menu-list strong {
  white-space: nowrap;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.timeline article {
  padding: 30px;
  border-left: 5px solid var(--red);
  background: rgba(255, 252, 244, .82);
  box-shadow: var(--shadow);
}

.timeline span {
  color: var(--red);
  font-size: 28px;
  font-weight: 950;
}

.timeline p {
  color: var(--muted);
  line-height: 1.8;
}

.content-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.paper-card {
  padding: 32px;
}

.info-list {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px 18px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.info-list dt {
  color: var(--ink);
  font-weight: 900;
}

.info-list dd {
  margin: 0;
}

.map-card {
  min-height: 270px;
  padding: 32px;
  border-radius: 22px;
  color: #fff8ea;
  background:
    linear-gradient(135deg, rgba(75, 30, 15, .84), rgba(49, 95, 77, .82)),
    url("https://images.unsplash.com/photo-1523731407965-2430cd12f5e4?auto=format&fit=crop&w=1000&q=84") center / cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
}

.map-card span {
  margin-bottom: 8px;
  color: rgba(255, 248, 234, .78);
  font-weight: 800;
}

.map-card strong {
  font-size: 25px;
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .site-shell {
    grid-template-columns: 164px minmax(0, 1fr);
  }

  .side-brand {
    padding: 22px 16px;
  }

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

  .hero-photo {
    min-height: 430px;
  }

  .split-section,
  .story-band,
  .menu-layout,
  .timeline,
  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .dish-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-photo,
  .story-copy {
    border-radius: 24px;
  }

  .story-copy {
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .site-shell {
    display: block;
  }

  .side-brand {
    display: none;
  }

  .mobile-top {
    position: sticky;
    top: 0;
    z-index: 40;
    display: block;
    padding: 10px 14px 0;
    background: rgba(255, 248, 234, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }

  .mobile-logo {
    display: block;
    width: 178px;
    margin-bottom: 8px;
  }

  .mobile-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
  }

  .mobile-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-nav a {
    flex: 0 0 auto;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--brown);
    background: rgba(255, 252, 244, .82);
    font-size: 14px;
    font-weight: 900;
  }

  .mobile-nav a.active {
    color: #fff8ea;
    border-color: var(--brown);
    background: var(--brown);
  }

  .hero {
    min-height: auto;
  }

  .hero-photo {
    min-height: 340px;
  }

  .photo-caption {
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: none;
    font-size: 16px;
  }

  .hero-copy,
  .section,
  .sub-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  h2 {
    font-size: 31px;
  }

  .lead,
  .sub-hero p,
  .story-copy p,
  .paper-card p {
    font-size: 17px;
  }

  .time-board {
    grid-template-columns: 1fr;
  }

  .time-board div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .story-photo {
    min-height: 300px;
  }

  .story-copy,
  .paper-card,
  .menu-panel {
    padding: 24px;
  }

  .sub-hero {
    min-height: 380px;
  }

  .info-list {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }

  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}
