/* ORLOV design system — shared across /, /giga-watt/, /cowow/, /mygenes/, /ru/ */

@font-face {
  font-family: 'Tanker';
  src: url('/assets/fonts/Tanker-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
/* Cyrillic display for /ru/ */
@font-face {
  font-family: 'Unbounded';
  src: url('/assets/fonts/Unbounded-800-cyr.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  src: url('/assets/fonts/Unbounded-800-lat.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2026, U+20AC;
}

:root {
  --bg0: #0e100e;
  --bg1: #151815;
  --bg2: #0a0c0a;
  --ink: #eaeee7;
  --dim: #a7b0a3;
  --faint: #7b8578;
  --org: #f08a4a;
  --org-dim: #cf6f34;
  --grn: #5fce8b;
  --grn-dim: #43a86c;
  --pur: #a98ce6;
  --pur-dim: #8a70c4;
  --ylw: #e9c45c;
  --err: #e0765c;
  --edge: rgba(234, 238, 231, 0.09);
  --edge-soft: rgba(234, 238, 231, 0.05);
  --display: 'Tanker', 'Arial Black', sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, monospace;
  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 44px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--body);
  background: var(--bg0);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16.5px;
  overflow-x: hidden;
}
::selection { background: var(--org); color: var(--bg2); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ------------------------------------------------ nav */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
#nav.scrolled { background: rgba(10, 12, 10, 0.88); backdrop-filter: blur(10px); border-bottom-color: var(--edge-soft); }
.nav-in { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand svg { display: block; }
.brand b { font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: 0.14em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.act) {
  font-size: 13.5px; color: var(--dim); text-decoration: none;
  transition: color 0.25s;
}
.nav-links a:not(.act):hover { color: var(--ink); }
.nav-links a.cur { color: var(--vc, var(--ink)); font-weight: 600; }
.nav-links .lang { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; }

/* single action treatment, reused site-wide: solid ink, chamfered top-right corner */
.act {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--body); font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
  color: var(--bg2); background: var(--grn); text-decoration: none;
  padding: 11px 22px; border: 0; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
  transition: background 0.3s var(--ease);
}
.act:hover { background: var(--org); }
.act .aw { display: inline-block; transition: transform 0.3s var(--ease); }
.act:hover .aw { transform: translateX(4px); }
.act:focus-visible { outline: 2px solid var(--org); outline-offset: 3px; }
@media (max-width: 860px) { .nav-links a:not(.act):not(.lang) { display: none; } }

/* quiet secondary action: plain underlined text link */
.quiet {
  color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: underline;
  text-decoration-color: var(--faint); text-underline-offset: 4px;
  transition: text-decoration-color 0.25s;
}
.quiet:hover { text-decoration-color: var(--ink); }

/* ------------------------------------------------ hero (home) */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 108px; padding-bottom: clamp(28px, 5vh, 56px);
  position: relative;
  background:
    linear-gradient(118deg, rgba(234, 238, 231, 0.055), transparent 44%),
    linear-gradient(180deg, #121412, var(--bg0) 62%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: 0.06; z-index: 0;
}
.hero > .wrap { position: relative; z-index: 1; }

.wordmark {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(4.6rem, 18.6vw, 14.6rem);
  line-height: 0.94; letter-spacing: 0.045em;
  user-select: none;
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: clamp(20px, 4vh, 44px);
}
.wordmark span { display: inline-block; transition: color 0.4s var(--ease); }
.wordmark span:nth-child(1):hover { color: var(--org); }
.wordmark span:nth-child(2):hover { color: var(--grn); }
.wordmark span:nth-child(3):hover { color: var(--pur); }
.wordmark span:nth-child(4):hover { color: var(--ylw); }
@media (prefers-reduced-motion: no-preference) {
  .wordmark span { animation: rise 0.85s var(--ease) both; }
  .wordmark span:nth-child(1) { animation-delay: 0.05s; }
  .wordmark span:nth-child(2) { animation-delay: 0.11s; }
  .wordmark span:nth-child(3) { animation-delay: 0.17s; }
  .wordmark span:nth-child(4) { animation-delay: 0.23s; }
  .wordmark span:nth-child(5) { animation-delay: 0.29s; }
  @keyframes rise { from { transform: translateY(0.32em); } to { transform: translateY(0); } }
}

/* --- the schematic: single-line power diagram, bus + five taps --- */
.schematic { margin-bottom: 14px; }
.schematic svg { display: block; width: 100%; height: auto; }
.sch-stroke { stroke: rgba(234, 238, 231, 0.5); stroke-width: 2; fill: none; stroke-linecap: round; }
.t-org { stroke: var(--org); stroke-width: 2.1; fill: none; stroke-linecap: round; }
.t-grn { stroke: var(--grn); stroke-width: 2.1; fill: none; stroke-linecap: round; }
.t-pur { stroke: var(--pur); stroke-width: 2.1; fill: none; stroke-linecap: round; }
.t-ylw { stroke: var(--ylw); stroke-width: 2.1; fill: none; stroke-linecap: round; }
.t-ink { stroke: var(--ink); stroke-width: 2.3; fill: none; stroke-linecap: round; }
.t-org, .t-grn, .t-pur, .t-ylw, .t-ink { stroke-linejoin: round; }
.t-org.led-body { fill: var(--org); } .t-grn.led-body { fill: var(--grn); } .t-pur.led-body { fill: var(--pur); }
.t-ylw.led-body { fill: var(--ylw); } .t-ink.led-body { fill: var(--ink); }
svg .led-ray { stroke-width: 1.6; }
.n-org { fill: var(--org); }
.n-grn { fill: var(--grn); }
.n-pur { fill: var(--pur); }
.n-ylw { fill: var(--ylw); }
.n-ink { fill: var(--ink); }
.sch-pulse { fill: var(--ink); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .sch-pulse {
    opacity: 1;
    offset-path: path('M52 36 H1146');
    animation: travel 7.5s linear infinite;
  }
  @keyframes travel {
    0%   { offset-distance: 0%;   opacity: 0; fill: var(--ink); }
    4%   { opacity: 1; }
    8%   { fill: var(--ink); }
    30%  { fill: var(--org); }
    52%  { fill: var(--grn); }
    74%  { fill: var(--pur); }
    95%  { fill: var(--ylw); }
    96%  { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; fill: var(--ylw); }
  }
}

.sch-labels { display: grid; grid-template-columns: repeat(5, 1fr); }
.sch-label { text-align: center; }
.sch-label .code { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; }
.sch-label .name { font-family: var(--display); font-weight: 400; font-size: clamp(0.82rem, 1.7vw, 1.18rem); letter-spacing: 0.09em; margin-top: 2px; }
.sch-label .field { font-size: clamp(0.68rem, 1.3vw, 0.82rem); color: var(--dim); margin-top: 3px; }
.sch-label.c-org .code { color: var(--org); }
.sch-label.c-grn .code { color: var(--grn); }
.sch-label.c-pur .code { color: var(--pur); }
.sch-label.c-ylw .code { color: var(--ylw); }
.sch-label.c-ink .code { color: var(--ink); }
.sch-label.c-ink .field b { color: var(--org); font-weight: 600; }

/* labels are links: the name tints to the tap's hue, a short bar grows under it,
   and the other LEDs dim so the chosen tap stands out */
a.sch-label { display: block; position: relative; padding: 6px 6px 12px; color: inherit; text-decoration: none; }
.sch-label.c-org { --hv: var(--org); }
.sch-label.c-grn { --hv: var(--grn); }
.sch-label.c-pur { --hv: var(--pur); }
.sch-label.c-ylw { --hv: var(--ylw); }
.sch-label.c-ink { --hv: var(--org); }
a.sch-label .name { transition: color 0.3s var(--ease); }
a.sch-label::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 34%; height: 2px; border-radius: 2px;
  background: var(--hv); transform: translateX(-50%) scaleX(0); transition: transform 0.35s var(--ease);
}
a.sch-label:hover .name, a.sch-label:focus-visible .name { color: var(--hv); }
a.sch-label:hover::after, a.sch-label:focus-visible::after { transform: translateX(-50%) scaleX(1); }
a.sch-label:focus-visible { outline: 2px solid var(--hv); outline-offset: 2px; }
.schematic g.led { transition: opacity 0.35s var(--ease); }
.hero:has(a.sch-label:hover, a.sch-label:focus-visible) .schematic g.led { opacity: 0.28; }
.hero:has(a.sch-label:nth-child(1):is(:hover, :focus-visible)) .schematic g.led:nth-of-type(1),
.hero:has(a.sch-label:nth-child(2):is(:hover, :focus-visible)) .schematic g.led:nth-of-type(2),
.hero:has(a.sch-label:nth-child(3):is(:hover, :focus-visible)) .schematic g.led:nth-of-type(3),
.hero:has(a.sch-label:nth-child(4):is(:hover, :focus-visible)) .schematic g.led:nth-of-type(4),
.hero:has(a.sch-label:nth-child(5):is(:hover, :focus-visible)) .schematic g.led:nth-of-type(5) { opacity: 1; }

/* vertical schematic for small screens */
.schematic-v { display: none; }
@media (max-width: 700px) {
  .schematic, .sch-labels { display: none; }
  .schematic-v { display: block; margin-bottom: 10px; }
  .schematic-v .feed { display: flex; align-items: center; gap: 10px; color: var(--faint); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; padding-bottom: 4px; }
  .sch-row { display: flex; align-items: baseline; gap: 14px; padding: 11px 0 11px 24px; position: relative; }
  .sch-row::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: rgba(234, 238, 231, 0.3); }
  .sch-row:last-child::before { bottom: 50%; }
  .sch-row::after { content: ""; position: absolute; left: 4px; top: 50%; width: 16px; height: 2px; border-radius: 2px; background: var(--vc, rgba(234, 238, 231, 0.3)); }
  .sch-row .code { font-family: var(--mono); font-size: 11px; color: var(--vc, var(--faint)); }
  .sch-row .name { font-family: var(--display); font-size: 1.05rem; letter-spacing: 0.09em; }
  .sch-row { color: inherit; text-decoration: none; }
  .sch-row .field { font-size: 0.78rem; color: var(--dim); margin-left: auto; text-align: right; }
  .sch-row .field::after { content: "→"; margin-left: 10px; color: var(--faint); }
  .sch-row .name { transition: color 0.25s; }
  .sch-row:hover .name, .sch-row:active .name, .sch-row:focus-visible .name { color: var(--vc); }
  .sch-row:focus-visible { outline: 2px solid var(--vc); outline-offset: 2px; }
}

.hero-foot {
  margin-top: clamp(30px, 6vh, 64px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.statement { max-width: 560px; font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.55; color: var(--dim); }
.statement b { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.act.big { font-size: 15px; padding: 15px 28px; clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%); }

/* ------------------------------------------------ section shells */
section { position: relative; }
.sec { padding-top: clamp(90px, 13vh, 150px); }
#ventures, #practice, #orlovs, #request, #proof { scroll-margin-top: 72px; }

/* ------------------------------------------------ ventures register (home) */
.reg-head {
  display: grid; grid-template-columns: 64px 1.05fr 1.35fr 300px; gap: 26px;
  padding-bottom: 14px; border-bottom: 1px solid var(--edge);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--faint);
}
.reg-title { margin-bottom: clamp(26px, 4vh, 44px); display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.reg-title h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.7rem); letter-spacing: 0.03em; line-height: 1.02; }
.reg-title p { max-width: 40ch; color: var(--dim); font-size: 0.98rem; }

.venture {
  display: grid; grid-template-columns: 64px 1.05fr 1.35fr 300px; gap: 26px; align-items: baseline;
  padding: clamp(26px, 4vh, 42px) 0;
  border-bottom: 1px solid var(--edge-soft);
  text-decoration: none; color: var(--ink);
  position: relative;
  transition: background 0.35s var(--ease);
}
.venture:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--vc) 7%, transparent), transparent 70%); }
.v-num { font-family: var(--mono); font-size: 13px; color: var(--vc); }
.v-id .v-name {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: 0.045em; line-height: 1;
  display: flex; align-items: baseline; gap: 12px;
}
.v-id .v-arrow { font-size: 0.62em; color: var(--faint); transition: transform 0.35s var(--ease), color 0.35s; }
.venture:hover .v-arrow { color: var(--vc); transform: translateX(5px); }
.v-id .v-domain { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 9px; letter-spacing: 0.05em; }
.v-id .v-field { font-size: 0.86rem; color: var(--dim); margin-top: 5px; }
.v-desc { color: var(--dim); font-size: 0.97rem; max-width: 52ch; }
.v-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.v-stat b { font-family: var(--display); font-weight: 400; font-size: clamp(1.15rem, 1.8vw, 1.55rem); letter-spacing: 0.04em; display: block; line-height: 1.1; color: var(--vc); }
.v-stat small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.07em; color: var(--faint); display: block; margin-top: 4px; }
@media (max-width: 980px) {
  .reg-head { display: none; }
  .venture { grid-template-columns: 44px 1fr; grid-template-rows: auto auto auto; }
  .v-desc { grid-column: 2; }
  .v-stats { grid-column: 2; max-width: 420px; }
}
@media (max-width: 520px) {
  .venture { grid-template-columns: 1fr; gap: 14px; }
  .v-num::before { content: "N° "; }
  .v-desc, .v-stats { grid-column: 1; }
}

/* ------------------------------------------------ practice island (home) */
.practice-band { margin-top: clamp(100px, 14vh, 170px); padding: 0 clamp(10px, 1.6vw, 22px); }
.practice {
  max-width: calc(var(--maxw) + 40px); margin: 0 auto;
  background: linear-gradient(126deg, #181c18, var(--bg1) 55%);
  border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(234, 238, 231, 0.05);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  padding: clamp(40px, 6vw, 84px) clamp(24px, 4.6vw, 72px) clamp(44px, 6vw, 80px);
  position: relative; overflow: hidden;
}
.practice::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: 0.05;
}
.practice::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(112deg, rgba(240, 138, 74, 0.07), transparent 38%);
}
.practice > * { position: relative; z-index: 1; }
.practice-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(30px, 5vh, 54px); }
.practice h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: 0.03em; line-height: 1.0; }
.practice h2 i { font-style: normal; color: var(--org); }
.practice-top p { max-width: 46ch; color: var(--dim); font-size: 1.02rem; }
.practice-top p b { color: var(--ink); font-weight: 600; }
.avail { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.09em; color: var(--org); margin-top: 14px; }

/* generic coded rows (practice offers, venture-page framework rows) */
.offer { border-top: 1px solid var(--edge); }
.offer-row {
  display: grid; grid-template-columns: 84px 1fr 1.35fr 130px; gap: 24px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--edge-soft);
  transition: background 0.3s var(--ease);
}
.offer-row:hover { background: color-mix(in srgb, var(--ac, var(--org)) 5%, transparent); }
.offer-row .oc { font-family: var(--mono); font-size: 12px; color: color-mix(in srgb, var(--ac, var(--org)) 82%, var(--bg0)); letter-spacing: 0.06em; transition: color 0.3s; }
.offer-row:hover .oc { color: var(--ac, var(--org)); }
.offer-row h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: 0.05em; line-height: 1.15; }
.offer-row p { color: var(--dim); font-size: 0.94rem; }
.offer-row .ot { font-family: var(--mono); font-size: 11.5px; color: var(--faint); text-align: right; letter-spacing: 0.05em; }
.offer-row a.ot { text-decoration: none; transition: color 0.25s; }
.offer-row a.ot:hover { color: var(--ac, var(--org)); }
@media (max-width: 880px) {
  .offer-row { grid-template-columns: 64px 1fr; row-gap: 12px; }
  .offer-row p { grid-column: 1 / -1; }
  .offer-row .ot { grid-column: 1 / -1; text-align: left; }
}
.practice-foot { margin-top: clamp(30px, 5vh, 48px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.practice-foot p { color: var(--dim); font-size: 0.95rem; max-width: 52ch; }

/* ------------------------------------------------ proof strip (home) */
.proof { padding-top: clamp(90px, 13vh, 150px); }
.proof-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vh, 46px); }
.proof-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: 0.03em; line-height: 1.02; }
.proof-head p { max-width: 44ch; color: var(--dim); font-size: 0.98rem; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); border-top: 1px solid var(--edge); }
.proof-item { padding-top: 24px; }
.proof-item b { font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 4.4vw, 3.6rem); letter-spacing: 0.04em; line-height: 1; color: var(--pc); display: block; }
.proof-item span { display: block; color: var(--dim); font-size: 0.93rem; margin-top: 10px; max-width: 30ch; }
.proof-item .src { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.07em; color: var(--faint); margin-top: 10px; display: block; }
.proof-note { margin-top: clamp(24px, 4vh, 40px); color: var(--faint); font-size: 0.9rem; }
.proof-note a { color: var(--dim); }
@media (max-width: 760px) { .proof-grid { grid-template-columns: 1fr; gap: 0; } .proof-item { border-bottom: 1px solid var(--edge-soft); padding-bottom: 22px; } }

/* ------------------------------------------------ the orlovs (home) */
.orlovs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); margin-top: clamp(30px, 5vh, 54px); align-items: start; }
.orlovs h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.7rem); letter-spacing: 0.03em; line-height: 1.02; max-width: 16ch; }
.orlovs .lede { color: var(--dim); max-width: 54ch; margin-top: 18px; font-size: 1.02rem; }
.person {
  border-top: 1px solid var(--edge); padding-top: 26px;
  display: grid; grid-template-columns: minmax(124px, 34%) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "photo intro" "photo bio";
  column-gap: clamp(20px, 2.6vw, 34px); align-items: start;
}
.person-link { color: inherit; text-decoration: none; }
.person-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 8px; }
.person-cta {
  display: block; margin-top: 16px; color: var(--ink);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.person-cta span { display: inline-block; margin-left: 4px; transition: transform 0.22s var(--ease); }
.person-link:hover .person-cta span { transform: translateX(4px); }
.person-photo {
  grid-area: photo; position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  background: var(--bg1);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.person-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(234, 238, 231, 0.12);
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .person-photo img { transition: transform 0.7s var(--ease); }
  .person:hover .person-photo img { transform: scale(1.018); }
}
.person-intro { grid-area: intro; min-width: 0; }
.person h3 { font-family: var(--display); font-weight: 400; font-size: 1.55rem; letter-spacing: 0.05em; margin-top: 2px; }
.person h3 .ai-mark { color: var(--org); }
.person .role { font-size: 0.87rem; color: var(--dim); margin-top: 5px; font-weight: 600; letter-spacing: 0.02em; }
.person p { grid-area: bio; color: var(--dim); font-size: 0.96rem; margin-top: 14px; max-width: 44ch; }
@media (max-width: 760px) {
  .orlovs-grid { grid-template-columns: 1fr; gap: 48px; }
  .person { grid-template-columns: minmax(132px, 30%) minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .person {
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-areas: "photo intro" "bio bio";
    column-gap: 18px;
  }
  .person h3 { font-size: 1.35rem; }
  .person .role { font-size: 0.8rem; line-height: 1.45; }
  .person p { margin-top: 18px; }
}

/* ------------------------------------------------ request + form */
.request { padding-bottom: 0; }
.req-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
@media (max-width: 880px) { .req-grid { grid-template-columns: 1fr; } }
.request h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.5rem, 6vw, 4.4rem); letter-spacing: 0.03em; line-height: 1.0; }
.request .lede { color: var(--dim); margin-top: 20px; max-width: 44ch; font-size: 1.02rem; }
.request .lede a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--grn-dim); text-underline-offset: 3px; }
.req-meta { margin-top: 34px; display: grid; gap: 12px; }
.req-meta div { display: flex; gap: 14px; align-items: baseline; color: var(--dim); font-size: 0.93rem; }
.req-meta .k { font-family: var(--mono); font-size: 11px; color: var(--faint); min-width: 92px; letter-spacing: 0.06em; }

form.docket {
  background: var(--bg1);
  border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(234, 238, 231, 0.05);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  padding: clamp(26px, 4vw, 44px);
}
.fld { margin-bottom: 22px; }
.fld label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: 0.015em; }
.fld label small { color: var(--faint); font-weight: 400; margin-left: 6px; }
.fld input, .fld select, .fld textarea {
  width: 100%; font-family: var(--body); font-size: 15px; color: var(--ink);
  background: var(--bg2); border: 1px solid var(--edge); border-radius: 2px;
  padding: 13px 15px; transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none; -webkit-appearance: none;
}
.fld textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--faint); }
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: none; border-color: var(--grn-dim); box-shadow: 0 0 0 1px rgba(95, 206, 139, 0.3);
}
.fld.sel { position: relative; }
.fld.sel::after {
  content: ""; position: absolute; right: 17px; bottom: 21px; width: 8px; height: 8px;
  border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim);
  transform: rotate(45deg); pointer-events: none; border-radius: 1px;
}
.fld select { cursor: pointer; }
.fld select option { background: var(--bg1); color: var(--ink); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--faint); max-width: 30ch; }
.form-status { margin-top: 16px; font-size: 14px; line-height: 1.5; display: none; }
.form-status.ok { display: block; color: var(--grn); }
.form-status.err { display: block; color: var(--err); }
.form-status a { color: var(--ink); }

/* ------------------------------------------------ venture pages */
.page-hero {
  min-height: 58svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 120px; padding-bottom: clamp(26px, 4vh, 48px);
  position: relative;
  background:
    linear-gradient(118deg, color-mix(in srgb, var(--vc) 7%, transparent), transparent 46%),
    linear-gradient(180deg, #121412, var(--bg0) 62%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: 0.06;
}
.page-hero > .wrap { position: relative; z-index: 1; }
.page-tap { margin-bottom: 8px; }
.page-tap svg { display: block; width: min(300px, 46vw); height: auto; }
.page-hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3rem, 10.5vw, 8.4rem);
  line-height: 0.96; letter-spacing: 0.04em;
}
.page-hero .pfield { font-family: var(--mono); font-size: clamp(11px, 1.3vw, 13px); letter-spacing: 0.09em; color: var(--vc); margin-top: 12px; text-transform: uppercase; }
.page-hero .statement { margin-top: clamp(20px, 3.5vh, 34px); }
.page-stats { border-top: 1px solid var(--edge); margin-top: clamp(26px, 4vh, 44px); padding-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.page-stats .v-stat b { color: var(--vc); font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
.page-stats.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 700px) {
  .page-stats, .page-stats.five { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .page-stats.five .v-stat:last-child { grid-column: 1 / -1; }
}

.vp-sec { padding-top: clamp(80px, 11vh, 130px); }
.vp-sec h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 4.4vw, 3.2rem); letter-spacing: 0.03em; line-height: 1.05; max-width: 22ch; }
.vp-sec .lede { color: var(--dim); margin-top: 18px; max-width: 62ch; font-size: 1.02rem; }
.vp-sec .lede b { color: var(--ink); font-weight: 600; }
.vp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 64px); margin-top: clamp(24px, 4vh, 40px); }
@media (max-width: 760px) { .vp-cols { grid-template-columns: 1fr; } }
.vp-cols p { color: var(--dim); font-size: 0.98rem; }
.vp-cols p + p { margin-top: 14px; }
.vp-cols p b { color: var(--ink); font-weight: 600; }
.vp-rows { margin-top: clamp(26px, 4vh, 44px); }

.cta-band { margin-top: clamp(90px, 13vh, 150px); border-top: 1px solid var(--edge); }
.cta-in { padding-top: clamp(36px, 6vh, 60px); display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-in h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 4.4vw, 3.2rem); letter-spacing: 0.03em; line-height: 1.05; }
.cta-in .cta-acts { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* ------------------------------------------------ footer */
footer {
  margin-top: clamp(100px, 14vh, 170px);
  background: var(--bg2);
  border-top: 1px solid var(--edge-soft);
  position: relative; overflow: hidden;
}
footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: 0.05;
}
.foot-top {
  position: relative; z-index: 1;
  display: flex; align-items: baseline; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  padding-top: 44px; padding-bottom: 8px;
}
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { font-size: 13.5px; color: var(--dim); text-decoration: none; transition: color 0.25s; }
.foot-links a:hover { color: var(--ink); }
.foot-copy { font-family: var(--mono); font-size: 11px; letter-spacing: 0.07em; color: var(--faint); }
.foot-mark {
  position: relative; z-index: 1;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(6rem, 29vw, 26rem);
  letter-spacing: 0.05em; line-height: 0.72;
  text-align: center; color: rgba(234, 238, 231, 0.11);
  user-select: none; pointer-events: none;
  margin-top: clamp(24px, 4vh, 48px);
  transform: translateY(0.14em);
}

/* ------------------------------------------------ russian typography (/ru/) */
.cyr h2, .cyr .request h2, .cyr .practice h2, .cyr .orlovs h2, .cyr .reg-title h2, .cyr .proof-head h2 {
  font-family: 'Unbounded', var(--display); font-weight: 800;
  letter-spacing: 0; line-height: 1.08;
}
.cyr .reg-title h2, .cyr .orlovs h2 { font-size: clamp(1.7rem, 3.9vw, 2.9rem); }
.cyr .practice h2, .cyr .request h2 { font-size: clamp(1.9rem, 4.6vw, 3.5rem); }
.cyr .proof-head h2 { font-size: clamp(1.5rem, 3.5vw, 2.6rem); }
.cyr .offer-row h3 { font-family: 'Unbounded', var(--display); font-weight: 800; letter-spacing: 0; font-size: clamp(0.95rem, 1.6vw, 1.15rem); }
.cyr .person h3 { font-family: 'Unbounded', var(--display); font-weight: 800; letter-spacing: 0; font-size: 1.25rem; }
.cyr .proof-item b { letter-spacing: 0.02em; }

/* ------------------------------------------------ photographic backdrops */
.ph-img {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  mask-image: linear-gradient(180deg,
    transparent 0%, rgba(0,0,0,0.18) 8%, rgba(0,0,0,0.45) 17%, rgba(0,0,0,0.72) 27%,
    rgba(0,0,0,0.92) 38%, #000 48%, #000 74%,
    rgba(0,0,0,0.85) 83%, rgba(0,0,0,0.55) 91%, rgba(0,0,0,0.2) 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg,
    transparent 0%, rgba(0,0,0,0.18) 8%, rgba(0,0,0,0.45) 17%, rgba(0,0,0,0.72) 27%,
    rgba(0,0,0,0.92) 38%, #000 48%, #000 74%,
    rgba(0,0,0,0.85) 83%, rgba(0,0,0,0.55) 91%, rgba(0,0,0,0.2) 97%, transparent 100%);
}
.ph-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% center;
  display: block; opacity: 0.5;
  mask-image: linear-gradient(90deg,
    transparent 0%, rgba(0,0,0,0.08) 12%, rgba(0,0,0,0.24) 24%, rgba(0,0,0,0.46) 38%,
    rgba(0,0,0,0.68) 52%, rgba(0,0,0,0.86) 66%, rgba(0,0,0,0.96) 78%, #000 90%);
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%, rgba(0,0,0,0.08) 12%, rgba(0,0,0,0.24) 24%, rgba(0,0,0,0.46) 38%,
    rgba(0,0,0,0.68) 52%, rgba(0,0,0,0.86) 66%, rgba(0,0,0,0.96) 78%, #000 90%);
}
.page-hero::before { z-index: 1; }
.page-hero > .wrap { z-index: 2; }
@media (max-width: 700px) { .ph-img img { opacity: 0.38; object-position: 78% center; } }
@media (max-width: 700px) { .ph-img--collar img { object-position: 96% 30%; opacity: 0.34; } }

/* home hero backdrop: top band behind the wordmark, gone before the schematic */
.hero .hh-img {
  position: absolute; top: 0; left: 0; right: 0; height: 56%;
  z-index: 0; pointer-events: none;
  mask-image: linear-gradient(180deg,
    rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.85) 10%, #000 20%, #000 52%,
    rgba(0,0,0,0.8) 64%, rgba(0,0,0,0.55) 74%, rgba(0,0,0,0.3) 84%,
    rgba(0,0,0,0.12) 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg,
    rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.85) 10%, #000 20%, #000 52%,
    rgba(0,0,0,0.8) 64%, rgba(0,0,0,0.55) 74%, rgba(0,0,0,0.3) 84%,
    rgba(0,0,0,0.12) 92%, transparent 100%);
}
.hero .hh-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  opacity: 0.3; display: block;
}
@media (max-width: 700px) { .hero .hh-img { height: 44%; } .hero .hh-img img { opacity: 0.26; } }

.practice .pr-img {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.practice .pr-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: right bottom;
  display: block; opacity: 0.3;
  mask-image: linear-gradient(105deg,
    transparent 30%, rgba(0,0,0,0.14) 42%, rgba(0,0,0,0.34) 54%, rgba(0,0,0,0.58) 66%,
    rgba(0,0,0,0.8) 78%, rgba(0,0,0,0.94) 88%, #000 96%);
  -webkit-mask-image: linear-gradient(105deg,
    transparent 30%, rgba(0,0,0,0.14) 42%, rgba(0,0,0,0.34) 54%, rgba(0,0,0,0.58) 66%,
    rgba(0,0,0,0.8) 78%, rgba(0,0,0,0.94) 88%, #000 96%);
}
@media (max-width: 700px) { .practice .pr-img img { opacity: 0.22; } }

/* ------------------------------------------------ résumé page (/anton-orlov/) */
#profile, #experience, #ventures-cv, #ai-systems, #capabilities, #education, #work { scroll-margin-top: 72px; }

.cv-hero { min-height: 0; padding-top: 112px; }
.cv-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) min(360px, 29vw);
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(28px, 4.5vw, 72px); align-items: start;
}
.cv-name {
  grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 2;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3.4rem, 11vw, 9.4rem); line-height: 0.92; letter-spacing: 0.04em;
}
.cv-portrait {
  grid-column: 2; grid-row: 1 / span 3; align-self: start;
  margin-top: clamp(64px, 7.2vw, 112px);
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg1);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}
.cv-portrait::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(234, 238, 231, 0.12);
}
.cv-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-meta { grid-column: 1; grid-row: 2; margin-top: clamp(18px, 3vh, 30px); }
.cv-meta .pfield { margin-top: 0; }
.cv-role {
  margin-top: 14px; max-width: 34ch; color: var(--ink);
  font-size: clamp(1.18rem, 1.9vw, 1.5rem); font-weight: 600; line-height: 1.32;
}
.cv-intro { grid-column: 1; grid-row: 3; }
.cv-intro .statement { margin-top: clamp(18px, 3vh, 28px); max-width: 60ch; font-size: clamp(1rem, 1.35vw, 1.12rem); }
.cv-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 24px; }
.print-only { display: none; }
.cv-contact button.quiet { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--body); }
.cv-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cv-stats dt {
  font-family: var(--display); font-weight: 400; letter-spacing: 0.04em; line-height: 1.1;
  font-size: clamp(1.35rem, 2.3vw, 2rem); color: var(--ink);
}
.cv-stats dd { font-family: var(--mono); font-size: 10px; letter-spacing: 0.07em; color: var(--faint); margin-top: 5px; text-transform: uppercase; line-height: 1.45; }

.cv-sec {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 26px;
  padding-top: clamp(80px, 11vh, 130px);
}
.cv-num { font-family: var(--mono); font-size: 13px; color: var(--faint); padding-top: 0.9em; }
.cv-body { min-width: 0; }
.cv-body > h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 4.4vw, 3.2rem); letter-spacing: 0.03em; line-height: 1.05; max-width: 24ch; }
.cv-lead-copy {
  margin-top: clamp(20px, 3vh, 30px); max-width: 44ch; color: var(--ink);
  font-size: clamp(1.18rem, 1.9vw, 1.5rem); font-weight: 500; line-height: 1.42;
}
.cv-body > .lede { color: var(--dim); margin-top: 18px; max-width: 62ch; font-size: 1.02rem; }
.cv-note { margin-top: 26px; max-width: 70ch; color: var(--faint); font-size: 0.86rem; }

.cv-body > .vp-cols > p { margin-top: 0; }
.cv-scope {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 22px;
  margin-top: clamp(30px, 5vh, 48px);
}
.cv-scope dt {
  grid-column: 1 / -1; padding-bottom: 14px; border-bottom: 1px solid var(--edge);
  font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.05em;
}
.cv-scope dd { padding-top: 14px; color: var(--dim); font-size: 0.94rem; line-height: 1.45; }

.cv-roles { margin-top: clamp(26px, 4vh, 44px); border-top: 1px solid var(--edge); }
.cv-role-entry {
  display: grid; grid-template-columns: 190px minmax(0, 1fr); column-gap: 26px;
  padding: clamp(26px, 4vh, 40px) 0; border-bottom: 1px solid var(--edge-soft);
}
.cv-when { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.cv-when time, .cv-when .yrs { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; color: var(--dim); }
.cv-when span:last-child { font-size: 0.84rem; color: var(--faint); }
.cv-org { font-size: 0.9rem; font-weight: 600; color: var(--ac, var(--ink)); letter-spacing: 0.01em; }
.cv-org a { color: inherit; text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; }
.cv-org a:hover { text-decoration-color: currentColor; }
.cv-what h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: 0.05em; line-height: 1.12; margin-top: 4px; }
.cv-what > p:not(.cv-org) { color: var(--dim); font-size: 0.97rem; max-width: 66ch; margin-top: 12px; }
.cv-list { list-style: none; margin-top: 16px; display: grid; gap: 9px; max-width: 72ch; }
.cv-list li { position: relative; padding-left: 22px; color: var(--dim); font-size: 0.95rem; line-height: 1.55; }
.cv-list li::before {
  content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px;
  border-radius: 2px; background: var(--ac, var(--faint));
}
.cv-list a, .cv-v-row p a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; }

.cv-ventures { margin-top: clamp(26px, 4vh, 44px); border-top: 1px solid var(--edge); }
.cv-v-row {
  display: grid; grid-template-columns: 210px minmax(0, 0.85fr) minmax(0, 1.4fr); column-gap: 26px;
  align-items: baseline; padding: clamp(22px, 3.4vh, 32px) 0; border-bottom: 1px solid var(--edge-soft);
}
.cv-v-name {
  font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: 0.045em; line-height: 1;
  color: var(--ac, var(--ink)); text-decoration: none; display: inline-flex; align-items: baseline; gap: 10px;
}
.cv-v-name .v-arrow { font-size: 0.62em; color: var(--faint); transition: transform 0.35s var(--ease), color 0.35s; }
.cv-v-name:hover .v-arrow { color: var(--ac, var(--ink)); transform: translateX(4px); }
.cv-v-dom { display: block; font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 8px; letter-spacing: 0.05em; }
.cv-v-row h3 { font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.cv-v-row p { color: var(--dim); font-size: 0.94rem; }

.cv-pairs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(26px, 4vw, 64px);
  margin-top: clamp(26px, 4vh, 44px);
}
.cv-pairs > div { padding: 22px 0 24px; border-top: 1px solid var(--edge); }
.cv-pairs h3 { font-family: var(--display); font-weight: 400; font-size: 1.2rem; letter-spacing: 0.05em; line-height: 1.15; }
.cv-pairs p { color: var(--dim); font-size: 0.95rem; margin-top: 10px; max-width: 58ch; }

.cv-edu { margin-top: clamp(26px, 4vh, 44px); border-top: 1px solid var(--edge); }
.cv-edu > div {
  display: grid; grid-template-columns: 120px minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 26px;
  align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--edge-soft);
}
.cv-edu span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.07em; color: var(--faint); text-transform: uppercase; }
.cv-edu strong { font-weight: 600; color: var(--ink); line-height: 1.4; }
.cv-edu p { color: var(--dim); font-size: 0.94rem; }

.cv-work dl { display: grid; grid-template-columns: 1.2fr 1fr 1fr; column-gap: 26px; margin-top: clamp(26px, 4vh, 44px); border-top: 1px solid var(--edge); }
.cv-work dl > div { padding-top: 20px; }
.cv-work dt { font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.05em; }
.cv-work dd { color: var(--dim); font-size: 0.95rem; margin-top: 10px; }
.cv-work dd a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; }
.cv-work .cta-acts { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: clamp(30px, 5vh, 46px); }

@media (max-width: 1060px) {
  .cv-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
  .cv-v-row { grid-template-columns: 170px minmax(0, 1fr); }
  .cv-v-row p { grid-column: 2; margin-top: 8px; }
}
@media (max-width: 860px) {
  .cv-hero-grid { grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 20px; align-items: end; }
  .cv-name { font-size: clamp(3rem, 13.5vw, 5.6rem); }
  .cv-portrait { grid-column: 1; grid-row: 2; margin-top: 20px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
  .cv-meta { grid-column: 2; grid-row: 2; margin-top: 20px; }
  .cv-intro { grid-column: 1 / -1; }
  .cv-role { font-size: 1.05rem; }
  .cv-scope { grid-template-columns: 1fr; }
  .cv-scope dd { padding: 12px 0; border-bottom: 1px solid var(--edge-soft); }
  .cv-work dl { grid-template-columns: 1fr; }
  .cv-work dl > div + div { border-top: 1px solid var(--edge-soft); margin-top: 20px; }
}
@media (max-width: 700px) {
  .cv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-sec { grid-template-columns: 1fr; }
  .cv-num::before { content: "N° "; }
  .cv-num { padding-top: 0; margin-bottom: 8px; }
  .cv-role-entry { grid-template-columns: 1fr; row-gap: 12px; }
  .cv-when { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; padding-top: 0; }
  .cv-v-row { grid-template-columns: 1fr; row-gap: 10px; }
  .cv-v-row p { grid-column: 1; margin-top: 0; }
  .cv-pairs { grid-template-columns: 1fr; }
  .cv-edu > div { grid-template-columns: 84px minmax(0, 1fr); row-gap: 4px; }
  .cv-edu p { grid-column: 2; }
}
@media (max-width: 420px) {
  .cv-hero-grid { grid-template-columns: 104px minmax(0, 1fr); column-gap: 16px; }
}

@media print {
  /* the print page is ~7.4in (~710px) wide, so the screen breakpoints above also fire here:
     every résumé layout is set explicitly below */
  @page { size: letter; margin: 0.5in 0.55in; }
  html:has(body.cv-page) { font-size: 12.5px; }
  body.cv-page { background: #fff; color: #111; font-size: 9.4pt; line-height: 1.42; }
  .cv-page #nav, .cv-page footer, .cv-page .page-tap, .cv-portrait, .cv-contact button, .cv-work .cta-acts, .cv-page .page-hero::before, .screen-only { display: none !important; }
  .print-only { display: inline !important; }
  .cv-page .page-hero { min-height: 0; padding: 0; background: none; }
  .cv-page .wrap { max-width: none; padding-left: 0; padding-right: 0; }
  .cv-page h2, .cv-page h3 { break-after: avoid; break-inside: avoid; }

  .cv-hero-grid { display: block; }
  .cv-name { font-size: 32pt; color: #111; }
  .cv-meta { margin-top: 4pt; }
  .cv-page .page-hero .pfield { color: #444; margin-top: 0; font-size: 8pt; }
  .cv-role { color: #111; font-size: 12.5pt; max-width: none; margin-top: 6pt; }
  .cv-intro .statement { color: #333; max-width: none; font-size: 9.4pt; margin-top: 6pt; }
  .cv-intro .statement b { color: #111; }
  .cv-contact { margin-top: 7pt; gap: 4pt 18pt; }
  .cv-contact a { color: #111; text-decoration: none; font-size: 9pt; }
  .cv-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8pt; border-top: 0.5pt solid #bbb; margin-top: 9pt; padding-top: 7pt; }
  .cv-stats dt { color: #111; font-size: 12pt; }
  .cv-stats dd { color: #555; font-size: 6.4pt; }

  .cv-sec { display: block; padding-top: 15pt; }
  .cv-num { display: none; }
  .cv-body > h2 { color: #111; font-size: 16pt; max-width: none; }
  .cv-lead-copy { color: #111; font-size: 10.5pt; max-width: none; margin-top: 5pt; }
  .cv-body > .vp-cols { grid-template-columns: 1fr 1fr; margin-top: 7pt; gap: 16pt; }
  .cv-body > .vp-cols p, .cv-what > p:not(.cv-org), .cv-list li, .cv-v-row p, .cv-pairs p, .cv-edu p, .cv-work dd, .cv-scope dd, .cv-body > .lede, .cv-note { color: #333; }
  .cv-body > .lede { max-width: none; margin-top: 5pt; }

  .cv-scope { display: block; margin-top: 9pt; }
  .cv-scope dt { display: inline; border: 0; padding: 0; font-size: 10pt; color: #111; }
  .cv-scope dt::after { content: ": "; }
  .cv-scope dd { display: inline; border: 0; padding: 0; font-size: 9.2pt; }
  .cv-scope dd + dd::before { content: " · "; color: #999; }

  .cv-roles, .cv-ventures, .cv-edu, .cv-work dl { border-top-color: #bbb; margin-top: 7pt; }
  .cv-role-entry, .cv-v-row, .cv-edu > div, .cv-pairs > div { border-color: #ddd; }
  .cv-role-entry { grid-template-columns: 92pt minmax(0, 1fr); row-gap: 0; padding: 8pt 0; }
  .cv-when { flex-direction: column; gap: 2pt; padding-top: 1pt; }
  .cv-what h3 { font-size: 12pt; }
  .cv-what > p:not(.cv-org) { margin-top: 4pt; max-width: none; }
  .cv-what h3, .cv-pairs h3, .cv-work dt, .cv-v-row h3, .cv-edu strong { color: #111; }
  .cv-org, .cv-v-name { color: #111; }
  .cv-when time, .cv-when .yrs, .cv-when span:last-child, .cv-v-dom, .cv-edu span { color: #555; }
  .cv-list { gap: 2pt; margin-top: 5pt; max-width: none; }
  .cv-list li { break-inside: avoid; }
  .cv-list li::before { background: #888; }
  .cv-list a, .cv-v-row p a, .cv-org a, .cv-work dd a { color: #111; text-decoration: none; }

  .cv-v-row { grid-template-columns: 92pt minmax(0, 1fr); row-gap: 2pt; padding: 7pt 0; break-inside: avoid; }
  .cv-v-row > div:first-child { grid-row: span 2; }
  .cv-v-row h3, .cv-v-row p { grid-column: 2; margin-top: 0; }
  .cv-v-name { font-size: 12pt; }
  .cv-v-name .v-arrow { display: none; }
  .cv-v-dom { margin-top: 3pt; font-size: 7.5pt; }

  .cv-pairs { grid-template-columns: 1fr 1fr; gap: 0 16pt; margin-top: 7pt; }
  .cv-pairs > div { padding: 6pt 0; break-inside: avoid; }
  .cv-pairs h3 { font-size: 10.5pt; }
  .cv-pairs p { margin-top: 2pt; }
  .cv-note { margin-top: 6pt; font-size: 8pt; }

  .cv-edu > div { grid-template-columns: 64pt minmax(0, 1.2fr) minmax(0, 1fr); padding: 5pt 0; break-inside: avoid; }
  .cv-edu p { grid-column: auto; }

  .cv-work dl { grid-template-columns: 1.2fr 1fr 1fr; gap: 0 14pt; }
  .cv-work dl > div, .cv-work dl > div + div { padding-top: 7pt; border: 0; margin: 0; }
  .cv-org, .cv-what h3, .cv-body > .lede, .cv-lead-copy { break-after: avoid; }
  .cv-what > p:not(.cv-org), .cv-body > .lede { break-inside: avoid; }
  .cv-work dt { font-size: 10.5pt; }
  .cv-work dd { margin-top: 2pt; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.001ms !important; }
}
