/* ========================================
   晨光 Sunday Morning Brunch — Styles
   Font strategy:
     Display/H1:  Cormorant Garamond (editorial serif)
     Body/UI:     DM Sans (clean sans-serif)
     ZH Title:    Noto Serif TC (繁中標題)
     ZH Body:     Noto Sans TC (繁中內文)
   ======================================== */

/* ===== CSS VARIABLES ===== */
:root {
  /* Color palette — Warm Organic */
  --c-bg:         #FAF8F5;   /* 奶油白底色 */
  --c-cream:      #F5EDE4;   /* 奶油色 */
  --c-cream-dark: #EAD9CC;   /* 深奶油 */
  --c-sage:       #8A9E8A;   /* 鼠尾草綠 */
  --c-sage-light: #C2D2C2;   /* 淺鼠尾草 */
  --c-sage-dark:  #6B7D6B;   /* 深鼠尾草 */
  --c-rose:       #E8C5BE;   /* 霧玫瑰粉 */
  --c-rose-dark:  #D4A5A0;   /* 深玫瑰粉 */
  --c-gold:       #C9A96E;   /* 香檳金 */
  --c-gold-light: #E8D5B0;   /* 淺金 */
  --c-espresso:   #2C1A0E;   /* 深咖啡（主文字） */
  --c-charcoal:   #4A3728;   /* 中灰棕 */
  --c-body:       #6B5B4E;   /* 內文色 */
  --c-muted:      #9B8B80;   /* 淡化文字 */
  --c-white:      #FFFFFF;
  --c-line:       #06C755;   /* LINE 品牌綠 */
  --c-line-dark:  #05A847;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Noto Serif TC', Georgia, serif;
  --font-serif-tc:'Noto Serif TC', 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', 'Noto Sans TC', -apple-system, sans-serif;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Border radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full:9999px;

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(44,26,14,0.06);
  --shadow-md:  0 8px 32px rgba(44,26,14,0.10);
  --shadow-lg:  0 20px 60px rgba(44,26,14,0.14);
  --shadow-card:0 4px 20px rgba(44,26,14,0.08);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 200ms;
  --t-mid:  350ms;
  --t-slow: 500ms;

  /* Layout */
  --container: 1200px;
  --nav-h: 72px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Critical: ensure [hidden] attribute always wins over explicit display rules */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--c-bg);
  color: var(--c-espresso);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

button { cursor: pointer; font: inherit; border: none; background: none; }

input, select, textarea {
  font: inherit;
  color: inherit;
}

address { font-style: normal; }

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
  .container { padding: 0 var(--space-sm); }
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--space-3xl) 0;
}

@media (max-width: 768px) {
  .section { padding: var(--space-2xl) 0; }
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-2xl);
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-sage-dark);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--c-espresso);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--c-body);
  line-height: 1.75;
}

.link-arrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-sage-dark);
  letter-spacing: 0.02em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color var(--t-fast);
}
.link-arrow:hover { color: var(--c-espresso); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all var(--t-fast) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
}
.btn:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--c-espresso);
  color: var(--c-white);
}
.btn--primary:hover {
  background: var(--c-charcoal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: rgba(255,255,255,0.15);
  color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--c-espresso);
  border: 1.5px solid var(--c-espresso);
}
.btn--outline:hover {
  background: var(--c-espresso);
  color: var(--c-white);
  transform: translateY(-2px);
}

.btn--cream {
  background: var(--c-cream);
  color: var(--c-espresso);
  border: 1.5px solid var(--c-cream-dark);
}
.btn--cream:hover {
  background: var(--c-white);
  transform: translateY(-2px);
}

.btn--line {
  background: var(--c-line);
  color: var(--c-white);
}
.btn--line:hover {
  background: var(--c-line-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,199,85,0.3);
}

.btn--lg   { padding: 1rem 2.25rem; font-size: 1rem; }
.btn--sm   { padding: 0.5rem 1.25rem; font-size: 0.8rem; }
.btn--block{ width: 100%; }

.btn-icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

.hide-mobile { display: inline; }
@media (max-width: 640px) { .hide-mobile { display: none; } }

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
}
.fade-in--delay { transition-delay: 150ms; }
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ===== NAV ===== */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: linear-gradient(to bottom, rgba(20,10,4,0.55) 0%, rgba(20,10,4,0.1) 70%, transparent 100%);
  transition: background var(--t-mid), box-shadow var(--t-mid), height var(--t-mid);
}
.nav-header.scrolled {
  background: rgba(250,248,245,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  height: 60px;
}
/* When scrolled, flip nav text from white back to dark */
.nav-header:not(.scrolled) .nav-link,
.nav-header:not(.scrolled) .nav-logo__en,
.nav-header:not(.scrolled) .nav-logo__zh {
  color: rgba(255,255,255,0.92);
}
.nav-header:not(.scrolled) .nav-link::after {
  background: rgba(255,255,255,0.7);
}
.nav-header:not(.scrolled) .btn--primary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}
.nav-header:not(.scrolled) .btn--primary:hover {
  background: rgba(255,255,255,0.28);
}
.nav-header:not(.scrolled) .nav-hamburger span {
  background: rgba(255,255,255,0.9);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}
.nav-logo__en {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--c-espresso);
  letter-spacing: 0.04em;
}
.nav-logo__zh {
  font-family: var(--font-serif-tc);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--c-muted);
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  margin-left: auto;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--c-charcoal);
  letter-spacing: 0.04em;
  transition: color var(--t-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1px;
  background: var(--c-sage-dark);
  transition: right var(--t-mid) var(--ease-out);
}
.nav-link:hover { color: var(--c-espresso); }
.nav-link:hover::after { right: 0; }

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-left: var(--space-sm);
}
.nav-line-btn { padding: 0.55rem 1.1rem; font-size: 0.8rem; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-espresso);
  border-radius: 2px;
  transition: transform var(--t-mid), opacity var(--t-fast);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Default hidden; shown only when .is-open is added via JS */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--c-bg);
  z-index: 800;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xl);
  overflow-y: auto;
}
.nav-mobile.is-open {
  display: flex;
}
.nav-mobile ul { text-align: center; }
.nav-mobile__link {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  padding: var(--space-xs) 0;
  color: var(--c-espresso);
  letter-spacing: 0.04em;
  transition: color var(--t-fast);
}
.nav-mobile__link:hover { color: var(--c-sage-dark); }

@media (max-width: 960px) {
  .nav-links, .nav-cta-group { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 768px) {
  .nav-container { padding: 0 var(--space-sm); }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,10,4,0.35) 0%,
    rgba(20,10,4,0.25) 35%,
    rgba(20,10,4,0.55) 70%,
    rgba(20,10,4,0.78) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--c-white);
  padding: 0 var(--space-lg);
  max-width: 820px;
  margin-top: var(--nav-h);
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: var(--space-sm);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero__sub {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: var(--space-md);
  font-weight: 300;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}
.trust-badge {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.star-icon { width: 14px; height: 14px; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .hero__scroll-hint { display: none; }
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.6; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.7); }
}

/* ===== TRUST STRIP ===== */
.trust-strip {
  background: var(--c-espresso);
  color: var(--c-white);
  padding: var(--space-lg) 0;
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  text-align: center;
}
.trust-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.trust-strip__num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--c-gold);
  display: block;
}
.trust-strip__item span {
  font-size: 0.8rem;
  opacity: 0.75;
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
}

/* ===== BRAND STORY ===== */
.brand-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.brand-story__text {
  max-width: 520px;
}
.brand-story__text .section-title {
  text-align: left;
  margin-bottom: var(--space-md);
}
.brand-story__body {
  color: var(--c-body);
  line-height: 1.9;
  margin-bottom: var(--space-sm);
}
.brand-story__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.brand-story__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.brand-story__img-wrap:hover img { transform: scale(1.04); }
.brand-story__badge {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.brand-story__badge span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.brand-story__badge strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--c-espresso);
}

@media (max-width: 900px) {
  .brand-story__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .brand-story__text { max-width: 100%; }
  .brand-story__text .section-title { text-align: center; }
  .brand-story__text { text-align: center; }
  .brand-story__text .link-arrow { display: inline-block; margin-top: var(--space-xs); }
  .brand-story__img-wrap { max-width: 400px; margin: 0 auto; }
}

/* ===== FEATURES ===== */
.features { background: var(--c-cream); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.feature-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature-card__img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.feature-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.feature-card:hover .feature-card__img-wrap img { transform: scale(1.06); }
.feature-card__body {
  padding: var(--space-md);
}
.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--c-espresso);
}
.feature-card__body p {
  font-size: 0.9rem;
  color: var(--c-body);
  line-height: 1.75;
}

@media (max-width: 900px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .features__grid { grid-template-columns: 1fr; }
}

/* ===== LINE CTA BAND ===== */

/* ===== MENU ===== */
.menu-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
  margin-bottom: var(--space-xl);
}
.menu-filter {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1.5px solid var(--c-cream-dark);
  background: var(--c-white);
  color: var(--c-body);
  transition: all var(--t-fast);
}
.menu-filter:hover,
.menu-filter.active {
  background: var(--c-espresso);
  border-color: var(--c-espresso);
  color: var(--c-white);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.menu-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid);
}
.menu-card.hidden { display: none; }
.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.menu-card__img-wrap {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
}
.menu-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.menu-card:hover .menu-card__img-wrap img { transform: scale(1.07); }
.menu-card__tag {
  position: absolute;
  top: var(--space-xs);
  left: var(--space-xs);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-white);
}
.menu-card__tag.popular  { background: var(--c-espresso); }
.menu-card__tag.photo    { background: var(--c-sage-dark); }
.menu-card__tag.seasonal { background: var(--c-gold); color: var(--c-espresso); }

.menu-card__body {
  padding: var(--space-sm) var(--space-md);
}
.menu-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: 0.35rem;
}
.menu-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--c-espresso);
  line-height: 1.3;
}
.menu-card__price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-gold);
  flex-shrink: 0;
}
.menu-card__desc {
  font-size: 0.8rem;
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: var(--space-xs);
}
.menu-card__label {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-sage-dark);
  border: 1px solid var(--c-sage-light);
  border-radius: var(--radius-full);
  padding: 0.15rem 0.6rem;
}

.menu-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

@media (max-width: 1100px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
}
@media (max-width: 480px) {
  .menu-grid { grid-template-columns: 1fr; }
}

/* ===== COFFEE & DESSERT ===== */
.coffee-dessert { background: var(--c-cream); }
.coffee-dessert__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-2xl);
  align-items: start;
}
.coffee-dessert__story h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: var(--space-sm);
}
.coffee-dessert__story p {
  font-size: 0.95rem;
  color: var(--c-body);
  line-height: 1.9;
  margin-bottom: var(--space-sm);
}
.cd-item-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}
.cd-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-mid) var(--ease-out);
}
.cd-item:hover { transform: translateY(-4px); }
.cd-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.cd-item:hover img { transform: scale(1.05); }
.cd-item p {
  padding: 0.6rem 0.75rem;
  font-size: 0.8rem;
  color: var(--c-charcoal);
  line-height: 1.4;
}
.cd-item em {
  font-style: normal;
  color: var(--c-gold);
  font-weight: 600;
}

@media (max-width: 960px) {
  .coffee-dessert__grid { grid-template-columns: 1fr; }
  .cd-item-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .cd-item-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== GALLERY ===== */
.gallery { background: var(--c-espresso); padding-bottom: 0; }
.gallery .section-header { color: var(--c-white); }
.gallery .section-eyebrow { color: var(--c-gold); }
.gallery .section-title { color: var(--c-white); }
.gallery .section-subtitle { color: rgba(255,255,255,0.65); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  grid-auto-flow: row dense; /* fill gaps when items have different spans */
  gap: 6px;
  margin-top: var(--space-xl);
}
.gallery__item {
  position: relative;
  overflow: hidden;
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(44,26,14,0.75), transparent);
  color: var(--c-white);
  font-size: 0.75rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-mid), transform var(--t-mid);
}
.gallery__item:hover .gallery__caption {
  opacity: 1;
  transform: none;
}

.gallery__ig-tip {
  padding: var(--space-lg) 0 var(--space-xl);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  line-height: 1.7;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.gallery__ig-tip .link-arrow { color: var(--c-gold); }
.gallery__ig-tip .link-arrow:hover { color: var(--c-white); }

@media (max-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .gallery__item--wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item--wide { grid-column: span 2; }
}

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--c-cream); }
.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  overflow-x: auto;
  padding-bottom: var(--space-sm);
}
.step {
  flex: 1;
  min-width: 200px;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-mid) var(--ease-out);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.step__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.step:hover .step__img-wrap img { transform: scale(1.06); }
.step__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--c-sage-light);
  line-height: 1;
  padding: var(--space-sm) var(--space-md) 0;
}
.step__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.4rem var(--space-md) 0.4rem;
  color: var(--c-espresso);
}
.step p {
  font-size: 0.82rem;
  color: var(--c-body);
  line-height: 1.7;
  padding: 0 var(--space-md) var(--space-md);
}
.step-arrow {
  font-size: 1.5rem;
  color: var(--c-sage-light);
  flex-shrink: 0;
  align-self: center;
  margin-top: -2rem;
}

@media (max-width: 768px) {
  .steps-grid { flex-wrap: wrap; }
  .step { min-width: calc(50% - var(--space-xs)); }
  .step-arrow { display: none; }
}
@media (max-width: 480px) {
  .step { min-width: 100%; }
}

/* ===== PROMOS ===== */
.promos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.promo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-white);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-mid) var(--ease-out);
}
.promo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.promo-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.promo-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.promo-card:hover .promo-card__img img { transform: scale(1.06); }
.promo-card__body {
  padding: var(--space-md);
}
.promo-card__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--c-cream);
  color: var(--c-charcoal);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.7rem;
  margin-bottom: var(--space-xs);
}
.promo-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--c-espresso);
}
.promo-card__body p {
  font-size: 0.85rem;
  color: var(--c-body);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
}

@media (max-width: 900px) {
  .promos__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .promos__grid { grid-template-columns: 1fr; }
}

/* ===== REVIEWS ===== */
.reviews { background: var(--c-cream); }
.reviews__aggregate {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: var(--c-body);
}
.reviews__stars {
  color: var(--c-gold);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}
.reviews__aggregate strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--c-espresso);
}

.reviews__carousel { position: relative; overflow: hidden; margin-top: var(--space-xl); }
.reviews__track {
  display: flex;
  gap: var(--space-md);
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}
.review-card {
  flex: 0 0 calc(33.333% - var(--space-md) * 2/3);
  min-width: 280px;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
}
.review-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.review-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-sage);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}
.review-card__avatar--b { background: var(--c-charcoal); }
.review-card__avatar--c { background: var(--c-rose-dark); }
.review-card__avatar--d { background: var(--c-gold); color: var(--c-espresso); }
.review-card__avatar--e { background: var(--c-sage-dark); }
.review-card__avatar--f { background: var(--c-espresso); }
.review-card__avatar--g { background: var(--c-cream-dark); color: var(--c-charcoal); }
.review-card__avatar--h { background: var(--c-rose); color: var(--c-espresso); }

.review-card__header strong {
  display: block;
  font-size: 0.9rem;
  color: var(--c-espresso);
}
.review-card__stars { font-size: 0.75rem; color: var(--c-gold); margin-top: 2px; }
.review-card p {
  font-size: 0.875rem;
  color: var(--c-body);
  line-height: 1.8;
  margin-bottom: var(--space-xs);
}
.review-card__source {
  font-size: 0.7rem;
  color: var(--c-muted);
  letter-spacing: 0.04em;
}

.reviews__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: var(--space-lg);
}
.reviews__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-cream-dark);
  border: none;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
}
.reviews__dot.active {
  background: var(--c-espresso);
  transform: scale(1.3);
}

.reviews__nav {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}
.reviews__prev, .reviews__next {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--c-cream-dark);
  background: var(--c-white);
  color: var(--c-espresso);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}
.reviews__prev:hover, .reviews__next:hover {
  background: var(--c-espresso);
  color: var(--c-white);
  border-color: var(--c-espresso);
}

/* ===== RESERVE BAND ===== */
.reserve-band {
  background: var(--c-sage-dark);
  padding: var(--space-2xl) 0;
}
.reserve-band__inner {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.reserve-band__text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  color: var(--c-white);
  margin-bottom: var(--space-xs);
}
.reserve-band__text p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  max-width: 480px;
}
.reserve-band__btns {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .reserve-band__inner { flex-direction: column; text-align: center; }
  .reserve-band__btns { flex-direction: column; width: 100%; }
  .reserve-band__btns .btn { width: 100%; justify-content: center; }
}

/* ===== FAQ ===== */
.faq__list { max-width: 760px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--c-cream-dark);
  overflow: hidden;
}
.faq__item:first-child { border-top: 1px solid var(--c-cream-dark); }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--c-espresso);
  cursor: pointer;
  list-style: none;
  line-height: 1.5;
  transition: color var(--t-fast);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  color: var(--c-sage-dark);
  transition: transform var(--t-mid) var(--ease-out);
}
details[open] .faq__question::after { transform: rotate(45deg); }
details[open] .faq__question { color: var(--c-sage-dark); }

.faq__answer {
  padding: 0 0 var(--space-md);
}
.faq__answer p {
  font-size: 0.9rem;
  color: var(--c-body);
  line-height: 1.85;
}

/* ===== LOCATION ===== */
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
  align-items: start;
}
.location__block {
  margin-bottom: var(--space-lg);
}
.location__block h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--c-espresso);
  margin-bottom: var(--space-xs);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--c-cream-dark);
}
.location__block p, .location__block address p {
  font-size: 0.9rem;
  color: var(--c-body);
  line-height: 1.7;
  margin-bottom: 0.25rem;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.hours-table td {
  padding: 0.4rem 0;
  color: var(--c-body);
}
.hours-table td:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--c-espresso);
}
.hours-table .closed td { color: var(--c-muted); }

.contact-list, .transport-list { margin-top: 0.5rem; }
.contact-list li, .transport-list li {
  font-size: 0.875rem;
  color: var(--c-body);
  padding: 0.3rem 0;
  line-height: 1.6;
}
.contact-list a, .transport-list a { color: var(--c-sage-dark); }
.contact-list a:hover { text-decoration: underline; }

.map-placeholder {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--c-cream) 0%, var(--c-sage-light) 50%, var(--c-cream-dark) 100%);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.map-placeholder__inner {
  text-align: center;
  padding: var(--space-lg);
}
.map-pin { font-size: 2.5rem; margin-bottom: var(--space-xs); }
.map-placeholder__inner strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--c-espresso);
  margin-bottom: 0.35rem;
}
.map-placeholder__inner p {
  font-size: 0.85rem;
  color: var(--c-body);
  margin-bottom: var(--space-sm);
}

@media (max-width: 900px) {
  .location__grid { grid-template-columns: 1fr; }
  .map-placeholder { max-width: 500px; }
}

/* ===== BOOKING FORM ===== */
.booking { background: var(--c-cream); }
.booking__inner {
  max-width: 860px;
  margin: 0 auto;
}
.booking__header { text-align: center; margin-bottom: var(--space-xl); }

.booking-form {
  background: var(--c-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group--full { grid-column: 1 / -1; margin-bottom: var(--space-md); }
.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-charcoal);
  letter-spacing: 0.02em;
}
.form-group label span { color: var(--c-rose-dark); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--c-cream-dark);
  border-radius: var(--radius-sm);
  background: var(--c-bg);
  font-size: 0.9rem;
  color: var(--c-espresso);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-sage);
  box-shadow: 0 0 0 3px rgba(138,158,138,0.15);
}
.form-group input.error,
.form-group select.error {
  border-color: var(--c-rose-dark);
}

.form-error {
  font-size: 0.75rem;
  color: var(--c-rose-dark);
  min-height: 1em;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.4rem;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--c-body);
  cursor: pointer;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--c-cream-dark);
  transition: all var(--t-fast);
}
.checkbox-label:hover,
.checkbox-label:has(input:checked) {
  background: var(--c-espresso);
  color: var(--c-white);
  border-color: var(--c-espresso);
}
.checkbox-label input {
  width: 0;
  height: 0;
  opacity: 0;
  position: absolute;
}

.booking-success {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  background: var(--c-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.booking-success__icon {
  width: 60px; height: 60px;
  background: var(--c-sage);
  color: var(--c-white);
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}
.booking-success h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: var(--space-xs);
}
.booking-success p {
  font-size: 0.95rem;
  color: var(--c-body);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

@media (max-width: 640px) {
  .booking-form { padding: var(--space-lg) var(--space-sm); }
  .form-row { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--c-espresso);
  color: rgba(255,255,255,0.8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: var(--space-2xl);
  padding: var(--space-2xl) var(--space-lg);
}
.footer__logo {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: var(--space-sm);
}
.footer__logo-en {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--c-white);
  letter-spacing: 0.06em;
}
.footer__logo-zh {
  font-family: var(--font-serif-tc);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--c-gold);
}
.footer__tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
  color: rgba(255,255,255,0.6);
}
.footer__social {
  display: flex;
  gap: var(--space-xs);
}
.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.7);
  transition: all var(--t-fast);
}
.footer__social-link:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
}

.footer__nav h4,
.footer__info h4,
.footer__cta h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--c-white);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.04em;
}
.footer__nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--t-fast);
}
.footer__nav a:hover { color: var(--c-gold); }

.footer__info address p,
.footer__info address a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  transition: color var(--t-fast);
}
.footer__info address a:hover { color: var(--c-gold); }

.footer__cta p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}
.footer__cta .btn--outline {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.3);
  display: block;
  text-align: center;
}
.footer__cta .btn--outline:hover {
  background: rgba(255,255,255,0.1);
  color: var(--c-white);
  border-color: var(--c-white);
  transform: none;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
}
.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.footer__demo-note a {
  color: var(--c-gold);
  transition: opacity var(--t-fast);
}
.footer__demo-note a:hover { opacity: 0.8; }

@media (max-width: 1000px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; padding: var(--space-xl) var(--space-sm); }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-espresso);
  color: var(--c-white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 800;
  transition: all var(--t-mid) var(--ease-out);
  opacity: 0;
  transform: translateY(12px);
}
.back-to-top.visible {
  opacity: 1;
  transform: none;
}
.back-to-top:hover {
  background: var(--c-sage-dark);
  transform: translateY(-3px);
}

/* ===== MOBILE BOTTOM CTA ===== */
/* Hidden on desktop; shown as flex only on mobile */
.mobile-bottom-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 700;
  background: var(--c-white);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 20px rgba(44,26,14,0.12);
  gap: 0.5rem;
}
.mobile-bottom-cta .btn {
  flex: 1;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
}

/* Pad bottom on mobile so content isn't hidden behind sticky bar */
@media (max-width: 768px) {
  .mobile-bottom-cta { display: flex; }
  body { padding-bottom: 72px; }
}
