@font-face { font-family: "Italiana"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/italiana-latin.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url("/fonts/hanken-grotesk-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/ibm-plex-mono-400-latin.woff2") format("woff2"); }
/* Layout: a floor plan you walk through. Name opposite the doorway photo, then the text set like
   annotations on a drawing: a narrow mono label column on the left, the prose and images on the right. */
:root {
  --bg: #e6e8e4;        /* raw concrete */
  --surface: #dcdfda;
  --ink: #17191c;
  --muted: #5d6268;
  --line: #b4b9b6;
  --accent: #2f45c9;    /* the dancer's path: stage-light cobalt */
  --f-display: "Italiana", "Didot", "Bodoni 72", Georgia, serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 5vw, 64px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121418; --surface: #1a1d22; --ink: #e8eae6; --muted: #959ba2; --line: #33383f; --accent: #8b9bff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121418; --surface: #1a1d22; --ink: #e8eae6; --muted: #959ba2; --line: #33383f; --accent: #8b9bff;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  background: var(--bg); color: var(--ink);
  font: 300 17px/1.65 var(--f-body);
  padding-inline: var(--gutter);
  -webkit-font-smoothing: antialiased;
}
.page { max-width: 1120px; margin-inline: auto; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { display: block; width: 100%; height: auto; max-width: 100%; }
figure { margin: 0; }

.mono {
  font: 400 11.5px/1.4 var(--f-mono);
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
figcaption { margin-top: 10px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* top bar */
.bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-block: 22px; border-bottom: 1px solid var(--line);
}
.bar nav { display: flex; gap: 22px; flex-wrap: wrap; }
.bar nav a { text-decoration: none; }
.bar nav a:hover { color: var(--ink); }

.bar .right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.lang { display: flex; border: 1px solid var(--line); }
.lang a {
  text-decoration: none; color: var(--muted); padding: 5px 10px;
}
.lang a + a { border-left: 1px solid var(--line); }
.lang a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.lang a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px); align-items: end;
  padding-block: clamp(36px, 7vw, 80px) clamp(32px, 6vw, 72px);
}
.hero > div:first-child { container-type: inline-size; min-width: 0; }
.hero h1 {
  /* "Ponomarova" plus its indent is about 5.3em wide: size the name to its own column, not the window */
  font: 400 clamp(44px, 9vw, 148px)/.86 var(--f-display);
  font-size: min(148px, 17cqi);
  letter-spacing: -.01em; margin: 0;
}
.hero h1 span { display: block; }
.hero h1 span + span { padding-left: .5em; }
.hero .role { margin: 28px 0 0; display: flex; gap: 10px 28px; flex-wrap: wrap; }
.hero .intro { margin: 28px 0 0; max-width: 34ch; font-size: 19px; line-height: 1.5; }
.hero figure { position: relative; }
/* the dancer's path, traced over the doorway */
.hero figure svg { position: absolute; inset: 0; width: 100%; height: calc(100% - 30px); pointer-events: none; }

/* annotated sections */
.sec {
  display: grid; grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px clamp(24px, 5vw, 72px);
  padding-block: clamp(36px, 6vw, 64px);
  border-top: 1px solid var(--line);
}
.sec > header { display: flex; flex-direction: column; gap: 6px; }
.sec h2 { font: 400 13px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.sec .body { max-width: 62ch; }
.sec p { margin: 0 0 1em; }
.lede { font-size: clamp(21px, 2.4vw, 27px); line-height: 1.45; font-weight: 300; text-wrap: pretty; }

/* full-bleed stage image */
.band { padding-block: 0 clamp(36px, 6vw, 64px); }

/* current work */
.work-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.work h3 {
  font: 400 clamp(36px, 5vw, 58px)/1 var(--f-display); margin: 0 0 20px; text-wrap: balance;
}
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); margin-bottom: 18px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.keys { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; padding: 0; list-style: none; }
.keys li { border: 1px solid var(--line); padding: 4px 10px; }

/* path / timeline */
.path { list-style: none; margin: 0; padding: 0; display: grid; }
.path li {
  display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 4px 20px; align-items: baseline;
  padding-block: 16px; border-bottom: 1px solid var(--line);
}
.path li:first-child { padding-top: 0; }
.path .yr { font: 400 15px var(--f-mono); font-variant-numeric: tabular-nums; color: var(--accent); }
.path .what { font-size: 18px; }
.path .where { text-align: right; }

/* backstage */
.snaps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.snaps img { aspect-ratio: 4 / 5; object-fit: cover; height: auto; }
@media (max-width: 520px) { .snaps { grid-template-columns: 1fr 1fr; } .snaps figure:last-child { grid-column: 1 / -1; } .snaps figure:last-child img { aspect-ratio: 4 / 3; } }

/* elsewhere */
.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.link {
  display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); text-decoration: none;
  background: var(--surface); transition: border-color .2s;
}
.link:hover { border-color: var(--accent); }
.link .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg); }
.link .thumb img { width: 100%; height: 100%; object-fit: cover; }
.link .thumb.type { display: grid; place-items: center; font: 400 clamp(40px, 5vw, 56px)/1 var(--f-display); color: var(--ink); }
.link .txt { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.link .name { font-size: 19px; font-weight: 400; }
.link.todo { border-style: dashed; background: transparent; }
.link.todo .name { color: var(--muted); }

.link.mail .name { text-decoration: none; overflow-wrap: anywhere; user-select: all; }
.link.mail .name:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.link .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.link button {
  background: none; border: 1px solid var(--line); color: var(--ink); padding: 4px 10px; cursor: pointer;
}
.link button:hover { border-color: var(--accent); }
.link button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 28px 40px; border-top: 1px solid var(--line); }

/* plan drawing */
.p-path { stroke: #8b9bff; stroke-width: 2; fill: none; stroke-dasharray: 3 6; stroke-linecap: round; }
.p-dot { fill: #8b9bff; }
@media (prefers-reduced-motion: reduce) { .p-moving { display: none; } }
@media (prefers-reduced-motion: no-preference) { .p-rest { display: none; } }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .sec { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .path li { grid-template-columns: 56px minmax(0, 1fr); }
  .path .where { grid-column: 2; text-align: left; }
}

/* phones: the text-only link cards drop their big letter tile */
@media (max-width: 760px) {
  .link .thumb.type { display: none; }
  .link .thumb { aspect-ratio: 3 / 1; }
}
