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

/* ── BRAND TOKENS (Theme A — Warm Editorial) ── */
:root {
  --red:       #C62828;
  --red-dark:  #8B1C1C;
  --mint:      #A5D6A7;
  --blue:      #BBDEFB;
  --sepia:     #4E342E;
  --cream:     #faedcd;
  --cream-alt: #FFF9C4;
  --white:     #FFFFFF;
  --black:     #1A1A1A;
  --gray:      #888888;
  --gray-dark: #2A2A2A;
}

/* ── BASE ── */
body {
  font-family: 'Quicksand', 'Noto Sans TC', sans-serif;
  background: var(--cream);
  color: var(--sepia);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: 'Noto Sans TC', sans-serif; font-weight: 700; }

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.text-center { text-align: center; }

/* ── SECTION LABEL ── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}

/* ── SECTION HEADING ── */
.section-heading {
  font-size: clamp(28px, 5vw, 42px);
  color: var(--red);
  margin-bottom: 8px;
  line-height: 1.2;
}
.section-subheading {
  font-size: 15px;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 48px;
}

/* ─────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(78,52,46,0.12);
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 123px; padding: 16px 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px; flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 18px;
}
.nav-logo-text { flex-shrink: 0; 
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--sepia);
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 8px;
  opacity: 1 !important;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--red-dark); }

/* Desktop: hide mobile-only elements */
#mobile-nav { display: none; }
.nav-hamburger { display: none; }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* When hero is the scrub section, make it 500vh tall */
.hero.hero-scrub {
  /* Default: 500vh scrollable area. Override via data-scroll-length attribute. */
  height: 500vh;
  min-height: 500vh;
  display: block;
  background: var(--sepia);
  position: relative;
  /* Override global .hero { overflow: hidden } — that breaks position:sticky
     on the inner .scroll-scrub-container. The sticky child has its own
     overflow:hidden for video/overlay clipping. */
  overflow: visible;
}

.hero.hero-scrub .scroll-scrub-container {
  /* Sticky: pins the canvas to the viewport while the hero scrolls.
     top: 135px clears the fixed nav (height ~100px) with breathing room
     so the video never sits behind/under the nav bar. */
  position: sticky;
  top: 135px;
  width: 100%;
  height: calc(100vh - 135px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Video Fit variants (applied via [data-fit] on the section) */
.hero.hero-scrub[data-fit="cover"] #scrub-video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.hero.hero-scrub[data-fit="contain"] #scrub-video {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.hero.hero-scrub[data-fit="fill"] #scrub-video {
  object-fit: fill;
  width: 100%;
  height: 100%;
}

.hero.hero-scrub .hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 2;
  padding: 145px 24px 80px;
  max-width: 700px;
  pointer-events: auto;
}

.hero.hero-scrub .hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(198,40,40,0.45) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(165,214,167,0.30) 0%, transparent 55%),
    linear-gradient(135deg, #2a1a1a 0%, #1a1a2e 50%, #0f1a1a 100%);
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.68) 0%, rgba(26,26,26,0.35) 60%, rgba(26,26,26,0.10) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 145px 24px 80px;
  max-width: 700px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 24px;
}
.hero-eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--mint);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-eyebrow-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.hero-title {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: clamp(48px, 9vw, 88px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 4px;
  margin-bottom: 8px;
}
.hero-title span { color: var(--mint); }
.hero-tagline {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 500;
  color: rgba(255,255,255,0.80);
  margin-bottom: 36px;
  letter-spacing: 1px;
}
.hero-subtitle {
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 500;
  color: rgba(255,249,196,0.85);
  margin-top: -8px;
  margin-bottom: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-style: italic;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  letter-spacing: 0.5px;
  font-family: 'Quicksand', sans-serif;
}
.btn-primary {
  
  color: var(--white);
  box-shadow: 0 4px 24px rgba(198,40,40,0.28);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-outline {
  background: rgba(255,255,255,0.10);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.40);
}
.btn-outline:hover { background: rgba(255,255,255,0.18); }
.hero-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-social-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin-right: 4px;
}
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.2s;
}
.social-btn:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.social-btn svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.85); }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
}
.hero-scroll-text {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─────────────────────────────────────────────
   PATTERN DIVIDER
───────────────────────────────────────────── */
.pattern-divider {
  height: 48px;
  background: linear-gradient(to right, transparent, rgba(198,40,40,0.15) 20%, rgba(165,214,167,0.10) 50%, rgba(198,40,40,0.15) 80%, transparent);
  border-top: 1px solid rgba(78,52,46,0.06);
  border-bottom: 1px solid rgba(78,52,46,0.06);
}

/* ─────────────────────────────────────────────
   BRAND STORY
───────────────────────────────────────────── */
.brand-story {
  padding: 100px 0;
  background: var(--white);
}
.brand-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.bs-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 60px rgba(78,52,46,0.18);
}
.bs-image-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-image-placeholder {
  width: 100%; height: 100%;
  background: var(--sepia);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
}
.bs-image-placeholder-icon { font-size: 48px; opacity: 0.4; }
.bs-image-placeholder-text {
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.bs-content { padding: 20px 0; }
.bs-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--red);
  margin-bottom: 20px;
  line-height: 1.2;
}
.bs-content p {
  font-size: 15px;
  color: var(--sepia);
  opacity: 0.80;
  margin-bottom: 16px;
  line-height: 1.8;
}
.bs-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.bs-feature { display: flex; align-items: center; gap: 12px; }
.bs-feature-icon {
  width: 36px; height: 36px;
  background: var(--cream);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.bs-feature-text { font-size: 13px; font-weight: 600; color: var(--sepia); }

/* ─────────────────────────────────────────────
   7 FLAVORS
───────────────────────────────────────────── */
.flavors { padding: 100px 0; background: var(--cream); }
/* ─────────────────────────────────────────────
   SECTION HEADER (shared)
───────────────────────────────────────────── */
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header h2 {
  font-size: clamp(26px, 4vw, 38px);
  color: var(--red);
  margin-bottom: 8px;
  line-height: 1.2;
}
.section-header p {
  font-size: 15px;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.7;
}
.section-header.center p { margin: 0 auto; }

/* ─────────────────────────────────────────────
   FLAVOR CATEGORY BLOCK
───────────────────────────────────────────── */
.flavor-category {
  margin-bottom: 72px;
}
.flavor-category:last-child { margin-bottom: 0; }
.cat-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(78,52,46,0.10);
}
.cat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.cat-icon.traditional { background: var(--cream-alt); }
.cat-icon.playful { background: #FDE8E8; }
.cat-titles {}
.cat-title {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--sepia);
  line-height: 1.2;
}
.cat-subtitle {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 2px;
}

/* ─────────────────────────────────────────────
   8 FLAVORS GRID
───────────────────────────────────────────── */
.flavor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.flavor-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(78,52,46,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.flavor-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(78,52,46,0.14); }
.flavor-img { aspect-ratio: 4/3; overflow: hidden; }
.flavor-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; flex-shrink: 0;
  font-size: 13px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
}
.flavor-card:nth-child(1) .flavor-img-placeholder { background: #F5E0B4; color: #8B6914; }
.flavor-card:nth-child(2) .flavor-img-placeholder { background: #F5C842; color: #7A4500; }
.flavor-card:nth-child(3) .flavor-img-placeholder { background: #C84128; color: #FFF9C4; }
.flavor-card:nth-child(4) .flavor-img-placeholder { background: #E8A030; color: #5D3000; }
.flavor-card:nth-child(5) .flavor-img-placeholder { background: #F5E04A; color: #7A6000; }
.flavor-card:nth-child(6) .flavor-img-placeholder { background: #A5D6A7; color: #2E5E30; }
.flavor-card:nth-child(7) .flavor-img-placeholder { background: #8B6914; color: #FFF9C4; }
.flavor-info { padding: 20px; }
.flavor-name {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--sepia);
  margin-bottom: 4px;
}
.flavor-name-en {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 10px;
}
.flavor-desc { font-size: 13px; color: var(--sepia); opacity: 0.72; line-height: 1.6; }

/* ─────────────────────────────────────────────
   GIFT SETS
───────────────────────────────────────────── */
.gifts {
  padding: 100px 0;
  background: var(--sepia);
  position: relative;
  overflow: hidden;
}
.gifts::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(165,214,167,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.gifts .section-heading { color: var(--cream); }
.gifts .section-subheading { color: rgba(255,249,196,0.60); }
.gifts .section-label { color: var(--mint); }
.gift-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.gift-card {
  background: rgba(255,249,196,0.06);
  border: 1.5px solid rgba(255,249,196,0.12);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.gift-card:hover { transform: translateY(-6px); border-color: rgba(165,214,167,0.40); }
.gift-img { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.gift-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; flex-shrink: 0;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,249,196,0.35);
}
.gift-card:nth-child(1) .gift-img-placeholder { background: #6D4C41; }
.gift-card:nth-child(2) .gift-img-placeholder { background: #5D4037; }
.gift-card:nth-child(3) .gift-img-placeholder { background: #4E342E; }
.gift-card:nth-child(4) .gift-img-placeholder { background: #3E2723; }
.gift-info { padding: 24px; }
.gift-series {
  display: inline-block;
  background: var(--mint);
  color: var(--sepia);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.gift-name {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 6px;
}
.gift-desc { font-size: 13px; color: rgba(255,249,196,0.55); line-height: 1.6; margin-bottom: 20px; }
.gift-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.2s;
}
.gift-cta:hover { gap: 12px; }

/* ─────────────────────────────────────────────
   AMBIENT VIDEO
───────────────────────────────────────────── */
.ambient-section {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}
.ambient-bg {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 50%, #1A1A1A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.ambient-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 6px 16px;
}
.ambient-badge-dot {
  width: 6px; height: 6px;
  background: var(--mint);
  border-radius: 50%;
}
.ambient-badge-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.ambient-label {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 2px;
}
.ambient-title {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: 1.3;
}

/* ─────────────────────────────────────────────
   CTA BAND
───────────────────────────────────────────── */
.cta-band {
  padding: 100px 0;
  background: var(--white);
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--red);
  margin-bottom: 12px;
}
.cta-band p {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 40px;
}
.cta-band-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: var(--white);
  color: var(--sepia);
  border: 1.5px solid rgba(78,52,46,0.15);
}
.btn-white:hover { border-color: var(--red); color: var(--red); }
.btn-ghost-white {
  background: rgba(78,52,46,0.06);
  color: var(--sepia);
  border: 1.5px solid rgba(78,52,46,0.12);
}
.btn-ghost-white:hover { border-color: var(--sepia); }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer {
  background: var(--gray-dark);
  border-top: 3px solid var(--red);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-name {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
}
.footer-brand-desc {
  font-size: 13px;
  color: rgba(255,249,196,0.50);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,249,196,0.08);
  border-radius: 50%;
  transition: background 0.2s;
}
.footer-social a:hover { background: rgba(255,249,196,0.16); }
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,249,196,0.50);
  margin-bottom: 16px;
}
.footer-col-links { list-style: none; }
.footer-col-links li { margin-bottom: 8px; }
.footer-col-links a {
  font-size: 13px;
  color: rgba(255,249,196,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col-links a:hover { color: var(--mint); }
.footer-bottom {
  border-top: 1px solid rgba(255,249,196,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy { font-size: 12px; color: rgba(255,249,196,0.40); }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 12px;
  color: rgba(255,249,196,0.40);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--mint); }

/* ─────────────────────────────────────────────
   LANGUAGE SWITCHER
───────────────────────────────────────────── */
.lang-switcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 6px;
  z-index: 999;
}
.lang-btn {
  padding: 8px 14px;
  
  color: white;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'Quicksand', sans-serif;
}
.lang-btn:hover { background: var(--red-dark); }
.lang-btn.active { background: var(--sepia); cursor: default; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE-FIRST DESIGN SYSTEM
   Breakpoints: 480px (small), 768px (tablet), 1024px (desktop)
   ════════════════════════════════════════════════════════════════ */

/* ── 480px and up ── */
@media (min-width: 480px) {
  .hero-title { font-size: clamp(36px, 8vw, 88px); }
}

/* ── 768px and up ── */
@media (min-width: 768px) {
  .flavor-grid { grid-template-columns: repeat(2, 1fr); }
  .gift-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-story-grid { grid-template-columns: 1fr 1fr; }
}

/* ── 1024px and up (desktop) ── */
@media (min-width: 1024px) {
  .flavor-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .gift-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   MOBILE (< 768px) — Full mobile redesign
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* ── NAVIGATION (mobile only) ── */
  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; }
  nav .container { height: 114px; padding: 12px 20px; }
  .nav-logo-text { flex-shrink: 0;  font-size: 16px; }
  .nav-logo-icon { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; }
  .nav-links { display: none; }

  /* Desktop/laptop nav adjustments */
  @media (min-width: 768px) {
    nav .container { height: 101px; padding: 14px 24px; }
    .nav-logo-icon { width: 64px; height: 64px; }
    .nav-logo-icon img { width: 56px !important; height: 56px !important; }
    .nav-logo-text { font-size: 17px; }
    .nav-links { gap: 28px; }
    .hero-content { padding: 125px 24px 60px; }
  }

  /* Show mobile nav & hamburger on mobile */
  #mobile-nav { display: block; }
  /* Oscar 2026-06-11: hide hamburger in mobile view (no menu wired up yet) */
  /* Oscar 2026-06-11: restored — Oscar wants the hamburger back */
  .nav-hamburger { display: flex !important; }

  /* Hamburger button */
  .nav-hamburger {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px; height: 44px;
    background: none; border: none;
    cursor: pointer; padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
    z-index: 201;
  }
  .nav-hamburger:hover { background: rgba(78,52,46,0.08); }
  .nav-hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--sepia); margin: 4px 0;
    border-radius: 2px; transition: all 0.3s;
  }

  /* Mobile menu overlay */
  .nav-mobile-overlay {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26,26,26,0.85);
    backdrop-filter: blur(8px);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .nav-mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* ── Mobile menu panel ── */
  .nav-mobile-menu {
    display: block;
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100%;
    background: var(--cream);
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 32px 20px 40px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  }
  .nav-mobile-menu.active { transform: translateX(0); }

  /* ── Mobile nav list ── */
  .nav-mobile-menu ul { list-style: none; }
  .nav-mobile-menu ul li { margin-bottom: 4px; }
  .nav-mobile-menu ul a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-size: 18px;
    font-weight: 600;
    color: var(--sepia);
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.2s, color 0.2s;
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
    font-family: 'Quicksand', 'Noto Sans TC', sans-serif;
    text-align: left;
  }
  .nav-mobile-menu ul a:hover { background: rgba(78,52,46,0.06); }
  .nav-mobile-menu ul a.active { color: var(--red); background: rgba(198,40,40,0.06); }

  /* Logo inside mobile menu */
  .mobile-logo { margin-bottom: 16px; }
  .mobile-logo .nav-logo { pointer-events: none; }
  .mobile-logo .nav-logo-text { flex-shrink: 0;  font-family: 'Noto Sans TC', sans-serif; font-size: 20px; font-weight: 700; color: var(--red); letter-spacing: 2px; }
  .mobile-logo .nav-logo-icon { width: 36px; height: 36px;  border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; flex-shrink: 0; }

  /* Close button at bottom of list */
  .mobile-close-item { margin-top: 8px; }
  .mobile-close-item button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 16px;
    background: rgba(78,52,46,0.06);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
    color: var(--sepia);
    transition: background 0.2s;
    font-family: 'Quicksand', sans-serif;
  }
  .mobile-close-item button:hover { background: rgba(78,52,46,0.12); }
  .nav-mobile-cta {
    display: block;
    margin-top: 20px;
    padding: 16px;
    
    color: white;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.2s;
  }
  .nav-mobile-cta:hover { background: var(--red-dark); }

  /* ── HERO ── */
  .hero {
    min-height: 100svh;
    padding: 80px 20px 60px;
  }
  .hero-content { padding: 130px 24px 60px; max-width: 100%; }
  .hero-title {
    font-size: clamp(36px, 10vw, 64px);
    letter-spacing: 2px;
    margin-bottom: 12px;
  }
  .hero-tagline {
    font-size: 15px;
    margin-bottom: 28px;
    max-width: 320px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 16px 20px; }
  .hero-social {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
  }
  .hero-scroll { display: none; }
  .hero-eyebrow { margin-bottom: 16px; }
  .hero-eyebrow-text { font-size: 11px; }

  /* ── PATTERN DIVIDER ── */
  .pattern-divider { height: 32px; }

  /* ── BRAND STORY ── */
  .brand-story { padding: 60px 0; }
  .brand-story-grid { grid-template-columns: 1fr; gap: 0; }
  .bs-image-wrap {
    aspect-ratio: 16/9;
    border-radius: 12px;
    margin-bottom: 32px;
  }
  .bs-content { padding: 0; }
  .bs-content h2 { font-size: 28px; }
  .bs-content p { font-size: 14px; }
  .bs-features { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
  .bs-feature { gap: 14px; flex-shrink: 0; }
  .bs-feature-icon { width: 32px; height: 32px; font-size: 15px; }
  .bs-feature-text { font-size: 12px; }

  /* ── FLAVORS ── */
  .flavors { padding: 60px 0; }
  .flavors .container { padding: 0 16px; }
  .flavor-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .flavor-card { border-radius: 12px; }
  .flavor-info { padding: 16px; }
  .flavor-name { font-size: 16px; }
  .flavor-img { aspect-ratio: 3/2; }
  .flavors .section-heading { font-size: 28px; }
  .flavors .section-subheading { font-size: 14px; margin-bottom: 32px; }

  /* ── GIFT SETS ── */
  .gifts { padding: 60px 0; }
  .gifts .container { padding: 0 16px; }
  .gift-grid { gap: 16px; }
  .gift-card { border-radius: 16px; }
  .gift-info { padding: 20px; }
  .gift-name { font-size: 18px; }
  .gifts .section-heading { font-size: 28px; }
  .gifts .section-subheading { font-size: 14px; margin-bottom: 32px; }

  /* ── AMBIENT SECTION ── */
  .ambient-section { height: 50vh; }
  .ambient-title { font-size: clamp(22px, 5vw, 36px); }

  /* ── CTA BAND ── */
  .cta-band { padding: 60px 0; }
  .cta-band h2 { font-size: 26px; }
  .cta-band p { font-size: 14px; margin-bottom: 32px; }
  .cta-band-actions {
    flex-direction: column;
    align-items: center;
  }
  .cta-band-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* ── FOOTER ── */
  footer { padding: 48px 0 28px; }
  footer .container { padding: 0 20px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-brand { grid-column: auto; }
  .footer-brand-name { font-size: 20px; }
  .footer-brand-desc { max-width: 100%; }
  .footer-col-title { margin-bottom: 12px; }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* ── LANGUAGE SWITCHER ── */
  .lang-switcher {
    bottom: 16px;
    right: 50%;
    transform: translateX(50%);
  }
  .lang-btn {
    padding: 8px 12px;
    font-size: 11px;
  }

  /* ── SECTION LABEL ── */
  .section-label { font-size: 10px; letter-spacing: 2px; }
  .section-heading { font-size: 28px; }
  .section-subheading { font-size: 14px; max-width: 100%; }
}

/* ════════════════════════════════════════════════════════════════
   SMALL MOBILE (< 480px)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 479px) {
  /* ── Scroll-scrub: shrink sticky to video + 10px (1:1 source = viewport-width square + 5/5) ── */
  .hero.hero-scrub .scroll-scrub-container {
    height: calc(100vw + 10px);
  }
  /* ── Hero text: pin to bottom of sticky (overlays video), no overflow above nav ── */
  .hero.hero-scrub .hero-content {
    position: absolute;
    top: 100px;  /* clears the 115px nav (with a bit of overlap for visual flow) */
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    padding: 8px 20px 24px;
    max-width: none;
    /* Oscar 2026-06-11: removed dark gradient — text is hidden on mobile, gradient was blacking out the bottom of the video */
    pointer-events: auto;
  }
  .hero.hero-scrub .hero-title { color: var(--cream); margin-bottom: 4px; }
  .hero.hero-scrub .hero-tagline { color: rgba(255,254,245,0.85); }
  .hero.hero-scrub .hero-eyebrow-text { color: rgba(255,254,245,0.7); }
  .hero.hero-scrub .hero-social-label { color: rgba(255,254,245,0.7); }
  .hero.hero-scrub .hero-scroll { display: none; }
  /* (visibility:hidden for .hero-content children handled by the 767px block below) */
}

/* Oscar 2026-06-11: also hide .hero-content children on tablets (<767px) */
@media (max-width: 767px) {
  .hero-content > * { visibility: hidden; }
  /* Mobile: scroll-scrub-label overlaps CTAs; hide it */
  .hero.hero-scrub .scroll-scrub-label { display: none; }
  /* Mobile: hide tagline + social to keep text within sticky height */
  .hero.hero-scrub .hero-tagline { display: none; }
  .hero.hero-scrub .hero-subtitle { display: none; }
  .hero.hero-scrub .hero-social { display: none; }

  .hero-title { font-size: clamp(32px, 12vw, 48px); }
  .bs-features { grid-template-columns: 1fr; }
  .flavor-grid { gap: 12px; }
  .flavor-info { padding: 14px; }
  .flavor-name { font-size: 15px; }
  .gift-info { padding: 16px; }
  .footer-grid { gap: 24px; }
  .cta-band-actions .btn { max-width: 100%; }
  .hero-tagline { font-size: 14px; }
  .hero-subtitle { font-size: 11px; letter-spacing: 1.5px; }
}

/* ── 4K Ultra-wide displays (2560px+) — moved out of the 479px block (was dead code, never matched) ── */
@media (min-width: 2560px) {
  nav .container { height: 150px; padding: 20px 40px; }
  .hero-content { padding: 175px 40px 80px; }
  .nav-logo-icon { width: 96px; height: 96px; }
  .nav-logo-icon img { width: 88px !important; height: 88px !important; }
  .nav-logo-text { font-size: 22px; }
  .container { max-width: 1400px; }
  .hero-title { font-size: clamp(60px, 8vw, 120px); }
  .section-heading { font-size: clamp(36px, 4vw, 56px); }
  .flavor-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .gift-grid { grid-template-columns: repeat(2, 1fr); }
  .flavor-info { padding: 28px; }
  .flavor-name { font-size: 22px; }
  .flavor-desc { font-size: 15px; }
}



.scroll-scrub-container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}



.scroll-scrub-canvas-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}
.scroll-scrub-canvas-wrap video {
  width: 100%;
  height: 100%;
  display: block;
}

/* Oscar 2026-06-11: .scroll-scrub-overlay gradient removed — no longer needed */
.scroll-scrub-overlay { display: none; }

.scroll-scrub-label {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,254,245,0.15);
  border: 1px solid rgba(255,254,245,0.25);
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,254,245,0.85);
  white-space: nowrap;
}
