/* ==========================================================
   Tai Yai Noodle — Direction A (2026-05-27)
   Cream + chili. Photography-first. Bilingual as peer.
   ========================================================== */

:root {
  /* color */
  --cream:        #F5EFE6;
  --paper:        #FAF5EB;
  --ink:          #1F1611;
  --ink-soft:     #5C4D3F;
  --ink-dim:      #9C8B78;
  --chili:        #C8392A;
  --chili-deep:   #8E2316;
  --amber:        #D49432;
  --warm-black:   #14100D;
  --warm-black-2: #1F1813;
  --line:         #E4D8C5;
  --line-strong:  #C9B89A;

  /* type */
  --ff-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --ff-display-th: 'Noto Serif Thai', 'Noto Serif', Georgia, serif;
  --ff-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --ff-body-th: 'Noto Sans Thai', var(--ff-body);

  /* spacing */
  --container:    min(1320px, calc(100% - 48px));
  --section-y:    clamp(96px, 12vw, 180px);

  /* motion */
  --ease:         cubic-bezier(.2, .7, .2, 1);
  --t-fast:       180ms var(--ease);
  --t-med:        340ms var(--ease);

  /* radii */
  --r-sm:  4px;
  --r-md:  10px;
  --r-lg:  20px;
  --r-pill: 999px;

  /* shadow */
  --shadow-sm: 0 2px 8px rgba(31, 22, 17, 0.06);
  --shadow-md: 0 14px 50px rgba(31, 22, 17, 0.12);
  --shadow-lg: 0 40px 100px rgba(31, 22, 17, 0.22);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html, body { height: 100%; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--chili); color: var(--paper); }
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; border: 0; background: transparent; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--chili); outline-offset: 3px; border-radius: 4px; }

html { scrollbar-width: thin; scrollbar-color: var(--chili) transparent; }
body::-webkit-scrollbar { width: 8px; }
body::-webkit-scrollbar-track { background: transparent; }
body::-webkit-scrollbar-thumb { background: var(--chili); border-radius: 999px; }

/* ---------- layout helpers ---------- */
.container { width: var(--container); margin-inline: auto; }
.section {
  padding-block: var(--section-y);
  position: relative;
  isolation: isolate;
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head-center {
  margin-inline: auto;
  text-align: center;
}

/* ---------- typography primitives ---------- */
.kicker {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--chili);
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
}
.kicker-light { color: var(--amber); }
.section-head-center .kicker { justify-content: center; }

.display {
  font-family: var(--ff-display);
  font-size: clamp(40px, 6.2vw, 88px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--chili);
  font-variation-settings: "opsz" 144;
}
.display-light { color: var(--cream); }
.display-light em { color: var(--amber); }

.display-thai {
  font-family: var(--ff-display-th);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--chili);
  margin-top: 14px;
  letter-spacing: 0.01em;
}
.section-head-center .display-thai { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}
.btn-primary {
  background: var(--chili);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--chili-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(200, 57, 42, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light {
  color: var(--cream);
  border-color: rgba(245, 239, 230, 0.7);
}
.btn-ghost-light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chili);
  margin-top: 28px;
  padding-bottom: 4px;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 380ms var(--ease);
}
.arrow-link:hover { background-size: 100% 1px; }
.arrow-link span { transition: transform var(--t-fast); display: inline-block; }
.arrow-link:hover span { transform: translateX(4px); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245, 239, 230, 0.25);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.chip:hover {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}

/* ==========================================================
   PRELOADER
   ========================================================== */
.preload {
  position: fixed; inset: 0;
  background: var(--cream);
  display: grid; place-items: center;
  z-index: 1000;
  transition: opacity 800ms var(--ease), visibility 800ms var(--ease);
}
.preload.loaded { opacity: 0; visibility: hidden; }
.preload-mark { text-align: center; }
.preload-bowl {
  display: block;
  width: 60px; height: 34px;
  margin: 0 auto 18px;
  border: 1.8px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 30px 30px;
  position: relative;
}
.preload-bowl::before, .preload-bowl::after {
  content: "";
  position: absolute;
  width: 1.8px; height: 22px;
  background: var(--ink);
  top: -26px;
}
.preload-bowl::before { left: 18px; }
.preload-bowl::after  { right: 18px; }
.preload-text {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink);
  animation: preload-pulse 1.6s ease-in-out infinite;
}
@keyframes preload-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* ==========================================================
   TOPBAR
   ========================================================== */
.topbar {
  background: var(--warm-black);
  color: var(--ink-dim);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}
.topbar-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center;
  gap: 12px 24px;
  padding-block: 12px;
}
.topbar-item {
  display: inline-flex; align-items: center; gap: 8px;
  transition: color var(--t-fast);
}
.topbar-item:hover { color: var(--paper); }
.topbar-item .icon { width: 14px; height: 14px; flex: none; color: var(--amber); }
@media (max-width: 760px) {
  .topbar-inner { font-size: 11px; gap: 6px 16px; padding-block: 10px; }
}

/* ==========================================================
   HEADER / NAV
   ========================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 239, 230, 0.84);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med), background var(--t-med), box-shadow var(--t-med);
}
.header.scrolled {
  background: rgba(245, 239, 230, 0.96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}
.brand { display: inline-block; }
.brand img { width: clamp(140px, 14vw, 200px); height: auto; }

.nav-list { display: flex; gap: 32px; }
.nav-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-block: 4px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--chili);
  transition: right 380ms var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { right: 0; }

.header-cta { padding: 13px 22px; font-size: 11px; letter-spacing: 0.22em; }

.nav-open, .nav-close { display: none; }
.nav-aside { display: none; }
.nav-overlay { display: none; }

@media (max-width: 940px) {
  .header-cta { display: none; }
  .nav-open {
    display: inline-flex; flex-direction: column;
    justify-content: center; align-items: center;
    width: 40px; height: 40px; gap: 5px;
  }
  .nav-open span {
    width: 22px; height: 1.5px;
    background: var(--ink);
  }
  .nav-overlay {
    display: block;
    position: fixed; inset: 0;
    background: rgba(20, 16, 13, 0.5);
    opacity: 0; pointer-events: none;
    transition: opacity var(--t-med);
    z-index: 200;
  }
  .nav-overlay.active { opacity: 1; pointer-events: auto; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    width: min(380px, 86vw);
    height: 100dvh;
    background: var(--cream);
    padding: 80px 36px 36px;
    transform: translateX(100%);
    transition: transform 420ms var(--ease);
    z-index: 210;
    overflow-y: auto;
  }
  .nav.active { transform: translateX(0); }
  .nav-close {
    display: inline-flex;
    position: absolute; top: 18px; right: 18px;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
  }
  .nav-close svg { width: 22px; height: 22px; color: var(--ink); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-link { display: block; padding-block: 18px; font-size: 14px; }
  .nav-aside { display: block; margin-top: 36px; }
  .nav-aside-label {
    font-size: 11px; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--ink-dim);
    margin-bottom: 6px;
  }
  .nav-aside-phone {
    display: block;
    font-family: var(--ff-display);
    font-size: 26px; color: var(--ink);
  }
  body.nav-open { overflow: hidden; }
}

/* ==========================================================
   HERO — photography first, less chrome
   ========================================================== */
.hero {
  position: relative;
  min-height: clamp(640px, 96vh, 980px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
  padding-bottom: clamp(80px, 10vh, 140px);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 50%;
  transform: scale(1.06);
  filter: brightness(0.62) saturate(1.05) contrast(1.06);
  animation: hero-zoom 22s ease-out forwards;
}
@keyframes hero-zoom { to { transform: scale(1.0); } }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 16, 13, 0.55) 0%, rgba(20, 16, 13, 0.05) 28%, rgba(20, 16, 13, 0.75) 100%),
    radial-gradient(80% 70% at 10% 100%, rgba(20, 16, 13, 0.45), transparent 60%);
  z-index: -1;
}
.hero-content {
  width: var(--container);
  margin-inline: auto;
  max-width: 1100px;
}
.hero-eyebrow {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-eyebrow-dash {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: currentColor;
}
.hero-eyebrow .dot { color: rgba(212, 148, 50, 0.6); margin: 0 2px; }
.hero-title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(56px, 10vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--cream);
  font-variation-settings: "opsz" 144;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
  font-variation-settings: "opsz" 144;
}
.hero-thai {
  font-family: var(--ff-display-th);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  color: var(--amber);
  margin-top: 18px;
  letter-spacing: 0.02em;
  opacity: 0.92;
}
.hero-tagline {
  margin-top: 32px;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 21px);
  color: rgba(245, 239, 230, 0.82);
  max-width: 36ch;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 44px;
}

.hero-meta {
  position: absolute;
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(80px, 10vh, 140px);
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 10px;
  color: rgba(245, 239, 230, 0.6);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.hero-meta-line {
  width: 1px;
  height: 56px;
  background: rgba(245, 239, 230, 0.4);
}
@media (max-width: 720px) {
  .hero-meta { display: none; }
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  color: rgba(245, 239, 230, 0.7);
  border: 1px solid rgba(245, 239, 230, 0.3);
  border-radius: 50%;
  animation: bob 2.6s ease-in-out infinite;
}
.hero-scroll svg { width: 16px; height: 16px; }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* ==========================================================
   STORY
   ========================================================== */
.story { background: var(--cream); }
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}
.story-copy { padding-block: 12px; }
.story-body {
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 16px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 56ch;
}
.story-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.story-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 14s ease-out;
}
.story-media:hover img { transform: scale(1.04); }
.story-media figcaption {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  padding: 12px 16px;
  background: rgba(20, 16, 13, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--cream);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-align: center;
}

@media (max-width: 920px) {
  .story-grid { grid-template-columns: 1fr; gap: 56px; }
  .story-media { aspect-ratio: 4 / 3; }
}

/* ==========================================================
   MENU — diptych dishes
   ========================================================== */
.menu { background: var(--paper); }
.menu .container > .section-head {
  text-align: left;
  max-width: 760px;
}

.dishes {
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 9vw, 140px);
}
.dish {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.dish:nth-child(even) .dish-photo { order: 2; }
.dish:nth-child(even) .dish-body  { order: 1; }

.dish-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-md);
  position: relative;
}
.dish-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 14s ease-out;
}
.dish:hover .dish-photo img { transform: scale(1.05); }

.dish-body { padding-block: 8px; }
.dish-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--chili);
  margin-bottom: 18px;
}
.dish-name {
  font-family: var(--ff-display);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variation-settings: "opsz" 96;
}
.dish-name-th {
  font-family: var(--ff-display-th);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  color: var(--chili);
  margin-top: 12px;
  letter-spacing: 0.01em;
}
.dish-desc {
  margin-top: 22px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 50ch;
}

.menu-note {
  text-align: center;
  margin-top: clamp(64px, 8vw, 112px);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-soft);
  font-variation-settings: "opsz" 24;
}

@media (max-width: 820px) {
  .dish { grid-template-columns: 1fr; gap: 28px; }
  .dish:nth-child(even) .dish-photo { order: 1; }
  .dish:nth-child(even) .dish-body  { order: 2; }
  .dish-photo { aspect-ratio: 4 / 3; }
}

/* ==========================================================
   WHAT WE MAKE
   ========================================================== */
.make { background: var(--cream); }
.make-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
.make-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.make-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.make-card:hover img { transform: scale(1.03); }
.make-card figcaption { padding-inline: 4px; }
.make-card h3 {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
  font-variation-settings: "opsz" 36;
}
.make-card p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

@media (max-width: 940px) {
  .make-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; gap: 48px; }
}

/* ==========================================================
   SERVICES — dark section
   ========================================================== */
.services {
  background: var(--warm-black-2);
  color: var(--cream);
  position: relative;
}
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 50% at 15% 0%, rgba(200, 57, 42, 0.14), transparent 70%),
    radial-gradient(45% 50% at 92% 100%, rgba(212, 148, 50, 0.10), transparent 70%);
  pointer-events: none;
}
.services .container { position: relative; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.service {
  padding-top: 32px;
  border-top: 1px solid rgba(245, 239, 230, 0.15);
  display: flex; flex-direction: column;
}
.service h3 {
  font-family: var(--ff-display);
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 18px;
  font-variation-settings: "opsz" 48;
}
.service p {
  color: rgba(245, 239, 230, 0.78);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 36ch;
}
.service-links {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 24px;
}
.service .arrow-link { color: var(--amber); margin-top: auto; padding-top: 28px; }

@media (max-width: 940px) {
  .services-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* ==========================================================
   VISIT
   ========================================================== */
.visit { background: var(--cream); }
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.visit-details {
  margin-top: 32px;
  display: grid; gap: 0;
}
.visit-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}
.visit-row:last-child { border-bottom: 1px solid var(--line); }
.visit-row dt {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding-top: 4px;
  font-weight: 600;
}
.visit-row dd {
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.7;
}
.visit-phone {
  font-family: var(--ff-display);
  font-size: 28px;
  color: var(--ink);
  transition: color var(--t-fast);
  font-variation-settings: "opsz" 36;
}
.visit-phone:hover { color: var(--chili); }

.hours { border-collapse: collapse; }
.hours th, .hours td {
  padding: 4px 0;
  text-align: left;
  font-weight: 400;
  font-size: 15.5px;
  color: var(--ink);
  vertical-align: top;
}
.hours th {
  padding-right: 36px;
  color: var(--ink-soft);
  font-family: var(--ff-display);
  font-size: 16px;
  font-variation-settings: "opsz" 24;
}

.visit-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 36px;
}

.visit-media {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.visit-map {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--warm-black-2);
}
.visit-map iframe {
  width: 100%; height: 100%; border: 0;
  filter: grayscale(0.2) saturate(0.9) contrast(1.02);
  pointer-events: none;
}
.visit-map-overlay {
  position: absolute;
  bottom: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: rgba(20, 16, 13, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--cream);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  border: 1px solid rgba(212, 148, 50, 0.3);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.visit-map-overlay svg { width: 14px; height: 14px; color: var(--amber); }
.visit-map:hover .visit-map-overlay {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}
.visit-map:hover .visit-map-overlay svg { color: var(--ink); }

.visit-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.visit-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.visit-photo figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(20, 16, 13, 0.85));
  color: var(--cream);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.02em;
}

@media (max-width: 920px) {
  .visit-grid { grid-template-columns: 1fr; }
  .visit-row { grid-template-columns: 1fr; gap: 6px; padding-block: 16px; }
  .visit-row dt { padding-top: 0; }
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--warm-black);
  color: rgba(245, 239, 230, 0.65);
  padding-top: clamp(72px, 9vw, 120px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245, 239, 230, 0.08);
}
.footer-brand-link {
  display: inline-block;
  margin-bottom: 22px;
}
.footer-logo {
  width: 220px;
  height: auto;
  filter: invert(1) brightness(0.96);
  transition: opacity var(--t-fast);
}
.footer-brand-link:hover .footer-logo { opacity: 0.85; }
.footer-tagline {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.45;
  color: rgba(245, 239, 230, 0.75);
  font-variation-settings: "opsz" 24;
}
.footer-h {
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 22px;
  font-weight: 600;
}
.footer-nav ul { display: grid; gap: 12px; }
.footer-nav a {
  font-size: 14px;
  color: rgba(245, 239, 230, 0.7);
  transition: color var(--t-fast);
}
.footer-nav a:hover { color: var(--cream); }

.footer-contact p, .footer-contact address {
  font-size: 14px; line-height: 1.7;
  margin-bottom: 8px;
  font-style: normal;
  color: rgba(245, 239, 230, 0.75);
}
.footer-contact a { color: var(--cream); transition: color var(--t-fast); }
.footer-contact a:hover { color: var(--amber); }

.social-list { display: flex; gap: 10px; flex-wrap: wrap; }
.social-list a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(245, 239, 230, 0.18);
  border-radius: 50%;
  color: rgba(245, 239, 230, 0.7);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.social-list a:hover {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
}
.social-list svg { width: 16px; height: 16px; }
.footer-handle {
  margin-top: 14px;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 14px;
  color: rgba(245, 239, 230, 0.6);
}

.footer-base {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 26px;
  font-size: 11.5px;
  color: rgba(245, 239, 230, 0.45);
  letter-spacing: 0.04em;
  flex-wrap: wrap; gap: 8px;
}

@media (max-width: 920px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================
   BACK-TO-TOP
   ========================================================== */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--cream);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity var(--t-med), transform var(--t-med), background var(--t-fast);
  z-index: 50;
}
.to-top.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--chili); }
.to-top svg { width: 18px; height: 18px; }

/* ==========================================================
   REVEAL ON SCROLL
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .hero-img { animation: none; transform: none; }
}
