/* ============================================================
   D3 Digital Media — About WAVES page
   Self-contained — design tokens match the rest of the system.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&display=swap');

:root {
  --sky: #10dde0; --sky-bright: #14e8eb; --sky-deep: #0a8a8c;
  --sky-soft: rgba(16, 221, 224, 0.12); --sky-glow: rgba(16, 221, 224, 0.35);
  --bg: #050608; --bg-card: #0c0e12; --bg-elevated: #11141a; --bg-soft: #161922;
  --border: #1c2029; --border-strong: #2a2f3a;
  --text: #f4f6f8; --text-muted: #dde3ea; --text-dim: #b8c0c8;
  --p-w: #10dde0; --p-a: #f5b942; --p-v: #4ade80; --p-e: #fb7185; --p-s: #a78bfa;
  --r-btn: 4px; --r-card: 14px; --r-pill: 999px;
  --t-fast: .18s; --t-medium: .32s; --t-slow: .6s;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1280px; --gutter: clamp(20px, 4vw, 56px);
  --display: 'Fraunces', Georgia, serif;
  --body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Override Divi inline h1-h6 { color:#333 } — see home-d3v0290.css for full notes */
#top h1, #top h2, #top h3, #top h4, #top h5, #top h6 { color: var(--text); }

#top, #top * { box-sizing: border-box; }
#top {
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
#top img, #top svg { display: block; max-width: 100%; }
#top a { color: inherit; text-decoration: none; }
#top ::selection { background: var(--sky); color: #000; }
#top .container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
#top .section { position: relative; padding: clamp(80px, 12vw, 160px) 0; }
#top .eyebrow-num { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; color: var(--text-dim); }
#top .eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sky); }
#top .eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--sky); }
#top .h-section { font-family: var(--display); font-weight: 700; font-variation-settings: 'opsz' 96; letter-spacing: -0.018em; line-height: 1.05; font-size: clamp(36px, 5vw, 64px); text-wrap: balance;
  color: #ffffff; }
#top .accent { color: var(--sky); }
#top .italic { font-style: italic; }
#top .lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; color: var(--text-muted); max-width: 60ch; text-wrap: pretty; }
#top .btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; font: inherit; font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; border-radius: var(--r-btn); border: 1px solid transparent; transition: all var(--t-fast) var(--ease); cursor: pointer; }
#top .btn--primary { background: var(--sky); color: #000; }
#top .btn--primary:hover { background: var(--sky-bright); transform: translateY(-1px); box-shadow: 0 8px 24px -8px var(--sky-glow); }
#top .btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
#top .btn--ghost:hover { border-color: var(--sky); color: var(--sky); }
#top .fade-in {
  /* Always visible — animation was causing dim/invisible text on mobile
     when IntersectionObserver hadn't fired yet. Readability over motion. */
  opacity: 1;
  transform: none;
}
#top .fade-in.is-visible { opacity: 1; transform: none; }

/* ============================================================ HERO */
#top .aw-hero {
  position: relative; min-height: clamp(560px, 78vh, 760px);
  display: grid; place-items: center;
  padding: clamp(80px, 12vh, 140px) 0 clamp(56px, 9vh, 100px);
  overflow: hidden; background: var(--bg);
}
#top .aw-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 25%, var(--sky-glow), transparent 70%),
    radial-gradient(ellipse 70% 50% at 10% 95%, rgba(16, 221, 224, 0.08), transparent 70%);
  filter: blur(40px); pointer-events: none;
}
#top .aw-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(28, 32, 41, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 32, 41, 0.5) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  opacity: 0.5; pointer-events: none;
}
#top .aw-hero .container { position: relative; z-index: 1; }
#top .aw-hero__chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sky); background: var(--sky-soft);
  margin-bottom: 28px;
}
#top .aw-hero__chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 12px var(--sky); }
#top .aw-hero h1 {
  font-family: var(--display); font-weight: 600;
  font-variation-settings: 'opsz' 144;
  letter-spacing: -0.025em; line-height: 1.02;
  font-size: clamp(54px, 8vw, 112px);
  text-wrap: balance;
  color: #ffffff; margin-bottom: 28px; max-width: 16ch;
}
#top .aw-hero h1 .accent { font-style: italic; font-weight: 500; color: var(--sky); }
#top .aw-hero__sub {
  font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55;
  color: var(--text-muted); max-width: 60ch; margin-bottom: 36px; text-wrap: pretty;
}
#top .aw-hero__sub strong { color: var(--text); font-weight: 600; }
#top .aw-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================ ORIGIN */
#top .aw-origin { background: var(--bg); }
#top .aw-origin__head { margin-bottom: 56px; max-width: 880px; }
#top .aw-origin__head h2 { margin-top: 18px; margin-bottom: 18px; }
#top .aw-origin__body {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  max-width: 1100px; margin: 0 auto;
}
#top .aw-origin__body p {
  font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65;
  color: var(--text-muted); margin-bottom: 18px; text-wrap: pretty;
}
#top .aw-origin__body p:last-child { margin-bottom: 0; color: var(--text); }
#top .aw-origin__body em {
  font-family: var(--display); font-style: italic; color: var(--text);
}
#top .aw-origin__pull {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--sky);
  background: var(--bg-card);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  font-family: var(--display); font-style: italic;
  font-size: clamp(18px, 1.4vw, 22px); line-height: 1.4;
  color: var(--text);
}

/* ============================================================ PRINCIPLES */
#top .aw-principles { background: var(--bg-card); }
#top .aw-principles__head { margin-bottom: 56px; max-width: 880px; }
#top .aw-principles__head h2 { margin-top: 18px; margin-bottom: 18px; }
#top .aw-principles__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
#top .aw-principle {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: clamp(28px, 3vw, 40px);
  position: relative;
}
#top .aw-principle__num {
  display: block;
  font-family: var(--display); font-weight: 500;
  font-size: 14px; color: var(--sky);
  letter-spacing: 0.05em; margin-bottom: 14px;
}
#top .aw-principle__title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(20px, 1.6vw, 24px); line-height: 1.2;
  letter-spacing: -0.01em; color: var(--text); margin-bottom: 12px;
}
#top .aw-principle__body { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
#top .aw-principle__antipattern {
  display: block; margin-top: 14px; padding-top: 14px;
  border-top: 1px dashed var(--border-strong);
  font-size: 13px; line-height: 1.5; color: var(--text-dim);
}
#top .aw-principle__antipattern strong { color: #fb7185; font-weight: 600; }

/* ============================================================ ICP / FIT */
#top .aw-fit { background: var(--bg); }
#top .aw-fit__head { margin-bottom: 48px; max-width: 880px; }
#top .aw-fit__head h2 { margin-top: 18px; margin-bottom: 18px; }
#top .aw-fit__cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
#top .aw-fit__col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: clamp(28px, 3vw, 44px);
}
#top .aw-fit__col--yes { border-color: var(--sky); box-shadow: 0 0 0 1px var(--sky-soft); }
#top .aw-fit__col-head {
  padding-bottom: 20px; margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
#top .aw-fit__col-head h3 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.01em;
}
#top .aw-fit__col--yes h3 { color: var(--sky); }
#top .aw-fit__col--no h3 { color: #fb7185; }
#top .aw-fit__col-sub {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 6px;
}
#top .aw-fit__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
#top .aw-fit__item {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
}
#top .aw-fit__icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
#top .aw-fit__col--yes .aw-fit__icon { color: var(--sky); border: 1px solid var(--sky); }
#top .aw-fit__col--no .aw-fit__icon { color: #fb7185; border: 1px solid #fb7185; }
#top .aw-fit__text {
  font-size: 14.5px; line-height: 1.55; color: var(--text);
}
#top .aw-fit__text strong { color: var(--text); font-weight: 600; }
#top .aw-fit__text em { color: var(--text-muted); font-style: normal; font-size: 13px; display: block; margin-top: 2px; }

/* ============================================================ PROMISE */
#top .aw-promise { background: var(--bg-card); }
#top .aw-promise__head { margin-bottom: 48px; max-width: 880px; }
#top .aw-promise__head h2 { margin-top: 18px; margin-bottom: 18px; }
#top .aw-promise__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
#top .aw-promise__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: clamp(24px, 2.4vw, 32px);
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
}
#top .aw-promise__num {
  font-family: var(--display); font-weight: 500;
  font-size: 18px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--sky); color: var(--sky);
}
#top .aw-promise__title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(17px, 1.4vw, 20px); line-height: 1.25;
  color: var(--text); margin-bottom: 6px;
}
#top .aw-promise__body { font-size: 14px; line-height: 1.55; color: var(--text-muted); }

/* ============================================================ OPERATOR */
#top .aw-operator { background: var(--bg); }
#top .aw-operator__cols {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px); align-items: start;
}
#top .aw-operator__cover {
  border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  position: sticky; top: 40px;
  margin: 0;
}
#top .aw-operator__cover img { width: 100%; display: block; }
#top .aw-operator__body { padding-top: 8px; }
#top .aw-operator__h2 { margin-top: 18px; margin-bottom: 24px; }
#top .aw-operator__bio {
  font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6;
  color: var(--text-muted); margin-bottom: 18px; text-wrap: pretty;
}
#top .aw-operator__bio strong { color: var(--text); font-weight: 600; }
#top .aw-operator__quote {
  margin-top: 28px; padding: 22px 24px;
  border-left: 3px solid var(--sky); background: var(--bg-card);
  border-radius: 0 var(--r-card) var(--r-card) 0;
}
#top .aw-operator__quote p {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(17px, 1.4vw, 21px); line-height: 1.4;
  color: var(--text);
}

/* ============================================================ FINAL CTA */
#top .aw-final {
  background: var(--bg); position: relative; overflow: hidden; text-align: center;
}
#top .aw-final::before {
  content: ''; position: absolute;
  inset: -50% -10% auto auto; width: 80vw; height: 80vw;
  background: radial-gradient(circle, var(--sky-glow), transparent 60%);
  filter: blur(80px); pointer-events: none; z-index: 0;
}
#top .aw-final .container { position: relative; z-index: 1; }
#top .aw-final__inner { max-width: 900px; margin: 0 auto; }
#top .aw-final h2 { margin: 16px 0 28px; }
#top .aw-final .lede { margin: 0 auto 36px; }
#top .aw-final__buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ============================================================ RESPONSIVE */
@media (max-width: 1024px) {
  #top .aw-origin__body { grid-template-columns: 1fr; gap: 28px; }
  #top .aw-principles__grid { grid-template-columns: 1fr; }
  #top .aw-fit__cols { grid-template-columns: 1fr; }
  #top .aw-promise__grid { grid-template-columns: 1fr; }
  #top .aw-operator__cols { grid-template-columns: 1fr; }
  #top .aw-operator__cover { position: static; max-width: 480px; }
}
@media (max-width: 640px) {
  #top .aw-hero { min-height: 60vh; padding: 80px 0 56px; }
}
@media (prefers-reduced-motion: reduce) {
  #top .fade-in { opacity: 1; transform: none; transition: none; }
}
