/* vpodorozh.github.io — editorial personal-brand page. No build step. */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-var-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/plex-sans-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/plex-sans-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plex-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  color-scheme: light dark;
  --paper: #F6F4EE;
  --ink: #15171A;
  --muted: #5B6068;
  --hairline: #D9D5CA;
  --accent: #C2410C;
  /* accent and muted as used on the inverted (contact) block */
  --inv-muted: #9BA0A8;
  --inv-accent: #F2793D;
  --inv-line: #3A3E44;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111315;
    --ink: #ECE9E2;
    --muted: #9BA0A8;
    --hairline: #2A2D31;
    --accent: #F2793D;
    --inv-muted: #5B6068;
    --inv-accent: #B53A08;
    --inv-line: #C9C5B9;
  }
}
:root {
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --gutter: 24px;
  --max: 1120px;
  --header-h: 64px;
  --space-section: clamp(64px, 10vw, 140px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ink-soft: color-mix(in srgb, var(--ink) 78%, var(--paper));
}
@media (max-width: 479px) {
  :root { --gutter: 16px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (min-width: 900px) {
  body { font-size: 1.125rem; }
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture { display: block; max-width: 100%; height: auto; }
p { text-wrap: pretty; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 420;
  text-wrap: balance;
  overflow-wrap: anywhere;
  letter-spacing: -0.015em;
}
em { font-style: italic; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-decoration-thickness: from-font;
  text-underline-offset: 0.22em;
  transition: text-decoration-color 0.25s var(--ease), color 0.25s var(--ease);
}
a:hover { color: var(--accent); text-decoration-color: currentColor; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

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

.label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: var(--paper); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { color: var(--paper); background: var(--ink); }
.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn svg { width: 1em; height: 1em; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}
.site-header__name {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.site-header__name:hover { color: var(--ink); }
.site-header__right { display: flex; align-items: center; gap: 32px; }
.nav { display: none; }
.nav ul { display: flex; gap: 28px; }
.nav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
@media (min-width: 760px) {
  .nav { display: block; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(32px, 4.2vw, 56px) 0;
  overflow: hidden;
}
.hero::before {
  /* blueprint grid: pure CSS, fades out toward the proof bar */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 92%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-bottom: clamp(40px, 5vw, 64px);
}
.hero__text .label { margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.hero__text .label::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--accent);
  flex: none;
}
.hero h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  font-weight: 420;
  letter-spacing: -0.02em;
}
.hero h1 em { color: var(--accent); font-weight: 400; }
.hero__sub {
  max-width: 38em;
  margin-top: 24px;
  font-size: 1.0625rem;
  color: var(--muted);
}
@media (min-width: 900px) { .hero__sub { font-size: 1.125rem; } }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 32px;
}
.link-arrow {
  font-weight: 600;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
}

.portrait-wrap { max-width: 360px; }
.portrait {
  --tick: 18px;
  --t: var(--ink);
  position: relative;
  padding: 16px;
  background:
    linear-gradient(var(--t), var(--t)) left top / var(--tick) 1px no-repeat,
    linear-gradient(var(--t), var(--t)) left top / 1px var(--tick) no-repeat,
    linear-gradient(var(--t), var(--t)) right top / var(--tick) 1px no-repeat,
    linear-gradient(var(--t), var(--t)) right top / 1px var(--tick) no-repeat,
    linear-gradient(var(--t), var(--t)) left bottom / var(--tick) 1px no-repeat,
    linear-gradient(var(--t), var(--t)) left bottom / 1px var(--tick) no-repeat,
    linear-gradient(var(--t), var(--t)) right bottom / var(--tick) 1px no-repeat,
    linear-gradient(var(--t), var(--t)) right bottom / 1px var(--tick) no-repeat;
}
.portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #000;
}
.portrait-wrap figcaption { margin-top: 14px; padding-left: 16px; }

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
  }
  .hero__text { grid-column: 1 / span 9; }
  .portrait-wrap { grid-column: 10 / span 3; max-width: none; margin-top: 38px; }
}

/* ---------- proof bar ---------- */
.proof {
  position: relative;
  border-block: 1px solid var(--ink);
  background: var(--paper);
}
.proof__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.proof__item {
  padding: 22px 0 22px;
  border-bottom: 1px solid var(--hairline);
}
.proof__item:nth-last-child(-n+2) { border-bottom: 0; }
.proof__item:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--hairline); }
.proof__key {
  display: block;
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 450;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}
.proof__line { display: block; margin-top: 6px; font-size: 0.9375rem; line-height: 1.45; color: var(--ink-soft); }
@media (min-width: 900px) {
  .proof__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .proof__item, .proof__item:nth-child(even) { padding: 28px 24px 28px 24px; border-bottom: 0; border-left: 1px solid var(--hairline); }
  .proof__item:first-child { padding-left: 0; border-left: 0; }
  .proof__key { font-size: 1.875rem; }
  .proof__line { font-size: 1rem; }
}

/* ---------- sections ---------- */
.section {
  scroll-margin-top: 80px;
  padding-top: var(--space-section);
}
.section__head {
  margin-bottom: clamp(32px, 5vw, 64px);
}
.section__head .label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
}
.section__head .label b { font-weight: 400; color: var(--accent); }
.section__head h2 {
  margin-top: 20px;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

/* pillars */
.pillars {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.pillar { padding: 32px 0; border-bottom: 1px solid var(--hairline); }
.pillar h3 { font-size: 1.75rem; line-height: 1.15; font-weight: 450; }
.pillar__desc { margin-top: 14px; color: var(--ink); font-size: 1.0625rem; }
.pillar ul { margin-top: 24px; }
.pillar li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-top: 1px solid var(--hairline);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.pillar li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.15em;
  width: 12px; height: 1px;
  background: var(--accent);
}
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillar { padding: 40px 32px 40px 0; border-bottom: 0; }
  .pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--hairline); }
  .pillar h3 { font-size: 1.875rem; }
}

/* timeline */
.timeline { border-top: 1px solid var(--hairline); }
.timeline li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.timeline__date {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.timeline__role { font-family: var(--font-display); font-size: 1.1875rem; line-height: 1.3; font-weight: 420; }
.timeline__org { display: block; margin-top: 2px; font-family: var(--font-body); font-size: 1rem; color: var(--ink-soft); }
.timeline li { position: relative; }
.timeline li:first-child { padding: 24px 0; }
.timeline li:first-child::before { content: ""; position: absolute; left: -12px; top: 0; bottom: -1px; width: 3px; background: var(--accent); }
.timeline li:first-child .timeline__date { color: var(--accent); font-weight: 400; }
.timeline li:first-child .timeline__role { font-size: 1.5rem; font-weight: 480; }
.path__foot { margin-top: 40px; display: grid; gap: 16px; }
.path__edu { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; font-weight: 420; max-width: 36em; }
@media (min-width: 760px) {
  .timeline li { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 16px 0; }
  .timeline li:first-child { padding: 28px 0; }
  .timeline li:first-child::before { left: -16px; }
  .timeline__role { font-size: 1.25rem; }
  .timeline li:first-child .timeline__role { font-size: 1.875rem; }
  .path__foot { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; margin-top: 48px; }
  .path__foot > * { grid-column: 2; }
}

/* voice */
.voice { display: grid; gap: clamp(48px, 7vw, 88px); }
.writing h3 { font-size: clamp(1.875rem, 3.4vw, 2.5rem); line-height: 1.12; font-weight: 450; letter-spacing: -0.02em; }
.writing__intro { margin-top: 16px; max-width: 34em; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; font-weight: 420; color: var(--ink-soft); }
.writing__cols { display: grid; gap: 40px; margin-top: 40px; }
.writing__cols .label { color: var(--accent); padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.writing__cols .rows { border-top: 0; }
.writing__cols .rows a { grid-template-columns: minmax(0, 1fr); padding: 18px 0; }
.writing__cols .rows__title { font-size: 1.125rem; }
.writing__cols .rows__meta { order: -1; }
.voice__more { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 600; }
.voice__alt { font-weight: 400; color: var(--ink-soft); }
.voice__pair { display: grid; gap: 48px; padding-top: 32px; border-top: 1px solid var(--ink); }
.voice__block h3 { font-size: 1.625rem; line-height: 1.2; font-weight: 450; }
.voice__block > p { margin-top: 12px; color: var(--ink-soft); max-width: 34em; }
.voice__block .label { margin-top: 32px; }
.voice__block .rows { margin-top: 12px; }
.voice__block .voice__more { margin-top: 20px; font-weight: 400; }
@media (min-width: 760px) {
  .writing__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
  .voice__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
}

/* link rows (episodes, articles, ways) */
.rows { border-top: 1px solid var(--hairline); }
.rows li { border-bottom: 1px solid var(--hairline); }
.rows a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: baseline;
  padding: 16px 0;
  text-decoration: none;
  transition: padding 0.3s var(--ease), color 0.25s var(--ease);
}
.rows a:hover { padding-left: 8px; }
.rows__title { font-size: 1.0625rem; line-height: 1.35; font-weight: 600; overflow-wrap: anywhere; }
.rows__meta { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.rows__go { font-family: var(--font-mono); color: var(--accent); }

.ways .rows a {
  grid-template-columns: minmax(0, 1fr);
  padding: 28px 0;
  gap: 10px;
}
.ways .rows a:hover { padding-left: 0; }
.ways__title { font-family: var(--font-display); font-size: 1.625rem; line-height: 1.2; font-weight: 450; }
.ways__line { color: var(--muted); max-width: 36em; }
.ways__cta {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; color: var(--accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 0.22em;
}
.ways__cta svg { width: 1em; height: 1em; transition: transform 0.25s var(--ease); }
.ways .rows a:hover .ways__cta { text-decoration-color: currentColor; }
.ways .rows a:hover .ways__cta svg { transform: translateX(4px); }
.ways .rows a:hover .ways__title { color: var(--accent); }
@media (min-width: 900px) {
  .ways .rows a {
    grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 2fr);
    gap: 32px;
    align-items: baseline;
  }
  .ways__cta { justify-self: end; }
}

/* ---------- contact (inverted) ---------- */
.contact {
  margin-top: var(--space-section);
  background: var(--ink);
  color: var(--paper);
  scroll-margin-top: 0;
  padding-block: clamp(64px, 11vw, 160px) clamp(48px, 7vw, 88px);
}
.contact .label { color: var(--inv-muted); }
.contact a { color: var(--paper); }
.contact a:hover { color: var(--inv-accent); }
.contact h2 {
  font-size: clamp(3.25rem, 12vw, 9.5rem);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.035em;
  margin-top: 24px;
}
.contact h2 span { color: var(--inv-accent); font-style: italic; }
.contact__line {
  max-width: 30em;
  margin-top: 32px;
  font-size: 1.1875rem;
  color: var(--paper);
}
@media (min-width: 900px) { .contact__line { font-size: 1.375rem; } }
.contact__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.contact .btn { border-color: var(--paper); color: var(--paper); }
.contact .btn:hover { background: var(--paper); color: var(--ink); }
.contact .btn--primary { background: var(--paper); color: var(--ink); border-color: var(--paper); overflow-wrap: anywhere; }
.contact .btn--primary:hover { background: var(--inv-accent); border-color: var(--inv-accent); color: var(--ink); }
.contact :focus-visible { outline-color: var(--inv-accent); }
.contact__small {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 20px;
  border-top: 1px solid var(--inv-line);
}
.contact__small a {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 0;
}

/* ---------- footer ---------- */
.site-footer { padding: 32px 0 40px; background: var(--paper); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; }
.site-footer p { font-size: 0.875rem; color: var(--muted); }
.site-footer .label { text-transform: none; letter-spacing: 0.02em; }

/* ---------- reveal (JS only) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js .reveal.is-in, .js .reveal:focus-within { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header { position: static; }
  .skip-link { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
