:root {
  --ink: #241f1a;
  --soft-ink: #5d544a;
  --paper: #fffaf2;
  --rice: #f4eadc;
  --charcoal: #14110e;
  --accent: #b5492f;
  --gold: #d49b37;
  --leaf: #65785a;
  --line: rgba(36, 31, 26, 0.14);
  --shadow: 0 22px 55px rgba(44, 31, 19, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  line-height: 1.85;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(rgba(20, 17, 14, 0.78), rgba(20, 17, 14, 0.48));
  backdrop-filter: blur(10px);
}

.brand img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.35));
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.nav a {
  min-width: 84px;
  padding: 9px 14px;
  border: 1px solid transparent;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav a:hover,
.nav a.active {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(20, 17, 14, 0.42);
  padding: 9px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  padding: 150px 24px 72px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.home-hero {
  background-image:
    linear-gradient(90deg, rgba(18, 13, 8, 0.72), rgba(18, 13, 8, 0.22) 56%, rgba(18, 13, 8, 0.08)),
    url("/assets/hero.jpg");
}

.page-hero {
  min-height: 440px;
}

.menu-hero {
  background-image:
    linear-gradient(90deg, rgba(18, 13, 8, 0.68), rgba(18, 13, 8, 0.16)),
    url("/assets/menu-hero.jpg");
  background-position: 100% 52%;
}

.about-hero {
  background-image:
    linear-gradient(90deg, rgba(255, 250, 242, 0.72), rgba(255, 250, 242, 0.12)),
    url("/assets/about-hero.jpg");
  background-position: center 39%;
}

.contact-hero {
  background-image:
    linear-gradient(90deg, rgba(18, 13, 8, 0.68), rgba(18, 13, 8, 0.12)),
    url("/assets/contact-hero.jpg");
  background-position: 100% 11%;
}

.hero-content {
  width: min(560px, 100%);
  margin-left: clamp(0px, 6vw, 80px);
  color: #fff;
}

.hero-content.light {
  color: var(--ink);
}

.hero-content.compact {
  width: min(520px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-mark {
  width: min(310px, 72vw);
  margin: 0 0 18px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.28));
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(44px, 8vw, 76px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  width: min(470px, 100%);
  margin: 0 0 26px;
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.light .hero-copy {
  color: var(--soft-ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action,
.menu-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid transparent;
  font-weight: 900;
}

.primary-action,
.menu-button {
  background: var(--accent);
  color: #fff;
}

.secondary-action {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--charcoal);
  color: #fff;
}

.quick-info div {
  padding: 24px clamp(18px, 4vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.quick-info span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.quick-info strong {
  font-size: 16px;
}

.section {
  padding: clamp(52px, 6vw, 84px) 24px;
  background: var(--paper);
}

.wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.two-col,
.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.section-title {
  width: auto;
  height: 42px;
  margin: 0 auto 28px;
}

.align-left {
  margin-left: 0;
}

.copy,
.about-text,
.contact-details {
  color: var(--soft-ink);
  font-size: 18px;
}

.about-text,
.contact-details {
  font-size: 20px;
}

.about-layout {
  grid-template-columns: 0.86fr 1.14fr;
}

.contact-layout {
  grid-template-columns: 0.78fr 1.22fr;
}

.copy p,
.about-text p {
  margin: 0 0 18px;
}

.feature-photo {
  margin: 0;
}

.feature-photo img,
.menu-item img,
.full-menu-block img {
  width: 100%;
  box-shadow: var(--shadow);
}

.line-section {
  background:
    linear-gradient(rgba(255, 250, 242, 0.86), rgba(255, 250, 242, 0.86)),
    url("/assets/paper-bg.png") center / cover;
}

.line-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.qr img {
  width: 122px;
  box-shadow: 0 12px 28px rgba(44, 31, 19, 0.14);
}

.line-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.line-copy p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 18px;
}

.photo-carousel {
  position: relative;
  overflow: hidden;
  width: min(980px, 100%);
  margin: 0 auto 46px;
  background: #fff;
  box-shadow: var(--shadow);
}

.about-carousel {
  width: 100%;
  margin-bottom: 0;
}

.carousel-track {
  position: relative;
  aspect-ratio: 16 / 9;
}

.about-carousel .carousel-track {
  aspect-ratio: 4 / 3;
}

.carousel-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.carousel-track img.active {
  opacity: 1;
}

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.32);
}

.carousel-dots span.active {
  background: #fff;
}

.menu-preview,
.menu-page {
  text-align: center;
  background:
    linear-gradient(rgba(255, 250, 242, 0.9), rgba(255, 250, 242, 0.9)),
    url("/assets/menu-bg.jpg") center / cover fixed;
}

.section-lead {
  width: min(720px, 100%);
  margin: 0 auto 42px;
  color: var(--soft-ink);
  font-size: 18px;
}

.chef-copy {
  width: min(760px, 100%);
  margin: -6px auto 36px;
  color: var(--soft-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.8;
  text-align: center;
}

.chef-copy p {
  margin: 0;
}

.menu-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: -18px auto 38px;
}

.menu-jump a {
  display: inline-flex;
  min-width: 142px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  background: #fff;
  color: var(--accent);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(44, 31, 19, 0.1);
}

.menu-jump a:hover {
  background: var(--accent);
  color: #fff;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 42px;
}

.gallery a {
  display: block;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(44, 31, 19, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.gallery img {
  width: 100%;
  aspect-ratio: 800 / 585;
  object-fit: cover;
}

.gallery span {
  display: block;
  padding: 14px 12px 18px;
  font-weight: 900;
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  margin-bottom: 58px;
  text-align: left;
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 auto 64px;
  scroll-margin-top: 96px;
}

.dish-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 100%;
  background: #fff;
  box-shadow: 0 12px 34px rgba(44, 31, 19, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dish-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.dish-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.dish-card span {
  display: grid;
  min-height: 54px;
  place-items: center;
  padding: 14px 16px 6px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.dish-card p {
  margin: 0;
  padding: 0 18px 20px;
  color: var(--soft-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
}

.menu-item {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(44, 31, 19, 0.12);
}

.menu-item p {
  margin: 0;
  padding: 18px 20px 22px;
  color: var(--soft-ink);
  font-weight: 800;
}

.photo-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 auto 58px;
}

.about-wall {
  margin-top: 46px;
  margin-bottom: 0;
}

.photo-wall a {
  display: block;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 34px rgba(44, 31, 19, 0.12);
}

.photo-wall img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.photo-wall a:hover img {
  transform: scale(1.04);
}

.full-menu-block {
  width: min(760px, 100%);
  margin: 0 auto;
  scroll-margin-top: 96px;
}

.full-menu-block h2 {
  margin: 0 0 22px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
}

.full-menu-block p {
  color: var(--soft-ink);
  font-weight: 900;
}

.about-page {
  background:
    linear-gradient(rgba(255, 250, 242, 0.9), rgba(255, 250, 242, 0.9)),
    url("/assets/paper-bg.png") center / cover fixed;
}

.about-logo {
  width: min(280px, 74vw);
  margin: 0 0 28px;
}

.contact-strip,
.contact-page {
  background:
    linear-gradient(rgba(255, 250, 242, 0.88), rgba(255, 250, 242, 0.88)),
    url("/assets/contact-bg.jpg") center / cover fixed;
}

.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

address {
  margin: 0;
  color: var(--soft-ink);
  font-style: normal;
  font-size: 18px;
}

address a {
  color: var(--accent);
  font-weight: 900;
}

address span {
  color: var(--accent);
}

.socials {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.socials.left {
  justify-content: flex-start;
  margin-top: 24px;
}

.socials a {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: #fff;
  box-shadow: 0 8px 22px rgba(44, 31, 19, 0.12);
}

.socials img {
  max-width: 34px;
  max-height: 34px;
}

.map-wrap iframe {
  width: 100%;
  min-height: 460px;
  box-shadow: var(--shadow);
}

footer {
  padding: 34px 20px 44px;
  border-top: 1px solid var(--line);
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-size: 14px;
}

footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.84);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(980px, 92vw);
  max-height: 84vh;
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 32px;
  line-height: 1;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 68px;
    padding: 12px 18px;
  }

  .brand img {
    width: 108px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 68px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    background: rgba(20, 17, 14, 0.94);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
  }

  .hero {
    min-height: 560px;
    padding: 116px 20px 52px;
  }

  .home-hero {
    background-image:
      linear-gradient(rgba(18, 13, 8, 0.42), rgba(18, 13, 8, 0.72)),
      url("/assets/hero.jpg");
    background-position: 34% center;
  }

  .menu-hero {
    background-position: 72% center;
  }

  .about-hero {
    background-position: center;
  }

  .contact-hero {
    background-position: 76% center;
  }

  .hero-content {
    margin-left: 0;
  }

  .quick-info,
  .two-col,
  .about-layout,
  .contact-layout,
  .gallery,
  .menu-items,
  .dish-grid,
  .photo-wall {
    grid-template-columns: 1fr;
  }

  .quick-info div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .align-left,
  .about-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .copy,
  .about-text,
  .contact-details,
  address,
  .section-lead {
    text-align: center;
    font-size: 16px;
  }

  .chef-copy {
    font-size: 16px;
  }

  .carousel-track,
  .about-carousel .carousel-track {
    aspect-ratio: 4 / 3;
  }

  .map-wrap iframe {
    min-height: 340px;
  }

  .line-box,
  .contact-strip-inner {
    flex-direction: column;
    text-align: center;
  }

  .socials.left {
    justify-content: center;
  }
}
