/* ============================================================
   FLUORESCENCE — SITE STYLES
   Dark navy / green-cyan / Playfair Display+Inter+JetBrains Mono
   ============================================================ */

/* All design tokens now come from theme.css, loaded before this file
   on every page. Do not redeclare :root here — a second declaration
   of the same custom property silently overrides theme.css and is
   how --ink and --green ended up with two different values across
   pages. If a token is missing, add it to theme.css, not here. */

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* atmospheric base */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 10%, rgba(0, 238, 153, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(0, 255, 255, 0.05) 0%, transparent 55%);
}

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.serif {
  font-family: 'Playfair Display', ui-serif, Georgia, serif;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
}

.em        { color: var(--ink-soft); font-style: italic; font-weight: 300; }
.glow      { color: var(--gbri); font-style: italic; }
.soft      { color: var(--ink-soft); }
.muted     { color: var(--ink-muted); }
.brand-name { font-family: 'Playfair Display', serif; font-weight: 400; letter-spacing: 0.02em; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', ui-serif, Georgia, serif;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.15;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}

.wrap-tight {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}

section {
  padding: 100px 0;
  position: relative;
  border-bottom: 1px solid var(--rule);
}

.section-head {
  max-width: 800px;
  margin-bottom: 56px;
}
.section-head .eyebrow { display: block; margin-bottom: 18px; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 64ch;
  line-height: 1.7;
}

.divider {
  height: 1px;
  background: var(--rule);
  margin: 56px 0;
}

/* NAV — governed by nav.css (master) */

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--green);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--gbri);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--rule-strong);
}
.btn-ghost:hover {
  color: var(--gbri);
  border-color: var(--green);
}
.arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   HERO
   ============================================================ */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 70% 30%, rgba(0,238,153,0.10) 0%, transparent 55%);
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: end;
  position: relative;
  z-index: 1;
}
.hero-eyebrow { display: block; margin-bottom: 28px; }
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero-sub p + p { margin-top: 14px; }
.hero-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 8px;
  border-left: 1px solid var(--rule);
  padding-left: 32px;
}

/* ============================================================
   HERO ANCHORS (three numbered items below hero sub)
   ============================================================ */
.hero-anchors {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  border-top: 1px solid var(--rule);
}
.anchor-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.anchor-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--green);
  flex-shrink: 0;
  width: 22px;
}
.anchor-text {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ============================================================
   STAT BAR
   ============================================================ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 36px 28px;
  border-right: 1px solid var(--rule);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 300;
  color: var(--gbri);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  color: var(--ink-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

/* ============================================================
   TILES
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.row    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.tile {
  background: var(--bg-tile);
  border: 1px solid var(--rule);
  padding: 32px 28px;
  border-radius: 4px;
  transition: border-color 0.25s, background 0.25s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tile:hover {
  border-color: var(--rule-strong);
  background: var(--bg-tile-hi);
}
.tile-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}
.tile-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
}
.tile-body {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}
.tile-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 8px;
  display: inline-block;
}

/* ============================================================
   TAG PILLS
   ============================================================ */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.tag-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  padding: 4px 10px;
  background: rgba(0,238,153,0.06);
  border: 1px solid rgba(0,238,153,0.16);
  color: var(--gbri);
  border-radius: 2px;
  letter-spacing: 0.02em;
}
.tag-pill.cyan {
  background: rgba(0,255,255,0.06);
  border-color: rgba(0,255,255,0.16);
  color: var(--cyan);
}
.tag-pill.muted {
  background: rgba(255,255,255,0.03);
  border-color: var(--rule);
  color: var(--ink-muted);
}

/* ============================================================
   PILLAR (featured / pricing)
   ============================================================ */
.pillar {
  background: var(--bg-tile);
  border: 1px solid var(--rule);
  padding: 36px 32px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pillar.featured {
  border-color: var(--green);
  background: rgba(0,238,153,0.04);
  box-shadow: 0 0 0 1px rgba(0,238,153,0.3) inset, 0 0 40px rgba(0,238,153,0.05);
}
.pillar-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
.pillar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
}
.pillar-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gbri);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pillar-price .unit {
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-family: 'Inter', sans-serif;
  margin-left: 10px;
  font-weight: 400;
}
.pillar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0;
}
.pillar ul li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}
.pillar ul li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--green);
  font-family: 'JetBrains Mono', monospace;
}
.pillar ul.plain li::before { display: none; }
.pillar ul.plain li { padding-left: 0; }

/* ============================================================
   LOOP DIAGRAM
   ============================================================ */
.loop {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  margin-top: 8px;
}
.loop-step {
  background: var(--bg-tile);
  border: 1px solid var(--rule);
  padding: 24px 20px;
  border-radius: 4px;
  position: relative;
}
.loop-step::after {
  content: '→';
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 1.4rem;
  font-family: 'JetBrains Mono', monospace;
  z-index: 2;
}
.loop-step:last-child::after { display: none; }
.loop-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.loop-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 8px;
}
.loop-body {
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* ============================================================
   COMPARE TABLE
   ============================================================ */
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--bg-tile);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
.compare th, .compare td {
  padding: 18px 22px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}
.compare thead th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  background: rgba(255,255,255,0.02);
}
.compare tbody tr:last-child td { border-bottom: none; }
.compare .label {
  color: var(--ink);
  font-weight: 400;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
}
.compare .soft   { color: var(--ink-muted); font-size: 0.88rem; }
.compare .kicker {
  color: var(--gbri);
  font-weight: 500;
}

/* ============================================================
   CALLOUT / PULLQUOTE
   ============================================================ */
.callout {
  background: rgba(0,238,153,0.04);
  border-left: 2px solid var(--green);
  padding: 22px 26px;
  border-radius: 0 4px 4px 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}
.callout b { color: var(--ink); font-weight: 500; }

.pullquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--ink);
  max-width: 720px;
  padding-left: 28px;
  border-left: 2px solid var(--green);
}
.pullquote .source {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  margin-top: 16px;
  text-transform: uppercase;
}

/* ============================================================
   STOKES CARD (the science / name section)
   ============================================================ */
.name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.stokes-card {
  background: var(--bg-tile);
  border: 1px solid var(--rule);
  padding: 36px 32px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.stokes-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 100%;
  background: linear-gradient(180deg, var(--green) 0%, var(--cyan) 100%);
}
.stokes-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.stokes-term {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.3;
}
.stokes-def {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}
.stokes-def p + p { margin-top: 12px; }
.stokes-def b { color: var(--ink); font-weight: 500; }
.stokes-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.flow-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  padding: 6px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}
.flow-tag.lit {
  background: rgba(0,238,153,0.08);
  border-color: var(--green);
  color: var(--gbri);
}
.flow-arrow { color: var(--green); font-family: 'JetBrains Mono', monospace; }

.name-body {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}
.name-body p + p { margin-top: 14px; }
.name-body b { color: var(--ink); font-weight: 500; }
.name-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 14px;
}
.name-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 26px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding-bottom: 120px; }
.contact h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 300;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  margin-top: 48px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.field input,
.field textarea {
  background: transparent;
  border: 1px solid var(--rule-strong);
  padding: 12px 14px;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  border-radius: 2px;
  transition: border-color 0.2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-side a:hover { color: var(--gbri); }

/* ============================================================
   FAQ
   ============================================================ */
details.tile {
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
details summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
details summary::-webkit-details-marker { display: none; }
details .faq-toggle {
  color: var(--green);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.4rem;
  transition: transform 0.2s;
}
details[open] .faq-toggle { transform: rotate(45deg); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot {
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  background: var(--bg);
}
.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--ink-muted);
  font-size: 0.86rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero-grid    { grid-template-columns: 1fr; gap: 40px; }
  .hero-meta    { border-left: none; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 32px; }
  .grid-3       { grid-template-columns: repeat(2, 1fr); }
  .grid-4       { grid-template-columns: repeat(2, 1fr); }
  .row          { grid-template-columns: 1fr; }
  .name-grid    { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .loop         { grid-template-columns: 1fr 1fr; gap: 16px; }
  .loop-step::after { display: none; }
  .stat-row     { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--rule); }
}

@media (max-width: 640px) {
  .wrap, .wrap-tight { padding: 0 24px; }
  .site-nav-inner    { padding: 12px 24px; }
  /* Note: master nav at ≤768px is handled entirely by nav.css — do not add .nav .nav-links rules here */
  section            { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .loop              { grid-template-columns: 1fr; }
  .stat-row          { grid-template-columns: 1fr; }
  .stat              { border-right: none; border-bottom: 1px solid var(--rule); }
  .stat:last-child   { border-bottom: none; }
  .compare th, .compare td { padding: 12px 14px; font-size: 0.84rem; }
}

/* ============================================================
   WHITE-SECTION DESIGN SYSTEM
   Shared components used on index.html, discovery.html, and all
   other pages with white-background sections.
   Class names are canonical: use svc-* on any page.
   ============================================================ */

/* Section wrapper */
.svc-sec { background:#ffffff; padding:clamp(80px,9vw,140px) var(--pad); border-top:1px solid rgba(17,1,46,0.09); border-bottom:none; }
.svc-sec-inner { max-width:var(--max); margin:0 auto; }

/* Section heading — italic Playfair Display 700, dark ink */
.svc-head { font-family:var(--serif); font-style:italic; font-weight:700; font-size:clamp(1.8rem,3.646vw,4.375rem); line-height:1.06; letter-spacing:-.02em; color:#11012e; margin-bottom:clamp(56px,7vw,100px); }
.svc-head-em { color:#ff00bb; font-style:italic; }
/* Two-line heading variant (dark + magenta) */
.svc-h-d { display:block; color:#11012e; }
.svc-h-m { display:block; color:#ff00bb; }

/* Grids */
.svc-grid   { display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(32px,4vw,60px); align-items:start; }
.svc-grid-5 { display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(20px,2.5vw,40px); align-items:start; }

/* Numbered item row (number + title side-by-side) */
.svc-row { display:flex; align-items:baseline; gap:14px; margin-bottom:clamp(20px,2.5vw,32px); }

/* Large italic Playfair Display numbers */
.svc-num { font-family:var(--serif); font-style:italic; font-weight:700; font-size:clamp(2rem,3.5vw,4rem); line-height:1; flex-shrink:0; }
.svc-num--mag { color:var(--magenta-bright); }
.svc-num--cya { color:#00ffff; }
.svc-num--grn { color:#00ff00; }

/* Tile title */
.svc-title { font-family:var(--serif); font-style:italic; font-weight:700; font-size:clamp(1.7rem,2.7vw,3.1rem); line-height:1.08; letter-spacing:-.015em; color:#11012e; }

/* Tile body copy */
.svc-body p { font-size:clamp(0.9rem,1.172vw,1.406rem); color:#11012e; line-height:1.75; margin-bottom:16px; }
.svc-body p:last-child { margin-bottom:0; }

/* Highlighter label (Diagnose / Create / Learn) */
.gw-label { font-family:var(--serif); font-style:italic; font-weight:700; font-size:clamp(1.6rem,2.4vw,2.8rem); line-height:1; color:#11012e; display:inline-block; padding:12px 28px 16px 20px; margin-bottom:24px; border-radius:3px 22px 8px 12px / 14px 5px 18px 7px; transform:rotate(-0.4deg) skewX(-0.6deg); }
.gw-label--mag { background:var(--magenta-bright); }
.gw-label--cya { background:#00ffff; }
.gw-label--grn { background:#00ff00; }

/* Guesswork section layout (white background, intro + three pillars) */
.gw-sec { background:#ffffff; padding:clamp(80px,9vw,140px) var(--pad); border-top:1px solid rgba(17,1,46,0.09); }
.gw-inner { max-width:var(--max); margin:0 auto; }
.gw-head { font-family:var(--serif); font-style:italic; font-weight:700; font-size:clamp(1.8rem,3.646vw,4.375rem); line-height:1.06; letter-spacing:-.02em; color:#11012e; margin-bottom:clamp(24px,3vw,40px); }
.gw-head-line1 { display:block; color:#11012e; }
.gw-head-line2 { display:block; color:#ff00bb; }
.gw-body { max-width:820px; margin-bottom:clamp(48px,6vw,80px); }
.gw-body p { font-size:clamp(0.9rem,1.172vw,1.406rem); font-weight:300; color:rgba(17,1,46,.82); line-height:1.75; margin-bottom:12px; }
.gw-body p:last-child { margin-bottom:0; }
.gw-cols { display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(32px,4vw,60px); align-items:start; }
.gw-col-body p { font-size:clamp(0.9rem,1.172vw,1.406rem); font-weight:300; color:rgba(17,1,46,.72); line-height:1.75; margin-bottom:16px; }
.gw-col-body p:last-child { margin-bottom:0; }
.gw-col-body p strong { color:#11012e; font-weight:600; }
@media(max-width:960px) { .gw-cols { grid-template-columns:1fr; gap:40px; } }

/* ============================================================
   HIGHLIGHTER DEVICE — paired statements
   For two short, related statements that each need their own
   highlighter mark (e.g. a positive claim + a negative/sting
   claim, stacked). Distinct from .gw-label above, which is a
   single inline label — this is a vertical pair with two
   independently-angled, independently-coloured marks so they
   read as two separate highlighter strokes, not one matched set.

   Usage:
     <div class="hl-pair">
       <div class="hl-mark hl-mark--a">First statement.</div>
       <div class="hl-mark hl-mark--b">Second statement.</div>
     </div>

   --a and --b ship with cyan/magenta as the default pairing
   (established on the discovery.html hero). To use a different
   colour pairing, override background/color on a per-instance
   basis rather than adding new global modifiers, unless the
   pairing is going to be reused in more than one place.
   ============================================================ */
.hl-pair { display:flex; flex-direction:column; align-items:center; gap:14px; }
.hl-mark {
  display:inline-block; color:#11012e;
  font-family:var(--serif); font-style:normal; font-weight:700;
  font-size:clamp(1.75rem,3.125vw,3.75rem); line-height:1.22; letter-spacing:-.01em;
  padding:13px 33px 16px;
  position:relative; isolation:isolate;
}
/* Background lives on ::before so it can be transformed independently —
   the highlight tilts while the text above it stays horizontal.
   Mark A tilts left, Mark B tilts right; border-radius is mirrored on B
   so the two strokes read as distinct imperfect marks, not a matched pair. */
.hl-mark::before {
  content:''; position:absolute; inset:0; z-index:-1;
  border-radius:3px 22px 8px 12px / 14px 5px 18px 7px;
}
.hl-mark--a::before { background:var(--green-bright); transform:rotate(-0.4deg) skewX(-0.6deg); }
.hl-mark--b { color:#ffffff; }
.hl-mark--b::before { background:var(--magenta-bright); transform:rotate(-1.5deg) skewX(-1deg); border-radius:14px 5px 18px 7px / 3px 22px 8px 12px; }
@media(max-width:640px) {
  .hl-mark { font-size:clamp(1.4rem,5vw,2.2rem); padding:11px 21px 14px; }
}

/* Pill CTA button */
.btn-svc { display:inline-flex; align-items:center; background:#ff00bb; color:#ffffff; font-family:var(--sans); font-weight:600; font-size:.9rem; letter-spacing:.04em; padding:18px 52px; border-radius:100px; text-decoration:none; transition:background .2s,transform .2s; }
.btn-svc:hover { background:#e000a8; transform:translateY(-2px); }

/* Responsive */
@media(max-width:900px) {
  .svc-grid   { grid-template-columns:1fr; gap:40px; }
  .svc-grid-5 { grid-template-columns:1fr; gap:32px; }
}
@media(max-width:560px) { .svc-grid-5 { grid-template-columns:1fr; gap:32px; } }


/* ============================================================
   HOMEPAGE (index.html) — migrated from inline <style>.
   Homepage-specific sections. Kept in the global sheet so they
   are not lost. Rules appear after the base globals above, so
   where selectors repeat (.hero/.hero-sub/.btn) these win, which
   reproduces the previous inline-override behaviour.
   ============================================================ */
/* Tokens, base reset, and shared components (.svc-*, .gw-*, .hl-*, .btn-svc,
   nav) all come from theme.css / nav.css / styles.css. This block only
   holds CSS specific to the homepage. */

/* Nav — see nav.css (master) */

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height:100vh; position:relative;
  display:flex; flex-direction:column; justify-content:center;
  padding-top:120px; padding-bottom:80px; overflow:hidden;
  border-bottom:1px solid var(--rule);
  background:var(--bg);
}
.hero-bg {
  position:absolute; inset:0; z-index:0; background:transparent;
}
.hero-bg::before {
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 40%, rgba(120,0,220,.22) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 10% 80%, rgba(180,0,120,.14) 0%, transparent 50%),
    radial-gradient(ellipse 30% 30% at 90% 15%, rgba(0,180,60,.12) 0%, transparent 45%);
}
.hero-overlay { display:none; }
.hero-fade { position:absolute; bottom:0; left:0; right:0; height:200px; z-index:2; background:linear-gradient(to bottom,transparent,var(--bg)); }
.hero-inner { position:relative; z-index:3; max-width:var(--max); margin:0 auto; width:100%; padding:0 var(--pad); display:flex; flex-direction:column; align-items:center; text-align:center; }
/* H1 — lead-in: same size and weight as sub (44pt at 1920px, Inter light) */
.hero h1 {
  font-family:var(--sans); font-style:normal; font-weight:300;
  font-size:clamp(0.75rem,1.719vw,2.063rem);
  line-height:1.45; letter-spacing:0; color:var(--soft);
  margin-bottom:44px;
  opacity:0; transform:translateY(22px); transition:opacity .8s .25s, transform .8s .25s;
}
/* Questions — 60pt at 1920px: bold Playfair Display roman, signal green */
.hero-question {
  margin-bottom:56px;
  opacity:0; transform:translateY(22px); transition:opacity .8s .4s, transform .8s .4s;
}
/* Highlighter device — canonical .hl-pair/.hl-mark now lives in styles.css only */
/* Sub — 44pt at 1920px, Inter light — same size and weight as lead-in */
.hero-sub {
  font-family:var(--sans); font-weight:300;
  font-size:clamp(0.75rem,1.719vw,2.063rem);
  line-height:1.55; color:var(--soft);
  max-width:56ch; margin-bottom:52px;
  opacity:0; transform:translateY(14px); transition:opacity .8s .55s, transform .8s .55s;
}
/* Diagnose + Create + Learn — 36pt at 1920px, Inter light */
.hero-frame {
  display:flex; align-items:center; justify-content:center; gap:16px;
  font-family:var(--sans); font-weight:300;
  font-size:clamp(0.75rem,1.719vw,2.063rem);
  letter-spacing:0.04em; text-transform:none;
  color:var(--ink);
  margin-bottom:52px;
  opacity:0; transform:translateY(14px); transition:opacity .8s .70s, transform .8s .70s;
}
.hero-frame .cross-m { color:#c44bd6; line-height:1; }
.hero-frame .cross-g { color:#2bd24a; line-height:1; }
.hero-actions {
  display:flex; gap:14px; flex-wrap:wrap; align-items:center; justify-content:center;
  opacity:0; transform:translateY(14px); transition:opacity .8s .85s, transform .8s .85s;
}
/* Hero CTA — the only pill on the page */
.hero-actions .btn-p {
  background:var(--purple-bright); color:#ffffff;
  border-radius:100px; padding:14px 32px;
  font-weight:600; letter-spacing:0.04em; text-transform:none;
}
.hero-actions .btn-p:hover { background:#cf33ff; transform:translateY(-2px); box-shadow:0 6px 24px rgba(191,0,255,.35); }
.hero-actions .btn-p:focus-visible { outline:2px solid var(--purple-bright); outline-offset:3px; }
/* Scroll cue */
.hero-scroll-cue {
  position:absolute; bottom:28px; left:50%; transform:translateX(-50%);
  color:rgba(255,255,255,.35); font-size:1.2rem; z-index:4; line-height:1;
  animation:hero-bounce 2.4s ease-in-out infinite;
}
@keyframes hero-bounce {
  0%,100% { transform:translateX(-50%) translateY(0); }
  50% { transform:translateX(-50%) translateY(7px); }
}
@media (prefers-reduced-motion:reduce) { .hero-scroll-cue { animation:none; } }
@media (max-width:640px) { .hero-scroll-cue { display:none; } }
.hero.loaded h1,
.hero.loaded .hero-question,
.hero.loaded .hero-sub,
.hero.loaded .hero-frame,
.hero.loaded .hero-actions { opacity:1; transform:translateY(0); }

/* Buttons */
.btn { display:inline-flex; align-items:center; gap:8px; font-family:var(--sans); font-size:.82rem; letter-spacing:.06em; text-transform:uppercase; padding:16px 32px; border:none; border-radius:2px; cursor:pointer; transition:all .2s; font-weight:400; }
.btn-p { background:var(--green); color:#00001e; }
.btn-p:hover { background:var(--gbri); transform:translateY(-1px); }
.btn-g { background:transparent; color:var(--soft); border:1px solid var(--ruleS); }
.btn-g:hover { border-color:var(--green); color:var(--green); }
.btn-dk { background:var(--lt-ink); color:#fff; }
.btn-dk:hover { background:#14145a; transform:translateY(-1px); }

/* TICKER CSS — removed */

/* ══════════════════════════════════════
   BEAT 01 — "You have more data than ever" section
══════════════════════════════════════ */
.beat01 { background:#ffffff; padding:clamp(60px,7vw,100px) var(--pad); border-top:1px solid rgba(17,1,46,0.09); position:relative; z-index:1; }
/* Wider max-width + asymmetric columns so body copy fills to right margin */
.beat01-inner { max-width:1540px; width:100%; margin:0 auto; display:grid; grid-template-columns:1fr 1.4fr; gap:64px; align-items:start; }
.beat01-h { font-family:var(--serif); font-style:italic; font-weight:700; font-size:clamp(1.8rem,3.646vw,4.375rem); line-height:1.06; letter-spacing:-.02em; color:var(--lt-ink); }
/* 24pt interline gap between the two heading sentences */
.beat01-h .ln1 { display:block; margin-bottom:clamp(14px,1.25vw,1.5rem); color:#11012e; }
.beat01-h .ln2 { display:block; line-height:1.5; } /* extra leading so the wrapped highlighter rows don't overlap */
/* Magenta highlighter behind heading line 2 — hugs the text, slight angle */
.beat01-h .hl-mag {
  background:var(--magenta-bright);
  color:#ffffff;
  padding:2px 16px 8px 14px;
  border-radius:3px 18px 6px 12px / 12px 5px 16px 6px;
  transform:rotate(-0.5deg) skewX(-0.6deg);
  display:inline;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}
.beat01-body { padding-top:4px; }
/* Body copy — 34pt was correct in principle but too large at full viewport.
   Clamp scales from 1rem at mobile up to ~20px max at 1920px.             */
.beat01-body p { font-size:clamp(0.9rem,1.172vw,1.406rem); font-weight:300; color:rgba(17,1,46,.82); line-height:1.75; margin-bottom:20px; }
.beat01-body p strong { color:#11012e; font-weight:600; }
/* Cyan highlighter — marker stroke cropped close to the text, slight angle */
.beat01-hl {
  background:var(--cyan);
  color:var(--lt-ink);
  font-size:clamp(1.05rem,1.5vw,1.55rem); font-weight:500; line-height:1.75;
  padding:2px 16px 8px 12px;
  margin:32px 0 24px;
  border-radius:3px 22px 8px 12px / 14px 5px 18px 7px;
  transform:rotate(-0.5deg) skewX(-0.6deg);
  display:inline;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}
.beat01-cite { font-size:0.85rem; color:rgba(17,1,46,.35); margin-top:8px !important; }
.beat01-cards { max-width:var(--max); margin:80px auto 0; display:grid; grid-template-columns:1fr 1fr 1fr; gap:40px; border-top:1px solid var(--rule); padding-top:64px; }
.beat01-card { }
.beat01-card-h { font-family:var(--serif); font-weight:300; font-size:clamp(1.6rem,2.4vw,2.2rem); line-height:1.15; letter-spacing:-.01em; color:#00cccc; margin-bottom:20px; }
.beat01-card-b { font-size:clamp(0.9rem,1.172vw,1.406rem); font-weight:300; color:rgba(255,255,255,.72); line-height:1.75; }

/* ══════════════════════════════════════
   CHALLENGES — blob cards on white
══════════════════════════════════════ */
.pchall { background:#ffffff; padding:clamp(80px,10vw,140px) var(--pad); border-top:1px solid rgba(17,1,46,0.09); }
.pchall-inner { max-width:var(--max); margin:0 auto; }
.pchall-head {
  font-family:var(--serif); font-weight:700; font-style:italic;
  font-size:clamp(1.8rem,3vw,3.4rem);
  line-height:1.1; letter-spacing:-.02em;
  color:var(--lt-ink);
  text-align:center;
  margin-bottom:clamp(48px,6vw,80px);
}
.pchall-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(28px,3vw,48px); align-items:start; }
/* No box — each card matches the guesswork Diagnose/Create/Learn treatment:
   a coloured highlighter-mark title on the white section, body copy below. */
.pchall-card { display:block; }
.pchall-title { display:block; margin-bottom:clamp(20px,2.5vw,32px); }
.pchall-mark {
  font-family:var(--serif); font-weight:700; font-style:italic;
  font-size:clamp(1.5rem,2.1vw,2.3rem);
  line-height:1.5; letter-spacing:-.01em; color:#11012e;
  display:inline;
  padding:2px 16px 8px 14px;
  border-radius:3px 22px 8px 12px / 14px 5px 18px 7px;
  transform:rotate(-0.5deg) skewX(-0.6deg);
  -webkit-box-decoration-break:clone; box-decoration-break:clone;
}
.pchall-card:nth-child(1) .pchall-mark { background:#00ffff; }
.pchall-card:nth-child(2) .pchall-mark { background:#00ff00; }
.pchall-card:nth-child(3) .pchall-mark { background:#ff00bb; }
.pchall-body p {
  font-size:clamp(0.9rem,1.172vw,1.406rem);
  color:rgba(17,1,46,0.72);
  line-height:1.6;
  margin-bottom:16px;
}
.pchall-body p:last-child { margin-bottom:0; }
@media(max-width:960px) { .pchall-grid { grid-template-columns:1fr; gap:20px; } }

/* ── Creative intelligence loop section ── */
.loop-sec {
  background:var(--bg);
  padding:clamp(80px,10vw,160px) var(--pad);
  border-top:1px solid var(--rule);
}
.loop-inner {
  max-width:1360px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1.5fr;
  gap:clamp(40px,5vw,80px);
  align-items:center;
}
/* Match beat01-h exactly — same size/weight/leading, white on dark bg */
.loop-h {
  font-family:var(--serif);
  font-weight:700;
  font-style:normal;
  font-size:clamp(1.8rem,3.646vw,4.375rem);
  line-height:1.06;
  letter-spacing:-.02em;
  color:var(--ink);
}
.loop-h .ln1 { display:block; margin-bottom:clamp(14px,1.25vw,1.5rem); }
.loop-h .ln2 { display:block; }
/* Diagram: aspect-ratio container so % positioning works */
/* viewBox "-30 -80 780 640" → 640÷780 = 82.1% */
.loop-diagram {
  position:relative;
  width:100%;
  padding-bottom:82.1%;
}
/* Arrow SVG fills the container exactly */
.loop-arrows-svg {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
}
/* Node labels: HTML over the SVG — flexbox handles pill+mark alignment */
.loop-node {
  position:absolute;
  transform:translate(-50%,-50%);
  text-align:center;
}
.loop-node-label {
  display:flex;
  align-items:center;
  gap:8px;
  justify-content:center;
  margin-bottom:8px;
}
/* Node label — colored regular italic text, no background */
.loop-pill {
  font-family:var(--serif);
  font-style:italic;
  font-weight:400;
  font-size:clamp(1.5rem,2.4vw,2.8rem);
  white-space:nowrap;
  line-height:1.1;
}
.loop-pill--mag { color:#ff00bb; }
.loop-pill--cya { color:#00ffff; }
.loop-pill--grn { color:#00ff00; }
/* Pill mark icon — flex child, snaps to text edge via gap */
.loop-mark { flex-shrink:0; }
.loop-caption {
  font-family:var(--sans);
  font-size:clamp(0.9rem,1.172vw,1.406rem);
  color:rgba(255,255,255,0.85);
  line-height:1.4;
  max-width:280px;
}
@media(max-width:800px){
  .loop-inner { grid-template-columns:1fr; }
  .loop-diagram { padding-bottom:120%; }
  /* Bump main labels and subtext for legibility on mobile */
  .loop-pill { font-size:clamp(1.7rem,5vw,2.3rem); }
  .loop-caption { white-space:normal; max-width:160px; font-size:clamp(0.95rem,3.6vw,1.15rem); }
  /* Push the side nodes out to the left/right edges, clear of the central arrows */
  .loop-node--learn { left:0 !important; transform:translate(0,-50%) !important; text-align:left !important; }
  .loop-node--learn .loop-node-label { justify-content:flex-start !important; }
  .loop-node--create { left:100% !important; transform:translate(-100%,-50%) !important; text-align:right !important; }
  .loop-node--create .loop-node-label { justify-content:flex-end !important; }
  /* Diagnose caption over two lines, centred under the label */
  .loop-node--diagnose .loop-caption { max-width:210px; margin-left:auto; margin-right:auto; }
}

/* ── FOR section ── */
.for2-sec {
  background:#ffffff;
  padding:clamp(60px,7vw,100px) var(--pad);
  border-top:1px solid rgba(17,1,46,0.09);
}
.for2-inner { max-width:var(--max); width:100%; margin:0 auto; }
.for2-head {
  font-family:var(--serif);
  font-weight:700;
  font-style:italic;
  font-size:clamp(1.8rem,3.646vw,4.375rem);
  line-height:1.06;
  letter-spacing:-.02em;
  color:var(--lt-ink);
  margin-bottom:clamp(48px,6vw,80px);
}
.for2-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:clamp(32px,4vw,60px);
  align-items:start;
}
.for2-num {
  width:clamp(52px,4vw,68px);
  height:clamp(52px,4vw,68px);
  border-radius:50%;
  background:var(--magenta-bright);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:clamp(20px,2vw,28px);
}
.for2-num span {
  font-family:var(--serif);
  font-style:italic;
  font-weight:700;
  font-size:clamp(1.3rem,1.8vw,2rem);
  color:#fff;
  line-height:1;
}
.for2-title {
  font-family:var(--serif);
  font-weight:700;
  font-style:normal;
  font-size:clamp(1.5rem,2.3vw,2.75rem);
  line-height:1.1;
  letter-spacing:-.015em;
  color:var(--lt-ink);
  margin-bottom:clamp(14px,1.4vw,20px);
}
.for2-body {
  font-size:clamp(0.95rem,1.05vw,1.15rem);
  color:var(--lt-ink);
  line-height:1.65;
}
@media(max-width:768px){
  .for2-grid { grid-template-columns:1fr; gap:40px; }
}

/* ══════════════════════════════════════
   PIVOT — static (zoom removed)
══════════════════════════════════════ */

/* ══════════════════════════════════════
   GET STARTED — dark (used by the closing "Ready to see..." section)
══════════════════════════════════════ */
.cta-section { background:var(--bg2); border-top:1px solid var(--rule); padding:clamp(80px,10vw,160px) var(--pad); }
.cta-inner { max-width:var(--max); margin:0 auto; }
.cta-h {
  font-family:var(--serif); font-style:italic; font-weight:700;
  font-size:clamp(1.8rem,3.646vw,4.375rem); line-height:1.06; letter-spacing:-.02em;
  color:#ffffff; margin-bottom:clamp(56px,7vw,96px);
}
.cta-h em { color:var(--magenta-bright); font-style:italic; }
.cta-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(32px,4vw,60px);
  align-items:start; border-top:1px solid var(--rule); padding-top:clamp(40px,5vw,64px);
  margin-bottom:clamp(56px,7vw,80px);
}
.cta-item-title {
  font-family:var(--serif); font-style:italic; font-weight:700;
  font-size:clamp(1.7rem,2.7vw,3.1rem); line-height:1.08; letter-spacing:-.015em;
  color:#ffffff; margin-bottom:clamp(16px,2vw,24px);
}
.cta-item-body { font-size:clamp(0.9rem,1.172vw,1.406rem); color:rgba(255,255,255,.72); line-height:1.75; margin-bottom:16px; }
.cta-item-body:last-child { margin-bottom:0; }
.cta-email { color:var(--green-mint); border-bottom:1px solid rgba(0,255,170,.3); transition:color .2s,border-color .2s; }
.cta-email:hover { color:var(--cyan); border-color:var(--cyan); }
.cta-bottom { display:flex; align-items:center; gap:28px; flex-wrap:wrap; }
@media(max-width:900px){ .cta-grid { grid-template-columns:1fr; gap:40px; } }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media(max-width:960px) {
  .beat01-inner { grid-template-columns:1fr; gap:32px; }
}

/* ══════════════════════════════════════
   MOBILE REFINEMENTS (≤768px) — homepage
══════════════════════════════════════ */
@media (max-width:768px){
  /* Hero — lift the small type to readable sizes (highlighter questions already ok) */
  .hero h1 { font-size:1.2rem; line-height:1.4; }
  .hero-sub { font-size:1.2rem; }
  .hero-frame { font-size:1.1rem; gap:12px; }

  /* Challenges — slightly larger highlighter titles on mobile */
  .pchall-mark { font-size:1.85rem; }

  /* Designed for — number sits beside the title */
  .for2-item { display:grid; grid-template-columns:auto 1fr; column-gap:16px; row-gap:10px; align-items:center; }
  .for2-num { margin-bottom:0; }
  .for2-title { margin-bottom:0; }
  .for2-body { grid-column:2; }

  /* CTA — drop forced line breaks so titles flow naturally on one line */
  .cta-h br, .cta-item-title br { display:none; }
}


/* ══════════════════════════════════════
   HOMEPAGE services — white section (base svc-sec); centred CTA.
   Two-card layout + card colours are scoped in index.html <head>.
══════════════════════════════════════ */
#services-section .svc-cta { text-align:center; margin-top:clamp(40px,5vw,64px); }
