/* VaryOn Works — Page Styles */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background: var(--varyon-background-primary);
  color: var(--varyon-slate-800);
  line-height: var(--varyon-leading-normal);
  overflow-x: hidden;
}

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

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

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--varyon-z-sticky);
  padding: var(--varyon-space-4) var(--varyon-space-8);
  background: var(--varyon-background-primary);
}

.nav-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(246, 240, 231, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--varyon-duration-slow) var(--varyon-ease-out);
}

/* Nav brand lockup: symbol + wordmark */
.nav-brand {
  display: flex;
  align-items: center;
}

.nav-logo-symbol {
  height: 38px;
  width: 0;
  object-fit: contain;
  opacity: 0;
  overflow: hidden;
  transition: opacity 300ms, width 300ms, margin 300ms;
}

.nav-scrolled .nav-logo-symbol {
  opacity: 1;
  width: 38px;
  margin-right: var(--varyon-space-2);
}

.nav-wordmark {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: var(--varyon-font-bold);
  color: var(--varyon-slate-900);
  letter-spacing: var(--varyon-tracking-tight);
  line-height: 1;
}

.nav-wordmark-light {
  display: inline-block;
  max-width: 5em;
  white-space: nowrap;
  clip-path: inset(0);
  font-weight: var(--varyon-font-regular);
  color: var(--varyon-slate-600);
  transition: max-width 300ms, opacity 300ms, margin 300ms;
}

.nav-scrolled .nav-wordmark-light {
  max-width: 0;
  opacity: 0;
  margin-left: 0;
}

.nav-links {
  display: flex;
  gap: var(--varyon-space-8);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: var(--varyon-text-lg);
  font-weight: var(--varyon-font-medium);
  color: var(--varyon-slate-600);
  letter-spacing: var(--varyon-tracking-wide);
  transition: color var(--varyon-duration-normal) var(--varyon-ease-out);
}

.nav-links a:hover {
  color: var(--varyon-purple-700);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-arrow {
  display: inline-block;
  vertical-align: middle;
  margin-left: var(--varyon-space-1);
  transition: transform var(--varyon-duration-normal) var(--varyon-ease-out);
}

.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.dropdown-open .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: calc(-1 * var(--varyon-space-4));
  left: 0;
  right: 0;
  height: var(--varyon-space-4);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + var(--varyon-space-4));
  right: 0;
  min-width: 280px;
  background: var(--varyon-background-primary);
  border: 1.5px solid var(--varyon-slate-200);
  border-radius: var(--varyon-radius-lg);
  box-shadow: var(--varyon-shadow-lg);
  padding: var(--varyon-space-5) 0;
  list-style: none;
  flex-direction: column;
  gap: var(--varyon-space-2);
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-menu a {
  padding: var(--varyon-space-2) var(--varyon-space-6);
  font-size: var(--varyon-text-lg);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: var(--varyon-slate-50);
}

/* Hamburger — hidden on desktop */
.nav-hamburger {
  display: none;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--varyon-space-32) var(--varyon-space-8) var(--varyon-space-24);
  overflow: hidden;
  background: var(--varyon-background-primary);
}

/* Hero two-column layout */
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: center;
  gap: var(--varyon-space-8);
  width: 100%;
  max-width: 1280px;
}

.hero-content {
  text-align: left;
}

/* Large Seed of Life on right */
.hero-seed {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 500px;
  justify-self: center;
  animation: seedSpin 60s linear infinite;
}

.hero-seed > div {
  position: absolute;
  width: 55%;
  height: 55%;
  border-radius: 50%;
  border: 3px solid var(--varyon-slate-900);
  opacity: 0.85;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 6 surrounding circles — offset = 50% of element = 1 radius from center */
.hero-seed > div:nth-child(2) { transform: translate(0%, -50%); }
.hero-seed > div:nth-child(3) { transform: translate(-25%, -93.3%); }
.hero-seed > div:nth-child(4) { transform: translate(-75%, -93.3%); }
.hero-seed > div:nth-child(5) { transform: translate(-100%, -50%); }
.hero-seed > div:nth-child(6) { transform: translate(-75%, -6.7%); }
.hero-seed > div:nth-child(7) { transform: translate(-25%, -6.7%); }

@keyframes seedSpin {
  from { rotate: 0deg; }
  to   { rotate: 360deg; }
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.2vw, 4.5rem);
  font-weight: var(--varyon-font-semibold);
  color: var(--varyon-slate-900);
  line-height: var(--varyon-leading-tight);
  letter-spacing: var(--varyon-tracking-tighter);
  margin-bottom: var(--varyon-space-6);
  animation: fadeUp 0.8s var(--varyon-ease-out) both;
}

.hero-subtitle {
  position: relative;
  height: 3rem;
  overflow: hidden;
  margin-bottom: var(--varyon-space-10);
  animation: fadeUp 0.8s var(--varyon-ease-out) 0.15s both;
}

.hero-subtitle span {
  display: block;
  font-size: var(--varyon-text-h4);
  color: var(--varyon-slate-400);
  line-height: 3rem;
  font-weight: var(--varyon-font-regular);
  position: absolute;
  width: 100%;
  left: 0;
  opacity: 0;
  animation: rotateText 12s var(--varyon-ease-in-out) infinite;
}

.hero-subtitle span:nth-child(1) { animation-delay: 0s; }
.hero-subtitle span:nth-child(2) { animation-delay: 4s; }
.hero-subtitle span:nth-child(3) { animation-delay: 8s; }

@keyframes rotateText {
  0%, 2%     { opacity: 0; transform: translateY(20px); }
  5%, 28%    { opacity: 1; transform: translateY(0); }
  33%, 100%  { opacity: 0; transform: translateY(-20px); }
}

.hero-cta-group {
  display: flex;
  gap: var(--varyon-space-4);
  animation: fadeUp 0.8s var(--varyon-ease-out) 0.3s both;
}

.hero-cta {
  display: inline-block;
  padding: var(--varyon-space-4) var(--varyon-space-12);
  background: var(--varyon-purple-700);
  color: var(--varyon-white);
  font-family: var(--font-heading);
  font-size: var(--varyon-text-lg);
  font-weight: var(--varyon-font-medium);
  border-radius: var(--varyon-radius-xl);
  border: none;
  cursor: pointer;
  transition: background var(--varyon-duration-normal) var(--varyon-ease-out),
              transform var(--varyon-duration-fast) var(--varyon-ease-out);
}

.hero-cta:hover {
  background: var(--varyon-purple-900);
  transform: translateY(-1px);
}

.hero-cta:active {
  transform: translateY(0);
}

.hero-cta-outline {
  background: var(--varyon-slate-900);
  color: var(--varyon-white);
}

.hero-cta-outline:hover {
  background: var(--varyon-slate-800);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SECTIONS (shared) ===== */
.section {
  padding: var(--varyon-space-24) var(--varyon-space-8);
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--varyon-space-16);
  align-items: center;
}

.section-text h2 {
  font-family: var(--font-heading);
  font-size: var(--varyon-text-display-lg);
  font-weight: var(--varyon-font-bold);
  color: var(--varyon-slate-900);
  line-height: var(--varyon-leading-tight);
  letter-spacing: var(--varyon-tracking-tight);
  margin-bottom: var(--varyon-space-4);
}

.heading-light {
  font-weight: var(--varyon-font-regular);
  color: var(--varyon-slate-600);
}

.section-text .section-label {
  display: inline-block;
  font-size: var(--varyon-text-sm);
  font-weight: var(--varyon-font-semibold);
  color: var(--varyon-purple-700);
  letter-spacing: var(--varyon-tracking-wider);
  text-transform: uppercase;
  margin-bottom: var(--varyon-space-3);
}

.section-text p {
  font-size: var(--varyon-text-xl);
  color: var(--varyon-slate-600);
  line-height: var(--varyon-leading-relaxed);
  max-width: 48ch;
}

.section-link {
  display: inline-block;
  margin-top: var(--varyon-space-4);
  font-family: var(--font-heading);
  font-size: var(--varyon-text-lg);
  font-weight: var(--varyon-font-medium);
  color: var(--varyon-purple-700);
  transition: color var(--varyon-duration-normal) var(--varyon-ease-out);
}

.section-link:hover {
  color: var(--varyon-purple-900);
}

.patent-notice {
  font-weight: var(--varyon-font-regular);
  color: var(--varyon-slate-400);
  margin-left: var(--varyon-space-2);
  text-transform: none;
  letter-spacing: var(--varyon-tracking-normal);
}

/* ===== HARMONY SECTION ===== */
.section-harmony {
  background: var(--varyon-surface);
}

/* Shared viz container */
.viz-option {
  width: 100%;
  aspect-ratio: 1;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── OPTION A: Borromean Rings (3 interlocking circles) ── */
.viz-borromean .borr-circle {
  position: absolute;
  width: 58%;
  height: 58%;
  border-radius: 50%;
  border: 2px solid var(--varyon-purple-300);
  box-shadow: 0 0 0 0 rgba(165, 103, 170, 0);
}

/*
 * 3 circles in equilateral triangle, each orbiting gently
 * around its home position while breathing in/out.
 * The whole group also rotates very slowly (40s).
 */
.viz-borromean {
  animation: borrGroupSpin 40s linear infinite;
}

.viz-borromean .borr-circle:nth-child(1) {
  border-color: var(--varyon-purple-500);
  animation: borrA 8s ease-in-out infinite;
}
.viz-borromean .borr-circle:nth-child(2) {
  border-color: var(--varyon-purple-300);
  animation: borrB 8s ease-in-out 2.66s infinite;
}
.viz-borromean .borr-circle:nth-child(3) {
  border-color: var(--varyon-purple-300);
  animation: borrC 8s ease-in-out 5.33s infinite;
}

/* Slow rotation of the entire group */
@keyframes borrGroupSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Circle A: top — orbit + breathe + glow */
@keyframes borrA {
  0%       { opacity: 0.35; transform: translateY(-14%) scale(1);
             box-shadow: 0 0 0 0 rgba(165, 103, 170, 0); }
  25%      { opacity: 0.5;  transform: translate(2%, -12%) scale(1.03);
             box-shadow: 0 0 20px 2px rgba(165, 103, 170, 0.12); }
  50%      { opacity: 0.65; transform: translate(0%, -10%) scale(1.06);
             box-shadow: 0 0 30px 4px rgba(165, 103, 170, 0.18); }
  75%      { opacity: 0.5;  transform: translate(-2%, -12%) scale(1.03);
             box-shadow: 0 0 20px 2px rgba(165, 103, 170, 0.12); }
  100%     { opacity: 0.35; transform: translateY(-14%) scale(1);
             box-shadow: 0 0 0 0 rgba(165, 103, 170, 0); }
}

/* Circle B: bottom-left — orbit + breathe + glow */
@keyframes borrB {
  0%       { opacity: 0.35; transform: translate(-12.12%, 7%) scale(1);
             box-shadow: 0 0 0 0 rgba(193, 153, 198, 0); }
  25%      { opacity: 0.5;  transform: translate(-10%, 9%) scale(1.03);
             box-shadow: 0 0 20px 2px rgba(193, 153, 198, 0.12); }
  50%      { opacity: 0.65; transform: translate(-8%, 7%) scale(1.06);
             box-shadow: 0 0 30px 4px rgba(193, 153, 198, 0.18); }
  75%      { opacity: 0.5;  transform: translate(-10%, 5%) scale(1.03);
             box-shadow: 0 0 20px 2px rgba(193, 153, 198, 0.12); }
  100%     { opacity: 0.35; transform: translate(-12.12%, 7%) scale(1);
             box-shadow: 0 0 0 0 rgba(193, 153, 198, 0); }
}

/* Circle C: bottom-right — orbit + breathe + glow */
@keyframes borrC {
  0%       { opacity: 0.35; transform: translate(12.12%, 7%) scale(1);
             box-shadow: 0 0 0 0 rgba(193, 153, 198, 0); }
  25%      { opacity: 0.5;  transform: translate(10%, 5%) scale(1.03);
             box-shadow: 0 0 20px 2px rgba(193, 153, 198, 0.12); }
  50%      { opacity: 0.65; transform: translate(8%, 7%) scale(1.06);
             box-shadow: 0 0 30px 4px rgba(193, 153, 198, 0.18); }
  75%      { opacity: 0.5;  transform: translate(10%, 9%) scale(1.03);
             box-shadow: 0 0 20px 2px rgba(193, 153, 198, 0.12); }
  100%     { opacity: 0.35; transform: translate(12.12%, 7%) scale(1);
             box-shadow: 0 0 0 0 rgba(193, 153, 198, 0); }
}

/* ===== MERIDIAN SECTION ===== */
.section-meridian {
  background: var(--varyon-background-primary);
}

.section-meridian .section-inner {
  direction: rtl;
}

.section-meridian .section-inner > * {
  direction: ltr;
}

/* ── Diamond crystal visualization ── */
.viz-diamond {
  animation: diamondFloat 10s ease-in-out infinite;
  transform-style: preserve-3d;
  perspective: 600px;
}

/* Diamond outline — rotated square */
.diamond-outline {
  position: absolute;
  width: 70.71%;
  height: 70.71%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 2px solid var(--varyon-purple-300);
}

/* Lines container — clipped to diamond shape */
.diamond-lines {
  position: absolute;
  width: 70.71%;
  height: 70.71%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* Lines from top vertex */
.dline-top {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1.5px;
  height: 100%;
  background: var(--varyon-purple-300);
  transform-origin: top center;
}

/* Lines from bottom vertex */
.dline-bot {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1.5px;
  height: 100%;
  background: var(--varyon-purple-300);
  transform-origin: bottom center;
}

/* Top fan: 9 lines from -45° to 45° */
.dline-top:nth-child(1)  { transform: translateX(-50%) rotate(-45deg); }
.dline-top:nth-child(2)  { transform: translateX(-50%) rotate(-33.75deg); }
.dline-top:nth-child(3)  { transform: translateX(-50%) rotate(-22.5deg); }
.dline-top:nth-child(4)  { transform: translateX(-50%) rotate(-11.25deg); }
.dline-top:nth-child(5)  { transform: translateX(-50%) rotate(0deg); }
.dline-top:nth-child(6)  { transform: translateX(-50%) rotate(11.25deg); }
.dline-top:nth-child(7)  { transform: translateX(-50%) rotate(22.5deg); }
.dline-top:nth-child(8)  { transform: translateX(-50%) rotate(33.75deg); }
.dline-top:nth-child(9)  { transform: translateX(-50%) rotate(45deg); }

/* Bottom fan: 8 lines (center shared with top) */
.dline-bot:nth-child(10) { transform: translateX(-50%) rotate(-45deg); }
.dline-bot:nth-child(11) { transform: translateX(-50%) rotate(-33.75deg); }
.dline-bot:nth-child(12) { transform: translateX(-50%) rotate(-22.5deg); }
.dline-bot:nth-child(13) { transform: translateX(-50%) rotate(-11.25deg); }
.dline-bot:nth-child(14) { transform: translateX(-50%) rotate(11.25deg); }
.dline-bot:nth-child(15) { transform: translateX(-50%) rotate(22.5deg); }
.dline-bot:nth-child(16) { transform: translateX(-50%) rotate(33.75deg); }
.dline-bot:nth-child(17) { transform: translateX(-50%) rotate(45deg); }

/* Float + 3D rotation animation */
@keyframes diamondFloat {
  0%   { transform: perspective(600px) translate(0, 0)      rotateX(0deg)   rotateY(0deg); }
  25%  { transform: perspective(600px) translate(8px, -12px) rotateX(12deg)  rotateY(-8deg); }
  50%  { transform: perspective(600px) translate(-6px, 8px)  rotateX(-8deg)  rotateY(12deg); }
  75%  { transform: perspective(600px) translate(10px, 4px)  rotateX(6deg)   rotateY(-6deg); }
  100% { transform: perspective(600px) translate(0, 0)      rotateX(0deg)   rotateY(0deg); }
}

/* ===== CTA SECTION ===== */
.section-cta {
  background: var(--varyon-slate-900);
  padding: var(--varyon-space-24) var(--varyon-space-8);
}

.section-cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--varyon-space-16);
  align-items: center;
}

.section-cta-left h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: var(--varyon-font-semibold);
  color: var(--varyon-white);
  line-height: var(--varyon-leading-tight);
  letter-spacing: var(--varyon-tracking-tight);
  margin-bottom: var(--varyon-space-8);
}

.cta-product-cycle {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.cta-product-placeholder {
  visibility: hidden;
  display: inline !important;
  position: static !important;
  opacity: 1 !important;
  animation: none !important;
}

.cta-product-cycle span {
  font-weight: var(--varyon-font-regular);
  color: var(--varyon-purple-300);
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  animation: ctaCycle 8s var(--varyon-ease-in-out) infinite;
}

.cta-product-cycle span:nth-child(1) { animation-delay: 0s; }
.cta-product-cycle span:nth-child(2) { animation-delay: 4s; }

@keyframes ctaCycle {
  0%, 2%     { opacity: 0; transform: translateY(100%); }
  8%, 42%    { opacity: 1; transform: translateY(0); }
  50%, 100%  { opacity: 0; transform: translateY(-100%); }
}

.section-cta-buttons {
  display: flex;
  gap: var(--varyon-space-4);
}

.cta-btn {
  display: inline-block;
  padding: var(--varyon-space-4) var(--varyon-space-12);
  font-family: var(--font-heading);
  font-size: var(--varyon-text-lg);
  font-weight: var(--varyon-font-medium);
  border-radius: var(--varyon-radius-xl);
  cursor: pointer;
  transition: background var(--varyon-duration-normal) var(--varyon-ease-out),
              transform var(--varyon-duration-fast) var(--varyon-ease-out);
}

.cta-btn:hover {
  transform: translateY(-1px);
}

.cta-btn-primary {
  background: var(--varyon-slate-100);
  color: var(--varyon-slate-900);
}

.cta-btn-primary:hover {
  background: var(--varyon-white);
}

.cta-btn-secondary {
  background: var(--varyon-slate-800);
  color: var(--varyon-slate-200);
}

.cta-btn-secondary:hover {
  background: var(--varyon-slate-600);
}

.section-cta-card {
  background: var(--varyon-slate-800);
  border-radius: var(--varyon-radius-2xl);
  padding: var(--varyon-space-10);
}

.cta-card-icon {
  color: var(--varyon-slate-300);
  margin-bottom: var(--varyon-space-5);
}

.section-cta-card h3 {
  font-family: var(--font-heading);
  font-size: var(--varyon-text-h3);
  font-weight: var(--varyon-font-semibold);
  color: var(--varyon-white);
  margin-bottom: var(--varyon-space-3);
}

.section-cta-card p {
  font-size: var(--varyon-text-base);
  color: var(--varyon-slate-300);
  line-height: var(--varyon-leading-relaxed);
  margin-bottom: var(--varyon-space-6);
}

.cta-card-form {
  display: flex;
  align-items: center;
  background: var(--varyon-slate-600);
  border-radius: var(--varyon-radius-xl);
  padding: var(--varyon-space-1);
  margin-bottom: var(--varyon-space-4);
}

.cta-card-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: var(--varyon-space-3) var(--varyon-space-4);
  font-family: var(--font-body);
  font-size: var(--varyon-text-base);
  color: var(--varyon-white);
}

.cta-card-input::placeholder {
  color: var(--varyon-slate-300);
}

.cta-card-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--varyon-purple-700);
  border: none;
  border-radius: var(--varyon-radius-lg);
  color: var(--varyon-white);
  cursor: pointer;
  transition: background var(--varyon-duration-normal) var(--varyon-ease-out);
}

.cta-card-submit:hover {
  background: var(--varyon-purple-900);
}

.cta-card-disclaimer {
  font-size: var(--varyon-text-xs) !important;
  color: var(--varyon-slate-400) !important;
  margin-bottom: 0 !important;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--varyon-slate-900);
  padding: var(--varyon-space-4) var(--varyon-space-8);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Footer brand lockup */
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--varyon-space-2);
}

.footer-social {
  display: flex;
  gap: var(--varyon-space-4);
}

.footer-social-link {
  color: var(--varyon-slate-400);
  transition: color var(--varyon-duration-normal) var(--varyon-ease-out);
}

.footer-social-link:hover {
  color: var(--varyon-white);
}

.footer-logo-symbol {
  height: 24px;
  width: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-wordmark {
  font-family: var(--font-heading);
  font-size: var(--varyon-text-base);
  font-weight: var(--varyon-font-bold);
  color: var(--varyon-slate-200);
  letter-spacing: var(--varyon-tracking-tight);
  line-height: 1;
}

.footer-wordmark-light {
  font-weight: var(--varyon-font-regular);
  color: var(--varyon-slate-400);
}

.footer p {
  font-size: var(--varyon-text-sm);
  color: var(--varyon-slate-400);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-headline {
    font-size: var(--varyon-text-display-xl);
  }

  .section-text h2 {
    font-size: var(--varyon-text-h1);
  }
}

@media (max-width: 768px) {
  .nav {
    padding: var(--varyon-space-3) var(--varyon-space-4);
  }

  .nav-logo-symbol {
    height: 28px;
  }

  .nav-scrolled .nav-logo-symbol {
    width: 28px;
  }

  .nav-wordmark {
    font-size: var(--varyon-text-h3);
  }

  /* Hamburger button */
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--varyon-space-3);
  }

  .nav-hamburger span {
    display: block;
    width: 28px;
    height: 2.5px;
    background: var(--varyon-slate-900);
    transition: transform 300ms, opacity 300ms;
  }

  /* Hamburger → X animation */
  .nav-open .nav-hamburger span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }
  .nav-open .nav-hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav-open .nav-hamburger span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }

  /* Mobile nav links dropdown */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--varyon-background-primary);
    padding: var(--varyon-space-4);
    gap: var(--varyon-space-4);
    text-align: center;
  }

  .nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    font-size: var(--varyon-text-base);
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    display: none;
  }

  .nav-dropdown.dropdown-open .nav-dropdown-menu {
    display: flex;
  }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    background: none;
    padding: var(--varyon-space-2) 0 0;
    min-width: unset;
  }

  .nav-dropdown-menu a {
    padding: var(--varyon-space-2) 0;
  }

  .hero {
    padding: var(--varyon-space-24) var(--varyon-space-4) var(--varyon-space-16);
  }

  .hero-headline {
    font-size: var(--varyon-text-display-lg);
  }

  .hero-subtitle {
    height: 2.5rem;
  }

  .hero-subtitle span {
    font-size: var(--varyon-text-xl);
    line-height: 2.5rem;
  }

  .hero-cta {
    padding: var(--varyon-space-4) var(--varyon-space-12);
    font-size: var(--varyon-text-lg);
  }

  .section {
    padding: var(--varyon-space-16) var(--varyon-space-4);
  }

  .section-inner {
    grid-template-columns: 1fr;
    gap: var(--varyon-space-10);
  }

  .section-meridian .section-inner {
    direction: ltr;
  }

  .section-meridian .viz-option {
    order: 1;
  }

  .section-text h2 {
    font-size: var(--varyon-text-h1);
  }

  .section-text p {
    max-width: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-seed {
    max-width: 280px;
    order: -1;
  }

  .viz-option {
    max-width: 320px;
    margin: 0 auto;
  }

  .section-cta {
    padding: var(--varyon-space-16) var(--varyon-space-4);
  }

  .section-cta-inner {
    grid-template-columns: 1fr;
    gap: var(--varyon-space-10);
  }

  .section-cta-left {
    text-align: center;
  }

  .section-cta-buttons {
    justify-content: center;
  }

  .cta-btn {
    padding: var(--varyon-space-3) var(--varyon-space-8);
    font-size: var(--varyon-text-base);
  }

  .section-cta-card {
    padding: var(--varyon-space-6);
  }

  .footer-inner {
    flex-direction: column;
    gap: var(--varyon-space-3);
    text-align: center;
  }

  .footer-info {
    font-size: var(--varyon-text-xs);
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: var(--varyon-text-display-md);
  }

  .hero-subtitle {
    height: 2rem;
  }

  .hero-subtitle span {
    font-size: var(--varyon-text-base);
    line-height: 2rem;
  }

  .hero-cta {
    padding: var(--varyon-space-3) var(--varyon-space-6);
    font-size: var(--varyon-text-sm);
  }

  .section-text h2 {
    font-size: var(--varyon-text-h2);
  }

  .section-text p {
    font-size: var(--varyon-text-lg);
  }

  .section-link {
    font-size: var(--varyon-text-base);
  }

  .patent-notice {
    display: block;
    margin-left: 0;
    margin-top: var(--varyon-space-1);
  }
}
