/* ============================================
   LEUNG SANG — DESIGN SYSTEM
   Navy #1a2744 | Gold #c9a84c | Cream #fefaf4
   ============================================ */

:root {
  --navy:       #1a2744;
  --navy-dark:  #111c30;
  --navy-mid:   #243560;
  --gold:       #c9a84c;
  --gold-light: #e8d08a;
  --gold-pale:  #f5edd0;
  --cream:      #fefaf4;
  --cream-dark: #f5efe0;
  --brown:      #2d1a0a;
  --text-dark:  #1a1a1a;
  --text-mid:   #444444;
  --text-light: #777777;
  --border:     #e8e0d0;
  --white:      #ffffff;

  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --shadow-sm:  0 1px 4px rgba(26,39,68,0.08);
  --shadow-md:  0 4px 20px rgba(26,39,68,0.10);
  --shadow-lg:  0 12px 40px rgba(26,39,68,0.14);

  --transition: 0.2s ease;
  --max-width:  1200px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ============ TYPOGRAPHY ============ */
.serif { font-family: var(--font-serif); }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-family: var(--font-serif); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-family: var(--font-serif); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 0.875rem; }
p { color: var(--text-mid); }

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 480px;
}

/* ============ LAYOUT ============ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 72px 0; }
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(254, 250, 244, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(254, 250, 244, 0.98);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-cn {
  font-family: var(--font-serif);
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
}
.nav-logo-en {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-link:hover { color: var(--navy); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--navy); font-weight: 600; }
.nav-link.active::after { transform: scaleX(1); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: var(--transition);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--cream);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  font-size: 1.5rem;
  font-family: var(--font-serif);
  color: var(--navy);
}
.nav-mobile-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 1.5rem;
  color: var(--navy);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
  border: 2px solid var(--navy);
}
.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--cream);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 28, 48, 0.88) 0%,
    rgba(17, 28, 48, 0.5) 40%,
    rgba(17, 28, 48, 0.15) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 20px;
  max-width: 14ch;
}
.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  max-width: 42ch;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ PRODUCT CARDS ============ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}
.product-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream-dark);
  position: relative;
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img {
  transform: scale(1.05);
}
.product-card-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}
.product-card-badge.limited {
  background: var(--gold);
  color: var(--navy);
}
.product-card-body {
  padding: 16px;
}
.product-card-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.product-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  line-height: 1.3;
}
.product-card-cn {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 8px;
}
.product-card-desc {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.product-card-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}
.product-card-avail {
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-card-avail.daily { color: #2a7a2a; }
.product-card-avail.limited { color: #8a6000; }
.avail-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
}
.avail-dot.daily { background: #2a7a2a; }
.avail-dot.limited { background: #c9a84c; }

/* Placeholder card */
.product-card-placeholder {
  background: var(--navy);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.product-card-placeholder svg { opacity: 0.25; }
.product-card-placeholder-text {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============ FEATURED — HOMEPAGE ============ */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.featured-hero {
  grid-row: span 2;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}
.featured-hero:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.featured-hero .product-card-img { aspect-ratio: 3/4; }
.featured-hero .product-card-body { padding: 20px; }
.featured-hero .product-card-name { font-size: 1.2rem; margin-bottom: 4px; }
.featured-hero .product-card-desc { -webkit-line-clamp: 3; margin-bottom: 14px; }
.featured-side {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  transition: all 0.25s ease;
}
.featured-side:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.featured-side .product-card-img { width: 120px; flex-shrink: 0; aspect-ratio: auto; }
.featured-side .product-card-body { padding: 14px; display: flex; flex-direction: column; justify-content: center; }

/* ============ CATEGORY TABS ============ */
.cat-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.cat-tab {
  padding: 10px 20px 11px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
  white-space: nowrap;
}
.cat-tab:hover { color: var(--navy); }
.cat-tab.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
  font-weight: 700;
}

/* ============ STORY / ABOUT ============ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.story-grid-reverse {
  direction: rtl;
}
.story-grid-reverse > * {
  direction: ltr;
}
.story-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.story-img-wrap img {
  width: 100%; height: 480px;
  object-fit: cover;
}
.story-year-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 100px; height: 100px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--cream);
}
.story-year-badge .year {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.story-year-badge .since {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.7;
}
.story-content { }
.story-content .eyebrow { margin-bottom: 12px; }
.story-content .section-title { margin-bottom: 20px; }
.story-content p { margin-bottom: 16px; line-height: 1.8; }
.story-content p:last-of-type { margin-bottom: 28px; }

/* ============ BULK / GIFTING ============ */
.bulk-section {
  background: var(--navy);
  color: var(--cream);
}
.bulk-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.bulk-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.bulk-img-wrap img {
  width: 100%; height: 380px;
  object-fit: cover;
}
.bulk-content .eyebrow { color: var(--gold); margin-bottom: 12px; }
.bulk-content h2 { color: var(--cream); margin-bottom: 16px; }
.bulk-content p { color: rgba(254,250,244,0.75); margin-bottom: 28px; line-height: 1.8; }
.bulk-contacts { display: flex; flex-direction: column; gap: 10px; }
.bulk-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(254,250,244,0.85);
}
.bulk-contact-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ============ FIND US / LOCATIONS ============ */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.location-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.location-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.location-icon {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.location-name { font-size: 1rem; font-weight: 700; color: var(--navy); }
.location-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: var(--text-mid);
}
.location-detail-icon { color: var(--gold); font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; }
.hours-table { width: 100%; font-size: 0.8rem; }
.hours-table tr td { padding: 3px 0; }
.hours-table tr td:last-child { text-align: right; color: var(--text-mid); }
.hours-table tr td:first-child { color: var(--text-light); }

/* ============ STORAGE INFO ============ */
.storage-section { background: var(--cream-dark); }
.storage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.storage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.storage-num {
  width: 36px; height: 36px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.storage-card h4 { font-size: 0.85rem; color: var(--navy); margin-bottom: 6px; }
.storage-card p { font-size: 0.8rem; color: var(--text-mid); }

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-dark);
  color: rgba(254,250,244,0.6);
  padding: 48px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 4px;
}
.footer-brand-cn {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.footer-brand-desc { font-size: 0.8rem; line-height: 1.7; max-width: 280px; }
.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-link {
  display: block;
  font-size: 0.85rem;
  color: rgba(254,250,244,0.6);
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--cream); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(254,250,244,0.6);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============ SECTION DIVIDER ============ */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ============ VIDEO EMBED ============ */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy);
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ============ PAGE HEADER (inner pages) ============ */
.page-header {
  background: var(--navy);
  padding: 120px 0 60px;
  text-align: center;
}
.page-header .eyebrow { color: var(--gold); margin-bottom: 12px; }
.page-header h1 { color: var(--cream); font-family: var(--font-serif); font-size: clamp(2rem,5vw,3rem); margin-bottom: 12px; }
.page-header p { color: rgba(254,250,244,0.65); max-width: 480px; margin: 0 auto; }

/* ============ UTILITY ============ */
.text-navy { color: var(--navy); }
.text-gold { color: var(--gold); }
.text-cream { color: var(--cream); }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .featured-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .featured-hero { grid-row: span 1; }
  .featured-hero .product-card-img { aspect-ratio: 16/9; }
  .story-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-img-wrap img { height: 320px; }
  .bulk-inner { grid-template-columns: 1fr; gap: 36px; }
  .bulk-img-wrap img { height: 260px; }
  .locations-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .storage-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .section { padding: 52px 0; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .featured-side { flex-direction: column; }
  .featured-side .product-card-img { width: 100%; aspect-ratio: 16/9; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .storage-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 80px 20px 56px; }
  .cat-tabs { gap: 0; }
  .cat-tab { padding: 10px 14px 11px; font-size: 0.75rem; }
}

@media (max-width: 420px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-card-body { padding: 12px; }
  .product-card-name { font-size: 0.9rem; }
}
