/* ============================================
   MRM Media — Performance Marketing Practice
   Editorial. Navy on bright white. Royal blue accents.
   ============================================ */

:root {
  /* Color */
  --bg:        #FFFFFF;
  --bg-soft:   #F7F8FA;
  --bg-dark:   #0F2C5C;
  --bg-darker: #0A1F45;

  --fg:        #0F2C5C;
  --fg-2:      #1B3A6B;
  --fg-dim:    rgba(15, 44, 92, 0.65);
  --fg-faint:  rgba(15, 44, 92, 0.42);
  --fg-trace:  rgba(15, 44, 92, 0.14);
  --rule:      rgba(15, 44, 92, 0.12);

  --on-dark:        #F5F7FA;
  --on-dark-dim:    rgba(245, 247, 250, 0.68);
  --on-dark-faint:  rgba(245, 247, 250, 0.40);
  --on-dark-trace:  rgba(245, 247, 250, 0.16);

  --accent:    #2C6FB5;
  --accent-2:  #4A8DD4;

  /* Type */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-sans:    'Geist', 'Helvetica Neue', system-ui, sans-serif;
  --font-mono:    'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max:    1480px;

  /* Motion */
  --ease:     cubic-bezier(0.65, 0.05, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1, 'ss01' 1;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--accent); color: #fff; }

/* ============================================
   SERIF ITALIC ACCENT
   ============================================ */
.serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  color: var(--accent);
  letter-spacing: -0.012em;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem var(--gutter);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), padding 0.3s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--rule);
  background: rgba(255, 255, 255, 0.92);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.nav__brand { display: flex; align-items: center; }

.nav__logo {
  height: 52px;
  width: auto;
  transition: height 0.3s var(--ease);
}

.nav.is-scrolled .nav__logo { height: 42px; }

.nav__links {
  display: flex;
  gap: 2.25rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav__links a {
  color: var(--fg-dim);
  position: relative;
  transition: color 0.3s var(--ease);
  padding-bottom: 0.3rem;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out);
}

.nav__links a:hover,
.nav__links a.is-active { color: var(--fg); }
.nav__links a:hover::after,
.nav__links a.is-active::after { width: 100%; }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.15rem;
  background: var(--fg);
  color: var(--on-dark);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.35s var(--ease);
}

.nav__cta-arrow {
  transition: transform 0.35s var(--ease-out);
  font-family: var(--font-sans);
}

.nav__cta:hover { background: var(--accent); }
.nav__cta:hover .nav__cta-arrow { transform: translateX(3px); }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__logo { height: 42px; }
}

@media (max-width: 480px) {
  .nav__cta span:first-child { display: none; }
  .nav__cta { padding: 0.7rem 0.9rem; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 8rem var(--gutter) 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  max-width: var(--max);
  margin: 0 auto;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%; right: -8%;
  width: 50vw; height: 50vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(44, 111, 181, 0.10) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 25%; left: -10%;
  width: 35vw; height: 35vw;
  max-width: 500px; max-height: 500px;
  background: radial-gradient(circle, rgba(15, 44, 92, 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-top: 1rem;
  padding-bottom: 2rem;
}

.meta-line { position: relative; padding-left: 0.9rem; }

.meta-line::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 5px; height: 5px;
  background: var(--accent);
  transform: translateY(-50%);
  border-radius: 50%;
}

.hero__headline {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 350;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(2.6rem, 8vw, 8.6rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 1.5rem 0 4rem;
  max-width: 14ch;
  color: var(--fg);
}

.hero__headline .reveal { display: block; overflow: hidden; }

.hero__headline .reveal > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: hero-rise 1.1s var(--ease-out) forwards;
}

.hero__headline .reveal:nth-child(1) > span { animation-delay: 0.1s; }
.hero__headline .reveal:nth-child(2) > span { animation-delay: 0.22s; }
.hero__headline .reveal:nth-child(3) > span { animation-delay: 0.34s; }
.hero__headline .reveal:nth-child(4) > span { animation-delay: 0.46s; }
.hero__headline .reveal:nth-child(5) > span { animation-delay: 0.58s; }

@keyframes hero-rise {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.reveal-fade {
  opacity: 0;
  animation: fade-in 1s var(--ease) 0.85s forwards;
}

@keyframes fade-in { to { opacity: 1; } }

.hero__sub {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 3rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--rule);
}

.hero__sub p {
  max-width: 52ch;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.55;
  color: var(--fg);
  font-weight: 350;
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color 0.3s var(--ease);
  white-space: nowrap;
  opacity: 0;
  animation: fade-in 1s var(--ease) 1.05s forwards;
}

.hero__scroll-line {
  display: inline-block;
  width: 80px; height: 1px;
  background: var(--fg-trace);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: line-pulse 2.4s var(--ease) infinite;
}

@keyframes line-pulse {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}

.hero__scroll:hover { color: var(--fg); }

@media (max-width: 700px) {
  .hero__sub { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 1.4rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg-soft);
}

.marquee__track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  align-items: center;
}

.marquee__dot { color: var(--accent); font-size: 0.5rem; }

@keyframes marquee { to { transform: translateX(-50%); } }

.marquee:hover .marquee__track { animation-play-state: paused; }

/* ============================================
   SECTION FRAME
   ============================================ */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8.5rem) var(--gutter);
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.section__head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 4rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section__num { color: var(--accent); font-weight: 500; }

.section__label {
  color: var(--fg);
  position: relative;
  padding-left: 1.5rem;
}

.section__label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 0.75rem;
  height: 1px;
  background: var(--fg-trace);
  transform: translateY(-50%);
}

.section__head--inverse .section__num { color: var(--accent-2); }
.section__head--inverse .section__label { color: var(--on-dark); }
.section__head--inverse .section__label::before { background: var(--on-dark-trace); }

/* ============================================
   APPROACH
   ============================================ */
.approach__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.approach__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.approach__body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fg-2);
  margin-bottom: 1.4rem;
}

.approach__body .lead {
  font-size: 1.2rem;
  color: var(--fg);
  font-weight: 400;
  line-height: 1.55;
}

@media (max-width: 880px) {
  .approach__grid { grid-template-columns: 1fr; }
}

/* ============================================
   SERVICES
   ============================================ */
.services__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 4rem;
  max-width: 16ch;
}

.services__list { list-style: none; display: grid; gap: 0; }

.service {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
  position: relative;
  transition: padding-left 0.5s var(--ease-out);
}

.service:last-child { border-bottom: 1px solid var(--rule); }

.service::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 100%;
  background: linear-gradient(90deg, var(--bg-soft) 0%, transparent 100%);
  transition: width 0.5s var(--ease-out);
  z-index: -1;
}

.service:hover::before { width: 100%; }

.service__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-weight: 500;
  padding-top: 0.4rem;
}

.service__body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: 'opsz' 96, 'SOFT' 30;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  color: var(--fg);
}

.service__body p {
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--fg-2);
  margin-bottom: 1.2rem;
}

.service__details {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--fg-dim);
}

.service__details li {
  position: relative;
  padding-left: 1rem;
}

.service__details li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 500;
}

@media (max-width: 700px) {
  .service { grid-template-columns: 1fr; gap: 0.8rem; }
  .service__details { grid-template-columns: 1fr; }
}

/* ============================================
   METHOD (DARK SECTION)
   ============================================ */
.section--method {
  background: var(--bg-dark);
  color: var(--on-dark);
  max-width: none;
  width: 100%;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.section--method::before {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 50vw; height: 50vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(74, 141, 212, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.section--method > * {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section--method .section__head { padding: 0 var(--gutter); }

.method__title {
  padding: 0 var(--gutter);
  font-family: var(--font-display);
  font-weight: 350;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 4rem;
  max-width: 16ch;
  color: var(--on-dark);
}

.method__title .serif-italic { color: var(--accent-2); }

.method__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--on-dark-trace);
  border: 1px solid var(--on-dark-trace);
  margin: 0 var(--gutter);
}

.step {
  background: var(--bg-dark);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.4s var(--ease);
}

.step:hover { background: var(--bg-darker); }

.step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: 'opsz' 144;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--accent-2);
  line-height: 1;
  letter-spacing: -0.02em;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: 'opsz' 96, 'SOFT' 30;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}

.step p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--on-dark-dim);
}

@media (max-width: 980px) {
  .method__steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .method__steps { grid-template-columns: 1fr; }
}

/* ============================================
   RESULTS / DOMAIN
   ============================================ */
.results__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: 4rem;
}

.results__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.results__copy p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 50ch;
}

@media (max-width: 880px) {
  .results__grid { grid-template-columns: 1fr; }
}

.industries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.industry {
  background: var(--bg);
  padding: 2.25rem 2rem;
  position: relative;
  transition: background 0.4s var(--ease);
}

.industry:hover { background: var(--bg-soft); }

.industry__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 500;
}

.industry h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: 'opsz' 72, 'SOFT' 30;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 0.8rem;
  color: var(--fg);
}

.industry p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--fg-2);
}

@media (max-width: 700px) {
  .industries { grid-template-columns: 1fr; }
}

/* ============================================
   METRICS BAND
   ============================================ */
.metrics {
  background: var(--bg-soft);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--rule);
}

.metric {
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.metric:last-child { border-right: none; }

.metric__value {
  font-family: var(--font-display);
  font-weight: 350;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
}

.metric__unit {
  font-family: var(--font-mono);
  font-size: 0.32em;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 500;
  margin-left: 0.2em;
  vertical-align: 0.4em;
}

.metric__label {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 28ch;
}

@media (max-width: 800px) {
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: 1px solid var(--rule); }
  .metric:last-child { border-bottom: none; }
}

/* ============================================
   WHY MRM
   ============================================ */
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.why__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  position: sticky;
  top: 7rem;
  align-self: start;
}

.why__points { list-style: none; display: flex; flex-direction: column; }

.why__points li {
  padding: 1.75rem 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  align-items: start;
}

.why__points li:last-child { border-bottom: 1px solid var(--rule); }

.why__points strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-variation-settings: 'opsz' 96, 'SOFT' 50;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.why__points span {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg-2);
}

@media (max-width: 880px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__title { position: static; }
  .why__points li { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ============================================
   CONTACT (DARK SECTION)
   ============================================ */
.section--contact {
  background: var(--bg-dark);
  color: var(--on-dark);
  max-width: none;
  width: 100%;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.section--contact::before {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 60vw; height: 60vw;
  max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, rgba(74, 141, 212, 0.16) 0%, transparent 60%);
  pointer-events: none;
}

.section--contact > * {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section--contact .section__head { padding: 0 var(--gutter); }

.contact {
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.contact__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 2rem;
  color: var(--on-dark);
}

.contact__title .serif-italic { color: var(--accent-2); }

.contact__intro p {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--on-dark-dim);
  max-width: 42ch;
  margin-bottom: 2.5rem;
}

.contact__direct {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--on-dark-dim);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact__direct a {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: 'opsz' 96, 'SOFT' 50;
  font-size: 1.5rem;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--accent-2);
  font-weight: 400;
  border-bottom: 1px solid var(--on-dark-trace);
  padding-bottom: 0.3rem;
  width: fit-content;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.contact__direct a:hover {
  color: var(--on-dark);
  border-bottom-color: var(--accent-2);
}

/* Form */
.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 1.4rem;
  padding: 2.5rem;
  background: rgba(245, 247, 250, 0.03);
  border: 1px solid var(--on-dark-trace);
  border-radius: 4px;
  backdrop-filter: blur(10px);
}

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--on-dark-trace);
  color: var(--on-dark);
  padding: 0.5rem 0;
  transition: border-color 0.3s var(--ease);
  font-weight: 400;
}

.field textarea { resize: vertical; min-height: 80px; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A8DD4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.5rem;
}

.field select option { background: var(--bg-dark); color: var(--on-dark); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent-2);
}

.submit {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1rem 1.5rem;
  background: var(--on-dark);
  color: var(--bg-dark);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  margin-top: 0.5rem;
}

.submit__arrow {
  font-family: var(--font-sans);
  transition: transform 0.35s var(--ease-out);
}

.submit:hover {
  background: var(--accent-2);
  color: var(--bg-dark);
}

.submit:hover .submit__arrow { transform: translateX(4px); }

.form__status {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-2);
  min-height: 1.2rem;
}

@media (max-width: 880px) {
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .contact__form { grid-template-columns: 1fr; padding: 1.75rem; }
}

/* ============================================
   FADE-UP SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.fade-up.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .hero__headline .reveal > span,
  .reveal-fade,
  .hero__scroll {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .marquee__track,
  .hero__scroll-line::after { animation: none !important; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-soft);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2.5rem;
  border-top: 1px solid var(--rule);
}

.footer__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
}

.footer__logo { height: 64px; width: auto; }

.footer__tagline {
  font-family: var(--font-display);
  font-weight: 350;
  font-variation-settings: 'opsz' 96, 'SOFT' 30;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--fg);
  text-align: right;
}

.footer__grid {
  max-width: var(--max);
  margin: 3rem auto 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.footer__col { display: flex; flex-direction: column; gap: 0.7rem; }

.footer__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.footer__col a,
.footer__col span {
  font-size: 0.94rem;
  color: var(--fg-2);
  transition: color 0.3s var(--ease);
}

.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 700px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
  }
  .footer__tagline { text-align: left; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================
   CAREERS PAGE
   ============================================ */
.careers-hero {
  position: relative;
  padding: 10rem var(--gutter) 5rem;
  max-width: var(--max);
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.careers-hero::before {
  content: '';
  position: absolute;
  top: 15%; right: -8%;
  width: 45vw; height: 45vw;
  max-width: 650px; max-height: 650px;
  background: radial-gradient(circle, rgba(44, 111, 181, 0.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.careers-hero__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 3rem;
}

.careers-hero__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 350;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(2.6rem, 7.5vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 2.5rem;
  max-width: 14ch;
  color: var(--fg);
}

.careers-hero__sub {
  position: relative;
  z-index: 1;
  max-width: 58ch;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.6;
  color: var(--fg-2);
  font-weight: 350;
}

/* Why join */
.why-join__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 2rem;
}

.why-join__card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.4s var(--ease);
}

.why-join__card:hover { background: var(--bg-soft); }

.why-join__icon {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: 'opsz' 144;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.why-join__card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: 'opsz' 96, 'SOFT' 30;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--fg);
}

.why-join__card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--fg-2);
}

@media (max-width: 880px) {
  .why-join__grid { grid-template-columns: 1fr; }
}

/* Roles / job board */
.roles__list {
  list-style: none;
  display: grid;
  gap: 0;
}

.role {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--rule);
  align-items: center;
  position: relative;
  transition: padding-left 0.4s var(--ease-out);
}

.role:last-child { border-bottom: 1px solid var(--rule); }

.role::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 100%;
  background: linear-gradient(90deg, var(--bg-soft) 0%, transparent 100%);
  transition: width 0.5s var(--ease-out);
  z-index: -1;
}

.role:hover::before { width: 100%; }
.role:hover { padding-left: 1.25rem; }

.role__main { display: flex; flex-direction: column; gap: 0.6rem; }

.role__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.role__tag {
  position: relative;
  padding-left: 0.9rem;
}

.role__tag::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

.role h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: 'opsz' 96, 'SOFT' 30;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.role__blurb {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 65ch;
  margin-top: 0.3rem;
}

.role__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  background: var(--fg);
  color: var(--on-dark);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}

.role__cta-arrow { transition: transform 0.35s var(--ease-out); }

.role__cta:hover { background: var(--accent); }
.role__cta:hover .role__cta-arrow { transform: translateX(3px); }

@media (max-width: 700px) {
  .role { grid-template-columns: 1fr; }
  .role__cta { justify-self: start; }
}

/* Open application callout */
.open-app {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 4px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.open-app__text h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: 'opsz' 96, 'SOFT' 30;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin-bottom: 0.6rem;
}

.open-app__text p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 55ch;
}

@media (max-width: 700px) {
  .open-app { grid-template-columns: 1fr; }
}

/* Light application form (careers page) */
.app-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 1.4rem;
  padding: 2.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.app-form .field label { color: var(--fg-dim); }

.app-form .field input,
.app-form .field select,
.app-form .field textarea {
  border-bottom: 1px solid var(--rule);
  color: var(--fg);
}

.app-form .field input:focus,
.app-form .field select:focus,
.app-form .field textarea:focus {
  border-bottom-color: var(--accent);
}

.app-form .field select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232C6FB5' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

.app-form .field select option { background: var(--bg); color: var(--fg); }

.app-form .submit {
  background: var(--fg);
  color: var(--on-dark);
}

.app-form .submit:hover {
  background: var(--accent);
  color: var(--on-dark);
}

.app-form .form__status { color: var(--accent); }

@media (max-width: 560px) {
  .app-form { grid-template-columns: 1fr; padding: 1.75rem; }
}

/* ============================================
   VERTICALS — INDEX PAGE
   ============================================ */
.vert-hero {
  position: relative;
  padding: 10rem var(--gutter) 5rem;
  max-width: var(--max);
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.vert-hero::before {
  content: '';
  position: absolute;
  top: 15%; right: -8%;
  width: 45vw; height: 45vw;
  max-width: 650px; max-height: 650px;
  background: radial-gradient(circle, rgba(44, 111, 181, 0.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.vert-hero__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 3rem;
}

.vert-hero__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 350;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(2.6rem, 7.5vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 2.5rem;
  max-width: 14ch;
  color: var(--fg);
}

.vert-hero__sub {
  position: relative;
  z-index: 1;
  max-width: 58ch;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.6;
  color: var(--fg-2);
  font-weight: 350;
}

/* Category block */
.vert-category {
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
}

.vert-category__head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: 3.5rem;
}

.vert-category__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--fg);
}

.vert-category__kicker {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.vert-category__intro p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 55ch;
}

@media (max-width: 880px) {
  .vert-category__head { grid-template-columns: 1fr; gap: 1.5rem; }
}

.vert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.vert-card {
  background: var(--bg);
  padding: 2.25rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: background 0.4s var(--ease);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.vert-card:hover { background: var(--bg-soft); }

.vert-card__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 500;
}

.vert-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: 'opsz' 72, 'SOFT' 30;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--fg);
}

.vert-card p {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--fg-2);
  flex: 1;
}

.vert-card__arrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.35s var(--ease-out);
}

.vert-card:hover .vert-card__arrow { gap: 0.9rem; }

@media (max-width: 900px) {
  .vert-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .vert-grid { grid-template-columns: 1fr; }
}

/* ============================================
   VERTICAL SUB-PAGE
   ============================================ */
.breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 2.5rem;
}

.breadcrumb a {
  color: var(--fg-dim);
  transition: color 0.3s var(--ease);
}

.breadcrumb a:hover { color: var(--accent); }

.breadcrumb__sep { color: var(--fg-faint); }
.breadcrumb__current { color: var(--fg); }

/* Sub-page section pairs */
.vert-section {
  padding: clamp(4rem, 7vw, 6rem) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
}

.vert-section--dark {
  background: var(--bg-dark);
  color: var(--on-dark);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  border-bottom: none;
}

.vert-section--dark > .vert-section__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.vert-section__head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 3rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vert-section__num { color: var(--accent); font-weight: 500; }

.vert-section--dark .vert-section__num { color: var(--accent-2); }

.vert-section__label {
  color: var(--fg);
  position: relative;
  padding-left: 1.5rem;
}

.vert-section--dark .vert-section__label { color: var(--on-dark); }

.vert-section__label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 0.75rem;
  height: 1px;
  background: var(--fg-trace);
  transform: translateY(-50%);
}

.vert-section--dark .vert-section__label::before { background: var(--on-dark-trace); }

.vert-section__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 2.5rem;
  max-width: 20ch;
}

.vert-section--dark .vert-section__title { color: var(--on-dark); }
.vert-section--dark .vert-section__title .serif-italic { color: var(--accent-2); }

.vert-section__body {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.vert-section__body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fg-2);
  margin-bottom: 1.3rem;
  max-width: 55ch;
}

.vert-section--dark .vert-section__body p { color: var(--on-dark-dim); }

.vert-section__body p:last-child { margin-bottom: 0; }

@media (max-width: 880px) {
  .vert-section__body { grid-template-columns: 1fr; }
}

/* Build list */
.build-list {
  list-style: none;
  display: grid;
  gap: 0;
}

.build-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}

.build-item:last-child { border-bottom: 1px solid var(--rule); }

.vert-section--dark .build-item { border-top-color: var(--on-dark-trace); }
.vert-section--dark .build-item:last-child { border-bottom-color: var(--on-dark-trace); }

.build-item__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-weight: 500;
  padding-top: 0.2rem;
}

.vert-section--dark .build-item__num { color: var(--accent-2); }

.build-item h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: 'opsz' 72, 'SOFT' 30;
  font-size: 1.4rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.vert-section--dark .build-item h4 { color: var(--on-dark); }

.build-item p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 60ch;
}

.vert-section--dark .build-item p { color: var(--on-dark-dim); }

/* Outcomes grid */
.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--on-dark-trace);
  border: 1px solid var(--on-dark-trace);
  margin-top: 2rem;
}

.outcome {
  background: var(--bg-dark);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.outcome__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 500;
}

.outcome h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: 'opsz' 72, 'SOFT' 30;
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--on-dark);
}

.outcome p {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--on-dark-dim);
}

@media (max-width: 800px) {
  .outcomes { grid-template-columns: 1fr; }
}

/* Next vertical nav */
.next-vert {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 0;
}

.next-vert__label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 0.5rem;
  display: block;
}

.next-vert__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: 'opsz' 96, 'SOFT' 30;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  transition: color 0.3s var(--ease);
}

.next-vert:hover .next-vert__title { color: var(--accent); }

.next-vert__arrow {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.4s var(--ease-out);
}

.next-vert:hover .next-vert__arrow { transform: translateX(6px); }

@media (max-width: 700px) {
  .next-vert { grid-template-columns: 1fr; }
}

/* Verticals grid — "analyze your niche" CTA card */
.vert-card--cta {
  background: var(--bg-soft);
  border-right: 1px solid var(--accent);
  position: relative;
}

.vert-card--cta::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.vert-card--cta:hover {
  background: #EEF2F7;
}

.vert-card--cta:hover::after {
  transform: scaleX(1);
}

.vert-card--cta .vert-card__num {
  color: var(--accent);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 400;
  font-variation-settings: 'opsz' 72;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: none;
}

.vert-card--cta h3 {
  color: var(--accent);
}

.vert-card--cta p {
  color: var(--fg);
}

/* ============================================
   LEGAL PAGES (privacy, terms)
   ============================================ */
.legal-hero {
  position: relative;
  padding: 9rem var(--gutter) 3rem;
  max-width: var(--max);
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.legal-hero::before {
  content: '';
  position: absolute;
  top: 20%; right: -5%;
  width: 35vw; height: 35vw;
  max-width: 500px; max-height: 500px;
  background: radial-gradient(circle, rgba(44, 111, 181, 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.legal-hero__meta {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 1.5rem;
}

.legal-hero__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 350;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  font-size: clamp(2.2rem, 5.5vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
  color: var(--fg);
}

.legal-hero__updated {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
}

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(4rem, 8vw, 6rem);
}

.legal__intro p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--fg);
  margin-bottom: 1.1rem;
  font-weight: 400;
}

.legal h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: 'opsz' 72, 'SOFT' 30;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 2.75rem 0 0.9rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.legal h2:first-of-type {
  padding-top: 0;
  border-top: none;
  margin-top: 1rem;
}

.legal p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--fg-2);
  margin-bottom: 1rem;
}

.legal ul {
  padding-left: 1.3rem;
  margin-bottom: 1rem;
}

.legal li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--fg-2);
  margin-bottom: 0.4rem;
}

.legal li::marker { color: var(--accent); }

.legal a {
  color: var(--accent);
  border-bottom: 1px solid rgba(44, 111, 181, 0.25);
  transition: border-color 0.3s var(--ease);
}

.legal a:hover { border-bottom-color: var(--accent); }

.legal strong { color: var(--fg); font-weight: 600; }

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 3rem;
  padding: 0.85rem 1.4rem;
  background: var(--fg);
  color: var(--on-dark);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.35s var(--ease);
  border-bottom: none;
}

.legal__back:hover {
  background: var(--accent);
  color: var(--on-dark);
  border-bottom: none;
}

.legal__back-arrow {
  transition: transform 0.35s var(--ease-out);
}

.legal__back:hover .legal__back-arrow {
  transform: translateX(-3px);
}
