/* ============================================================= */
/*  Beijing House — editorial parchment theme                    */
/*  (Amrit-Palace style, translated to Beijing House brand red)  */
/*  Cormorant Garamond (whisper serif) · Inter · Noto Serif SC   */
/* ============================================================= */

:root {
  /* Warm parchment neutrals — brand cream, deepened for editorial richness */
  --parchment: #EBDDC4;   /* page canvas + primary card surface */
  --linen:     #E1D1B4;   /* subtle elevation / secondary surface */
  --stone:     #C7B896;   /* 1px hairline borders & dividers */
  --walnut:    #998C74;   /* muted captions / metadata */
  --espresso:  #5B4D3C;   /* secondary body copy */
  --ink:       #2A211C;   /* primary text, warm near-black (never pure black) */
  --midnight:  #201813;   /* darkest surface — hero/atmospheric overlays */
  --dark-2:    #26201A;   /* dark section fill */

  /* Sole chromatic accent — Beijing House red (the "saffron" role) */
  --accent:      #A82724;
  --accent-deep: #8C1D1B;
  --gold:        #C2A24E;   /* antique gold — used only in accents (e.g. the order-card hover border) */

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sc:    'Noto Serif SC', serif;
  --sans:  'Inter', system-ui, sans-serif;

  --maxw: 2160px;              /* wide, near full-bleed; fills large screens, caps ultra-wide */
  --maxw-text: 40rem;          /* prose stays readable (~66ch) regardless of container width */
  --section-y: clamp(5.5rem, 11vw, 9.5rem);
  --gutter: clamp(1.5rem, 5vw, 6rem);   /* fluid side padding so content never touches the edge */

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --e-rise: cubic-bezier(0.16, 1, 0.3, 1);   /* smooth expo-out for scroll reveals */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--ink); text-decoration: none; transition: color .4s var(--ease); }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: var(--parchment); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

p { margin: 0 0 1.1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---- Editorial type ---- */
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.display--light { color: var(--parchment); }

.eyebrow {
  font-family: var(--sc);
  font-weight: 500;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.eyebrow--gold { color: var(--accent); }

/* Real seal logo */
.brand-logo { display: block; width: auto; height: 40px; transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.brand-logo--hero { height: 42px; filter: drop-shadow(0 2px 12px rgba(0,0,0,0.5)); }
.site-header__brand .brand-logo { height: 32px; }
.footer__brand .brand-logo { height: 44px; }

/* Brand link hover: no red/underline (unlike the nav) — a subtle seal "stamp" instead */
.hero__nav a.hero__brand:hover { color: var(--parchment); }
.hero__nav a.hero__brand::after { content: none; }
.site-header__brand:hover { color: var(--ink); }
.hero__brand-name, .site-header__name { transition: letter-spacing .5s var(--ease); }
.hero__brand:hover .brand-logo,
.site-header__brand:hover .brand-logo { transform: rotate(-6deg) scale(1.08); }
.hero__brand:hover .hero__brand-name { letter-spacing: 0.13em; }
.site-header__brand:hover .site-header__name { letter-spacing: 0.05em; }
@media (prefers-reduced-motion: reduce) {
  .hero__brand:hover .brand-logo, .site-header__brand:hover .brand-logo { transform: none; }
}

/* ============================================================= */
/*  Buttons — ghost / outlined only, sharp 3px radius             */
/* ============================================================= */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 14px;
  padding: 17px 30px;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 3px;
  color: var(--ink);
  cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn--lg { padding: 19px 38px; }
.btn--sm { padding: 12px 22px; font-size: 13px; }

.btn--outline, .btn--cream { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover, .btn--cream:hover { background: var(--ink); color: var(--parchment); border-color: var(--ink); }

.btn--solid, .btn--gold { border-color: var(--accent); color: var(--accent); }
.btn--solid:hover, .btn--gold:hover { background: var(--accent); color: var(--parchment); border-color: var(--accent); }

/* ============================================================= */
/*  Sticky header                                                 */
/* ============================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px;
  background: rgba(235,221,196,0.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stone);
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}
.site-header.is-visible { transform: translateY(0); }
.site-header__brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.site-header__name { font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: 0.02em; text-transform: uppercase; }
.site-header__nav { display: flex; align-items: center; gap: 30px; }
.site-header__nav a { color: var(--ink); font-weight: 500; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.site-header__nav a:not(.btn) { position: relative; }
.site-header__nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.site-header__nav a:not(.btn):hover { color: var(--accent); }
.site-header__nav a:not(.btn):hover::after { transform: scaleX(1); }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 55;
  background: var(--midnight);
  display: flex; flex-direction: column; padding: 88px 40px 30px; gap: 2px;
  transform: translateY(-100%); transition: transform .5s var(--ease);
  border-bottom: 1px solid rgba(199,184,150,0.25);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a {
  color: var(--parchment); font-family: var(--serif); font-weight: 300; font-size: 30px;
  text-transform: uppercase; letter-spacing: -0.01em;
  padding: 12px 0; border-bottom: 1px solid rgba(199,184,150,0.14);
}
.mobile-nav a:hover { color: var(--accent); }

/* ============================================================= */
/*  Hero — full-bleed dark video with parchment overlay text      */
/* ============================================================= */
.hero { position: relative; height: 100vh; min-height: 640px; background: var(--midnight); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__video { position: absolute; top: -15%; left: 0; width: 100%; height: 130%; object-fit: cover; will-change: transform; pointer-events: none; }
/* iOS Safari: never show the native big play button over the hero (if autoplay is blocked, the poster just shows) */
.hero__video::-webkit-media-controls-start-playback-button,
.hero__video::-webkit-media-controls-overlay-play-button,
.hero__video::-webkit-media-controls { display: none !important; -webkit-appearance: none; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(32,24,19,0.62) 0%, rgba(32,24,19,0.2) 32%, rgba(32,24,19,0.28) 60%, rgba(32,24,19,0.8) 100%);
}

.hero__nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 30px 48px; color: var(--parchment);
}
.hero__nav-left, .hero__nav-right { display: flex; gap: 34px; }
.hero__nav-right { justify-content: flex-end; }
.hero__nav a {
  color: var(--parchment); font-size: 14.5px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; position: relative;
}
.hero__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--parchment); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.hero__nav a:hover { color: var(--accent); }
.hero__nav a:hover::after { transform: scaleX(1); }

.hero__brand { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--parchment); }
.hero__brand-row { display: flex; align-items: center; gap: 13px; }
.hero__brand-name {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
}
.hero__brand-cap {
  font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(235,221,196,0.75);
}

.hero__actions {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 0 40px 48px;
}
.hero__buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Hero CTAs — solid-red primary + outlined secondary, rounded (reference style) */
.hero-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 34px; border-radius: 3px;
  font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.hero-btn:hover { transform: translateY(-2px); }
.hero-btn--primary { background: var(--parchment); color: var(--ink); border-color: var(--parchment); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.hero-btn--primary:hover { background: var(--accent); border-color: var(--accent); color: var(--parchment); }
.hero-btn--ghost { background: rgba(20,14,10,0.32); color: var(--parchment); border-color: var(--parchment); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.hero-btn--ghost:hover { background: var(--parchment); border-color: var(--parchment); color: var(--ink); }

/* Tertiary text link (e.g. "Get directions →") under the hero buttons */
.hero-textlink {
  font-family: var(--sans); font-weight: 600; font-size: 15px; color: #F7F1E3;
  border-bottom: 1px solid rgba(247,241,227,0.7); padding-bottom: 3px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.65);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.hero-textlink:hover { color: var(--gold); border-color: var(--gold); }

/* ============================================================= */
/*  Sections                                                      */
/* ============================================================= */
.section { padding: var(--section-y) 0; background: var(--parchment); }
#order, #catering, #visit { border-top: 1px solid var(--stone); }

.section__head { margin-bottom: clamp(2.75rem, 5vw, 4rem); }
.section__head--center { text-align: center; }

/* ---- Order ---- */
.order-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0; border: 1px solid var(--stone); }
.order-card {
  padding: 40px 34px; display: flex; flex-direction: column; gap: 14px;
  border-right: 1px solid var(--stone);
  transition: background .4s var(--ease);
}
.order-card:last-child { border-right: none; }
.order-card:hover { background: var(--linen); }
/* Pickup card stays unselected (no highlight); only its button reads red to stand out */
.order-card--feature .order-btn { border-color: var(--accent); color: var(--accent); }
.order-card--feature .order-btn .order-btn__arr { fill: var(--accent); }
.order-card__seal { align-self: flex-start; height: 34px; width: auto; margin-bottom: -2px; }
.order-card__brand { align-self: flex-start; height: 32px; width: auto; margin-bottom: -2px; opacity: 0.9; }
.order-card__tag { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; color: var(--walnut); text-transform: uppercase; }
.order-card__tag--gold { color: var(--accent); }
.order-card__title { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.05; letter-spacing: -0.01em; text-transform: none; }
.order-card__body { font-size: 14px; line-height: 1.55; color: var(--espresso); flex: 1; margin: 0; }
.order-card .btn { align-self: flex-start; margin-top: 8px; }

/* Animated order buttons (adapted from a Uiverse component; brand red, sharp) */
.order-btn {
  position: relative; align-self: flex-start; margin-top: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 14px 34px; border: 1.5px solid var(--ink); border-radius: 3px;
  font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--ink); background: transparent; cursor: pointer; overflow: hidden;
  transition: color .6s cubic-bezier(.23,1,.32,1), border-color .6s cubic-bezier(.23,1,.32,1), border-radius .6s cubic-bezier(.23,1,.32,1);
}
.order-btn__arr { position: absolute; width: 20px; height: 20px; fill: var(--ink); z-index: 9; transition: all .8s cubic-bezier(.23,1,.32,1); }
.order-btn__arr--1 { right: 16px; }
.order-btn__arr--2 { left: -25%; }
.order-btn__circle { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 20px; height: 20px; background: var(--accent); border-radius: 50%; opacity: 0; transition: all .8s cubic-bezier(.23,1,.32,1); }
.order-btn__text { position: relative; z-index: 1; transform: translateX(-12px); transition: transform .8s cubic-bezier(.23,1,.32,1); }
.order-btn:hover { color: var(--parchment); border-color: var(--accent); border-radius: 6px; }
.order-btn:hover .order-btn__arr--1 { right: -25%; }
.order-btn:hover .order-btn__arr--2 { left: 16px; }
.order-btn:hover .order-btn__text { transform: translateX(12px); }
.order-btn:hover .order-btn__arr { fill: var(--parchment); }
.order-btn:hover .order-btn__circle { width: 340px; height: 340px; opacity: 1; }
.order-btn:active { scale: 0.97; }
@media (prefers-reduced-motion: reduce) {
  .order-btn, .order-btn__arr, .order-btn__circle, .order-btn__text { transition-duration: .01ms; }
}


/* ---- Menu / dishes ---- */
.menu-note { display: block; }
.dish-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; }
.dish { display: flex; flex-direction: column; gap: 14px; }
.dish__photo {
  height: 300px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #d9c7a6, #cbb891);
  border-radius: 0;
}
.dish__photo::after { color: rgba(91,77,60,0.5); }
.dish__cn { font-family: var(--sc); color: var(--accent); font-size: 15px; letter-spacing: 0.14em; }
.dish__en { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
.dish__desc { font-size: 14px; line-height: 1.5; color: var(--espresso); margin: 0; }

/* Placeholder captions */
[data-slot]::after {
  content: attr(data-slot); position: absolute; inset: 0; display: grid; place-items: center;
  text-align: center; padding: 16px; font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(91,77,60,0.45);
}
[data-slot].has-image::after { content: none; }
/* Real photos live in a .ph-fill layer, oversized so GSAP can parallax it
   (translate on scroll) inside the overflow-hidden frame without gaps. */
.ph-fill {
  position: absolute; top: -15%; left: 0; width: 100%; height: 130%; z-index: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  will-change: transform;
}
.dish__photo.has-image, .story__photo.has-image, .catering__photo.has-image { background: none; }

/* ---- Story (dark atmospheric break) ---- */
.story { background: var(--dark-2); color: var(--parchment); }
.story .eyebrow { color: var(--accent); }
.story__grid {
  padding-top: var(--section-y); padding-bottom: var(--section-y);
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 64px; align-items: stretch;
}
/* This section's headline is long — size it a touch below the others so it
   reads as an elegant multi-line title rather than a wall of caps. */
.story .display { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 0.96; }
.story__p { font-size: 15px; line-height: 1.7; color: rgba(235,221,196,0.82); margin: 0 0 16px; max-width: var(--maxw-text); }
.story__p em { color: var(--parchment); font-style: italic; }
.story__pillars {
  border-top: 1px solid rgba(199,184,150,0.28); padding-top: 26px; margin-top: 12px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px;
}
.story__pillar-cn { font-family: var(--sc); font-size: 20px; color: var(--accent); margin-bottom: 8px; }
.story__pillar-en { font-weight: 600; font-size: 13px; margin-bottom: 5px; letter-spacing: 0.06em; text-transform: uppercase; }
.story__pillar-desc { font-size: 13px; line-height: 1.55; color: rgba(235,221,196,0.62); }
.story__photo {
  min-height: 460px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #3a2c22, #241a13); border: 1px solid rgba(199,184,150,0.2);
}
.story__photo::after { color: rgba(235,221,196,0.5); }

/* ---- Catering ---- */
.catering__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 64px; align-items: center; }
.catering__photo {
  height: 460px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #d9c7a6, #cbb891); border: 1px solid var(--stone);
}
/* Placeholder frames (no photo yet) just show their gradient fill. */
.dish__photo:not(.has-image), .story__photo:not(.has-image), .catering__photo:not(.has-image) {
  background-repeat: no-repeat; background-position: center;
}
.catering__p { font-size: 15px; line-height: 1.7; color: var(--espresso); margin: 0 0 30px; max-width: var(--maxw-text); }
.catering__buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Hiring (dark band) ---- */
.hiring { background: var(--midnight); color: var(--parchment); }
.hiring .eyebrow { color: var(--accent); }
.hiring__inner {
  padding-top: clamp(4rem, 8vw, 6rem); padding-bottom: clamp(4rem, 8vw, 6rem);
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.hiring__title { font-size: clamp(1.9rem, 4vw, 3rem); }
.hiring__sub { margin-top: 14px; font-size: 15px; color: rgba(235,221,196,0.68); }
.hiring__cta { display: flex; flex-direction: column; align-items: center; gap: 14px; flex-shrink: 0; }
.hiring__alt { font-size: 14px; color: rgba(235,221,196,0.68); }
.hiring__alt a { color: var(--parchment); border-bottom: 1px solid rgba(235,221,196,0.4); }
.hiring__alt a:hover { color: var(--parchment); border-color: var(--parchment); }
.hiring .btn--gold { border-color: rgba(235,221,196,0.55); color: var(--parchment); }
.hiring .btn--gold:hover { background: var(--parchment); color: var(--ink); border-color: var(--parchment); }

/* ---- Visit ---- */
.visit__grid { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: 52px; align-items: stretch; }
.visit__info { display: flex; flex-direction: column; gap: 30px; justify-content: center; }
.visit__item { display: flex; flex-direction: column; gap: 8px; }
.visit__label { font-family: var(--sans); color: var(--walnut); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.visit__value { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.35; color: var(--ink); letter-spacing: -0.01em; }
.visit__value a { color: var(--ink); }
.visit__value a:hover { color: var(--accent); }
.visit__item .btn { align-self: flex-start; margin-top: 4px; }
.visit__map { min-height: 400px; overflow: hidden; border: 1px solid var(--stone); background: var(--linen); }
.visit__map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; filter: grayscale(0.4) sepia(0.12) contrast(0.95); }

/* ---- Footer (dark) ---- */
.footer { background: var(--midnight); color: var(--parchment); border-top: 1px solid rgba(199,184,150,0.2); }
.footer__grid { padding-top: 64px; padding-bottom: 26px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand-name { font-family: var(--serif); font-weight: 400; font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; }
.footer__meta { font-size: 13px; line-height: 1.75; color: rgba(235,221,196,0.62); }
.footer__col { font-size: 13px; line-height: 2; color: rgba(235,221,196,0.62); }
.footer__col a { color: rgba(235,221,196,0.85); }
.footer__col a:hover { color: var(--accent); }
.footer__col-head { font-weight: 500; letter-spacing: 0.16em; font-size: 11px; color: var(--accent); margin-bottom: 10px; text-transform: uppercase; }

/* Social icons — flat hairline circles; fill the platform brand color +
   float a matching tooltip on hover (adapted from a Uiverse component). */
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 8px 0 0; }
.socials .soc a {
  position: relative; display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid rgba(199,184,150,0.30); color: rgba(235,221,196,0.72);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.socials .soc a:hover {
  transform: translateY(-4px); background: var(--brand); color: #fff; border-color: var(--brand);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}
.soc__icon {
  width: 18px; height: 18px; background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.soc__tip {
  position: absolute; top: -6px; left: 50%; transform: translate(-50%, 0) scale(0.9);
  padding: 4px 9px; border-radius: 4px; font-size: 12px; font-weight: 500; letter-spacing: 0.02em;
  white-space: nowrap; background: var(--brand); color: #fff;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), top .3s var(--ease), transform .3s var(--ease);
}
.soc__tip::after { content: ""; position: absolute; bottom: -3px; left: 50%; width: 7px; height: 7px; background: var(--brand); transform: translateX(-50%) rotate(45deg); }
.socials .soc a:hover .soc__tip { opacity: 1; top: -36px; transform: translate(-50%, 0) scale(1); }
.soc--instagram { --icon: url('../assets/img/social/instagram.svg'); --brand: #E4405F; }
.soc--facebook  { --icon: url('../assets/img/social/facebook.svg');  --brand: #1877F2; }
.soc--tiktok    { --icon: url('../assets/img/social/tiktok.svg');    --brand: #FE2C55; }
.soc--rednote   { --icon: url('../assets/img/social/rednote.svg');   --brand: #FF2442; }
.soc--wechat    { --icon: url('../assets/img/social/wechat.svg');    --brand: #07C160; }

.footer__bottom {
  padding-bottom: 30px; padding-top: 22px; display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(235,221,196,0.42);
  border-top: 1px solid rgba(199,184,150,0.16);
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ============================================================= */
/*  Scroll-reveal motion (editorial: slow, smooth, no bounce)     */
/* ============================================================= */
/* Base state: elements JS-tagged for animation start hidden.     */
/*  Fallback: if JS never runs, nothing is tagged so all content  */
/*  stays fully visible.                                          */

/* rise + fade — the default for content blocks and cards */
.has-js .a-rise { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--e-rise), transform .9s var(--e-rise); }
.has-js .a-rise.is-in { opacity: 1; transform: none; }

/* heading wipe — the signature flourish on section headings */
.has-js .a-head .eyebrow { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--e-rise), transform .7s var(--e-rise); }
/* Section headings hidden until GSAP runs the letter-by-letter reveal (main.js).
   Shown via the reduced-motion / no-GSAP fallback (opacity:1). */
.has-js .a-head .display { opacity: 0; }
.has-js .a-head.is-in .eyebrow { opacity: 1; transform: none; }
/* char spans created by SplitType */
.a-head .display .char { display: inline-block; will-change: transform, opacity; }

/* image curtain reveal — big feature photos uncover upward */
.has-js .a-img { opacity: 0; clip-path: inset(0 0 100% 0); transition: clip-path 1.15s var(--e-rise), opacity .5s ease; }
.has-js .a-img.is-in { opacity: 1; clip-path: inset(0 0 0 0); }

/* hero content load fade + slow cinematic video zoom */
.reveal-hero { opacity: 0; animation: heroIn 1s var(--ease) .25s forwards; }
.hero__actions.reveal-hero { animation-delay: .5s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* Hero video + feature photos drift on scroll — see the parallax engine in main.js */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .a-rise, .a-head .eyebrow, .a-head .display, .a-img {
    opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important;
  }
  .reveal-hero { opacity: 1; animation: none; }
  .hero__video { animation: none; }
}

/* ============================================================= */
/*  Responsive                                                    */
/* ============================================================= */
/* Tablet & below — switch to the hamburger + mobile layout at 1200 so the wide
   horizontal nav (long labels) never cramps/collides, and content stacks cleanly. */
@media (max-width: 1200px) {
  .section { padding: clamp(4rem, 12vw, 6rem) 0; }

  /* Nav -> hamburger; hero goes mobile (sticky header carries branding, so the
     hero's own nav/brand are hidden). CTAs pin to the bottom of the visible
     viewport — svh keeps them above the browser toolbar; safe-area clears the
     home indicator. */
  .hero { height: 100svh; min-height: 480px; }
  .hero__nav { display: none; }
  .hero__actions { padding: 0 20px calc(26px + env(safe-area-inset-bottom)); }
  .site-header { transform: translateY(0); padding: 12px 22px; }
  .site-header__nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header__name { font-size: 17px; }

  /* Order cards stack full-width (no lopsided full-width feature card) */
  .order-grid { grid-template-columns: 1fr; }
  .order-card { border-right: none; border-bottom: 1px solid var(--stone); }
  .order-card:last-child { border-bottom: none; }
  .dish-grid { grid-template-columns: 1fr 1fr; }

  .story__grid, .catering__grid { grid-template-columns: 1fr; gap: 40px; }
  .catering__photo { order: 2; }
  .story__photo { height: 340px; }
  .catering__photo { height: 320px; }
  .story__pillars { grid-template-columns: 1fr; gap: 22px; }

  .visit__grid { grid-template-columns: 1fr; gap: 30px; }
  .visit__map, .visit__map iframe { min-height: 300px; }

  .hiring__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hiring__cta { align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; gap: 10px; }
}

@media (max-width: 560px) {
  .dish-grid { grid-template-columns: 1fr; }
  .hero__buttons { flex-direction: row; flex-wrap: nowrap; width: 100%; gap: 12px; }
  .hero__buttons .hero-btn { flex: 1 1 0; padding-left: 14px; padding-right: 14px; font-size: 15px; }
  .catering__buttons { flex-direction: column; }
}

/* ============================================================= */
/*  Touch devices — neutralize sticky :hover                      */
/* ------------------------------------------------------------- */
/*  On touchscreens a :hover state gets "stuck" after a tap (e.g. */
/*  returning from an external Order/Menu link), so buttons look  */
/*  permanently pressed. Reset the interactive hover states here; */
/*  they still animate normally with a real pointer.              */
/* ============================================================= */
@media (hover: none) {
  .hero-btn:hover { transform: none; }
  .hero-btn--primary:hover { background: var(--parchment); color: var(--ink); border-color: var(--parchment); }
  .hero-btn--ghost:hover { background: rgba(20,14,10,0.32); color: var(--parchment); border-color: var(--parchment); }
  .btn:hover { transform: none; }
  .btn--outline:hover, .btn--cream:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
  .btn--solid:hover, .btn--gold:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
  .hiring .btn--gold:hover { background: transparent; color: var(--parchment); border-color: rgba(235,221,196,0.55); }
  .order-card:hover { background: transparent; }
  .order-btn:hover { color: var(--ink); border-color: var(--ink); border-radius: 3px; }
  .order-btn:hover .order-btn__arr--1 { right: 16px; }
  .order-btn:hover .order-btn__arr--2 { left: -25%; }
  .order-btn:hover .order-btn__text { transform: translateX(-12px); }
  .order-btn:hover .order-btn__arr { fill: var(--ink); }
  .order-btn:hover .order-btn__circle { width: 20px; height: 20px; opacity: 0; }
  .order-card--feature .order-btn:hover { color: var(--accent); border-color: var(--accent); }
  .order-card--feature .order-btn:hover .order-btn__arr { fill: var(--accent); }
  .socials .soc a:hover { transform: none; background: transparent; color: rgba(235,221,196,0.72); border-color: rgba(199,184,150,0.30); box-shadow: none; }
  .socials .soc a:hover .soc__tip { opacity: 0; }
  .hero__brand:hover .brand-logo, .site-header__brand:hover .brand-logo { transform: none; }
  .hero__brand:hover .hero__brand-name { letter-spacing: 0.06em; }
  .site-header__brand:hover .site-header__name { letter-spacing: 0.02em; }
}

/* ============================================================= */
/*  Touch devices — tap feedback (:active press states)           */
/* ------------------------------------------------------------- */
/*  Phones can't hover, so give an instant "press" instead: the   */
/*  control fills with its hover colour and dips to ~97% while    */
/*  the finger is down, then fades back (base transition) on      */
/*  release. Kept after the hover reset above so :active wins.    */
/*  iOS only fires :active because main.js adds a no-op           */
/*  touchstart listener on document.                              */
/* ============================================================= */
html { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .btn:active, .hero-btn:active, .order-btn:active, .socials .soc a:active,
  .nav-toggle:active, .site-header__brand:active, .hero-textlink:active {
    scale: 0.97; transition-duration: .08s;
  }
  a:active { color: var(--accent); }

  .hero-btn--primary:active { background: var(--accent); border-color: var(--accent); color: var(--parchment); }
  .hero-btn--ghost:active { background: var(--parchment); border-color: var(--parchment); color: var(--ink); }
  .hero-textlink:active { color: var(--gold); border-color: var(--gold); }

  .btn--outline:active, .btn--cream:active { background: var(--ink); color: var(--parchment); border-color: var(--ink); }
  .btn--solid:active, .btn--gold:active { background: var(--accent); color: var(--parchment); border-color: var(--accent); }
  .hiring .btn--gold:active { background: var(--parchment); color: var(--ink); border-color: var(--parchment); }

  /* Order buttons: a tap plays the full desktop hover animation (sped up),
     via .is-tapped set in main.js, which opens the link ~300ms later. */
  .order-card .order-btn.is-tapped { color: var(--parchment); border-color: var(--accent); border-radius: 6px; }
  .order-card .order-btn.is-tapped .order-btn__arr--1 { right: -25%; }
  .order-card .order-btn.is-tapped .order-btn__arr--2 { left: 16px; }
  .order-card .order-btn.is-tapped .order-btn__text { transform: translateX(12px); }
  .order-card .order-btn.is-tapped .order-btn__arr { fill: var(--parchment); }
  .order-card .order-btn.is-tapped .order-btn__circle { width: 340px; height: 340px; opacity: 1; }
  .order-card .order-btn.is-tapped,
  .order-card .order-btn.is-tapped .order-btn__arr,
  .order-card .order-btn.is-tapped .order-btn__circle,
  .order-card .order-btn.is-tapped .order-btn__text { transition-duration: .4s; }

  .socials .soc a:active { background: var(--brand); color: #fff; border-color: var(--brand); scale: 0.92; }

  .site-header__nav a:not(.btn):active, .mobile-nav a:active { color: var(--accent); }
  .nav-toggle:active { scale: 0.9; }
  .site-header__brand:active .brand-logo { transform: rotate(-6deg) scale(1.04); }
}
@media (hover: none) and (prefers-reduced-motion: reduce) {
  .btn:active, .hero-btn:active, .order-btn:active, .socials .soc a:active,
  .nav-toggle:active, .site-header__brand:active, .hero-textlink:active { scale: none; }
  .site-header__brand:active .brand-logo { transform: none; }
}
