/* =========================================================
   LH Nutri 웰니스알파 (포트리) — design tokens
   실제 패키지 컬러(레드+골드)를 기준으로 톤을 잡음
   ========================================================= */
:root {
  --color-primary: #B3122E;
  --color-primary-dark: #7A0B21;
  --color-on-primary: #FFF7F2;
  --color-secondary: #E8577A;
  --color-accent: #C9972E;
  --color-background: #FBF1EE;
  --color-surface: #FFFFFF;
  --color-foreground: #4A0E1B;
  --color-muted: #F7E6E1;
  --color-muted-foreground: #8C5A62;
  --color-border: #EFCFCB;
  --color-ring: #B3122E;

  --font-heading: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  --font-body: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(74, 14, 27, 0.06);
  --shadow-md: 0 8px 20px rgba(74, 14, 27, 0.10);
  --shadow-lg: 0 18px 40px rgba(74, 14, 27, 0.16);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-med: 260ms;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-background: #21090F;
    --color-surface: #2E0F17;
    --color-foreground: #F8E3E6;
    --color-muted: #3A1319;
    --color-muted-foreground: #D9A8AF;
    --color-border: #4C1B23;
    --color-on-primary: #FFF7F2;
    /* Brighten the brand red for dark surfaces — the light-mode value
       (#B3122E) is too close in darkness to the dark-mode surface colors
       above and reads as low-contrast/near-invisible text. */
    --color-primary: #FF5E76;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], main > section, #global-channels { scroll-margin-top: 84px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-background);
  color: var(--color-foreground);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 var(--space-md);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.25; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 var(--space-md); }
a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 2.5px solid var(--color-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}
.story__since {
  font-weight: 800;
  color: var(--color-primary-dark);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-lg); }

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn-secondary:hover { background: var(--color-primary); color: var(--color-on-primary); }

.btn-ghost {
  background: transparent;
  color: var(--color-foreground);
  border: 1.5px solid var(--color-border);
}
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

.btn-shimmer { position: relative; overflow: hidden; }
.btn-shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.65), transparent);
  transform: skewX(-20deg);
  animation: btn-shimmer-sweep 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btn-shimmer-sweep {
  0% { left: -60%; }
  40%, 100% { left: 140%; }
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--color-foreground);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  position: relative;
}
.icon-btn:hover { background: var(--color-muted); color: var(--color-primary); }

.input {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-foreground);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  width: 100%;
}
.input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(179, 18, 46, 0.14);
}

/* =========================================================
   Marquee
   ========================================================= */
.marquee {
  background: var(--color-foreground);
  color: var(--color-on-primary);
  overflow: hidden;
  padding: 0.55rem 0;
}
.marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  animation: marquee 26s linear infinite;
}
.marquee__track span:nth-child(odd) { color: var(--color-secondary); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-xl);
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}
.site-header.is-scrolled {
  position: fixed;
  top: 0;
  background: rgba(251, 241, 238, 0.9);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--color-border);
}

/* Over the hero video, header content needs to read light until scrolled solid */
.site-header:not(.is-scrolled) .site-nav a,
.site-header:not(.is-scrolled) .icon-btn,
.site-header:not(.is-scrolled) .lang-switch {
  color: rgba(255, 247, 242, 0.85);
}
.site-header:not(.is-scrolled) .lang-switch { border-right-color: rgba(255, 247, 242, 0.3); }
.site-header:not(.is-scrolled) .lang-switch a.is-active { color: var(--color-on-primary); }
.site-header:not(.is-scrolled) .site-nav a:hover,
.site-header:not(.is-scrolled) .icon-btn:hover,
.site-header:not(.is-scrolled) .lang-switch a:hover { color: var(--color-on-primary); }
.site-header:not(.is-scrolled) .icon-btn:hover { background: rgba(255, 247, 242, 0.14); }
/* The open mobile menu always has its own solid white panel, so its links
   must stay dark regardless of whether the header itself is transparent. */
.site-header:not(.is-scrolled) .site-nav.site-nav--open a { color: var(--color-foreground); }
.site-header:not(.is-scrolled) .site-nav.site-nav--open a:hover { color: var(--color-primary); }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  cursor: pointer;
}
.wordmark__logo { height: 34px; width: auto; display: block; }
.wordmark__logo-chip {
  display: inline-flex;
  align-items: center;
}
.wordmark--footer .wordmark__logo { height: 30px; }

.site-nav {
  display: flex;
  gap: var(--space-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a {
  cursor: pointer;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--dur-fast) var(--ease-out);
}
.site-nav a:hover { color: var(--color-primary); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--color-primary);
  transition: right var(--dur-med) var(--ease-out);
}
.site-nav a:hover::after { right: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-muted-foreground);
  padding-right: var(--space-sm);
  border-right: 1px solid var(--color-border);
  margin-right: var(--space-xs);
}
.lang-switch a { transition: color var(--dur-fast) var(--ease-out); }
.lang-switch a:hover { color: var(--color-primary); }
.lang-switch a.is-active { color: var(--color-primary); }

.header-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  background: var(--color-muted);
  border-radius: var(--radius-pill);
  transition: max-width var(--dur-med) var(--ease-out), opacity var(--dur-med) var(--ease-out);
}
.header-search.is-open { max-width: 200px; opacity: 1; }
.header-search__input {
  width: 100%;
  min-width: 160px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  color: var(--color-foreground);
}
.header-search__input:focus { outline: none; }
.header-search__input::-webkit-search-cancel-button { display: none; }

.nav-toggle { display: none; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: var(--space-3xl) var(--space-xl) var(--space-2xl);
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1);
  transition: transform 3.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero:hover .hero__video { transform: scale(2); }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(30, 6, 12, 0.78) 0%, rgba(30, 6, 12, 0.55) 34%, rgba(30, 6, 12, 0.18) 62%, rgba(30, 6, 12, 0.05) 100%);
}

.hero--video .hero__eyebrow--float { color: var(--color-secondary); }
.hero__eyebrow--float {
  display: inline-block;
  position: relative;
  font-size: 0.95rem;
  margin: 0 0 var(--space-md);
  white-space: nowrap;
  clip-path: inset(0 100% 0 0);
  animation: hero-eyebrow-type 1.9s steps(24, end) 0.3s forwards;
}
.hero__eyebrow--float::after {
  content: "";
  position: absolute;
  top: 0.1em;
  right: -0.5ch;
  width: 2px;
  height: 1em;
  background: currentColor;
  animation: hero-eyebrow-caret 0.8s step-end infinite;
}
@keyframes hero-eyebrow-type {
  to { clip-path: inset(0 0 0 0); }
}
@keyframes hero-eyebrow-caret {
  50% { opacity: 0; }
}
.hero--video .hero__content h1,
.hero--video .hero__content .hero__lede { color: var(--color-on-primary); }
.hero--video .hero__content .hero__lede { color: rgba(255, 247, 242, 0.85); }
.hero--video .hero__ghost-btn { border-color: rgba(255, 247, 242, 0.5); color: var(--color-on-primary); background: rgba(255, 247, 242, 0.08); backdrop-filter: blur(6px); }
.hero--video .hero__ghost-btn:hover { border-color: var(--color-on-primary); color: var(--color-on-primary); background: rgba(255,247,242,0.16); }
.hero--video .hero__cta-row .btn-primary { background: rgba(179, 18, 46, 0.82); backdrop-filter: blur(6px); }
.hero--video .hero__cta-row .btn-primary:hover { background: rgba(122, 11, 33, 0.88); }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  text-align: left;
}
.hero__lede {
  font-size: 1.05rem;
  color: var(--color-muted-foreground);
}
.hero__cta-row {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: var(--space-lg);
}
.hero__cta-row svg { transition: transform var(--dur-fast) var(--ease-out); }
.hero__cta-row .btn:hover svg { transform: translateX(3px); }

.hero__photo--small {
  position: absolute;
  z-index: 2;
  right: 11.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(3deg);
  width: clamp(160px, 18vw, 240px);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: transparent;
  transition: transform var(--dur-med) var(--ease-out);
  -webkit-mask-image: radial-gradient(ellipse at 50% 55%, #000 34%, rgba(0,0,0,0.7) 52%, rgba(0,0,0,0.25) 68%, transparent 88%);
  mask-image: radial-gradient(ellipse at 50% 55%, #000 34%, rgba(0,0,0,0.7) 52%, rgba(0,0,0,0.25) 68%, transparent 88%);
}
.hero__photo--small:hover { transform: translateY(-50%) rotate(0deg) scale(1.03); }
.hero__photo--small img,
.hero__photo--small video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: photo-breathe 10s ease-in-out infinite;
  transform-origin: center;
}
@keyframes photo-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

/* =========================================================
   Hero quick links (social + marketplace dock)
   ========================================================= */
.hero__quicklinks {
  position: absolute;
  z-index: 2;
  right: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  width: 108px;
}
.hero__quicklinks-icons {
  display: flex;
  gap: 0.5rem;
}
.hero__quicklink-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,247,242,0.1);
  border: 1px solid rgba(255,247,242,0.35);
  color: var(--color-on-primary);
  backdrop-filter: blur(6px);
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.hero__quicklink-icon:hover { background: rgba(255,247,242,0.22); transform: translateY(-2px); }
.hero__quicklink-icon--kakao { background: #FEE500; border-color: #FEE500; color: #391B1B; }
.hero__quicklink-icon--kakao:hover { background: #F5DA00; }

.hero__quicklinks-stores {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}
.hero__quicklinks-stores a {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-pill);
  background: rgba(255,247,242,0.08);
  border: 1px solid rgba(255,247,242,0.3);
  color: var(--color-on-primary);
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.hero__quicklinks-stores a:hover { background: rgba(255,247,242,0.2); transform: translateY(-2px); }

/* =========================================================
   Hero bottom ticker
   ========================================================= */
.hero__ticker {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 0;
  overflow: hidden;
  background: linear-gradient(0deg, rgba(20,4,8,0.78) 0%, rgba(20,4,8,0.38) 68%, transparent 100%);
  border-top: 1px solid rgba(232, 184, 75, 0.35);
  pointer-events: none;
}
.hero__ticker-track {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  width: max-content;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: rgba(255, 247, 242, 0.94);
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  animation: hero-ticker-scroll 34s linear infinite;
}
.hero__ticker-accent {
  color: var(--color-accent);
  font-weight: 800;
  font-size: 1.12em;
  text-shadow: 0 0 14px rgba(232, 184, 75, 0.55);
}
.hero__ticker-dot { color: var(--color-secondary); opacity: 0.8; font-size: 0.8em; }

@keyframes hero-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   Product photo frame (shared by cards, story, functional art)
   ========================================================= */
.product-card__art,
.functional__art,
.story__art {
  background: var(--color-muted);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.product-card__art { aspect-ratio: 3 / 4; margin-bottom: var(--space-md); }
.product-card__art img,
.functional__art img,
.story__art img,
.story__art video { width: 100%; height: 100%; object-fit: cover; display: block; }
.story__art { height: 380px; }
.functional__art { min-height: 320px; }

.product-card__meta {
  font-size: 0.82rem;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.product-card__strike {
  text-decoration: line-through;
  color: var(--color-muted-foreground);
  font-weight: 400;
  font-size: 0.85em;
}
.product-card__discount {
  color: var(--color-primary);
  font-weight: 800;
}
.product-rail__note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-muted-foreground);
  margin: var(--space-lg) 0 0;
}

/* =========================================================
   Sales channels
   ========================================================= */
.channels {
  background: var(--color-muted);
  padding: var(--space-3xl) var(--space-xl);
}
.channels__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
}
.channels__group {
  max-width: 1000px;
  margin: 0 auto var(--space-xl);
}
.channels__group:last-child { margin-bottom: 0; }
.channels__group-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--color-muted-foreground);
  margin-bottom: var(--space-md);
}
.channels__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}
.channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.channel-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-foreground);
}
.channel-card__region {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--color-muted-foreground);
  margin-left: 0.4rem;
}
.channel-card__go {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

/* =========================================================
   Value proposition
   ========================================================= */
.value-props {
  padding: var(--space-3xl) var(--space-xl) var(--space-2xl);
  max-width: 1280px;
  margin: 0 auto;
}
.value-props__head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--space-2xl);
}
.value-props__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
}
.value-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-md);
  transition: transform var(--dur-med) var(--ease-out), background-color var(--dur-med) var(--ease-out);
}
.value-card:hover { background: var(--color-muted); transform: translateY(-4px); }
.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-muted);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}
.value-card h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.value-card p { font-size: 0.86rem; color: var(--color-muted-foreground); margin: 0; }

/* =========================================================
   Trust / certification band
   ========================================================= */
.trust-band {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-2xl) var(--space-xl);
}
.trust-band__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}
.trust-band__stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--color-primary);
}
.trust-band__star { color: var(--color-accent); font-size: 1.05rem; }
.trust-band__stat span {
  font-size: 0.8rem;
  color: var(--color-muted-foreground);
}
.trust-band__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-foreground);
}
.trust-badge svg { color: var(--color-accent); flex-shrink: 0; }

/* =========================================================
   Company timeline
   ========================================================= */
.timeline {
  padding: var(--space-3xl) var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}
.timeline__head {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.timeline__head p:last-child {
  color: var(--color-muted-foreground);
  margin: 0;
}
.timeline__list {
  display: flex;
  flex-direction: column;
}
.timeline__year-group {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
}
.timeline__year-group:last-child { border-bottom: none; }
.timeline__year {
  flex-shrink: 0;
  width: 100px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--color-primary-dark);
}
.timeline__events {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.timeline__events li {
  display: flex;
  gap: var(--space-md);
}
.timeline__month {
  flex-shrink: 0;
  width: 36px;
  color: var(--color-muted-foreground);
  font-variant-numeric: tabular-nums;
}
.timeline__event {
  color: var(--color-foreground);
  font-size: 0.95rem;
}

/* =========================================================
   Mid-page CTA banner
   ========================================================= */
.cta-banner {
  background: linear-gradient(135deg, #F8D2DA, #F1AFC0);
  color: var(--color-foreground);
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}
.cta-banner h2 { color: var(--color-primary-dark); margin-bottom: 0.4rem; }
.cta-banner p { color: var(--color-foreground); opacity: 0.8; margin-bottom: var(--space-lg); }
.cta-banner .btn-primary { background: var(--color-primary); color: var(--color-on-primary); }
.cta-banner .btn-primary:hover { background: var(--color-primary-dark); }

/* =========================================================
   How to use + comparison
   ========================================================= */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  padding: var(--space-3xl) var(--space-xl);
  max-width: 1280px;
  margin: 0 auto;
  align-items: start;
}
.compare__steps {
  list-style: none;
  margin: var(--space-lg) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.compare__steps li { display: flex; gap: var(--space-md); }
.compare__steps p { margin: 0.2rem 0 0; font-size: 0.9rem; color: var(--color-muted-foreground); }
.compare__step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare__table-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-md);
  font-size: 0.9rem;
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.compare-table thead th { font-family: var(--font-heading); color: var(--color-muted-foreground); font-weight: 600; font-size: 0.78rem; }
.compare-table thead th:nth-child(2) { color: var(--color-primary); }
.compare-table tbody th { font-weight: 600; }
.compare-table tbody td:first-of-type { color: var(--color-primary-dark); font-weight: 700; }
.compare__footnote {
  font-size: 0.74rem;
  color: var(--color-muted-foreground);
  margin: var(--space-md) 0 0;
}

.testimonials__aggregate {
  color: var(--color-muted-foreground);
  font-weight: 700;
  margin-top: -0.5rem;
}
.testimonials__aggregate .stars { display: inline; color: var(--color-accent); margin-right: 0.4rem; }
.testimonials__note {
  font-size: 0.76rem;
  color: var(--color-muted-foreground);
  max-width: 60ch;
  margin: var(--space-xl) auto 0;
}

/* =========================================================
   Sticky mobile CTA
   ========================================================= */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 24px rgba(74,14,27,0.12);
  transform: translateY(100%);
  transition: transform var(--dur-med) var(--ease-out);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__copy { display: flex; flex-direction: column; line-height: 1.2; }
.sticky-cta__copy strong { font-family: var(--font-heading); color: var(--color-primary); }
.sticky-cta__copy span { font-size: 0.75rem; color: var(--color-muted-foreground); }

/* =========================================================
   Product rails
   ========================================================= */
.product-rail {
  padding: var(--space-3xl) var(--space-xl);
}
.product-rail--muted { background: var(--color-muted); }

.rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  gap: var(--space-md);
}
.rail-head h2 { margin: 0; }
.rail-nav { display: flex; gap: var(--space-sm); }
.rail-nav .icon-btn { background: var(--color-surface); box-shadow: var(--shadow-sm); }

.product-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes product-card-border-spin {
  to { --border-angle: 360deg; }
}

.product-card {
  position: relative;
  z-index: 0;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.product-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--border-angle), transparent 0deg, var(--color-accent) 60deg, var(--color-primary) 130deg, transparent 190deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: product-card-border-spin 3.5s linear infinite;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card h3 { margin-bottom: var(--space-lg); font-size: 1.25rem; }
.product-card__tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-muted-foreground);
  vertical-align: middle;
}
.product-card__price { color: var(--color-foreground); font-weight: 700; margin-bottom: var(--space-md); }
.product-card--hot { border: 1.5px solid #F0CB3A; }
.product-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #F6D53A;
  color: #4A3B00;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* =========================================================
   BalanceWay spotlight
   ========================================================= */
.balanceway {
  /* Section is designed as a light cream/white "spotlight" card — pin the
     tokens to their light values so it doesn't invert (and lose contrast)
     under system dark mode. */
  --color-background: #FBF1EE;
  --color-surface: #FFFFFF;
  --color-foreground: #4A0E1B;
  --color-muted: #F7E6E1;
  --color-muted-foreground: #8C5A62;
  --color-border: #EFCFCB;
  --bw-yellow: #F6D53A;
  --bw-yellow-soft: #FFF7DC;
  --bw-green: #1F6B3B;
  background: linear-gradient(180deg, var(--bw-yellow-soft) 0%, var(--color-background) 100%);
  padding: var(--space-3xl) var(--space-xl);
}
.balanceway__intro {
  max-width: 680px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}
.balanceway__eyebrow { color: var(--bw-green); }
.balanceway .btn-primary { background: var(--bw-green); }
.balanceway .btn-primary:hover { background: #164F2B; }

.balanceway__showcase {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto var(--space-2xl);
}
.balanceway__visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-muted);
}
.balanceway__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center;
  will-change: transform;
}
.balanceway__audience h3 { font-size: 1.1rem; margin-bottom: var(--space-md); }
.audience-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem var(--space-lg);
}
.balanceway__cta-row {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-lg);
}
.audience-grid li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.7rem 0.8rem;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.audience-grid li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.audience-grid__icon {
  flex-shrink: 0;
  display: inline-flex;
  color: var(--bw-green);
}

.balanceway__formula {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1280px;
  margin: 0 auto var(--space-2xl);
}
.formula-col {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  border-top: 4px solid var(--bw-yellow);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.formula-col:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.formula-col--free { border-top-color: var(--color-border); }
.formula-col--add { border-top-color: var(--bw-green); }
.formula-col h4 { font-size: 1rem; margin-bottom: var(--space-md); }
.formula-col--zero h4 { color: #B3122E; }
.formula-col--free h4 { color: var(--color-muted-foreground); }
.formula-col--add h4 { color: var(--bw-green); }
.formula-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.formula-col li {
  font-size: 0.88rem;
  color: var(--color-foreground);
  padding-left: 1.1rem;
  position: relative;
}
.formula-col li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--color-muted-foreground);
}

.balanceway__checklist {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 1280px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  gap: 0.7rem var(--space-2xl);
}
.balanceway__checklist li {
  font-size: 0.92rem;
  font-weight: 600;
  padding-left: 1.7rem;
  position: relative;
}
.balanceway__checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -0.05em;
  color: var(--bw-green);
  font-weight: 800;
}
.balanceway__footnote {
  text-align: center;
  font-size: 0.76rem;
  color: var(--color-muted-foreground);
  white-space: nowrap;
  margin: var(--space-xl) auto 0;
}

/* =========================================================
   Story
   ========================================================= */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-3xl) var(--space-xl);
  max-width: 1280px;
  margin: 0 auto;
}

/* =========================================================
   Story CTA row
   ========================================================= */
.story__cta-row {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* =========================================================
   ODM / OEM
   ========================================================= */
.odm {
  background: var(--color-muted);
  padding: var(--space-3xl) var(--space-xl);
}
.odm__showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.odm__visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}
.odm__visual video { width: 100%; height: 100%; object-fit: cover; display: block; }
.odm__copy { max-width: 560px; }
.odm__copy h2 { font-size: clamp(1.15rem, 2.6vw, 1.7rem); white-space: nowrap; }
.odm__list {
  list-style: none;
  margin: var(--space-lg) 0 var(--space-xl);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.6rem var(--space-xl);
}
.odm__list li {
  font-size: 0.92rem;
  color: var(--color-foreground);
  padding-left: 1.3rem;
  position: relative;
}
.odm__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}
.odm__cta-row {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.odm__cta-row .btn-primary {
  background: #FEE500;
  color: #391B1B;
  box-shadow: var(--shadow-md);
}
.odm__cta-row .btn-primary:hover { background: #F5DA00; }
.odm__contact-note {
  margin: var(--space-lg) 0 0;
  font-size: 0.82rem;
  color: var(--color-muted-foreground);
}

/* =========================================================
   Order approval request (B2B / bulk / export inquiry form)
   ========================================================= */
.order-request {
  background: var(--color-background);
  padding: var(--space-3xl) var(--space-xl);
}
.order-request__showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}
.order-request__intro { max-width: 520px; }
.order-request__intro h2 { font-size: clamp(1.3rem, 2.8vw, 1.9rem); margin: 0.4rem 0 0; }
.order-request__steps {
  list-style: none;
  margin: var(--space-xl) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-lg);
}
.order-request__steps li { display: flex; gap: var(--space-md); align-items: flex-start; }
.order-request__steps p { margin: 0.2rem 0 0; font-size: 0.9rem; color: var(--color-muted-foreground); }
.order-request__step-num {
  flex: none;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.order-request__form {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-xl);
  display: grid;
  gap: var(--space-md);
}
.order-request__form h3 { margin: 0; font-size: 1.15rem; }
.order-request__form-note { margin: -0.4rem 0 0.2rem; font-size: 0.85rem; color: var(--color-muted-foreground); }
.order-request__error { display: none; color: var(--color-primary); font-size: 0.85rem; font-weight: 600; margin: -0.4rem 0 0; }
.order-request.has-error .order-request__error { display: block; }
.order-request__form label { display: grid; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; color: var(--color-foreground); }
.order-request__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.order-request__form input[type="text"],
.order-request__form input[type="email"],
.order-request__form select,
.order-request__form textarea {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-background);
  color: var(--color-foreground);
}
.order-request__form input:focus,
.order-request__form select:focus,
.order-request__form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.order-request__form textarea { resize: vertical; min-height: 5rem; font-family: inherit; }
.order-request__consent { display: flex; flex-direction: row; align-items: flex-start; gap: 0.5rem; font-size: 0.78rem; font-weight: 400; color: var(--color-muted-foreground); }
.order-request__consent input { margin-top: 0.2rem; }
.order-request__submit { width: 100%; justify-content: center; margin-top: 0.4rem; }
.order-request__success {
  display: none;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2xl);
  text-align: center;
}
.order-request__success h3 { margin: 0 0 0.5rem; }
.order-request.is-sent .order-request__form { display: none; }
.order-request.is-sent .order-request__success { display: block; }

/* =========================================================
   Mailto copy toast
   ========================================================= */
.mail-toast {
  position: fixed;
  left: 50%;
  bottom: var(--space-xl);
  transform: translate(-50%, 20px);
  background: var(--color-foreground);
  color: var(--color-on-primary);
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
  z-index: 200;
  max-width: 90vw;
  text-align: center;
}
.mail-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   ODM/OEM contact FAB
   ========================================================= */
.contact-fab {
  position: fixed;
  right: var(--space-lg);
  bottom: var(--space-lg);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.contact-fab.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.contact-fab__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.contact-fab__btn:hover { transform: translateY(-3px) scale(1.04); }
.contact-fab__btn--kakao { background: #FEE500; color: #391B1B; }
.contact-fab__btn--email { background: var(--color-primary); color: var(--color-on-primary); }

/* =========================================================
   Mission / use-case cards
   ========================================================= */
.mission {
  background: #FBE1E6;
  color: var(--color-foreground);
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
}
.mission h2 { max-width: 720px; margin-inline: auto; color: var(--color-foreground); }
.mission__lede {
  max-width: 55ch;
  margin: 0 auto var(--space-2xl);
  color: var(--color-muted-foreground);
}
.mission__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}
.mission__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.mission__card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.mission__card h3 { color: var(--color-primary); }
.mission__card p { color: var(--color-muted-foreground); margin: 0; font-size: 0.9rem; }

/* =========================================================
   Functional / ingredients band
   ========================================================= */
.functional {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-3xl) var(--space-xl);
  max-width: 1280px;
  margin: 0 auto;
}
.functional__list { list-style: none; padding: 0; margin: var(--space-lg) 0 0; display: flex; flex-direction: column; gap: var(--space-md); }
.functional__list li {
  padding-left: 1.6rem;
  position: relative;
}
.functional__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.functional--full {
  display: block;
}
.functional__intro { max-width: 720px; margin: 0 auto var(--space-2xl); text-align: center; }
.functional__intro p:last-child { margin-top: var(--space-sm); }

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}
.ingredient-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.ingredient-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.ingredient-card--wide { grid-column: span 2; }
.ingredient-card h3 { font-size: 1.15rem; margin-bottom: var(--space-sm); }
.ingredient-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.ingredient-card li {
  font-size: 0.9rem;
  color: var(--color-muted-foreground);
  padding-left: 1.1rem;
  position: relative;
}
.ingredient-card li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.cert-block {
  background: var(--color-muted);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
}
.cert-block__lede { margin: 0 0 var(--space-xl); font-size: 1.02rem; text-align: left; }
.cert-block__lede strong { color: var(--color-primary-dark); }
.cert-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-foreground);
}
.cert-badge svg { color: var(--color-accent); flex-shrink: 0; }
.cert-block__award {
  margin: var(--space-lg) 0 0;
  font-weight: 700;
  color: var(--color-primary-dark);
}
.cert-block__award span { font-weight: 400; color: var(--color-muted-foreground); }

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials {
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
}
.testimonials h2 { margin-bottom: var(--space-2xl); }
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}
.testimonial {
  margin: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.stars { color: var(--color-accent); letter-spacing: 0.15em; margin-bottom: var(--space-sm); }
.testimonial p { color: var(--color-foreground); }
.testimonial cite { font-style: normal; font-weight: 700; font-family: var(--font-heading); color: var(--color-muted-foreground); font-size: 0.85rem; }

/* =========================================================
   Purchase options
   ========================================================= */
.bundle {
  background: var(--color-muted);
  padding: var(--space-3xl) var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
  align-items: center;
}
.bundle__tiers { display: flex; flex-direction: column; gap: var(--space-md); }
.bundle__tier {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.bundle__tier:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.bundle__tier p { margin: 0; flex: 1; font-weight: 700; }
.bundle__icon { color: var(--color-primary); }
.bundle__pill {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  white-space: nowrap;
}

/* =========================================================
   Alert / newsletter signup
   ========================================================= */
.newsletter {
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.newsletter h2 { font-size: clamp(1.3rem, 3vw, 2rem); white-space: nowrap; }
.newsletter__lede {
  color: var(--color-muted-foreground);
  white-space: nowrap;
}
.newsletter__kakao-btn {
  background: #FEE500;
  color: #391B1B;
  margin-top: var(--space-sm);
}
.newsletter__kakao-btn:hover { background: #F5DA00; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: #FBE1E6;
  color: rgba(74,14,27,0.8);
  padding: var(--space-3xl) var(--space-xl) var(--space-xl);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: var(--space-xl);
  max-width: 1280px;
  margin: 0 auto var(--space-2xl);
}
.wordmark--footer { color: var(--color-primary); }
.footer__brand p { font-size: 0.85rem; margin-top: var(--space-sm); }
.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: rgba(74,14,27,0.55);
  margin-bottom: var(--space-md);
}
.footer__col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out);
}
.footer__col a:hover { color: var(--color-primary); }
.footer__biz {
  max-width: 1280px;
  margin: 0 auto var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(74,14,27,0.15);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(74,14,27,0.65);
}
.footer__biz p { margin: 0 0 0.2rem; }
.footer__biz-logo {
  height: 20px;
  width: auto;
  vertical-align: middle;
  margin-right: 0.5rem;
}
.footer__biz a { color: rgba(74,14,27,0.8); }
.footer__biz a:hover { color: var(--color-primary); }
.footer__legal {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(74,14,27,0.15);
  padding-top: var(--space-lg);
  font-size: 0.72rem;
  line-height: 1.7;
  color: rgba(74,14,27,0.5);
}
.footer__legal p { margin: 0 0 var(--space-sm); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
  .site-nav { gap: var(--space-lg); font-size: 0.88rem; }
}

@media (max-width: 1024px) {
  .site-nav { gap: 0.9rem; font-size: 0.82rem; }
  .site-header { padding-inline: var(--space-lg); }
  .mission__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-track { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .story, .functional, .bundle, .compare { grid-template-columns: 1fr; }
  .story__art, .functional__art { order: -1; }
  .balanceway__showcase { grid-template-columns: 1fr; }
  .balanceway__cta-row { justify-content: center; }
  .balanceway__formula { grid-template-columns: 1fr; }
  .odm__showcase { grid-template-columns: 1fr; }
  .odm__copy { max-width: 100%; }
  .order-request__showcase { grid-template-columns: 1fr; }
  .order-request__intro { max-width: 100%; }
  .order-request__row { grid-template-columns: 1fr; }
  .odm__copy h2 { white-space: normal; font-size: clamp(1.4rem, 4vw, 2rem); }
  .newsletter h2 { white-space: normal; }
  .newsletter__lede { white-space: normal; }
  .value-props__grid { grid-template-columns: repeat(3, 1fr); }
  .trust-band__stats { grid-template-columns: repeat(2, 1fr); }
  .product-track { grid-template-columns: repeat(2, 1fr); }
  .ingredient-grid { grid-template-columns: repeat(2, 1fr); }
  .ingredient-card--wide { grid-column: span 2; }
  .cert-badges { gap: var(--space-lg); }
  .odm__list { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .balanceway__checklist { grid-template-columns: 1fr; }
  .balanceway__footnote { white-space: normal; max-width: 100%; }
  .channels__grid { grid-template-columns: 1fr; }
  .hero__photo--small {
    right: var(--space-lg);
    top: var(--space-xl);
    transform: rotate(3deg);
    width: 150px;
  }
  .hero__photo--small:hover { transform: rotate(0deg) scale(1.03); }
  .hero__quicklinks { display: none; }
  .hero { flex-direction: column; }
  .hero__eyebrow--float {
    font-size: 0.9rem;
    margin: 0 0 var(--space-sm);
  }
}

@media (max-width: 768px) {
  .site-header { padding: var(--space-md); gap: var(--space-sm); }
  .wordmark { font-size: 1rem; }
  .header-actions .icon-btn { display: none; }
  .header-actions .btn-sm { padding: 0.55rem 0.9rem; font-size: 0.8rem; }
  .lang-switch { font-size: 0.72rem; gap: 0.35rem; padding-right: 0.5rem; }
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav.site-nav--open {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--color-border);
  }
  .hero { min-height: auto; padding: 6rem var(--space-md) var(--space-2xl); }
  .hero__content { max-width: 100%; }
  .hero__photo--small { display: none; }
  .hero__eyebrow--float { font-size: 0.82rem; }
  .hero__ticker { padding: 0.8rem 0; }
  .hero__ticker-track { font-size: 0.88rem; gap: 1.5rem; }
  .mission__grid { grid-template-columns: 1fr; }
  .testimonial-track { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .rail-head { flex-direction: row; }
  .value-props__grid { grid-template-columns: repeat(2, 1fr); }
  .product-track { grid-template-columns: 1fr; }
  .ingredient-grid { grid-template-columns: 1fr; }
  .ingredient-card--wide { grid-column: span 1; }
  .cert-block { padding: var(--space-xl) var(--space-lg); }
  .trust-band__stats { grid-template-columns: repeat(2, 1fr); }
  .trust-band__badges { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
  .compare-table { font-size: 0.8rem; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 72px; }
  .contact-fab { right: var(--space-md); bottom: 88px; }
  .contact-fab__btn { width: 46px; height: 46px; }
  .story__cta-row { flex-direction: column; align-items: stretch; }
  .story__cta-row .btn { justify-content: center; }
  .timeline__year-group { flex-direction: column; gap: var(--space-sm); }
  .timeline__year { width: auto; font-size: 1.4rem; }
}

@media (max-width: 420px) {
  .site-header { padding: 0.6rem var(--space-sm); gap: 0.4rem; }
  .wordmark__logo { height: 24px; }
  .lang-switch { font-size: 0.65rem; gap: 0.25rem; padding-right: 0.4rem; margin-right: 0; }
  .header-actions { gap: 0.35rem; }
  .header-actions .btn-sm { padding: 0.45rem 0.6rem; font-size: 0.72rem; }
}

/* =========================================================
   Limited-time event popup (웰니스알파+밸런스웨이 반값 할인)
   이벤트 종료 후 이 블록 삭제하거나 비활성화하세요.
   ========================================================= */
.event-popup {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}
.event-popup.is-visible { display: flex; }
.event-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 4, 8, 0.6);
  backdrop-filter: blur(2px);
}
.event-popup__card {
  position: relative;
  width: 100%;
  max-width: 380px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #FFF7F2 0%, #FFF 55%);
  border: 2px solid #FFD400;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  text-align: center;
  animation: event-popup-in 380ms var(--ease-out);
}
.event-popup__steps {
  list-style: none;
  counter-reset: event-step;
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: left;
}
.event-popup__steps li {
  counter-increment: event-step;
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.86rem;
  color: var(--color-foreground);
  line-height: 1.9;
}
.event-popup__steps li::before {
  content: counter(event-step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-popup__dates {
  margin: 0 0 1rem;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--color-muted-foreground);
}
@keyframes event-popup-in {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.event-popup__close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-muted-foreground);
  cursor: pointer;
  padding: 0.2rem;
}
.event-popup__close:hover { color: var(--color-primary); }
.event-popup__eyebrow {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: 0.75rem;
  font-weight: 700;
}
.event-popup__title {
  margin: 0 0 0.7rem;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--color-primary-dark);
}
.event-popup__desc {
  margin: 0 0 1.2rem;
  font-size: 0.92rem;
  color: var(--color-foreground);
  line-height: 1.5;
}
.event-popup__cta {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 0.9rem 1rem;
  margin-bottom: 0.8rem;
}
.event-popup__dismiss {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--color-muted-foreground);
  font-size: 0.82rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.3rem;
}
.event-popup__dismiss:hover { color: var(--color-primary); }

@media (max-width: 420px) {
  .event-popup__title { font-size: 1.3rem; }
}
