:root {
  --paper: #f4efe6;
  --paper-deep: #e9dfd0;
  --ink: #201a17;
  --muted: #6e645c;
  --oxblood: #7b2f2a;
  --walnut: #4a2b20;
  --jade: #6e7c68;
  --rule: rgba(74, 43, 32, 0.36);
  --serif: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
  --sans: "Inter", "Noto Sans SC", sans-serif;
  --cn-serif: "Noto Serif SC", serif;
  --gutter: clamp(24px, 5vw, 78px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(rgba(74, 43, 32, .035) .7px, transparent .7px);
  background-size: 5px 5px;
}
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: relative;
  z-index: 20;
  height: 118px;
  padding: 22px var(--gutter) 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  background: rgba(244, 239, 230, .96);
}
.brand { justify-self: start; display: inline-flex; flex-direction: column; font-family: var(--serif); }
.brand > span { font-size: clamp(40px, 4vw, 58px); line-height: .8; font-weight: 600; letter-spacing: -.035em; }
.brand small { margin-top: 10px; color: var(--oxblood); font-family: var(--cn-serif); font-size: 13px; letter-spacing: .12em; }
.site-nav { display: flex; gap: clamp(28px, 4vw, 62px); align-items: center; }
.site-nav a { position: relative; padding: 14px 2px; font-size: 15px; font-weight: 500; }
.site-nav a::after { content: ""; position: absolute; right: 50%; bottom: 5px; left: 50%; height: 2px; background: var(--oxblood); transition: .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; left: 0; }
.language-toggle { justify-self: end; border: 0; background: transparent; cursor: pointer; font-size: 14px; font-weight: 600; letter-spacing: .05em; }
.language-toggle i { margin: 0 8px; font-style: normal; color: var(--muted); }
.language-toggle .lang-zh { color: var(--muted); }
html[lang="zh"] .language-toggle .lang-en { color: var(--muted); }
html[lang="zh"] .language-toggle .lang-zh { color: var(--oxblood); }
.menu-toggle { display: none; }

.hero { min-height: calc(100vh - 118px); display: grid; grid-template-columns: .87fr 1.13fr; border-bottom: 3px solid var(--oxblood); }
.hero-copy { padding: clamp(65px, 8vw, 120px) var(--gutter) 58px; align-self: center; }
.hero h1 { margin: 0; max-width: 700px; font-family: var(--serif); font-size: clamp(60px, 6.2vw, 103px); font-weight: 500; line-height: .84; letter-spacing: -.045em; }
.hero h1 em { color: var(--oxblood); font-style: normal; }
html[lang="zh"] .hero h1 { font-family: var(--cn-serif); font-size: clamp(54px, 5.5vw, 84px); line-height: 1.16; letter-spacing: .02em; }
.brush-line { width: 84px; height: 3px; margin: 30px 0; background: var(--jade); }
.hero-chinese { margin: 0; font-family: var(--cn-serif); font-size: clamp(25px, 2.2vw, 36px); line-height: 1.4; letter-spacing: .06em; }
html[lang="zh"] .hero-chinese { font-family: var(--serif); letter-spacing: 0; }
.hero-lede { max-width: 500px; margin: 20px 0 0; color: #352d29; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.6; }
.hero-actions, .visit-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { min-height: 52px; padding: 0 27px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--walnut); font-weight: 600; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--oxblood); color: #fffaf1; background: var(--oxblood); }
.button-primary:hover { background: #63241f; }
.button-ghost { background: transparent; }
.button-ghost:hover { background: var(--ink); color: var(--paper); }
.button-light { border-color: rgba(255,255,255,.7); color: var(--paper); }
.button-light:hover { background: var(--paper); color: var(--ink); }
.hero-location { width: fit-content; margin-top: 30px; display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 500; }
.hero-location svg, address svg { width: 23px; height: 23px; flex: 0 0 auto; fill: var(--jade); }
.hero-media { position: relative; min-height: 650px; overflow: hidden; }
.hero-media::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 14%; background: linear-gradient(90deg, var(--paper), transparent); pointer-events: none; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 48% center; }
.hero-media-caption { position: absolute; right: 28px; bottom: 22px; padding: 9px 12px; color: var(--paper); background: rgba(32, 26, 23, .82); font-family: var(--serif); font-size: 17px; letter-spacing: .03em; }

.marquee { overflow: hidden; color: var(--paper); background: var(--walnut); }
.marquee div { width: max-content; padding: 12px 0; display: flex; align-items: center; gap: 34px; animation: marquee 24s linear infinite; font-family: var(--serif); font-size: 17px; letter-spacing: .12em; }
.marquee i { color: #d5b990; font-size: 8px; }
.marquee div::after { content: "NOODLES  ◆  WONTONS  ◆  COFFEE  ◆  TAKAPUNA  ◆"; word-spacing: 25px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.menu-section { padding: 105px var(--gutter) 88px; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; }
.section-number { display: block; margin-bottom: 11px; color: var(--oxblood); font-size: 12px; font-weight: 600; letter-spacing: .18em; }
.section-heading h2, .story-copy h2, .visit-copy h2 { margin: 0; display: flex; align-items: center; gap: 24px; font-family: var(--serif); font-size: clamp(58px, 6vw, 92px); font-weight: 600; line-height: .8; letter-spacing: -.035em; }
.section-heading h2 i, .story-copy h2 i, .visit-copy h2 i { padding-left: 24px; border-left: 1px solid var(--rule); color: var(--oxblood); font-family: var(--cn-serif); font-size: .58em; font-style: normal; letter-spacing: .08em; }
html[lang="zh"] .section-heading h2 span, html[lang="zh"] .story-copy h2 span, html[lang="zh"] .visit-copy h2 span { font-family: var(--cn-serif); letter-spacing: .05em; }
.text-link { position: relative; padding: 5px 0; border: 0; border-bottom: 1px solid currentColor; color: var(--oxblood); background: none; cursor: pointer; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }

.menu-tabs { margin-top: 52px; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.menu-tabs button { position: relative; min-height: 58px; padding: 10px 14px; border: 0; border-right: 1px solid var(--rule); background: transparent; cursor: pointer; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.menu-tabs button:last-child { border-right: 0; }
.menu-tabs button::after { content: ""; position: absolute; right: 50%; bottom: -1px; left: 50%; height: 4px; background: var(--oxblood); transition: .25s; }
.menu-tabs button.active { color: var(--oxblood); }
.menu-tabs button.active::after { right: 32%; left: 32%; }
.menu-panel { display: none; grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 7vw, 110px); padding: 23px 6px 10px; }
.menu-panel.active { display: grid; animation: reveal .35s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(7px); } }
.menu-item { min-height: 88px; padding: 20px 0 17px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; border-bottom: 1px dashed rgba(74,43,32,.32); }
.menu-item h3 { margin: 0; font-family: var(--cn-serif); font-size: 18px; font-weight: 600; }
.menu-item p { margin: 5px 0 0; color: var(--jade); font-family: var(--serif); font-size: 17px; font-weight: 600; }
html[lang="zh"] .menu-item p { font-family: var(--sans); font-size: 13px; letter-spacing: .04em; }
.menu-item strong { max-width: 210px; color: var(--oxblood); font-family: var(--serif); font-size: 17px; text-align: right; }
.coffee-panel { max-width: 850px; margin: 0 auto; padding-top: 38px; display: none; grid-template-columns: 1fr; }
.coffee-panel.active { display: block; }
.coffee-head, .coffee-row { display: grid; grid-template-columns: 1fr 80px 80px; gap: 15px; align-items: center; }
.coffee-head { padding: 0 0 13px; border-bottom: 1px solid var(--rule); color: var(--walnut); font-family: var(--serif); font-size: 25px; font-weight: 600; }
.coffee-head i { color: var(--jade); font-size: 14px; font-style: normal; text-align: right; }
.coffee-row { padding: 12px 0; border-bottom: 1px dashed rgba(74,43,32,.28); }
.coffee-row strong { text-align: right; color: var(--oxblood); }
.menu-photo-strip { margin-top: 48px; min-height: 255px; display: grid; grid-template-columns: 1fr 1.2fr 1fr; border: 1px solid var(--rule); overflow: hidden; }
.menu-photo-strip img { width: 100%; height: 255px; object-fit: cover; }
.special-copy { padding: 34px clamp(25px, 4vw, 60px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: var(--paper); background: var(--walnut); }
.special-copy > span { margin-bottom: 12px; color: #d5b990; font-family: var(--serif); font-size: 27px; }
.special-copy strong { max-width: 390px; font-family: var(--cn-serif); font-size: 20px; font-weight: 500; line-height: 1.55; }
.special-copy .text-link { margin-top: 22px; color: var(--paper); }
.menu-note { margin: 17px 0 0; color: var(--muted); font-size: 12px; text-align: right; }

.story-section { min-height: 760px; padding: 105px var(--gutter); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(70px, 10vw, 155px); align-items: center; border-top: 1px solid var(--rule); }
.story-copy h2 { display: block; color: var(--oxblood); }
.story-copy h2 i { margin-top: 26px; padding: 20px 0 0; display: block; border-top: 1px solid var(--rule); border-left: 0; color: var(--ink); }
.story-copy h3 { margin: 48px 0 25px; max-width: 470px; color: var(--oxblood); font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); font-style: italic; font-weight: 500; line-height: 1.1; }
html[lang="zh"] .story-copy h3 { font-family: var(--cn-serif); font-style: normal; line-height: 1.5; }
.story-copy p { max-width: 570px; margin: 0; color: #413833; font-family: var(--serif); font-size: clamp(19px, 1.65vw, 25px); line-height: 1.55; }
html[lang="zh"] .story-copy p { font-family: var(--sans); font-size: 17px; line-height: 2; }
.story-photo { margin: 0; }
.story-photo img { width: 100%; max-height: 610px; object-fit: cover; object-position: center 49%; border: 14px solid #3b2922; box-shadow: 0 12px 28px rgba(32,26,23,.16); }
.story-photo figcaption { padding-top: 15px; color: var(--muted); font-family: var(--serif); font-size: 16px; font-style: italic; text-align: center; }

.visit-section { padding: 74px var(--gutter); display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(55px, 8vw, 125px); align-items: center; color: var(--paper); background: #201b18; background-image: linear-gradient(100deg, rgba(74,43,32,.38), transparent 60%), radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px); background-size: auto, 4px 4px; }
.visit-copy .section-number { color: #d5b990; }
.visit-copy h2 { display: block; }
.visit-copy h2 i { margin-top: 20px; padding: 0; display: block; border: 0; color: #d5b990; }
.visit-intro { max-width: 430px; margin: 28px 0; color: #d9d0c5; line-height: 1.6; }
address { display: grid; gap: 17px; font-style: normal; }
address a { width: fit-content; display: flex; gap: 14px; align-items: center; font-family: var(--serif); font-size: 20px; line-height: 1.4; }
address svg { fill: #e8dbc5; }
.map-wrap { height: 430px; overflow: hidden; border: 1px solid rgba(244,239,230,.5); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: sepia(.18) saturate(.76) contrast(.95); }

.site-footer { min-height: 125px; padding: 24px var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 40px; align-items: center; border-top: 1px solid var(--rule); }
.footer-brand { color: var(--oxblood); font-family: var(--serif); font-size: 48px; font-weight: 600; }
.footer-links { display: flex; gap: 40px; font-family: var(--serif); font-size: 18px; }
.footer-language { justify-self: end; }
.site-footer small { color: var(--muted); font-size: 11px; }

dialog { width: min(1180px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--rule); color: var(--ink); background: var(--paper); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
dialog::backdrop { background: rgba(21,17,15,.78); backdrop-filter: blur(4px); }
.dialog-toolbar { position: sticky; z-index: 2; top: 0; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--rule); background: var(--paper); }
.dialog-toolbar h2 { margin: 0; font-family: var(--serif); font-size: 30px; }
.dialog-close { width: 42px; height: 42px; border: 1px solid var(--rule); background: transparent; cursor: pointer; font-size: 28px; line-height: 1; }
.dialog-images { padding: 20px; display: grid; gap: 20px; }
.dialog-images img { width: 100%; }
.dialog-images.blackboards { grid-template-columns: 1fr 1fr; align-items: start; }

@media (max-width: 960px) {
  .site-header { height: 94px; grid-template-columns: 1fr auto auto; padding-top: 18px; padding-bottom: 15px; }
  .brand > span { font-size: 42px; }
  .brand small { display: none; }
  .menu-toggle { width: 42px; height: 42px; margin-right: 12px; display: grid; place-content: center; gap: 6px; border: 1px solid var(--rule); background: transparent; }
  .menu-toggle span:not(.sr-only) { width: 19px; height: 1px; display: block; background: var(--ink); }
  .site-nav { position: absolute; top: 94px; right: 0; left: 0; padding: 25px var(--gutter); display: none; flex-direction: column; align-items: flex-start; gap: 8px; border-bottom: 1px solid var(--rule); background: var(--paper); }
  .site-nav.open { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 600px; }
  .hero-media { min-height: 530px; }
  .hero-media::after { inset: 0 0 auto; width: auto; height: 14%; background: linear-gradient(var(--paper), transparent); }
  .menu-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .menu-tabs button { min-width: 165px; }
  .menu-photo-strip { grid-template-columns: 1fr 1fr; }
  .menu-photo-strip img:last-child { display: none; }
  .story-section { grid-template-columns: 1fr 1fr; gap: 55px; }
  .visit-section { grid-template-columns: 1fr; }
  .map-wrap { height: 380px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .footer-links { justify-self: end; }
  .footer-language { justify-self: start; }
}

@media (max-width: 680px) {
  .site-header { height: 82px; }
  .site-nav { top: 82px; }
  .brand > span { font-size: 36px; }
  .language-toggle { font-size: 12px; }
  .language-toggle i { margin: 0 5px; }
  .hero { min-height: auto; }
  .hero-copy { min-height: auto; padding-top: 70px; padding-bottom: 52px; }
  .hero h1 { font-size: clamp(54px, 17vw, 76px); }
  html[lang="zh"] .hero h1 { font-size: 47px; }
  .hero-chinese { font-size: 24px; }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-media { min-height: 420px; }
  .hero-media-caption { right: 16px; bottom: 16px; }
  .marquee div { font-size: 14px; }
  .menu-section { padding-top: 78px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading h2, .story-copy h2, .visit-copy h2 { font-size: 60px; }
  .menu-tabs { margin-right: calc(-1 * var(--gutter)); margin-left: calc(-1 * var(--gutter)); padding-left: var(--gutter); }
  .menu-panel.active { grid-template-columns: 1fr; }
  .menu-item { grid-template-columns: 1fr; gap: 8px; }
  .menu-item strong { text-align: left; }
  .menu-photo-strip { grid-template-columns: 1fr; }
  .menu-photo-strip img { height: 220px; }
  .special-copy { min-height: 250px; }
  .story-section { padding-top: 80px; padding-bottom: 80px; grid-template-columns: 1fr; gap: 55px; }
  .story-copy h2 i { font-size: 30px; }
  .story-copy p { font-size: 19px; }
  .story-photo img { max-height: 530px; border-width: 9px; }
  .visit-section { padding-top: 65px; padding-bottom: 65px; }
  .visit-copy h2 i { font-size: 30px; }
  .visit-actions .button { flex: 1 1 100%; }
  .map-wrap { height: 310px; }
  .site-footer { grid-template-columns: 1fr; gap: 20px; padding-top: 38px; padding-bottom: 38px; }
  .footer-links, .footer-language { justify-self: start; }
  .dialog-images.blackboards { grid-template-columns: 1fr; }
}

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