/* Modernist design-system tokens (from the Claude Design handoff) + CoreVanta page styles. */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;800&display=swap');

:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201e1d;
  --color-accent: #ec3013;
  --color-divider: color-mix(in srgb, #201e1d 40%, transparent);

  --color-neutral-300: #d7d3d3;
  --color-neutral-600: #7d7979;
  --color-neutral-700: #605d5d;
  --color-neutral-800: #444141;
  --color-neutral-900: #2d2b2b;

  --color-accent-100: #fff2ef;
  --color-accent-400: #ff9783;
  --color-accent-600: #dd2b0f;
  --color-accent-700: #ae1800;
  --color-accent-800: #7c1405;

  --font-heading: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-body); font-size: 15px; line-height: 1.55; font-weight: 400;
  text-wrap: pretty; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-heading); font-weight: 800; margin: 0; }
p { margin: 0; }
a { color: var(--color-accent-700); text-underline-offset: 3px; }
a:hover { color: var(--color-accent); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
[hidden] { display: none !important; }

/* ---------- design-system components ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: 800; font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent; padding: var(--space-2) calc(var(--space-3) * 1.2); border-radius: 0;
}
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }
.btn-lg { padding: 14px 20px; font-size: 15px; }
.btn-inverse { color: var(--color-bg); border: 1px solid var(--color-bg); }
.btn-inverse:hover { background: color-mix(in srgb, var(--color-bg) 12%, transparent); }

.tag { display: inline-flex; align-items: center; font-size: 11px; letter-spacing: .02em; padding: 3px 10px; }
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-neutral { background: #f8f4f4; color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

.field > label { display: block; font-size: 12px; margin-bottom: 5px; color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit; font-size: 14px; color: var(--color-text);
  caret-color: var(--color-accent); background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: 0;
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }
.seg { display: inline-flex; flex-wrap: wrap; overflow: hidden; border: 1px solid var(--color-divider); }
.seg-opt { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; font-size: 13px; cursor: pointer; }
.seg-opt input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { background: var(--color-accent); color: var(--color-bg); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* ---------- layout primitives ---------- */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.rule { border-top: 2px solid var(--color-divider); }
.tnum { font-feature-settings: 'tnum' 1; }
.kicker { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-accent-700); margin: 0 0 24px; }
.label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-neutral-700); }
.meta { font-size: 13px; color: var(--color-neutral-700); font-feature-settings: 'tnum' 1; }
.lede { font-size: 16px; line-height: 1.6; max-width: 40ch; color: var(--color-neutral-800); }
.copy { font-size: 16.5px; line-height: 1.65; color: var(--color-neutral-800); }
.sq { display: block; flex: none; background: var(--color-accent); }
.sq-8 { width: 8px; height: 8px; } .sq-10 { width: 10px; height: 10px; } .sq-12 { width: 12px; height: 12px; }

.display { line-height: .94; letter-spacing: -0.035em; margin-left: -0.05em; font-size: clamp(44px, 7.6vw, 120px); }
.display-hero { font-size: clamp(52px, 9.4vw, 152px); }
.display-contact { font-size: clamp(40px, 5.6vw, 88px); }
.display .line { display: block; overflow: hidden; }
.display .line > span { display: block; animation: cv-rise .8s var(--ease) both; }
.display .line:nth-child(1) > span { animation-delay: .05s; }
.display .line:nth-child(2) > span { animation-delay: .17s; }
.display-hero .line > span { animation-duration: .9s; }
.display-hero .line:nth-child(1) > span { animation-delay: .1s; }
.display-hero .line:nth-child(2) > span { animation-delay: .22s; }
.display-hero .line:nth-child(3) > span { animation-delay: .34s; }
.accent { color: var(--color-accent); }

.h-section { font-size: clamp(36px, 4.6vw, 68px); line-height: 1; letter-spacing: -0.03em; margin-left: -0.04em; }
.h-card { font-size: clamp(24px, 2vw, 30px); line-height: 1.08; letter-spacing: -0.02em; }
.h-row { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.15; letter-spacing: -0.015em; }
.sechead { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cellgrid { display: grid; gap: 2px; background: var(--color-divider); border: 2px solid var(--color-divider); }
.cellgrid > * { background: var(--color-bg); }
.cols4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cells { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-head { padding: 96px 0 64px; }
.page-head .kicker { animation: cv-fade .6s both; }
.fade { animation: cv-fade .7s .3s both; }

/* ---------- nav / progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--color-accent); transform-origin: left; transform: scaleX(0); z-index: 50; pointer-events: none; }
.nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: var(--space-6); height: 64px;
  background: var(--color-bg); border-bottom: 2px solid var(--color-divider);
  padding-inline: max(var(--gutter), calc((100% - 1320px) / 2 + var(--gutter)));
}
.nav a { color: inherit; text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--color-accent); }
.nav-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; font-family: var(--font-heading); font-weight: 800; font-size: 17px !important; letter-spacing: -0.01em; }
.nav-brand small { font-weight: 400; font-size: inherit; color: var(--color-neutral-700); }
.nav-links { display: flex; gap: var(--space-8); align-items: center; }

/* ---------- home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; min-height: calc(100vh - 64px); padding: 72px 0 56px; align-items: end; }
.hero-tag { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-accent-700); animation: cv-fade .8s .1s both; }
.hero-tag .sq { animation: cv-pulse 2s infinite; }
.hero h1 { margin-top: 36px; }
.hero-cta { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-top: 48px; animation: cv-fade .9s .6s both; }
.hero-cta p { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; max-width: 48ch; color: var(--color-neutral-800); }
.hero-cta div { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.feed { border-left: 2px solid var(--color-divider); padding-left: 24px; align-self: end; animation: cv-fade 1s .8s both; }
.feed-head { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-neutral-700); margin: 0 0 16px; display: flex; justify-content: space-between; }
.feed-head .accent { animation: cv-blink 1.2s step-end infinite; }
.feed-row { display: grid; grid-template-columns: 52px 1fr; gap: 12px; font-size: 13px; line-height: 20px; padding: 8px 0; border-top: 1px solid var(--color-neutral-300); }
.feed-row span:first-child { color: var(--color-neutral-700); }
.ticker { border-top: 2px solid var(--color-divider); border-bottom: 2px solid var(--color-divider); overflow: hidden; white-space: nowrap; padding: 16px 0; }
.ticker-track { display: inline-flex; animation: cv-marquee 36s linear infinite; will-change: transform; }
.ticker-item { display: inline-flex; align-items: center; gap: 20px; padding-right: 20px; font-family: var(--font-heading); font-weight: 800; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }
.ticker-item .tnum { color: var(--color-accent-700); }
.stats { margin: 96px 0 0; }
.stats > div { padding: 28px 24px 24px; }
.stats p:first-child { font-family: var(--font-heading); font-weight: 800; font-size: clamp(40px, 4.4vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.stats .label { margin-top: 24px; }
.stats .unit { font-size: .4em; letter-spacing: 0; }
.services-home { padding: 128px 0 0; }
.cell { position: relative; overflow: hidden; padding: 28px 28px 32px; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; transition: background .35s, color .35s; color: inherit; text-decoration: none; }
.cell > * { position: relative; }
.cell-head { display: flex; justify-content: space-between; align-items: start; font-size: 13px; }
.cell p { font-size: 14.5px; line-height: 1.55; margin-top: 16px; color: var(--color-neutral-700); max-width: 36ch; transition: color .35s; }
.ghost { position: absolute !important; right: -8px; bottom: -32px; font-family: var(--font-heading); font-weight: 800; font-size: 200px; line-height: 1; letter-spacing: -0.06em; color: var(--color-neutral-300); opacity: .55; transform: translate(12px, 12px); transition: all .5s var(--ease); pointer-events: none; }
.arrow { font-family: var(--font-heading); font-weight: 800; font-size: 22px; line-height: 1; display: inline-block; transition: all .35s var(--ease); }
.cell:hover { background: var(--color-text); color: var(--color-bg); }
.cell:hover .ghost { color: var(--color-accent); opacity: 1; transform: translate(0, 0) scale(1.05); }
.cell:hover .arrow { transform: translate(8px, -8px); color: var(--color-accent); }
.cell:hover p { color: var(--color-neutral-300); }
.cell-cta { background: var(--color-accent) !important; color: var(--color-bg); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; }
.cell-cta .btn { margin-top: 20px; padding: 10px 14px; }
.poster { position: relative; margin: 128px 0 0; background: var(--color-text); color: var(--color-bg); overflow: hidden; }
.poster-grid { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(243,242,242,.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(243,242,242,.07) 1px, transparent 1px); background-size: 48px 48px; animation: cv-grid 6s linear infinite; pointer-events: none; }
.poster-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--color-accent); animation: cv-scan 8s linear infinite; pointer-events: none; }
.poster .wrap { position: relative; padding-block: 128px; }
.poster .kicker { color: var(--color-accent-400); margin-bottom: 40px; }
.statement { font-size: clamp(40px, 6.8vw, 108px); line-height: .96; letter-spacing: -0.035em; margin-left: -0.04em; max-width: 14ch; }
.word { display: inline-block; transition: color .3s; }
.statement:hover .word { color: var(--color-neutral-600); }
.statement .word:hover { color: var(--color-accent) !important; }
.poster-body { gap: 32px 96px; margin-top: 72px; border-top: 1px solid rgba(243,242,242,.25); padding-top: 40px; }
.poster-body > p { font-size: 17px; line-height: 1.65; max-width: 46ch; color: var(--color-neutral-300); }
.poster-list { align-self: end; }
.poster-list div { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid rgba(243,242,242,.25); align-items: baseline; }
.poster-list .tnum { font-size: 13px; color: var(--color-accent-400); }
.poster-list b { font-family: var(--font-heading); font-weight: 800; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -0.015em; }
.block { padding-top: 128px; }
.block .sechead { margin-bottom: 28px; }
.advrow { color: inherit; text-decoration: none; display: grid; grid-template-columns: 170px minmax(0, 1fr) 180px 110px 32px; gap: 24px; align-items: center; padding: 26px 12px; margin: 0 -12px; border-bottom: 2px solid var(--color-divider); cursor: pointer; transition: background .25s; }
.advrow-lg { align-items: start; padding: 32px 12px; }
.advrow h3, .advrow h2 { transition: color .25s; }
.advrow h2 { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.08; letter-spacing: -0.02em; }
.advrow .summary { font-size: 15px; line-height: 1.6; color: var(--color-neutral-800); margin-top: 14px; max-width: 64ch; }
.advrow .meta { line-height: 1.6; }
.advrow .meta b { font-weight: 400; color: var(--color-text); display: block; }
.advrow .arrow { font-size: 20px; color: var(--color-accent); transition: transform .3s var(--ease); }
.advrow:hover { background: var(--color-surface); }
.advrow:hover h3, .advrow:hover h2 { color: var(--color-accent-700); }
.advrow:hover .arrow { transform: translateX(8px); }
.principles { gap: 48px; border-top: 2px solid var(--color-divider); padding-top: 40px; }
.principle { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--color-neutral-300); }
.principle .tnum { font-family: var(--font-heading); font-weight: 800; font-size: 15px; color: var(--color-accent); }
.principle h3 { font-size: 22px; line-height: 1.15; letter-spacing: -0.015em; }
.principle p { font-size: 15px; line-height: 1.6; color: var(--color-neutral-800); margin-top: 10px; max-width: 52ch; }

/* ---------- services ---------- */
.svc { gap: 40px 64px; padding: 56px 0; border-top: 2px solid var(--color-divider); }
.svc-num { font-family: var(--font-heading); font-weight: 800; font-size: clamp(64px, 8vw, 120px); line-height: .9; letter-spacing: -0.05em; color: var(--color-accent); display: block; margin-left: -0.04em; }
.svc h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.04; letter-spacing: -0.025em; margin-top: 28px; }
.svc > div > p { font-size: 16.5px; line-height: 1.6; margin-top: 20px; color: var(--color-neutral-800); max-width: 50ch; }
.svc-deliv { align-self: end; }
.svc-deliv .label { margin-bottom: 8px; }
.svc-deliv p { font-family: var(--font-heading); font-weight: 800; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.2; letter-spacing: -0.01em; padding: 18px 0; border-top: 1px solid var(--color-neutral-300); display: flex; gap: 16px; align-items: baseline; }
.phases { padding: 96px 0 128px; }
.phases .kicker { margin-bottom: 40px; }
.phase { padding: 24px; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; }
.phase > .tnum { font-size: 13px; color: var(--color-accent-700); }
.phase h3 { font-size: 20px; line-height: 1.15; letter-spacing: -0.015em; }
.phase p { font-size: 14px; line-height: 1.55; color: var(--color-neutral-700); margin-top: 12px; }
.phase .label { margin-top: 16px; color: var(--color-neutral-800); }

/* ---------- advisories ---------- */
.adv-head { padding: 96px 0 48px; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.adv-head .lede { max-width: 44ch; }
.filters { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 24px 0; }
.tools { padding: 96px 0 0; }
.tools .kicker { margin-bottom: 32px; }
.tool { gap: 40px; min-height: 260px; padding: 28px; }
.tool h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1; letter-spacing: -0.025em; }
.tool p { font-size: 14.5px; line-height: 1.6; margin-top: 0; max-width: none; }
.pubs { padding: 96px 0 128px; }
.pub { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--color-neutral-300); }
.pub a, .pub b { font-family: var(--font-heading); font-weight: 800; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.2; letter-spacing: -0.01em; color: inherit; text-decoration: none; }

/* ---------- advisory detail ---------- */
.detail { padding: 56px var(--gutter) 128px; }
.detail .btn-ghost { margin-left: -4px; animation: cv-fade .5s both; }
.detail-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px 96px; margin-top: 48px; align-items: start; }
.detail h1 { font-size: clamp(36px, 5vw, 76px); line-height: .98; letter-spacing: -0.03em; margin-left: -0.04em; animation: cv-fade .7s .1s both; }
.detail .meta { margin-bottom: 20px; animation: cv-fade .6s .05s both; }
.detail .summary { font-size: 19px; line-height: 1.55; margin-top: 32px; color: var(--color-neutral-800); animation: cv-fade .7s .2s both; max-width: 60ch; }
.detail hr { height: 2px; border: 0; margin: 48px 0; background: var(--color-divider); }
.detail-body { max-width: 68ch; }
.detail-body section { margin-bottom: 40px; }
.detail-body h2 { font-size: 22px; line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 14px; display: flex; gap: 14px; align-items: baseline; }
.detail-body p { font-size: 17px; line-height: 1.7; color: var(--color-neutral-900); }
.facts { position: sticky; top: 88px; border: 2px solid var(--color-divider); padding: 24px; font-size: 14px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--color-neutral-300); }
.facts div:last-of-type { border-bottom: 0; }
.facts div span:first-child { color: var(--color-neutral-700); }
.facts div span:last-child { text-align: right; }
.facts .btn { width: 100%; justify-content: flex-start; margin-top: 8px; }
.facts .btn-primary { margin-top: 20px; }
.facts .link { display: block; margin-top: 10px; font-size: 12px; line-height: 1.5; word-break: break-all; color: var(--color-neutral-700); }

/* ---------- about / contact ---------- */
.about-co { gap: 40px 96px; border-top: 2px solid var(--color-divider); padding: 64px 0; }
.about-co h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.04; letter-spacing: -0.025em; }
.about-co .copy { font-size: 18px; line-height: 1.6; color: inherit; }
.about-co .copy + .copy { margin-top: 24px; }
.research-list { margin-top: 40px; border-top: 2px solid var(--color-divider); }
.research-list > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--color-neutral-300); }
.research-list .tnum { font-size: 13px; color: var(--color-accent-700); }
.research-list b { font-family: var(--font-heading); font-weight: 800; font-size: 20px; letter-spacing: -0.015em; }
.research-list p { font-size: 14.5px; line-height: 1.55; color: var(--color-neutral-800); margin-top: 8px; }
.policy { border-top: 2px solid var(--color-divider); padding: 64px 0 128px; }
.policy .kicker { margin-bottom: 32px; }
.policy .grid2 { gap: 32px 96px; }
.contact { padding: 96px var(--gutter) 128px; gap: 56px 96px; }
.contact .copy { font-size: 16.5px; line-height: 1.6; margin-top: 32px; max-width: 46ch; }
.contact dl { margin: 48px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 32px; font-size: 14px; line-height: 1.5; animation: cv-fade .7s .4s both; border-top: 2px solid var(--color-divider); padding-top: 24px; }
.contact dt { color: var(--color-neutral-700); }
.contact dd { margin: 0; }
.contact form, .sent { border: 2px solid var(--color-divider); padding: 28px; }
.contact form { display: grid; gap: 20px; }
.contact form .grid2 { gap: 20px; }
.contact form .actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.sent { animation: cv-fade .6s both; }
.sent .sq { margin-bottom: 24px; animation: cv-pulse 2s infinite; }
.sent h2 { font-size: 32px; line-height: 1.05; letter-spacing: -0.02em; }
.sent p { font-size: 16px; line-height: 1.6; margin-top: 18px; color: var(--color-neutral-800); }
.sent .btn { margin-top: 28px; }

/* ---------- close + footer ---------- */
.close { background: var(--color-accent); color: var(--color-bg); margin-top: 128px; }
.close .wrap { padding-block: 112px; display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.close h3 { font-size: clamp(44px, 7vw, 112px); line-height: .94; letter-spacing: -0.035em; margin-left: -0.05em; }
footer { border-top: 2px solid var(--color-divider); }
footer .wrap { padding-block: 40px; font-size: 13px; line-height: 1.6; color: var(--color-neutral-700); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 24px; }
footer a { color: inherit; text-decoration: none; }

/* ---------- motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-wipe] { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); }
[data-reveal-wipe].in { clip-path: inset(0 0 0 0); }
@keyframes cv-rise { from { opacity: 0; transform: translateY(110%); } to { opacity: 1; transform: none; } }
@keyframes cv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cv-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes cv-scan { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
@keyframes cv-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes cv-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: .4; } }
@keyframes cv-grid { from { background-position: 0 0; } to { background-position: 0 48px; } }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-wipe] { transition: none; opacity: 1; transform: none; clip-path: none; }
  * { animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .feed { display: none; }
  .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advrow { grid-template-columns: 110px minmax(0, 1fr); }
  .advrow .advmeta, .advrow .arrow { display: none; }
  .grid2 { grid-template-columns: 1fr; }
  .cols5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { position: static; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav { gap: var(--space-3); }
  .nav-brand small { display: none; }
  .cells, .cols5 { grid-template-columns: 1fr; }
  .cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advrow { grid-template-columns: 1fr; }
}
