/* AEROCEUTICAL — Style System */
:root {
  --c-bg: #f5f0e6;
  --c-cream: #eae3d3;
  --c-sky: #c6dce8;
  --c-gold: #d4a437;
  --c-gold-dim: #b38a2a;
  --c-cobalt: #2e6fb0;
  --c-charcoal: #1c1c1c;
  --c-ink: #2b2820;
  --c-muted: #7a7668;
  --c-white: #fffdf7;
  --c-mint: #4a9d7e;
  --c-mint-dim: #3a8466;
  --c-mint-soft: #d4ebe1;
  --c-mint-glow: rgba(74,157,126,.18);
  --c-leaf: #2d7a5f;
  --f-display: 'Limelight', serif;
  --f-serif: 'DM Serif Display', serif;
  --f-body: 'Outfit', sans-serif;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max-w: 1200px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--c-bg);
  color: var(--c-ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .06;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
}

.clouds { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.cloud {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  filter: blur(60px);
}
.cloud--1 { width: 300px; height: 100px; top: 10%; left: -100px; animation: drift 32s linear infinite; }
.cloud--2 { width: 500px; height: 140px; top: 25%; left: -200px; animation: drift 48s linear infinite 6s; opacity: .5; }
.cloud--3 { width: 250px; height: 80px; top: 60%; left: -120px; animation: drift 38s linear infinite 12s; opacity: .4; }
.cloud--4 { width: 400px; height: 120px; top: 80%; left: -180px; animation: drift 42s linear infinite 18s; opacity: .3; }
@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(calc(100vw + 600px)); }
}

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--gutter);
  z-index: 100;
  background: linear-gradient(to bottom, rgba(245,240,230,.95), rgba(245,240,230,0));
  backdrop-filter: blur(8px);
}
.nav__brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--f-display);
  font-size: .95rem;
  letter-spacing: .15em;
  color: var(--c-charcoal);
}
.nav__mark {
  width: 22px; height: 22px;
  border: 2px solid var(--c-mint);
  border-radius: 50%;
  position: relative;
}
.nav__mark::after {
  content: '';
  position: absolute; inset: 4px;
  background: var(--c-mint);
  border-radius: 50%;
}
.nav__links { display: flex; gap: 2rem; font-size: .8rem; letter-spacing: .08em; font-weight: 500; }
.nav__links a { color: var(--c-muted); transition: color .3s var(--ease-out); }
.nav__links a:hover { color: var(--c-cobalt); }
.nav__cta {
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .55rem 1.4rem;
  border: 1.5px solid var(--c-charcoal);
  border-radius: 999px;
  transition: all .3s var(--ease-out);
}
.nav__cta:hover { background: var(--c-charcoal); color: var(--c-white); }

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-content: center;
  padding: 8rem var(--gutter) 4rem;
  position: relative;
  z-index: 2;
}
.hero__sky {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  margin-bottom: 3rem;
}
.hero__capsule {
  max-width: 380px;
  width: 80%;
  filter: drop-shadow(0 20px 60px rgba(74,157,126,.28));
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
.hero__sun {
  position: absolute;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(74,157,126,.3), rgba(212,164,55,.25), transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: pulse 4s ease-in-out infinite alternate;
}
.hero__copy { max-width: var(--max-w); margin: 0 auto; text-align: center; }
.hero__kicker {
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-muted); margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp .8s var(--ease-out) .2s forwards;
}
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 1;
  color: var(--c-charcoal);
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp .8s var(--ease-out) .4s forwards;
}
.hero__title em { font-style: normal; color: var(--c-mint); }
.hero__sub {
  max-width: 600px; margin: 0 auto 2rem;
  font-size: 1.05rem; line-height: 1.7; color: var(--c-muted);
  opacity: 0; animation: fadeUp .8s var(--ease-out) .6s forwards;
}
.hero__actions {
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 3rem;
  opacity: 0; animation: fadeUp .8s var(--ease-out) .8s forwards;
}
.hero__stats {
  display: flex; justify-content: center; gap: 3rem;
  opacity: 0; animation: fadeUp .8s var(--ease-out) 1s forwards;
}
.hero__stats div { text-align: center; }
.hero__stats strong {
  display: block; font-family: var(--f-display);
  font-size: 2.2rem; color: var(--c-charcoal);
}
.hero__stats span {
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted);
}

.btn {
  display: inline-block; font-family: var(--f-body);
  font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .85rem 2.2rem; border-radius: 999px; cursor: pointer;
  transition: all .3s var(--ease-out); border: 2px solid transparent;
}
.btn--primary { background: var(--c-leaf); color: var(--c-white); }
.btn--primary:hover { background: var(--c-mint-dim); border-color: var(--c-mint-dim); }
.btn--ghost { border-color: var(--c-charcoal); color: var(--c-charcoal); background: transparent; }
.btn--ghost:hover { background: var(--c-charcoal); color: var(--c-white); }
.btn--block { width: 100%; text-align: center; }

.marquee {
  overflow: hidden; white-space: nowrap;
  border-top: 1.5px solid var(--c-mint-soft); border-bottom: 1.5px solid var(--c-mint-soft);
  padding: .9rem 0; background: var(--c-mint-glow);
  position: relative; z-index: 2;
}
.marquee__track { display: inline-flex; animation: marqueeScroll 20s linear infinite; }
.marquee__track span {
  font-family: var(--f-display);
  font-size: .85rem; letter-spacing: .2em; color: var(--c-mint-dim);
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section {
  padding: 6rem var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.section__head { text-align: center; margin-bottom: 4rem; }
.section__head--left { text-align: left; }
.section__kicker {
  font-size: .7rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase;
  color: var(--c-mint); margin-bottom: .8rem;
}
.section__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1; color: var(--c-charcoal);
}
.section__title em { font-style: normal; color: var(--c-mint); }
.section__lede {
  max-width: 580px; margin: 1rem auto 0;
  font-size: 1rem; color: var(--c-muted); line-height: 1.7;
}
.section__head--left .section__lede { margin-left: 0; }

.formula__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; align-items: start;
}
.cap-card {
  background: var(--c-white); border-radius: 20px; padding: 2rem;
  border: 1.5px solid var(--c-cream);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  position: relative; overflow: hidden;
}
.cap-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent, var(--c-gold)); border-radius: 20px 20px 0 0;
}
.cap-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,.08); }
.cap-card--feature { border-color: var(--c-mint); }
.cap-card--feature::before { background: var(--c-mint); }
.cap-card__img {
  border-radius: 14px; overflow: hidden; margin-bottom: 1.2rem;
  height: 180px; background: var(--c-sky);
}
.cap-card__img img { width: 100%; height: 100%; object-fit: cover; }
.cap-card__tag {
  font-size: .65rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent, var(--c-gold)); margin-bottom: .5rem;
}
.cap-card__name {
  font-family: var(--f-display); font-size: 1.8rem; margin-bottom: .6rem; color: var(--c-charcoal);
}
.cap-card__desc {
  font-size: .9rem; line-height: 1.65; color: var(--c-muted); margin-bottom: 1.5rem;
}
.cap-card__spec {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem;
  border-top: 1px solid var(--c-cream); padding-top: 1rem;
}
.cap-card__spec div { text-align: center; }
.cap-card__spec dt {
  font-size: .6rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--c-muted); margin-bottom: .2rem;
}
.cap-card__spec dd {
  font-family: var(--f-display); font-size: 1.1rem; color: var(--c-charcoal);
}

.modes { max-width: var(--max-w); }
.modes__media {
  margin-bottom: 3rem; border-radius: 20px; overflow: hidden;
  max-height: 480px; position: relative;
}
.modes__media img { width: 100%; height: 100%; object-fit: cover; }
.modes__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--c-bg), transparent 40%);
}
.modes__quotes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem;
}
.quote {
  padding: 2rem; background: var(--c-white); border-radius: 16px;
  border-left: 3px solid var(--c-mint);
}
.quote blockquote {
  font-family: var(--f-serif); font-size: 1rem; line-height: 1.7;
  color: var(--c-ink); font-style: italic; margin-bottom: 1rem;
}
.quote figcaption {
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--c-muted);
}

.science { background: var(--c-charcoal); color: var(--c-white); max-width: 100%; padding: 6rem var(--gutter); }
.science__inner { max-width: var(--max-w); margin: 0 auto; }
.science .section__kicker { color: var(--c-gold); }
.science .section__title { color: var(--c-white); }
.science .section__title em { color: var(--c-sky); }
.science__body { max-width: 720px; margin-bottom: 3rem; }
.science__body p {
  font-size: 1rem; line-height: 1.8; color: rgba(255,253,247,.7); margin-bottom: 1.2rem;
}
.science__body strong { color: var(--c-mint); }
.science__points {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; list-style: none;
}
.science__points li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.4rem; border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
  transition: border-color .3s var(--ease-out);
}
.science__points li:hover { border-color: var(--c-mint); }
.science__points i { font-size: 1.6rem; color: var(--c-mint); flex-shrink: 0; margin-top: 2px; }
.science__points strong { display: block; font-size: .9rem; color: var(--c-white); margin-bottom: .15rem; }
.science__points span { font-size: .78rem; color: rgba(255,253,247,.5); }

.board__steps {
  list-style: none; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
}
.step {
  background: var(--c-white); border-radius: 20px; padding: 2.5rem 2rem;
  border: 1.5px solid var(--c-cream); position: relative; overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.step:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.06); }
.step__num {
  font-family: var(--f-display); font-size: 3rem;
  color: rgba(74,157,126,.15); position: absolute; top: 1rem; right: 1.5rem; line-height: 1;
}
.step__title {
  font-family: var(--f-display); font-size: 1.6rem; color: var(--c-charcoal); margin-bottom: .6rem;
}
.step__body { font-size: .9rem; line-height: 1.65; color: var(--c-muted); }
.step__icon { margin-top: 1.2rem; font-size: 1.8rem; color: var(--c-mint); }

.order {
  background: linear-gradient(135deg, var(--c-mint-soft), var(--c-cream));
  max-width: 100%; padding: 6rem var(--gutter);
}
.order__card {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  background: var(--c-white); border-radius: 24px; padding: 3rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.08); overflow: hidden;
}
.order__art { border-radius: 16px; overflow: hidden; max-height: 420px; }
.order__art img { width: 100%; height: 100%; object-fit: cover; }
.order__copy { padding: 1rem 0; }
.order__lede { font-size: .95rem; line-height: 1.7; color: var(--c-muted); margin: 1rem 0 2rem; }
.order__form { display: flex; flex-direction: column; gap: 1rem; }
.order__form label { display: flex; flex-direction: column; gap: .35rem; }
.order__form span {
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted);
}
.order__form input, .order__form select {
  padding: .8rem 1rem; border: 1.5px solid var(--c-cream); border-radius: 10px;
  background: var(--c-bg); color: var(--c-ink); transition: border-color .3s;
}
.order__form input:focus, .order__form select:focus { outline: none; border-color: var(--c-mint); }
.order__form input::placeholder { color: var(--c-muted); opacity: .6; }
.order__confirm {
  padding: 1rem; background: var(--c-mint-glow); border-radius: 10px;
  font-size: .85rem; color: var(--c-mint-dim); text-align: center; font-weight: 500;
}
.order__foot { margin-top: 2rem; font-size: .7rem; color: var(--c-muted); opacity: .6; }

.foot {
  text-align: center; padding: 4rem var(--gutter) 2rem;
  border-top: 1px solid var(--c-cream); position: relative; z-index: 2;
}
.foot__brand {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--f-display); font-size: .85rem; letter-spacing: .15em; margin-bottom: .8rem;
}
.foot__line { font-size: .75rem; color: var(--c-muted); margin-bottom: .3rem; }
.foot__fine { font-size: .65rem; color: var(--c-muted); opacity: .5; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.15); opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .hero__stats { gap: 1.5rem; }
  .hero__stats strong { font-size: 1.6rem; }
  .order__card { grid-template-columns: 1fr; }
  .order__art { max-height: 240px; }
  .modes__quotes { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero__title { font-size: 2.8rem; }
  .hero__sub { font-size: .9rem; }
  .board__steps { grid-template-columns: 1fr; }
}
