* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #FFF8DD;
  font-family: 'Inter', system-ui, sans-serif;
  color: #241606;
  -webkit-font-smoothing: antialiased;
}

@keyframes doraBreathe { 0%, 100% { transform: scale(1); opacity: .92; } 50% { transform: scale(1.07); opacity: 1; } }
@keyframes orbBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.09); } }
@keyframes orbSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbSpinRev { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes orbWobble { 0%, 100% { transform: scale(1, 1); } 22% { transform: scale(1.028, .976); } 46% { transform: scale(.979, 1.022); } 72% { transform: scale(1.02, .983); } }
@keyframes swirlPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes orbFlowC { 0%, 100% { transform: translate(0, 0) scale(1); } 40% { transform: translate(7%, 6%) scale(1.2); } 70% { transform: translate(-7%, -5%) scale(1.05); } }
@keyframes orbTilt { 0%, 100% { transform: rotate(-40deg); } 38% { transform: rotate(10deg); } 72% { transform: rotate(44deg); } }
@keyframes rimSweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rimPulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes edgeDrift { 0%, 100% { transform: rotate(9deg); } 50% { transform: rotate(-12deg); } }
@keyframes crescentSway { 0%, 100% { transform: rotate(-10deg); opacity: .6; } 50% { transform: rotate(8deg); opacity: 1; } }
@keyframes corePulse { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }
@keyframes doraThinkBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes doraFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes chipDrift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes blobDriftA { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 24px) scale(1.18); } }
@keyframes blobDriftB { 0%, 100% { transform: translate(0, 0) scale(1.1); } 50% { transform: translate(-70px, -18px) scale(.94); } }
@keyframes wfBar { 0%, 100% { transform: scaleY(.22); } 50% { transform: scaleY(1); } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@keyframes grainDrift { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, -2%); } 50% { transform: translate(-1.5%, 3%); } 75% { transform: translate(2.5%, -1.5%); } 100% { transform: translate(0, 0); } }
@keyframes meshA { 0%, 100% { transform: translate(0, 0) scale(1.1) rotate(0deg); } 25% { transform: translate(-12%, 7%) scale(1.34) rotate(12deg); } 50% { transform: translate(8%, -9%) scale(1.18) rotate(-6deg); } 75% { transform: translate(-5%, 11%) scale(1.4) rotate(9deg); } }
@keyframes meshB { 0%, 100% { transform: translate(0, 0) scale(1.15) rotate(0deg); } 33% { transform: translate(11%, -10%) scale(1.42) rotate(-12deg); } 66% { transform: translate(-11%, 12%) scale(1.2) rotate(10deg); } }
@keyframes meshC { 0%, 100% { transform: translate(0, 0) scale(1.0) rotate(0deg); } 50% { transform: translate(13%, 9%) scale(1.5) rotate(-14deg); } }
@keyframes moteFloat { 0% { transform: translateY(36px) translateX(0); opacity: 0; } 16% { opacity: .55; } 84% { opacity: .55; } 100% { transform: translateY(-64px) translateX(16px); opacity: 0; } }

/* hover / focus states (can't be expressed via inline style attributes) */
.nav-cta { transition: transform .25s ease, background .25s ease; }
.nav-cta:hover { background: #3a2510; transform: translateY(-1px); }

/* science section: gentle arcs masked into the block's own top and bottom edges
   (single element + overlapping mask layers = no seams possible at the transitions) */
.arc-block {
  --arc: clamp(44px, 7vw, 96px);
  -webkit-mask-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 96' preserveAspectRatio='none'%3E%3Cpath d='M0,96 L0,78 C480,6 960,6 1440,78 L1440,96 Z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 96' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,18 C960,90 480,90 0,18 Z'/%3E%3C/svg%3E"),
    linear-gradient(#000, #000);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: top, bottom, center;
  -webkit-mask-size: 100% var(--arc), 100% var(--arc), 100% calc(100% - var(--arc) * 2 + 16px);
  mask-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 96' preserveAspectRatio='none'%3E%3Cpath d='M0,96 L0,78 C480,6 960,6 1440,78 L1440,96 Z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 96' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,18 C960,90 480,90 0,18 Z'/%3E%3C/svg%3E"),
    linear-gradient(#000, #000);
  mask-repeat: no-repeat;
  mask-position: top, bottom, center;
  mask-size: 100% var(--arc), 100% var(--arc), 100% calc(100% - var(--arc) * 2 + 16px);
}

/* science section: benefit chips drifting in two opposing marquee rows */
.chip-marquee {
  width: 100%;
  overflow: hidden;
  /* vertical padding + matching negative margin: room for the chip drop shadows
     to render inside the clip box, without changing the row spacing */
  padding: 36px 0;
  margin: -36px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.chip-track {
  display: flex;
  width: max-content;
  animation: chipDrift 38s linear infinite;
  will-change: transform;
}
.chip-track--rev { animation-duration: 46s; animation-direction: reverse; }
.chip-marquee:hover .chip-track { animation-play-state: paused; }
.chip-group {
  display: flex;
  gap: clamp(12px, 1.6vw, 20px);
  padding-right: clamp(12px, 1.6vw, 20px);
}
.sci-chip {
  font-family: 'Tenor Sans', serif;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1;
  white-space: nowrap;
  color: #3a2510;
  /* frosted glass: translucent gradient fill over a heavy backdrop blur */
  background: linear-gradient(135deg, rgba(255,255,255,.3), rgba(255,255,255,.1) 55%, rgba(255,255,255,.2));
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 1px rgba(255,255,255,.14), 0 12px 32px -12px rgba(120,60,5,.5);
  padding: 17px 30px 18px;
  border-radius: 100px;
  transition: border-color .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease;
  cursor: default;
}
.sci-chip:hover {
  border-color: rgba(255,255,255,.7);
  background: linear-gradient(135deg, rgba(255,255,255,.42), rgba(255,255,255,.16) 55%, rgba(255,255,255,.3));
  color: #241606;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -1px 1px rgba(255,255,255,.2), 0 16px 40px -12px rgba(120,60,5,.6);
}

.email-input { outline: none; }
.email-input:focus { border-color: #F6A640; }

.submit-btn { transition: transform .25s ease; }
.submit-btn:hover { transform: translateY(-2px); }

/* FAQ two-column: heading left, questions right (stacks on mobile) */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-head {
  position: sticky;
  top: clamp(40px, 12vh, 120px);
}
@media (max-width: 760px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-head {
    position: static;
    text-align: center;
    align-items: center;
  }
}

.faq-item { border-bottom: 1px solid #f0e2c2; }
.faq-item:first-of-type { border-top: 1px solid #f0e2c2; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  font-family: 'Tenor Sans', serif;
  font-size: clamp(17px, 2vw, 20px);
  color: #241606;
  transition: color .25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #C98A2E; }
.faq-item summary::after {
  content: '+';
  flex: none;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 300;
  color: #C98A2E;
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 32px 24px 4px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #6f5a3c;
}

/* footer */
.foot-link {
  width: fit-content;
  font-size: 14px;
  color: rgba(253, 242, 212, .58);
  text-decoration: none;
  transition: color .25s ease;
}
.foot-link:hover { color: #F6A640; }

.social-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #EAD9AE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EAD9AE;
  text-decoration: none;
  transition: background .28s ease, border-color .28s ease, color .28s ease, transform .28s ease;
}
.social-btn:hover {
  background: #F6A640;
  border-color: #F6A640;
  color: #241606;
  transform: translateY(-3px);
}
.social-btn svg { width: 22px; height: 22px; display: block; }

@media (prefers-reduced-motion: reduce) {
  #orb *, [data-flow="orb"] * { animation: none !important; }
  /* chips settle into a static centered cloud instead of drifting */
  .chip-marquee { -webkit-mask-image: none; mask-image: none; padding: 0 clamp(22px, 5vw, 64px); }
  .chip-track { animation: none; width: 100%; justify-content: center; }
  .chip-group { flex-wrap: wrap; justify-content: center; row-gap: 14px; padding-right: 0; }
  .chip-group[aria-hidden="true"] { display: none; }
}
