/* ==========================================================================
   Hidden @ Yorkeys v2: "Clean & Minimal"
   White, black, one green. Lots of space, big photos, quiet motion.
   ========================================================================== */
/* Self-hosted Inter (SIL Open Font License) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/inter-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --bg:     #ffffff;
  --alt:    #f6f6f4;
  --ink:    #111111;
  --muted:  #6b6b6b;   /* 5.3:1 on white, 5.0:1 on --alt */
  --line:   #e7e7e4;
  --green:  #1f5c3a;   /* the one accent: 8.2:1 on white */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (max-width: 959px) { html { scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; padding-bottom: calc(56px + env(safe-area-inset-bottom));
  font: 400 1.0625rem/1.65 var(--sans); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; font-feature-settings: "ss01", "cv11";
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.05rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--green); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 300; background: var(--ink); color: #fff; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.muted { color: var(--muted); }
.small { font-size: .92rem; margin-top: .9rem; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; font: 500 1rem/1.2 var(--sans); text-decoration: none; transition: background-color .2s var(--ease); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--green); }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; font-weight: 500; color: var(--green); text-decoration: none; }
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover span { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.88); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.wordmark { font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em; text-decoration: none; }
.nav-toggle { min-height: 44px; padding: 0 0 0 1rem; background: none; border: 0; font: 500 1rem var(--sans); color: var(--ink); cursor: pointer; }
.site-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: .25rem var(--gutter) 1rem; }
.site-nav a { display: block; padding: .85rem 0; font-size: 1.25rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.nav-call a { color: var(--green); }
@media (max-width: 959px) {
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .site-nav { position: static; flex-basis: 100%; border: 0; }
}
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav, .js .site-nav { position: static; display: block; background: none; border: 0; }
  .site-nav ul { display: flex; align-items: center; gap: 2rem; padding: 0; }
  .site-nav a { padding: .3rem 0; font-size: .95rem; border: 0; color: var(--muted); }
  .site-nav a:hover { color: var(--ink); }
  .nav-call a { color: var(--green); font-weight: 600; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2.5rem, 7vw, 5.5rem); }
.status { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #c4c4c0; }
.status:has(.is-open) .dot { background: #2fa15a; }
.status:has(.is-closed) .dot { background: #c9543c; }
.hero h1 { font-size: clamp(2.9rem, 8.5vw, 6.4rem); letter-spacing: -.045em; line-height: 1; font-weight: 600; }
.hero h1 .muted { color: #a3a3a0; }
.hero-row { display: grid; gap: 1.5rem; margin: clamp(1.75rem, 3vw, 2.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.25rem); color: var(--muted); max-width: 30rem; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; }
@media (min-width: 860px) { .hero-row { grid-template-columns: 1fr auto; align-items: end; } }
.hero-photo { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--alt); }
.hero-photo picture { display: contents; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) { .hero-photo { aspect-ratio: 16 / 8; } }

.facts { list-style: none; margin: 0; padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 7vw, 5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
.facts li { display: grid; gap: .2rem; }
.fact-num { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.fact-label { font-size: .92rem; color: var(--muted); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } .facts li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section-alt { background: var(--alt); }
.two-col { display: grid; gap: 1.5rem; }
.prose { color: var(--muted); font-size: 1.125rem; max-width: 34rem; }
.prose p:last-child { margin: 0; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 7rem); } }

.section-head { display: grid; gap: .75rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { margin: 0; font-size: 1.1rem; }

/* Food */
.dishes { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem 1.5rem; }
@media (min-width: 600px) { .dishes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .dishes { grid-template-columns: repeat(3, 1fr); } }
.dish-img { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #ebebe8; margin-bottom: 1rem; }
.dish-img picture { display: contents; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
@media (hover: hover) { .dish:hover .dish-img img { transform: scale(1.03); } }
.dish h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.dish p { color: var(--muted); font-size: .98rem; margin: 0; }
.food-note { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; color: var(--muted); }
.food-note a { color: var(--green); font-weight: 500; }

/* Garden */
.garden { display: grid; gap: 2.5rem; }
.garden-photo { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--alt); }
.garden-photo picture { display: contents; }
.garden-photo img { width: 100%; height: 100%; object-fit: cover; }
.features { margin: 2rem 0 0; }
.features div { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.features div:last-child { border-bottom: 1px solid var(--line); }
.features dt { font-weight: 600; margin-bottom: .25rem; }
.features dd { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .garden { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(3rem, 8vw, 7rem); } }

/* Visit */
.visit-grid { display: grid; gap: 2.5rem; margin-top: clamp(2rem, 4vw, 3rem); }
.visit-grid h3 { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
@media (min-width: 760px) { .visit-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); } }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .5rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; color: var(--green); }
.hours tr.is-today th::after { content: " · Today"; font-weight: 500; }
address { font-size: 1.1rem; line-height: 1.5; }
.phone { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.phone:hover { color: var(--green); }

.map { margin-top: clamp(2.5rem, 5vw, 4rem); border-radius: 14px; overflow: hidden; background: #ebebe8; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(1) contrast(1.05); }
.map-facade {
  position: relative; display: grid; place-content: center; justify-items: center; gap: 1rem; height: 320px; text-decoration: none;
  background:
    repeating-linear-gradient(9deg, transparent 0 52px, #e0e0dc 52px 54px),
    repeating-linear-gradient(99deg, transparent 0 66px, #e0e0dc 66px 68px),
    #ebebe8;
}
.map-pin { width: 16px; height: 16px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(31,92,58,.18), 0 0 0 14px rgba(31,92,58,.08); }
.map-btn { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.2rem; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06); transition: background-color .2s, color .2s; }
.map-facade:hover .map-btn { background: var(--ink); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 1.75rem; font-size: .9rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; }
.footer-inner p { margin: 0; }
.site-footer a { display: inline-block; padding-block: .3rem; }
.site-footer a:hover { color: var(--ink); }

/* ---------- Mobile action bar ---------- */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.action-bar a { display: grid; place-items: center; min-height: 56px; font-weight: 500; text-decoration: none; }
.action-bar a:first-child { color: var(--green); font-weight: 600; }
@media (min-width: 960px) { .action-bar { display: none; } body { padding-bottom: 0; } }

/* ---------- Motion: a quiet fade-up, nothing more ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .fade { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .fade.is-visible { opacity: 1; transform: none; }
}
