:root {
  --bg: #f8efe6;
  --surface: #fffaf3;
  --surface-strong: #ffffff;
  --surface-blue: #eaf5ff;
  --surface-pink: #ffe9ef;
  --surface-yellow: #fff0ba;
  --text: #232421;
  --muted: #6d6259;
  --line: rgba(65, 51, 41, 0.14);
  --blue: #79b9f4;
  --pink: #ef88a4;
  --yellow: #ffd763;
  --mint: #a7d8c5;
  --orange: #f0a85d;
  --shadow-soft: 0 24px 80px rgba(82, 55, 32, 0.12);
  --shadow-card: 0 18px 40px rgba(101, 70, 45, 0.12);
  --glass-rim: inset 0 1px 0 rgba(255, 255, 255, 0.88), inset 0 -10px 24px rgba(255, 255, 255, 0.18);
  --glass-gloss: linear-gradient(118deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.18) 24%, rgba(255, 255, 255, 0) 48%);
  --font-display: "Didot", "Bodoni 72", "Bodoni MT", "Times New Roman", serif;
  --font-body: "Pretendard", "Avenir Next", "Segoe UI", sans-serif;
  --container: 100%;
  --side: clamp(22px, 4vw, 64px);
  --section-y: clamp(56px, 8vw, 110px);
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 42px;
  --radius-pill: 999px;
  --hero-title: clamp(4.2rem, 7vw, 8.4rem);
  --section-title: clamp(2.3rem, 4.4vw, 5.2rem);
}

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

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 85% 10%, rgba(122, 185, 244, 0.18), transparent 26%),
    radial-gradient(circle at 8% 36%, rgba(239, 136, 164, 0.14), transparent 28%),
    linear-gradient(180deg, #f8efe6 0%, #fffaf5 52%, #f8efe6 100%);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ui-icon {
  width: 1.15em; height: 1.15em; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; cursor: pointer; border: none; background: none; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 14px; border-radius: var(--radius-pill);
  background: var(--text); color: white; transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.page-shell { width: min(var(--container), 100%); margin: 0 auto; }
.section-pad { padding-inline: var(--side); }

.site-header {
  position: fixed; top: 18px; left: var(--side); right: var(--side); z-index: 50;
  max-width: calc(var(--container) - var(--side) * 2); margin: 0 auto;
  min-height: 84px; display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 28px; padding: 18px 28px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: rgba(255, 250, 243, 0.72); backdrop-filter: blur(14px);
  box-shadow: 0 16px 46px rgba(86, 63, 40, 0.1);
}

.brand {
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(1.35rem, 2vw, 2rem); letter-spacing: 0.28em; font-weight: 700;
}

.nav-links { display: flex; justify-content: center; gap: clamp(22px, 4vw, 58px); font-size: 0.97rem; }
.nav-links a, .footer a { transition: color 180ms ease; }
.nav-links a:hover, .footer a:hover { color: var(--pink); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-button { display: none; }
.icon-button {
  position: relative; overflow: hidden; width: 42px; height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.72); border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 246, 238, 0.34));
  box-shadow: var(--glass-rim), 0 10px 22px rgba(106, 75, 49, 0.08);
}
.icon-button::before, .button::before, .lab-access::before, .product-info button::before, .experiment-card button::before, .email-row button::before {
  content: ""; position: absolute; inset: 3px auto auto 6px;
  width: 58%; height: 42%; border-radius: inherit;
  background: var(--glass-gloss); transform: rotate(-12deg); pointer-events: none;
}
.icon-button .ui-icon { position: relative; z-index: 2; width: 20px; height: 20px; margin-top: 2px; }

.tray-button b {
  position: absolute; top: 4px; right: 5px; width: 9px; height: 9px;
  overflow: hidden; border-radius: 50%; background: var(--pink); color: transparent;
}

.lab-access, .button {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  gap: 12px; min-height: 52px; padding: 0 28px; border-radius: var(--radius-pill);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; font-size: 0.86rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.lab-access, .button-primary {
  color: white; border: 1px solid rgba(255, 255, 255, 0.72);
  background: radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.75), transparent 24%),
    linear-gradient(145deg, #9fd1ff 0%, var(--blue) 58%, #70aee9 100%);
  box-shadow: var(--glass-rim), 0 18px 34px rgba(105, 173, 238, 0.28);
}

.button-secondary {
  border: 1px solid rgba(35, 36, 33, 0.28);
  background: radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.86), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 246, 238, 0.46));
  box-shadow: var(--glass-rim), 0 14px 26px rgba(82, 55, 32, 0.08);
}

.button:hover, .lab-access:hover, .product-info button:hover { transform: translateY(-2px); }
.button:active, .lab-access:active, .product-info button:active, .email-row button:active { transform: translateY(1px) scale(0.98); }

.hero {
  position: relative; min-height: 830px; display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(560px, 1.35fr);
  gap: clamp(34px, 5vw, 86px); align-items: center;
  padding-top: clamp(140px, 12vw, 180px); padding-bottom: 28px;
}
.hero-bg {
  position: absolute;
  top: 0; left: 50%; width: 100vw; max-width: none; height: 100%;
  transform: translateX(-50%);
  object-fit: cover; object-position: right center;
  z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}
.hero-content, .hero-visual { position: relative; z-index: 10; }
.hero::before {
  content: ""; position: absolute; inset: 8% -8% auto 44%; height: 72%;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.66), transparent 68%); pointer-events: none;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px;
  color: var(--blue); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.9rem; font-weight: 800;
}
.hero h1 { position: relative; margin: 0; font-family: var(--font-display); font-size: var(--hero-title); line-height: 0.92; font-weight: 400; }
.hero h1::after { content: "✦"; position: absolute; right: 4%; top: 25%; color: var(--pink); font-family: var(--font-body); font-size: 0.28em; }
.hero-lede { width: min(430px, 100%); margin: 30px 0 32px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.38rem); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }

.proof-list { display: grid; grid-template-columns: repeat(3, minmax(96px, 1fr)); gap: 22px; margin: 54px 0 0; padding: 0; list-style: none; }
.proof-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; color: var(--muted); font-size: 0.78rem; line-height: 1.25; }
.proof-list .ui-icon { width: 25px; height: 25px; color: var(--pink); }
.proof-list li:nth-child(1) .ui-icon { color: var(--blue); }
.proof-list li:nth-child(3) .ui-icon { color: var(--yellow); }

.hero-stage { position: relative; min-height: 720px; display: flex; align-items: center; justify-content: center; }

@keyframes floatDessert {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.soft-bubble {
  position: absolute; z-index: 1; border: 1px solid rgba(122, 185, 244, 0.28);
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.88), rgba(163, 216, 255, 0.22), transparent 66%);
}
.bubble-one { width: 140px; height: 140px; left: 2%; bottom: 19%; animation: floatDessert 9s ease-in-out infinite; }
.bubble-two { width: 96px; height: 96px; right: 2%; bottom: 33%; animation: floatDessert 11s ease-in-out infinite reverse; }

.floating-card {
  position: absolute; z-index: 5;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.1) 100%),
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.6), transparent 50%);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  box-shadow: 
    inset 1.5px 1.5px 0px rgba(255, 255, 255, 0.8),
    inset 8px 8px 24px rgba(255, 255, 255, 0.3), 
    inset -2px -2px 8px rgba(255, 255, 255, 0.05),
    0 24px 50px rgba(82, 55, 32, 0.12),
    0 8px 16px rgba(82, 55, 32, 0.06);
}
.experiment-card { top: 6%; right: 2%; width: min(310px, 38vw); padding: 28px; }
.experiment-card button {
  position: absolute; overflow: hidden; top: 20px; right: 20px;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.96), transparent 30%),
    linear-gradient(145deg, #ffffff, #f7eef0);
  box-shadow: var(--glass-rim), 0 12px 22px rgba(87, 61, 44, 0.1); font-size: 1.3rem;
}
.experiment-card button .ui-icon, .product-info button .ui-icon { position: relative; z-index: 2; width: 21px; height: 21px; margin: auto; }
.floating-card span { display: block; margin-bottom: 14px; color: var(--blue); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; font-weight: 800; }
.floating-card h2 { margin: 0 0 8px; font-size: 1.2rem; }
.floating-card p { margin: 0; color: var(--muted); }

.profile-row { display: flex; align-items: center; gap: 9px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.profile-row strong { margin-right: auto; font-size: 0.88rem; }
.profile-row i {
  width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, white 0 16%, transparent 18%), linear-gradient(145deg, #2f3437, #111);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.55), 0 3px 8px rgba(35, 36, 33, 0.18);
}
.profile-row i.dim { opacity: 0.16; }

.batch-card { right: 0; bottom: 11%; display: grid; grid-template-columns: 1fr 94px; gap: 12px; width: min(300px, 40vw); padding: 18px; }
.batch-card h2 { font-size: 2rem; font-weight: 400; }
.batch-card small { color: var(--muted); font-size: 1rem; }
.batch-card img { grid-row: 1 / span 3; grid-column: 2; width: 94px; height: 94px; border-radius: 18px; object-fit: cover; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2, .lab-copy h2, .journal-copy h2, .newsletter h2 { margin: 0; font-family: var(--font-display); font-size: var(--section-title); line-height: 1; font-weight: 400; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading a, .text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; font-weight: 800; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.product-card {
  position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 243, 0.9));
  box-shadow: var(--glass-rim), 0 12px 30px rgba(84, 55, 32, 0.08);
}
.product-card::before {
  content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.42), transparent 36%),
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.7), transparent 20%);
  opacity: 0.78;
}
.product-media { position: relative; aspect-ratio: 1 / 0.74; overflow: hidden; background: var(--surface); }
.product-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 0 30%, rgba(255, 255, 255, 0.36) 42%, transparent 54%),
    radial-gradient(circle at 70% 16%, rgba(255, 255, 255, 0.42), transparent 20%);
  mix-blend-mode: screen; opacity: 0.55; pointer-events: none;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 460ms cubic-bezier(.2,.8,.2,1); }
.product-card:hover .product-media img { transform: scale(1.035); }
.product-media span, .product-media em {
  position: absolute; z-index: 3; top: 18px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.78); background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--glass-rim), 0 8px 20px rgba(96, 68, 45, 0.08); backdrop-filter: blur(6px);
  padding: 8px 14px; font-style: normal; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.68rem; font-weight: 900;
}
.product-media span { left: 18px; }
.product-media em { right: 18px; }

.citrus .product-media span { color: #d89b00; }
.cloud .product-media span { color: #508cc5; }
.glow .product-media span { color: var(--pink); }
.layer .product-media span { color: #a77b3e; }

.citrus .product-media { background: #fff0ba; }
.cloud .product-media { background: #eaf5ff; }
.glow .product-media { background: #ffe9ef; }
.layer .product-media { background: #faf3e8; }

.product-info { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; min-height: 142px; padding: 22px; }
.product-info h3 { margin: 0 0 6px; font-size: 1.25rem; }
.product-info p, .product-info small { display: block; margin: 0; color: var(--muted); line-height: 1.45; }
.product-info small { margin-top: 9px; font-size: 0.76rem; }
.product-info button {
  display: grid; place-items: center; position: relative; overflow: hidden; width: 52px; height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.86); border-radius: 50%;
  background: radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.96), transparent 28%), linear-gradient(145deg, #fff3bd, var(--surface-yellow) 62%, #ffd86c);
  box-shadow: var(--glass-rim), 0 13px 25px rgba(122, 82, 42, 0.12); cursor: pointer; transition: transform 200ms ease;
}
.cloud .product-info button { background: radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.96), transparent 28%), linear-gradient(145deg, #ecf8ff, #d6ecff 62%, #b8dcff); }
.glow .product-info button { background: radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.96), transparent 28%), linear-gradient(145deg, #fff0f4, #ffd4df 62%, #f5aac0); }
.layer .product-info button { background: radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.96), transparent 28%), linear-gradient(145deg, #fff4e5, #ead7bf 62%, #d5b58b); }

.lab-story { padding-top: var(--section-y); }
.lab-panel {
  position: relative; display: grid; grid-template-columns: minmax(300px, 0.58fr) 1fr; gap: 44px;
  align-items: center; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(105deg, #e7f4ff 0 34%, #fff 34% 100%); box-shadow: var(--shadow-soft);
}
.lab-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.52), transparent 42%), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px 18px);
}
.lab-copy { padding: clamp(34px, 5vw, 72px); }
.lab-copy p, .journal-copy p, .newsletter p { color: var(--muted); line-height: 1.65; font-size: 1rem; }
.lab-panel img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }

.texture { padding-block: var(--section-y) 36px; }
.section-heading.compact { display: block; margin-bottom: 34px; }
.texture-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.texture-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 0; min-height: 0; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.9), transparent 24%), linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 246, 238, 0.58));
  box-shadow: var(--glass-rim), 0 18px 36px rgba(88, 61, 42, 0.07);
}
.texture-card::after {
  content: ""; position: absolute; inset: -35% 48% auto -20%; height: 140%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.34), transparent); transform: rotate(12deg);
}
.texture-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.texture-card div { padding: 24px 8px 8px; }
.texture-card span { display: block; color: var(--blue); font-weight: 800; font-size: 0.8rem; margin-bottom: 8px; }
.texture-card h3 { margin: 0 0 8px; font-size: 1.4rem; }
.texture-card meter { width: 100%; margin-top: 16px; }

.journal { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: center; position: relative; }
.journal img { width: 100%; max-width: 640px; max-height: 500px; object-fit: cover; margin: 0 auto; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.journal-copy { padding: 40px; }
.lab-note { position: absolute; bottom: 10%; right: 5%; background: white; padding: 20px; border-radius: 12px; box-shadow: var(--shadow-card); }
.lab-note span { display: block; font-size: 0.8rem; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.lab-note strong { font-size: 1.1rem; }

.newsletter { text-align: center; max-width: 600px; margin: 0 auto; padding: 80px 0; }
.email-row { display: flex; gap: 12px; margin-top: 32px; justify-content: center; }
.email-row input { padding: 16px 24px; border-radius: 999px; border: 1px solid var(--line); flex: 1; max-width: 300px; }
.email-row button { 
  position: relative; padding: 16px 32px; border-radius: 999px; font-weight: 700; color: white;
  background: linear-gradient(145deg, #9fd1ff 0%, var(--blue) 58%, #70aee9 100%);
}

.footer {
  display: flex; justify-content: space-between; align-items: end; padding: 60px var(--side);
  border-top: 1px solid var(--line); margin-top: 60px;
}
.footer nav { display: flex; gap: 24px; }

/* RECREATED MEDIA QUERIES */
@media (max-width: 1280px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero::before { display: none; }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .proof-list { max-width: 600px; margin: 40px auto 0; }
}

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .texture-grid { grid-template-columns: repeat(2, 1fr); }
  .lab-panel { grid-template-columns: 1fr; }
  .journal { grid-template-columns: 1fr; }
  .footer { flex-direction: column; align-items: center; gap: 24px; text-align: center; }
}

@media (max-width: 768px) {
  .texture-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .lab-access { display: none; }
  .menu-button { display: flex; }
}

/* ========================================================
   THE MAGIC REQUESTED BY THE USER: JELLY & GLASS SPARKLES
   ======================================================== */

/* 1. JELLY HOVER: A smooth, satisfying squish effect on interactive elements */
.jelly-hover {
  transition: transform 0.4s cubic-bezier(0.25, 1.5, 0.5, 1) !important;
}
.jelly-hover:hover {
  transform: scale(0.96) !important;
}

/* Apply jelly hover to cards and buttons */
.product-card, .floating-card, .texture-card, .button, .icon-button {
  transition: transform 0.4s cubic-bezier(0.25, 1.5, 0.5, 1), box-shadow 0.4s ease;
}
.product-card:hover, .floating-card:hover, .texture-card:hover, .button:hover, .icon-button:hover {
  transform: scale(0.97) translateY(-4px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.1);
}

/* 3. SVG DISTORTION FOR TRUE JELLY FEEL */
.jelly-img {
  transition: filter 0.6s ease;
}
.product-card:hover .jelly-img, .hero-dessert:hover {
  filter: url(#jelly-filter) drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

/* 4. FLOATING PARTICLES (Sparkles) */
.sparkle-container {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 9999;
}
.sparkle-particle {
  position: absolute; width: 6px; height: 6px;
  background: radial-gradient(circle, #fff 20%, transparent 80%);
  box-shadow: 0 0 15px 4px rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  animation: twinkle 3s ease-in-out forwards;
}
@keyframes twinkle {
  0% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1.5) rotate(45deg); }
  100% { opacity: 0; transform: scale(0) rotate(90deg); }
}
