/* ═══════════════════════════════════════════════════
   24:MORE — The Science of Everyday Renewal
   Potent Minimalist / Clinical Skincare
   ═══════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
  /* Brand Palette */
  --color-moss: #366757;
  --color-moss-rgb: 54, 103, 87;
  --color-espresso: #674d3b;
  --color-espresso-rgb: 103, 77, 59;
  --color-sand: #e8be6f;
  --color-sand-rgb: 232, 190, 111;
  --color-slate: #a69ea3;
  --color-slate-rgb: 166, 158, 163;
  --color-white: #ffffff;
  --color-cream: #faf6f0;
  --color-cream-deep: #f5f2ed;

  /* Text Hierarchy (3 tiers — Law 10) */
  --color-text-primary: #2d2a26;
  --color-text-secondary: #5a5650;
  --color-text-muted: #8a8580;

  /* Typography */
  --font-primary: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-secondary: 'Lexend', system-ui, sans-serif;

  /* Spacing System */
  --container-max: 1280px;
  --container-pad: clamp(1.5rem, 5vw, 4rem);

  /* Transitions (never ease — always cubic-bezier) */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.77, 0, 0.175, 1);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-secondary);
  font-weight: 300;
  color: var(--color-text-primary);
  background: var(--color-white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

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

/* Custom selection (brand colors) */
::selection {
  background: var(--color-moss);
  color: var(--color-white);
}

/* ─── Grain Overlay (Law 8) ─── */
.page-grain::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ─── Shared Components ─── */

/* Section label — magazine-style uppercase with accent line */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.section-label--gold {
  color: var(--color-sand);
}

.section-label__line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--color-slate);
}

.section-label__line--gold {
  background: var(--color-sand);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 18px 40px;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.btn--primary {
  background: var(--color-moss);
  color: var(--color-white);
}

.btn--primary:hover {
  background: #2d5a4a;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(var(--color-moss-rgb), 0.25);
}

.btn--gold {
  background: var(--color-sand);
  color: var(--color-espresso);
}

.btn--gold:hover {
  background: #d4ab5e;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(var(--color-sand-rgb), 0.3);
}

/* Reveal animation base */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--container-pad);
  transition: background 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), padding 0.4s var(--ease-out);
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(var(--color-espresso-rgb), 0.06);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height 0.4s var(--ease-out);
}

.nav--scrolled .nav__inner {
  height: 60px;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 22px;
  width: auto;
  display: block;
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 36px;
}

.nav__links a {
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-secondary);
  transition: color 0.3s var(--ease-out);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-moss);
  transition: width 0.4s var(--ease-out);
}

.nav__links a:hover {
  color: var(--color-text-primary);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__cart {
  color: var(--color-text-secondary);
  transition: color 0.3s var(--ease-out);
}

.nav__cart:hover {
  color: var(--color-moss);
}

.nav__cta {
  font-family: var(--font-primary);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 10px 24px;
  background: var(--color-moss);
  color: var(--color-white);
  transition: all 0.3s var(--ease-out);
}

.nav__cta:hover {
  background: #2d5a4a;
  transform: translateY(-1px);
}


/* ═══════════════════════════════════════════════════
   HERO — Typography as Design (Law 3)
   Split layout, asymmetric (Law 5)
   ═══════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding: 0;  /* Law 1: zero padding — type pressed against edges */
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero__content {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  gap: clamp(3rem, 6vw, 8rem);
}

.hero__text {
  flex: 1.4; /* 58% — asymmetric */
  padding-top: 80px;
}

.hero__label {
  margin-bottom: 2.5rem;
}

.hero__headline {
  margin-bottom: 2rem;
}

.hero__headline-brand {
  display: block;
  font-family: var(--font-primary);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--color-moss);
  margin-bottom: 0.5rem;
}

.hero__headline-sub {
  display: block;
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  line-height: 1.2;
}

.hero__headline-main {
  display: block;
  font-family: var(--font-primary);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--color-text-primary);
}

.hero__description {
  font-family: var(--font-secondary);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero__visual {
  flex: 1; /* 42% — asymmetric */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* SVG atomic illustration */
.hero__atom {
  width: clamp(300px, 34vw, 500px);
  height: clamp(300px, 34vw, 500px);
}

/* Orbit rotations */
.hero__atom-orbit--outer {
  transform-origin: 250px 250px;
  animation: atomOrbit 40s linear infinite;
}

.hero__atom-orbit--mid {
  transform-origin: 250px 250px;
  animation: atomOrbit 30s linear infinite reverse;
}

.hero__atom-orbit--inner {
  transform-origin: 250px 250px;
  animation: atomOrbit 20s linear infinite;
}

.hero__atom-ellipse--1 {
  transform-origin: 250px 250px;
  animation: atomEllipse 25s linear infinite;
}

.hero__atom-ellipse--2 {
  transform-origin: 250px 250px;
  animation: atomEllipse 28s linear infinite reverse;
}

.hero__atom-ellipse--3 {
  transform-origin: 250px 250px;
  animation: atomEllipse 35s linear infinite;
}

@keyframes atomOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes atomEllipse {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Electron pulse */
.hero__electron {
  animation: electronPulse 3s var(--ease-smooth) infinite alternate;
}

.hero__electron--1 { animation-delay: 0s; }
.hero__electron--2 { animation-delay: 0.5s; }
.hero__electron--3 { animation-delay: 1s; }
.hero__electron--4 { animation-delay: 1.5s; }
.hero__electron--5 { animation-delay: 2s; }
.hero__electron--6 { animation-delay: 0.3s; }
.hero__electron--7 { animation-delay: 1.8s; }

@keyframes electronPulse {
  0% { r: var(--r, 4); opacity: var(--o, 0.7); }
  100% { r: calc(var(--r, 4) + 1.5); opacity: 1; }
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: var(--container-pad);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-primary);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

.hero__scroll-line {
  width: 40px;
  height: 1px;
  background: var(--color-slate);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-moss);
  animation: scrollSlide 2s var(--ease-out) infinite;
}

@keyframes scrollSlide {
  0% { left: -100%; }
  100% { left: 100%; }
}


/* ═══════════════════════════════════════════════════
   THE PROMISE (Icon Grid)
   Expansive spacing (Law 1)
   ═══════════════════════════════════════════════════ */
.promise {
  background: var(--color-cream);
  padding-block: clamp(6rem, 14vh, 12rem); /* expansive — Law 1 */
  position: relative;
}

/* Section transition: subtle overlap from hero */
.promise::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-white), var(--color-cream));
  pointer-events: none;
}

.promise__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.promise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: 1rem;
}

.promise__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-moss);
  margin-bottom: 1.5rem;
  position: relative;
}

.promise__icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(var(--color-moss-rgb), 0.04);
}

.promise__title {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.promise__desc {
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 320px;
}


/* ═══════════════════════════════════════════════════
   THE COLLECTION (Products)
   Compressed padding (Law 1)
   ═══════════════════════════════════════════════════ */
.products {
  padding-block: clamp(4rem, 8vh, 6rem); /* compressed — contrasts with promise */
  background: var(--color-white);
  position: relative;
}

.products__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.products__header {
  margin-bottom: clamp(3rem, 5vw, 4rem);
}

.products__headline {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--color-text-primary);
}

.products__grid {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: none;
}

.products__grid::-webkit-scrollbar {
  display: none;
}

/* Product Card */
.product-card {
  background: var(--color-cream-deep);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 260px;
  max-width: 260px;
  scroll-snap-align: start;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 4px 16px rgba(var(--color-espresso-rgb), 0.06),
    0 12px 48px rgba(var(--color-espresso-rgb), 0.08);
}



.product-card__visual {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}

.product-card__visual--dayscreen {
  background: linear-gradient(145deg, rgba(var(--color-moss-rgb), 0.08), rgba(var(--color-sand-rgb), 0.12));
}

.product-card__visual--b3 {
  background: linear-gradient(145deg, rgba(var(--color-sand-rgb), 0.1), rgba(var(--color-slate-rgb), 0.08));
}

.product-card__visual--fade {
  background: linear-gradient(145deg, rgba(var(--color-espresso-rgb), 0.08), rgba(var(--color-sand-rgb), 0.1));
}

.product-card__visual--radiance {
  background: linear-gradient(145deg, rgba(var(--color-sand-rgb), 0.15), rgba(var(--color-moss-rgb), 0.06));
}
.product-card__visual--greyblock {
  background: linear-gradient(145deg, rgba(var(--color-slate-rgb), 0.1), rgba(var(--color-espresso-rgb), 0.06));
}

.product-card__visual--lipheal {
  background: linear-gradient(145deg, rgba(var(--color-sand-rgb), 0.08), rgba(var(--color-slate-rgb), 0.1));
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card__image {
  transform: scale(1.05) translateY(-5px);
}

/* Product Info */
.product-card__info {
  padding: clamp(1.25rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__badge {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-sand);
  border: 1px solid var(--color-sand);
  padding: 4px 10px;
  margin-bottom: 0.75rem;
}

.product-card__name {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-primary);
  margin-bottom: 0.25rem;
  line-height: 1.1;
}

.product-card__spec {
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.product-card__desc {
  font-family: var(--font-secondary);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: auto;
}

.product-card__link {
  font-family: var(--font-primary);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-moss);
  transition: gap 0.3s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.25rem;
}

.product-card__link:hover {
  gap: 12px;
}

.product-card__link .arrow {
  transition: transform 0.3s var(--ease-out);
}

.product-card__link:hover .arrow {
  transform: translateX(4px);
}


/* ═══════════════════════════════════════════════════
   THE SCIENCE (Ingredients)
   Full-bleed dark section (Law 4)
   Vast padding (Law 1)
   ═══════════════════════════════════════════════════ */
.science {
  /* Full-bleed — Law 4 */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: var(--color-espresso);
  color: var(--color-cream);
  padding-block: clamp(8rem, 16vh, 14rem); /* vast — Law 1 */
  position: relative;
  overflow: hidden;
}

.science__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  position: relative;
}

.science__header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.science__headline {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--color-cream);
}

.science__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3rem) clamp(4rem, 8vw, 8rem);
  /* Asymmetric layout — Law 5 */
  padding-left: clamp(0rem, 4vw, 4rem);
}

.science__item {
  position: relative;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.science__number {
  font-family: var(--font-primary);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(var(--color-sand-rgb), 0.4);
  display: block;
  margin-bottom: 0.75rem;
}

.science__name {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-sand);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.science__desc {
  font-family: var(--font-secondary);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(250, 246, 240, 0.6);
  max-width: 400px;
}

.science__rule {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 1px;
  background: rgba(var(--color-sand-rgb), 0.2);
}

/* Decorative molecule — positioned absolute */
.science__molecule {
  position: absolute;
  right: var(--container-pad);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
  animation: moleculeSpin 30s linear infinite;
}

@keyframes moleculeSpin {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}


/* ═══════════════════════════════════════════════════
   FOOTER
   Medium padding (Law 1)
   ═══════════════════════════════════════════════════ */
.footer {
  background: var(--color-moss);
  color: var(--color-white);
  padding-block: clamp(5rem, 10vh, 8rem) clamp(2rem, 4vh, 3rem);
  /* Hard cut transition from science section — Law 6 */
}

.footer__cta-area {
  text-align: center;
  max-width: 600px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  padding: 0 var(--container-pad);
}

.footer__headline {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.footer__subtext {
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
}

.footer__divider {
  width: 80px;
  height: 1px;
  background: var(--color-sand);
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  opacity: 0.5;
}

.footer__bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.footer__logo-img {
  height: 18px;
  width: auto;
  display: block;
  margin-bottom: 0.5rem;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-family: var(--font-secondary);
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer__nav a {
  font-family: var(--font-primary);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s var(--ease-out);
}

.footer__nav a:hover {
  color: var(--color-white);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s var(--ease-out);
}

.footer__social a:hover {
  color: var(--color-white);
}

.footer__copy {
  grid-column: 1 / -1;
  font-family: var(--font-primary);
  font-size: 0.6rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE
   Mobile-first breakpoints: 768px, 1200px
   ═══════════════════════════════════════════════════ */

/* ─── Tablet and below ─── */
@media (max-width: 1200px) {
  .products__grid {
    gap: clamp(0.75rem, 1.5vw, 1rem);
  }

  .product-card {
    width: clamp(200px, 28vw, 240px);
  }



  .science__molecule {
    display: none;
  }
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
  /* Tighter container padding */
  :root {
    --container-pad: 20px;
  }

  /* Nav: compact for mobile */
  .nav__links {
    display: none;
  }

  .nav__cta {
    font-size: 0.6rem;
    padding: 8px 16px;
  }

  .nav__inner {
    height: 56px;
  }

  .nav--scrolled .nav__inner {
    height: 50px;
  }

  /* Hero: tighter stacking */
  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 3rem;
  }

  .hero__content {
    flex-direction: column;
    padding-top: 2rem;
    gap: 2.5rem;
  }

  .hero__text {
    flex: none;
    padding-top: 0;
  }

  .hero__label {
    margin-bottom: 1.5rem;
  }

  .hero__headline {
    margin-bottom: 1.25rem;
  }

  .hero__headline-brand {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.25rem;
  }

  .hero__headline-sub {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .hero__headline-main {
    font-size: clamp(2.8rem, 13vw, 4.5rem);
  }

  .hero__description {
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
  }

  .hero .btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 16px 32px;
  }

  .hero__visual {
    flex: none;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero__atom {
    width: 220px;
    height: 220px;
  }

  .hero__scroll-hint {
    display: none;
  }

  /* Promise: horizontal scroll or tight single col */
  .promise {
    padding-block: clamp(3.5rem, 8vh, 5rem);
  }

  .promise__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .promise__item {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    gap: 0 1rem;
    align-items: start;
  }

  .promise__icon {
    grid-row: 1 / 3;
    width: 48px;
    height: 48px;
    margin-bottom: 0;
  }

  .promise__icon svg {
    width: 36px;
    height: 36px;
  }

  .promise__title {
    margin-bottom: 0.35rem;
    align-self: end;
  }

  .promise__desc {
    font-size: 0.85rem;
  }

  /* Products: 2-col grid on mobile */
  .products {
    padding-block: clamp(3rem, 6vh, 4rem);
  }

  .products__header {
    margin-bottom: 2rem;
  }

  .products__headline {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .products__grid {
    gap: 10px;
  }

  .product-card {
    width: clamp(160px, 42vw, 200px);
  }





  .product-card__info {
    padding: 12px;
  }

  .product-card__badge {
    font-size: 0.5rem;
    padding: 3px 8px;
    margin-bottom: 0.5rem;
  }

  .product-card__name {
    font-size: 0.72rem;
    margin-bottom: 0.15rem;
  }

  .product-card__spec {
    font-size: 0.6rem;
    margin-bottom: 0.5rem;
  }

  .product-card__desc {
    font-size: 0.73rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
  }

  .product-card__link {
    font-size: 0.58rem;
  }

  /* Science: tighten padding */
  .science {
    padding-block: clamp(4rem, 10vh, 6rem);
  }

  .science__headline {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .science__header {
    margin-bottom: 2.5rem;
  }

  .science__grid {
    grid-template-columns: 1fr;
    padding-left: 0;
    gap: 2rem;
  }

  .science__item {
    padding-bottom: 1.5rem;
  }

  .science__name {
    font-size: 0.9rem;
  }

  .science__desc {
    font-size: 0.82rem;
  }

  /* Footer: better mobile layout */
  .footer {
    padding-block: clamp(3.5rem, 8vh, 5rem) clamp(1.5rem, 3vh, 2rem);
  }

  .footer__cta-area {
    margin-bottom: 2.5rem;
  }

  .footer__headline {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .footer__subtext {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .footer .btn--gold {
    display: block;
    text-align: center;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 16px 32px;
  }

  .footer__bottom {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer__nav {
    gap: 8px 18px;
  }

  .footer__nav a {
    font-size: 0.6rem;
  }

  .footer__copy {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }
}

/* ─── Small mobile (375px and below) ─── */
@media (max-width: 375px) {
  .hero__headline-main {
    font-size: clamp(2.4rem, 14vw, 3.5rem);
  }

  .products__grid {
    gap: 8px;
  }

  .product-card {
    width: 150px;
  }

  .product-card__info {
    padding: 10px;
  }

  .product-card__desc {
    font-size: 0.68rem;
  }
}

/* ─── Hover media query for touch devices ─── */
@media (hover: none) {
  .product-card:hover {
    transform: none;
    box-shadow: none;
  }

  .nav__links a::after {
    display: none;
  }
}
