/* CQL × Riess Group — acquisition announcement
   Ethereal cream base, soft blue/violet gradient field, editorial serif + sans + mono
*/

:root {
  --cream: #f4f0e8;
  --cream-soft: #efeae0;
  --paper: #faf7f1;
  --ink: #0e1230;
  --ink-soft: #2a2e52;
  --muted: #6b6d8c;
  --line: rgba(14, 18, 48, 0.12);
  --line-soft: rgba(14, 18, 48, 0.06);

  --riess: #1a5680;
  --signal: #2a6fdb;
  --violet: #7a6cf0;
  --glow: #b8c4ff;

  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --rad: 14px;
  --rad-sm: 8px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  /* very subtle paper grain */
  background-image:
    radial-gradient(1200px 800px at 50% -10%, rgba(122, 108, 240, 0.10), transparent 60%),
    radial-gradient(900px 700px at 95% 10%, rgba(42, 111, 219, 0.08), transparent 60%),
    radial-gradient(900px 700px at 0% 30%, rgba(184, 196, 255, 0.10), transparent 60%);
}

a { color: inherit; }

::selection { background: var(--ink); color: var(--cream); }

/* ---------- Layout ---------- */
.shell {
  position: relative;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
}

/* ---------- Top nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 64px);
  background: linear-gradient(to bottom, rgba(244, 240, 232, 0.85), rgba(244, 240, 232, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }

.nav-marks {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav-mark-img {
  height: 22px;
  width: auto;
  display: block;
}
.nav-mark-img.cql { height: 18px; }
.nav-plus {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--violet);
  font-style: italic;
  line-height: 0;
  margin-top: -2px;
}

.nav-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(42, 111, 219, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(42, 111, 219, 0.18); }
  50%      { box-shadow: 0 0 0 10px rgba(42, 111, 219, 0); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 80px 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
  width: fit-content;
}
.hero-eyebrow .pip {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 3px rgba(122, 108, 240, 0.25);
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 7.2vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero-headline em {
  font-style: italic;
  color: var(--riess);
  position: relative;
}
.hero-headline .here {
  font-style: italic;
  background: linear-gradient(120deg, var(--riess) 0%, var(--signal) 50%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 0 36px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 10px 30px -10px rgba(14, 18, 48, 0.55), inset 0 0 0 1px rgba(255,255,255,0.05);
}
.btn-primary:hover {
  background: linear-gradient(110deg, var(--ink), #1a205a 60%, var(--riess));
  transform: translateY(-1px);
  box-shadow: 0 18px 40px -12px rgba(14, 18, 48, 0.6);
}
.btn-primary .arr {
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.btn-primary:hover .arr { transform: translateX(4px); }

.btn-secondary {
  background: rgba(255,255,255,0.6);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(6px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(14,18,48,0.25);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: color .25s, border-color .25s, gap .25s;
}
.text-link:hover {
  color: var(--riess);
  border-color: var(--riess);
  gap: 12px;
}
.text-link .arr {
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.text-link:hover .arr { transform: translateX(3px); }

/* ---------- Hero (centered layout) ---------- */
.hero-centered {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-lockup {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0;
  background: transparent;
  border: none;
  margin-bottom: 36px;
}
.hero-lockup .lockup-mark {
  height: 120px;
  width: auto;
  display: block;
  object-fit: contain;
}
.hero-lockup .lockup-mark.riess {
  height: 100px;
}
.hero-lockup .lockup-plus {
  font-family: var(--serif);
  font-style: italic;
  font-size: 96px;
  color: var(--violet);
  line-height: 1;
}

.hero-centered .hero-eyebrow {
  margin-bottom: 32px;
}
.hero-centered .hero-headline {
  text-align: center;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.hero-centered .hero-sub {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero[data-layout="centered"] {
  justify-content: center;
  text-align: center;
}

/* ---------- Hero (split layout) ---------- */
.stage {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  display: grid;
  place-items: center;
}
@media (max-width: 980px) {
  .stage { max-width: 420px; margin: 20px auto 0; }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.4px);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.orb.cql-orb {
  width: 56%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 32% 30%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.3) 18%, transparent 30%),
    radial-gradient(circle at 70% 80%, rgba(122,108,240,0.7), transparent 60%),
    radial-gradient(circle at 50% 50%, #1c2256, #0e1230 70%);
  left: 8%;
  top: 14%;
  box-shadow: 0 40px 80px -20px rgba(14,18,48,0.4), inset 0 -20px 60px rgba(122,108,240,0.5);
  animation: float-a 9s ease-in-out infinite;
}
.orb.riess-orb {
  width: 52%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 32% 30%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.2) 18%, transparent 30%),
    radial-gradient(circle at 60% 70%, rgba(42,111,219,0.6), transparent 60%),
    radial-gradient(circle at 50% 50%, #2868a0, #0f3a5e 75%);
  right: 6%;
  bottom: 10%;
  box-shadow: 0 40px 80px -20px rgba(15,58,94,0.45), inset 0 -20px 60px rgba(42,111,219,0.5);
  animation: float-b 11s ease-in-out infinite;
}
@keyframes float-a {
  0%, 100% { transform: translate3d(0,0,0); }
  50%      { transform: translate3d(-6px, -10px, 0); }
}
@keyframes float-b {
  0%, 100% { transform: translate3d(0,0,0); }
  50%      { transform: translate3d(8px, 12px, 0); }
}

.stage-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(14,18,48,0.18);
  animation: rotate 80s linear infinite;
}
.stage-ring::before, .stage-ring::after {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal);
  top: 50%; left: -4px; transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(42,111,219,0.2);
}
.stage-ring::after {
  left: auto; right: -4px;
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(122,108,240,0.2);
}
@keyframes rotate { to { transform: rotate(360deg); } }

.stage-ring-2 {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(14,18,48,0.08);
  animation: rotate 60s linear infinite reverse;
}

.stage-mark {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.stage-mark::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--ink);
}
.stage-mark.tl { top: 4%; left: 4%; }
.stage-mark.br { bottom: 4%; right: 4%; }

.stage-logo {
  position: absolute;
  width: 22%;
  aspect-ratio: 1;
  background: var(--cream);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -8px rgba(14,18,48,0.25), 0 0 0 1px var(--line);
  z-index: 3;
}
.stage-logo img { width: 70%; height: 70%; object-fit: contain; }
.stage-logo.cql {
  top: 26%; left: 18%;
}
.stage-logo.riess {
  bottom: 22%; right: 14%;
}

.stage-merge {
  position: absolute;
  width: 18%; aspect-ratio: 1;
  border-radius: 50%;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(184,196,255,0.5) 60%, transparent);
  filter: blur(2px);
  z-index: 1;
  animation: pulse-merge 4s ease-in-out infinite;
}
@keyframes pulse-merge {
  0%, 100% { opacity: 0.7; transform: translate(-50%,-50%) scale(1); }
  50%      { opacity: 1; transform: translate(-50%,-50%) scale(1.15); }
}

/* ---------- Stage motif variants ---------- */

/* Variant: gradient mesh */
.stage.mesh .orb,
.stage.mesh .stage-ring,
.stage.mesh .stage-ring-2 { display: none; }
.stage.mesh .mesh-cloud {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(122,108,240,0.7), transparent 50%),
    radial-gradient(circle at 70% 40%, rgba(42,111,219,0.6), transparent 55%),
    radial-gradient(circle at 50% 75%, rgba(184,196,255,0.7), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(26,86,128,0.5), transparent 50%);
  filter: blur(20px);
  animation: meshmove 14s ease-in-out infinite;
}
@keyframes meshmove {
  0%, 100% { transform: scale(1) rotate(0); }
  50%      { transform: scale(1.05) rotate(8deg); }
}

/* Variant: geometric converge */
.stage.geo .orb,
.stage.geo .stage-merge { display: none; }
.stage.geo .geo-shape {
  position: absolute;
  inset: 18%;
  border: 1px solid var(--ink);
  border-radius: 4px;
  transform: rotate(45deg);
}
.stage.geo .geo-shape.b {
  inset: 28%;
  border-color: var(--signal);
  transform: rotate(15deg);
  animation: spin-a 18s ease-in-out infinite;
}
.stage.geo .geo-shape.c {
  inset: 36%;
  border-color: var(--violet);
  background: rgba(122,108,240,0.08);
  transform: rotate(60deg);
  animation: spin-b 24s ease-in-out infinite;
}
@keyframes spin-a { 0%,100% { transform: rotate(15deg); } 50% { transform: rotate(-30deg); } }
@keyframes spin-b { 0%,100% { transform: rotate(60deg); } 50% { transform: rotate(120deg); } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream-soft);
  overflow: hidden;
  z-index: 3;
}
.marquee-track {
  display: flex;
  gap: 60px;
  padding: 18px 0;
  white-space: nowrap;
  animation: scroll 38s linear infinite;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 60px; }
.marquee-track .sep {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--violet);
  border-radius: 50%;
  vertical-align: middle;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: clamp(80px, 11vw, 160px) 0;
}
.section + .section { border-top: 1px solid var(--line-soft); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.section-label .num {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: rgba(255,255,255,0.5);
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  color: var(--ink);
  max-width: 22ch;
  text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--riess); }

.lede {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) {
  .lede { grid-template-columns: 1fr; }
}
.lede p {
  font-family: var(--sans);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 22px;
  max-width: 62ch;
}
.lede p strong {
  color: var(--ink);
  font-weight: 500;
}
.lede .clients {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 8px;
}
.lede .clients li {
  list-style: none;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
}

/* ---------- Pull quote ---------- */
.quote {
  position: relative;
  padding: clamp(70px, 9vw, 140px) 0;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 500px at 20% 30%, rgba(122,108,240,0.35), transparent 60%),
    radial-gradient(800px 600px at 85% 70%, rgba(42,111,219,0.3), transparent 60%);
  pointer-events: none;
}
.quote-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(244,240,232,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244,240,232,0.05) 1px, transparent 1px);
  background-size: 88px 88px;
  pointer-events: none;
}
.quote-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}
.quote-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 200px;
  line-height: 0.5;
  color: var(--violet);
  opacity: 0.6;
  margin-bottom: 20px;
  display: block;
}
.quote-text {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--cream);
  margin: 0 0 40px;
  text-wrap: balance;
}
.quote-text em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--glow);
}
.quote-attr {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.7);
}
.quote-attr strong {
  color: var(--cream);
  font-weight: 500;
}
.quote-attr .bar {
  width: 40px; height: 1px; background: rgba(244,240,232,0.3);
}

/* ---------- People callout ---------- */
.callout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .callout { grid-template-columns: 1fr; } }

.role-card {
  position: relative;
  padding: 36px;
  border-radius: var(--rad);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}
.role-card::before {
  content: "";
  position: absolute;
  top: -50%; right: -30%;
  width: 80%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,108,240,0.25), transparent 60%);
  pointer-events: none;
}
.role-name {
  font-family: var(--serif);
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.role-prev {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 30px;
}
.role-prev s { text-decoration: line-through; opacity: 0.6; margin-right: 8px; }
.role-now {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}
.role-now b { color: var(--riess); font-weight: 500; }

.callout-copy h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.05;
  margin: 0 0 18px;
  text-wrap: balance;
}
.callout-copy p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  max-width: 50ch;
}

/* ---------- Capabilities grid ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
@media (max-width: 900px) { .cap-grid { grid-template-columns: 1fr; } }

.cap {
  position: relative;
  padding: 30px 26px 26px;
  border-radius: var(--rad);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
}
.cap:hover {
  transform: translateY(-3px);
  border-color: rgba(14,18,48,0.22);
  box-shadow: 0 20px 40px -20px rgba(14,18,48,0.18);
}
.cap-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 22px;
}
.cap h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.1;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.cap p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.cap .pip {
  position: absolute;
  top: 26px; right: 26px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--signal);
}
.cap:nth-child(2) .pip { background: var(--violet); }
.cap:nth-child(3) .pip { background: var(--riess); }

/* ---------- Footer / closing CTA ---------- */
.outro {
  position: relative;
  padding: clamp(80px, 12vw, 180px) 0 60px;
  text-align: center;
  overflow: hidden;
}
.outro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 50% 20%, rgba(184,196,255,0.4), transparent 60%),
    radial-gradient(600px 400px at 30% 80%, rgba(122,108,240,0.2), transparent 60%);
  pointer-events: none;
}
.outro-inner { position: relative; z-index: 2; }
.outro-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.outro h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 100px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.outro h2 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--riess), var(--signal) 50%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.outro p {
  font-family: var(--sans);
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto 40px;
  line-height: 1.55;
}

.foot {
  margin-top: 100px;
  padding: 30px 0;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Production responsive/accessibility overrides ---------- */
html {
  min-width: 320px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
}

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

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--rad-sm);
  background: var(--ink);
  color: var(--cream);
  font: 600 14px/1 var(--sans);
  text-decoration: none;
}
.skip-link:focus-visible { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero { min-height: 100svh; }
.hero-mesh svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn,
.text-link {
  min-height: 44px;
}

.hero-centered .cta-row,
.outro .cta-row {
  justify-content: center;
}

.section.shell {
  padding: clamp(80px, 11vw, 160px) clamp(20px, 4vw, 64px);
}

.quote-attr {
  flex-wrap: wrap;
}

.foot p,
.outro .foot p {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.outro .foot {
  position: relative;
  z-index: 2;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
}
.js .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .hero {
    padding: 68px 0 72px;
  }

  .hero-lockup {
    width: 100%;
    justify-content: center;
    gap: 18px;
    margin-bottom: 30px;
  }

  .hero-lockup .lockup-mark {
    height: 84px;
  }

  .hero-lockup .lockup-mark.riess {
    height: 62px;
    max-width: 42%;
  }

  .hero-lockup .lockup-plus {
    font-size: 58px;
  }

  .hero-headline {
    max-width: 18ch;
    font-size: clamp(44px, 11vw, 58px);
  }

  .hero-sub {
    font-size: 16px;
  }

  .section.shell {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

@media (max-width: 480px) {
  .hero-lockup {
    gap: 12px;
  }

  .hero-lockup .lockup-mark {
    height: 68px;
  }

  .hero-lockup .lockup-mark.riess {
    height: 46px;
  }

  .hero-lockup .lockup-plus {
    font-size: 42px;
  }

  .hero-headline {
    font-size: 40px;
  }

  .hero .cta-row,
  .outro .cta-row {
    width: 100%;
    align-items: stretch;
  }

  .hero .btn,
  .outro .btn {
    width: 100%;
    justify-content: center;
  }

  .hero .text-link,
  .outro .text-link {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .outro .foot {
    justify-content: center;
    text-align: center;
  }

  .outro .foot p {
    width: 100%;
  }

  .quote-attr .bar {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hero {
    padding: 88px 0;
  }

  .hero-lockup .lockup-mark {
    height: 112px;
  }

  .hero-lockup .lockup-mark.riess {
    height: 88px;
  }

  .hero-headline {
    font-size: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

}
