/* RBlock Laboratories — site styles (2026 brand)
   One family (Archivo, variable wdth + wght). Hierarchy is carried by width:
   expanded (125) for display, normal (100) for reading, condensed (88) for notes. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"),
       url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #2e2bff;      /* Proof blue — the brand field */
  --blue-deep: #1f1cd6; /* pressed / hover on blue */
  --night: #0a0c3d;     /* Night — text and dark fields */
  --paper: #f5f6fa;     /* Paper — page ground */
  --mist: #dfe2ee;      /* Mist — fills and quiet rules */
  --steel: #50566f;     /* Steel — secondary text on paper */
  --haze: #b9bdf7;      /* secondary text on blue / night */
  --signal: #ffd23f;    /* Signal — live computation, focus */
  --white: #ffffff;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: clamp(72px, 10vw, 136px);

  --fs-note: 0.9375rem;
  --fs-body: 1.125rem;
  --fs-lead: clamp(1.1875rem, 1.6vw, 1.375rem);
  --fs-h3: clamp(1.375rem, 2vw, 1.625rem);
  --fs-h2: clamp(2.125rem, 4.6vw, 3.75rem);
  --fs-h1: clamp(2.75rem, 7.4vw, 6.25rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--night);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-body);
  font-stretch: 100%;
  font-weight: 400;
  line-height: 1.6;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }

h1, h2 {
  font-stretch: 125%;
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 0.94; }
h2 { font-size: var(--fs-h2); }
h3 {
  font-size: var(--fs-h3);
  font-stretch: 112%;
  font-weight: 660;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p, li, dd { max-width: 66ch; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--blue); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.on-blue :focus-visible, .on-night :focus-visible { outline-color: var(--signal); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 10;
  background: var(--signal); color: var(--night); padding: 10px 16px; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* The block — end-of-proof mark, used after closing statements */
.qed {
  display: inline-block;
  width: 0.5em; height: 0.5em;
  margin-left: 0.14em;
  background: currentColor;
  vertical-align: baseline;
}
.on-blue .qed { background: var(--white); }
.qed--blue { background: var(--blue); }

/* ---------- Fields ---------- */
.on-blue { background: var(--blue); color: var(--white); }
.on-night { background: var(--night); color: var(--white); }
.on-blue a:hover, .on-night a:hover { text-decoration-color: var(--signal); }

/* ---------- Header ---------- */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.brand-link { display: block; flex: none; }
.brand-link img { height: 30px; width: auto; }

.nav-toggle {
  display: none;
  font: inherit; font-weight: 600; font-size: var(--fs-note);
  color: inherit; background: transparent;
  border: 2px solid currentColor; padding: 8px 14px; cursor: pointer;
}
.nav-list { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); list-style: none; padding: 0; margin: 0; }
.nav-list a { font-size: var(--fs-note); font-weight: 560; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; }
.nav-list a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.nav-list a[aria-current="page"]::before { content: ""; width: 9px; height: 9px; background: currentColor; }
.nav-list .nav-cta {
  background: var(--white); color: var(--blue); padding: 9px 16px; text-decoration: none;
}
.nav-list .nav-cta:hover { background: var(--signal); color: var(--night); text-decoration: none; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: relative; }
  .nav-list {
    display: none;
    position: absolute; right: 0; top: calc(100% + 12px); z-index: 20;
    flex-direction: column; align-items: stretch; gap: 0;
    min-width: 240px; background: var(--night); color: var(--white); padding: 8px;
    box-shadow: 0 18px 40px rgba(10, 12, 61, 0.35);
  }
  .nav-list a { display: flex; padding: 12px 14px; font-size: 1rem; }
  .nav-list .nav-cta { margin-top: 6px; justify-content: center; }
  .site-nav.is-open .nav-list { display: flex; }
}

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 13px 22px;
  font-size: 1rem; font-weight: 620; font-stretch: 108%; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent;
}
.btn--solid { background: var(--blue); color: var(--white); }
.btn--solid:hover { background: var(--night); }
.btn--line { border-color: currentColor; }
.btn--line:hover { background: var(--night); color: var(--white); border-color: var(--night); }
.on-blue .btn--solid { background: var(--white); color: var(--blue); }
.on-blue .btn--solid:hover { background: var(--signal); color: var(--night); }
.on-blue .btn--line:hover, .on-night .btn--line:hover { background: var(--white); color: var(--night); border-color: var(--white); }
.on-night .btn--solid { background: var(--white); color: var(--night); }
.on-night .btn--solid:hover { background: var(--signal); }

.text-link { font-weight: 620; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px); align-items: end;
}
.hero-copy h1 { margin-bottom: var(--space-4); }
.lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 34em; }
.on-blue .lead { color: #eceeff; }
.hero-copy .actions { margin-top: var(--space-4); }

.page-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); margin-bottom: var(--space-3); max-width: 14ch; }
.page-hero .lead { max-width: 38em; }
.page-hero .actions { margin-top: var(--space-4); }

/* Proof panel: simplified IPRC flow */
.proof {
  background: var(--night); color: var(--white);
  padding: clamp(20px, 2.6vw, 30px);
  font-size: var(--fs-note);
}
.proof-stage + .proof-stage { margin-top: 20px; padding-top: 18px; border-top: 2px solid #22266a; }
.proof-where { display: flex; justify-content: space-between; gap: 12px; color: var(--haze); font-stretch: 88%; font-weight: 500; margin-bottom: 10px; }
.proof-where strong { color: var(--white); font-weight: 620; font-stretch: 100%; }
.proof-prompt { font-size: 1.0625rem; line-height: 1.45; min-height: 3em; }
.proof-caret { display: inline-block; width: 0.55em; height: 1.05em; background: var(--signal); vertical-align: -0.15em; margin-left: 2px; }
.proof-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
.cell {
  font-variant-numeric: tabular-nums; font-stretch: 88%; font-weight: 520; font-size: 0.8125rem;
  text-align: center; padding: 5px 0; background: #161a5c; color: #8e93d8;
  transition: background-color 120ms linear, color 120ms linear;
}
.cell.is-live { background: var(--signal); color: var(--night); }
.cell.is-done { background: #2a2f86; color: #d5d8ff; }
.cell.is-empty { color: transparent; }
.proof-result { font-size: 1.0625rem; line-height: 1.45; min-height: 3em; }
.proof-result .qed { background: var(--signal); }
.proof-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; color: var(--haze); font-stretch: 88%; }
.proof-replay {
  font: inherit; font-weight: 600; color: var(--white); background: transparent;
  border: 2px solid #3b40a0; padding: 6px 12px; cursor: pointer; flex: none;
}
.proof-replay:hover { border-color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: var(--space-6) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-4); align-items: end; margin-bottom: var(--space-5); }
.section-head .lead { color: var(--steel); }
.on-night .section-head .lead { color: var(--haze); }

.section:not(.on-night):not(.on-white) + .section:not(.on-night):not(.on-white) { padding-top: var(--space-4); }
.on-white { background: var(--white); }

/* Research feature (IPRC) */
.research-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.research-intro h2 { margin-bottom: var(--space-3); }
.research-intro .motto {
  font-stretch: 125%; font-weight: 640; font-size: var(--fs-h3); line-height: 1.25;
  color: var(--blue); margin: var(--space-3) 0;
}
.research-intro p + p { margin-top: var(--space-2); }
.research-intro .actions { margin-top: var(--space-4); }

.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start;
  padding: 20px 0; border-top: 2px solid var(--mist);
  max-width: none;
}
.steps li:last-child { border-bottom: 2px solid var(--mist); }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--blue); color: var(--white);
  font-weight: 700; font-stretch: 125%; font-size: 1.125rem;
}
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--steel); }

.guarantees { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); margin-top: var(--space-5); }
.guarantees div { border-top: 4px solid var(--night); padding-top: 16px; }
.guarantees dt { font-weight: 660; font-stretch: 112%; margin-bottom: 6px; }
.guarantees dd { color: var(--steel); font-size: 1rem; }

.guarantees--two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.split .guarantees--two { margin-top: 6px; }


/* Research lines (home) */
.topics { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); }
.topics li { max-width: none; border-top: 4px solid var(--blue); padding-top: 16px; }
.topics h3 { margin-bottom: 8px; }
.topics p { color: var(--steel); font-size: 1rem; }

/* Secondary note box (research project listing, careers) */
.note-box, .careers-note { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; padding: 22px 28px; background: var(--mist); }
.note-box p, .careers-note p { max-width: 60ch; }
.note-box strong { font-weight: 660; }
.note-box .btn { min-height: 46px; padding: 10px 18px; }

/* Investment thesis: deck request */
.deck-box { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; padding: clamp(24px, 3.4vw, 40px); }
.deck-box h3 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-stretch: 125%; font-weight: 720; margin-bottom: 10px; }
.deck-box p { max-width: 60ch; color: #eceeff; }
#investment .research-intro h3 { margin-bottom: var(--space-2); }
.footer-bottom a { color: var(--white); }

/* Practices */
.practices { list-style: none; padding: 0; }
.practice {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
  gap: var(--space-3) clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 44px) 0; border-top: 3px solid var(--night);
  max-width: none;
}
.practice:last-child { border-bottom: 3px solid var(--night); }
.practice h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-stretch: 125%; font-weight: 720; line-height: 1.08; letter-spacing: -0.015em;
}
.practice h3::before {
  content: ""; display: block; width: 14px; height: 14px; background: var(--night); margin-bottom: 18px;
  transition: background-color 160ms linear;
}
.practice:hover h3::before { background: var(--blue); }
.practice-body p + p { margin-top: 12px; }
.practice-body .detail { color: var(--steel); }
.practice-meta { font-size: 1rem; }
.practice-meta dt { font-weight: 640; font-stretch: 100%; }
.practice-meta dd { color: var(--steel); margin-bottom: 14px; }
.practice-meta a { font-weight: 640; color: var(--night); }
.practice-meta a:hover { color: var(--blue); }
.practice-meta .btn--solid { color: var(--white); margin-top: 4px; }
.practice-meta .btn--solid:hover { color: var(--white); }
.practice--lead h3::before { background: var(--blue); }

/* Method */
.method { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); }
.method li { max-width: none; }
.progress { display: flex; gap: 6px; margin-bottom: 22px; }
.progress span { width: 18px; height: 18px; border: 2px solid #4a4f9e; }
.progress span.on { background: var(--white); border-color: var(--white); }
.method h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-stretch: 125%; font-weight: 720; margin-bottom: 10px; }
.method p { color: var(--haze); font-size: 1.0625rem; }

/* Comparison table (research page) */
.table-scroll { overflow-x: auto; }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 1rem; }
.compare caption { text-align: left; color: var(--steel); font-stretch: 88%; padding-bottom: 14px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 20px 18px 0; border-top: 2px solid var(--mist); }
.compare thead th { border-top: 0; border-bottom: 3px solid var(--night); font-weight: 660; font-stretch: 100%; padding-bottom: 12px; }
.compare tbody th { font-weight: 660; font-stretch: 112%; width: 22%; }
.compare tr.is-feature th, .compare tr.is-feature td { background: #e8e8ff; }
.compare tr.is-feature th { padding-left: 14px; box-shadow: inset 4px 0 0 var(--blue); }

/* Research focus highlight (research page): the TEE and MPC rows are swept with a
   highlighter band when the table scrolls into view. Without JavaScript, or with reduced
   motion, the highlighted state shows straight away; site.js adds .is-armed to start unlit. */
.compare--focus { --hl: #e4e4ff; }
.compare--focus th, .compare--focus td { padding-left: 16px; }
.compare--focus tbody tr { transition: color 500ms ease 200ms; }
.compare--focus tbody tr:not(.is-focus) { color: var(--steel); }
.compare--focus tr.is-focus { --row: 0ms; }
.compare--focus tr.is-focus:nth-child(4) { --row: 380ms; }
.compare--focus tr.is-focus:nth-child(5) { --row: 760ms; }
.compare--focus tr.is-focus > * {
  background-image: linear-gradient(var(--hl), var(--hl));
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: background-size 620ms cubic-bezier(.22, .7, .2, 1) calc(var(--row) + var(--cell, 0ms));
}
.compare--focus tr.is-focus > :nth-child(2) { --cell: 110ms; }
.compare--focus tr.is-focus > :nth-child(3) { --cell: 220ms; }
.compare--focus tr.is-focus > :nth-child(4) { --cell: 330ms; }
.compare--focus tr.is-focus th { position: relative; }
.compare--focus tr.is-focus th::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--blue);
  transform-origin: top; transition: transform 420ms cubic-bezier(.22, .7, .2, 1) var(--row);
}
.focus-tag {
  display: flex; align-items: center; gap: 7px; margin-top: 10px;
  font-size: 0.8125rem; font-stretch: 88%; font-weight: 640; letter-spacing: 0; color: var(--blue);
  transition: opacity 400ms ease calc(var(--row) + 500ms), transform 400ms ease calc(var(--row) + 500ms);
}
.focus-tag::before { content: ""; width: 9px; height: 9px; background: var(--blue); flex: none; }

.focus-note {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px clamp(24px, 4vw, 48px); align-items: center;
  margin-top: var(--space-4); padding: clamp(22px, 3vw, 32px); background: var(--night); color: var(--white);
  transition: opacity 600ms ease 1500ms, transform 600ms cubic-bezier(.22, .7, .2, 1) 1500ms;
}
.focus-eq { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-stretch: 125%; font-weight: 760; font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1; }
.focus-eq span { background: var(--blue); padding: 14px 16px; }
.focus-eq b { color: var(--haze); font-weight: 600; }
.focus-note h3 { color: var(--white); margin-bottom: 8px; }
.focus-note p { color: var(--haze); max-width: 72ch; }

.compare--focus.is-armed tbody tr:not(.is-focus) { color: var(--night); }
.compare--focus.is-armed tr.is-focus > * { background-size: 0% 100%; }
.compare--focus.is-armed tr.is-focus th::before { transform: scaleY(0); }
.compare--focus.is-armed .focus-tag { opacity: 0; transform: translateY(4px); }
.focus-note.is-armed { opacity: 0; transform: translateY(12px); }
@media (max-width: 640px) { .focus-note { grid-template-columns: minmax(0, 1fr); } }

.outputs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); list-style: none; padding: 0; }
.outputs li { border-top: 4px solid var(--blue); padding-top: 14px; max-width: none; }
.outputs strong { display: block; font-stretch: 112%; font-weight: 660; margin-bottom: 4px; }
.outputs span { color: var(--steel); font-size: 1rem; }

/* FAQ */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.split > div:first-child p { color: var(--steel); margin-top: var(--space-3); }
.faq details { border-top: 2px solid var(--mist); }
.faq details:last-child { border-bottom: 2px solid var(--mist); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 22px 0; font-size: var(--fs-h3); font-stretch: 108%; font-weight: 620; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border: 3px solid var(--night); transition: background-color 120ms linear; }
.faq details[open] summary::after { background: var(--blue); border-color: var(--blue); }
.faq details p { padding: 0 0 24px; color: var(--steel); }

/* Careers */
.roles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-4); }
.roles li { max-width: none; }
.roles h3 { margin-bottom: 8px; }
.roles p { color: var(--steel); }

/* Investment band */
.invest { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.invest-list { list-style: none; padding: 0; columns: 2; column-gap: var(--space-4); }
.invest-list li { break-inside: avoid; padding: 12px 0; border-top: 2px solid var(--mist); font-weight: 560; }
.invest p + p { margin-top: var(--space-2); }
.invest .actions { margin-top: var(--space-4); }
.invest .detail { color: var(--steel); }

/* Contact band */
.contact { padding: var(--space-6) 0; }
.contact h2 { font-size: clamp(2.5rem, 6.2vw, 5.25rem); max-width: 13ch; margin-bottom: var(--space-5); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.contact-grid h3 { font-size: 1.0625rem; font-stretch: 100%; font-weight: 620; color: #dcdcff; margin-bottom: 8px; }
.contact-grid a { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 640; font-stretch: 112%; overflow-wrap: anywhere; }
.contact-grid p { color: #dcdcff; font-size: 1rem; margin-top: 8px; }

/* Footer */
.site-footer { padding: var(--space-5) 0 var(--space-4); font-size: var(--fs-note); }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: var(--space-4); padding-bottom: var(--space-5); }
.footer-top img { height: 56px; width: auto; }
.footer-top .tag { color: var(--haze); margin-top: 18px; max-width: 30ch; }
.footer-top h2 { font-size: var(--fs-note); font-stretch: 100%; font-weight: 640; letter-spacing: 0; line-height: 1.4; margin-bottom: 10px; color: var(--haze); }
.footer-top ul { list-style: none; padding: 0; }
.footer-top li { padding: 4px 0; }
.footer-top a { text-decoration: none; }
.footer-top a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 2px solid #22266a; color: var(--haze); }

/* 404 */
.notfound { min-height: 100vh; display: flex; flex-direction: column; }
.notfound main { flex: 1; display: flex; align-items: center; }
.notfound h1 { margin-bottom: var(--space-3); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .research-grid, .section-head, .split, .split--even, .invest { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { align-items: start; }
  .practice { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .practice h3 { grid-column: 1 / -1; }
  .guarantees, .method, .outputs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .practice, .topics, .guarantees, .guarantees--two, .method, .outputs, .roles, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .invest-list { columns: 1; }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .brand-link img { height: 24px; }
  .proof-grid { gap: 3px; }
  .cell { font-size: 0.75rem; }
  .steps li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .steps li::before { width: 36px; height: 36px; font-size: 1rem; }
}

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

/* Email address shown after someone clicks an email link (see site.js) */
.mail-reveal { display: inline-block; margin-left: 10px; font-size: var(--fs-note); font-weight: 500; font-stretch: 100%; user-select: all; overflow-wrap: anywhere; }
.contact-grid .mail-reveal, .practice-meta .mail-reveal, .deck-box .mail-reveal, .careers-note .mail-reveal { display: block; margin: 8px 0 0; }
