/* aditya11.in · styles. Hand-written, no framework. */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0c0c0b;
  --bg-2: #121211;
  --ink: #edebe4;
  --ink-2: #b9b6ac;
  --muted: #858278;
  --line: #262522;
  --line-2: #34332f;
  --accent: #ffb23f;
  --accent-ink: #1a1306;

  --sans: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --pad: clamp(20px, 4.5vw, 64px);
  --max: 1320px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--accent-ink); }

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 14px; font-family: var(--mono); font-size: 13px;
  text-decoration: none;
}
.skip:focus-visible { top: 12px; }

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

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.accent { color: var(--accent); }
em, .serif-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 12, 11, 0.94);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
  font-weight: 500; font-size: 15px; letter-spacing: -0.01em;
}
.brand svg { width: 30px; height: 30px; flex: none; }
.brand .brand-name span { color: var(--muted); }

.nav ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: clamp(14px, 3vw, 40px);
}
.nav a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  color: var(--ink-2);
  display: inline-flex; gap: 6px; align-items: baseline;
  padding: 8px 0;
}
.nav a .n { color: var(--muted); font-size: 10px; }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] .n { color: var(--accent); }
.nav a[aria-current="page"] .t {
  text-decoration: underline; text-decoration-color: var(--accent);
  text-underline-offset: 6px; text-decoration-thickness: 1px;
}

.clock {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--muted); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  font-variant-numeric: tabular-nums;
}
.clock .live {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: blink 2s steps(1, end) infinite;
}
.clock time { color: var(--ink-2); }
@keyframes blink { 50% { opacity: 0.25; } }

@media (max-width: 900px) {
  .clock { display: none; }
}
@media (max-width: 520px) {
  .kicker > span:nth-child(3) { display: none; }
  .brand .brand-name span { display: none; }
  .nav a .n { display: none; }
  .nav ol { gap: 18px; }
}

/* ---------- Generic sections ---------- */

main { display: block; }

.section {
  padding-top: clamp(64px, 11vw, 150px);
  padding-bottom: clamp(24px, 3vw, 40px);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(140px, 3fr) 9fr;
  gap: 24px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head .idx { color: var(--accent); }
.section-head .label { color: var(--muted); }
@media (max-width: 720px) {
  .section-head { grid-template-columns: auto 1fr; gap: 16px; }
}

.h2 {
  font-size: clamp(34px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0;
}
.h2 em { font-size: 1.08em; letter-spacing: -0.02em; }

.lead {
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 0;
  max-width: 30ch;
}
.lead.wide { max-width: 34ch; }
.body-copy { color: var(--ink-2); max-width: 58ch; }
.body-copy p { margin: 0 0 1.1em; }

.cols {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 24px;
}
.cols > .col-a { color: var(--muted); }
@media (max-width: 720px) {
  .cols { grid-template-columns: 1fr; gap: 12px; }
}

.text-link {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
  text-transform: uppercase; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
}
.text-link .arr { color: var(--accent); }

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  top: 0; right: -6vw;
  width: min(62vw, 860px);
  height: 100%;
}
/* the figure is interactive: drag to rotate, tap to morph (no hover effects) */
.hero-canvas canvas {
  display: block;
  width: 100%; height: 100%;
  cursor: grab;
  touch-action: pan-y;          /* 1-finger vertical swipes still scroll the page */
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}
.hero-canvas canvas.is-pressed { cursor: grabbing; }
.hero-canvas canvas:focus-visible { outline-offset: -2px; }
.canvas-hint { display: none; }
.hero-foot .fig { display: inline-flex; flex-wrap: wrap; gap: 6px 16px; }
.hero-foot .fig-hint { color: var(--muted); opacity: 0.75; }
@media (min-width: 721px) {
  /* let drags over the headline reach the figure behind it; links stay clickable */
  .hero-inner { pointer-events: none; }
  .hero-inner a { pointer-events: auto; }
}
.hero-inner {
  position: relative;
  padding-top: clamp(56px, 12vh, 140px);
  padding-bottom: 40px;
}
.kicker {
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  color: var(--muted);
  margin: 0 0 clamp(26px, 4vw, 44px);
}
.kicker .tag {
  color: var(--ink);
  border: 1px solid var(--line-2);
  padding: 5px 10px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(54px, 10.4vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: 500;
  max-width: 11ch;
}
.hero h1 em {
  font-size: 1.06em;
  letter-spacing: -0.03em;
  color: var(--accent);
  padding-right: 0.04em;
}
.hero-sub {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 24px;
  margin-top: clamp(32px, 5vw, 56px);
}
.hero-sub p {
  margin: 0; max-width: 44ch;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-2);
  line-height: 1.55;
}
.hero-sub .mono { color: var(--muted); padding-top: 6px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 30px; }

.hero-foot {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 16px; padding-bottom: 22px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  color: var(--muted);
}
.hero-foot b { color: var(--ink-2); font-weight: 500; }

@media (max-width: 720px) {
  .hero { min-height: auto; }
  .hero-canvas {
    position: relative;
    top: auto; right: auto;
    width: calc(100% + 2 * var(--pad));
    margin-left: calc(-1 * var(--pad));
    height: 300px;
    margin-bottom: 4px;
  }
  .canvas-hint {
    display: block;
    position: absolute; left: 50%; bottom: 12px;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 11px; letter-spacing: 0.04em;
    color: var(--muted);
    pointer-events: none;
  }
  .hero-foot .fig-hint { display: none; }
  .hero-inner { padding-top: 0; }
  .hero-sub { grid-template-columns: 1fr; gap: 10px; }
  .hero-sub .mono { padding-top: 0; }
  .hero-foot { flex-direction: column; gap: 6px; }
}

/* ---------- Terminal / philosophy ---------- */

.terminal {
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  max-width: 980px;
}
.terminal-bar {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 10px 16px;
  color: var(--muted);
}
.terminal-bar .dots { display: inline-flex; gap: 6px; }
.terminal-bar .dots i {
  width: 9px; height: 9px; border: 1px solid var(--line-2); border-radius: 50%;
  display: block;
}
.terminal-body {
  padding: clamp(22px, 3.5vw, 40px);
  font-family: var(--mono);
}
.terminal-body .cmd { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.terminal-body .cmd .p { color: var(--accent); }
.philosophy {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(28px, 4.6vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 500;
  min-height: 3.24em;
}
.philosophy .line { display: block; }
.philosophy .line:nth-child(2) em, .philosophy .w { color: var(--accent); }
.caret {
  display: inline-block;
  width: 0.5em; height: 0.9em;
  background: var(--accent);
  vertical-align: -0.08em;
  margin-left: 0.06em;
  animation: blink 1.05s steps(1, end) infinite;
}
.terminal-body .out { color: var(--ink-2); font-size: 14px; margin: 22px 0 0; line-height: 1.6; }
.terminal-body .out .p { color: var(--muted); }

/* ---------- Project rows ---------- */

.projects { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.project {
  display: grid;
  grid-template-columns: 3fr 4fr 5fr;
  gap: 24px;
  padding: clamp(26px, 3.4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.project .p-idx { color: var(--muted); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.project .p-idx .n { color: var(--accent); }
.project h3 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.project .cat { color: var(--muted); margin-top: 14px; display: block; }
.project .desc { margin: 0; color: var(--ink-2); max-width: 52ch; }
.project .tech { margin-top: 18px; }
.project .tech .mono { color: var(--muted); display: block; margin-bottom: 8px; }

.status {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-2);
  padding: 5px 9px;
  color: var(--ink);
  line-height: 1.3;
}
.status::before {
  content: ""; width: 6px; height: 6px; flex: none;
  background: var(--accent);
}
.status.concept::before { background: transparent; border: 1px solid var(--accent); }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; align-content: flex-start; }
.tags li {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em;
  border: 1px solid var(--line-2);
  padding: 4px 10px;
  color: var(--ink-2);
}

.project.compact { grid-template-columns: 3fr 6fr 3fr; align-items: baseline; }
.project.compact .right { justify-self: end; text-align: right; }
.project.compact h3 { font-size: clamp(28px, 3.4vw, 46px); }
.project.compact .cat { margin-top: 10px; }

@media (max-width: 900px) {
  .project { grid-template-columns: 1fr; gap: 14px; }
  .project .p-idx { flex-direction: row; justify-content: space-between; width: 100%; align-items: center; }
  .project.compact { grid-template-columns: 1fr auto; }
  .project.compact .p-idx { display: none; }
  .project.compact .right { align-self: start; }
}
@media (max-width: 480px) {
  .project.compact { grid-template-columns: 1fr; }
  .project.compact .right { justify-self: start; text-align: left; }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding-top: clamp(56px, 10vw, 130px); padding-bottom: clamp(10px, 2vw, 20px); }
.page-hero h1 {
  margin: 0;
  font-size: clamp(56px, 11vw, 176px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 500;
}
.page-hero h1 em { color: var(--accent); font-size: 1.04em; letter-spacing: -0.03em; }
.page-hero .intro {
  display: grid; grid-template-columns: 3fr 9fr; gap: 24px;
  margin-top: clamp(30px, 5vw, 60px);
}
.page-hero .intro p { margin: 0; max-width: 46ch; font-size: clamp(18px, 1.7vw, 22px); color: var(--ink-2); line-height: 1.5; }
.page-hero .intro .mono { color: var(--muted); padding-top: 6px; }
@media (max-width: 720px) {
  .page-hero .intro { grid-template-columns: 1fr; gap: 10px; }
}

.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--muted); align-items: center; }

/* ---------- About ---------- */

.facts { margin: 0; border-top: 1px solid var(--line); }
.facts > div {
  display: grid; grid-template-columns: 3fr 9fr; gap: 24px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.facts dt { color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; padding-top: 6px; }
.facts dd { margin: 0; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -0.02em; line-height: 1.3; }
.facts dd small { display: block; font-size: 15px; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
@media (max-width: 720px) {
  .facts > div { grid-template-columns: 1fr; gap: 6px; }
  .facts dt { padding-top: 0; }
}

.skill-groups { border-top: 1px solid var(--line); }
.skill-group {
  display: grid; grid-template-columns: 3fr 9fr; gap: 24px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.skill-group h3 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.skill-group h3 .mono { display: block; color: var(--muted); margin-bottom: 8px; font-size: 11px; }
.skill-group .tags li { font-size: 13px; padding: 6px 12px; color: var(--ink); }
@media (max-width: 720px) {
  .skill-group { grid-template-columns: 1fr; gap: 14px; }
}

.interests {
  list-style: none; margin: 0; padding: 0;
  font-size: clamp(24px, 3.8vw, 52px);
  line-height: 1.22; letter-spacing: -0.035em; font-weight: 500;
}
.interests { text-wrap: pretty; }
.interests li { display: inline; }
.interests li::after { content: " / "; color: var(--line-2); font-weight: 300; }
.interests li:last-child::after { content: ""; }
.interests li:nth-child(3n+2) { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; }

/* ---------- Contact ---------- */

.contact-big {
  display: inline-block;
  font-size: clamp(34px, 7vw, 104px);
  line-height: 1; letter-spacing: -0.05em; font-weight: 500;
  text-decoration: none;
  word-break: break-word;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.08em;
}
.contact-big .at { color: var(--accent); font-family: var(--serif); font-style: italic; font-weight: 400; }

.contact-list { margin: clamp(40px, 6vw, 70px) 0 0; border-top: 1px solid var(--line); }
.contact-list > div {
  display: grid; grid-template-columns: 3fr 5fr 4fr; gap: 24px;
  padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.contact-list dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0; font-size: clamp(18px, 1.9vw, 24px); letter-spacing: -0.015em; }
.contact-list dd.note { font-size: 15px; color: var(--muted); letter-spacing: 0; }
.contact-list a { text-decoration-color: var(--line-2); }
@media (max-width: 720px) {
  .contact-list > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- CTA ---------- */

.cta { padding-bottom: clamp(48px, 7vw, 96px); }
.cta .h2 { max-width: 14ch; margin-bottom: clamp(30px, 4vw, 48px); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 72px) 0 28px;
  margin-top: clamp(24px, 3vw, 40px);
}
.footer-top {
  display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: end;
}
.footer-philo {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 48px);
  line-height: 1.05; letter-spacing: -0.035em; font-weight: 500;
}
.footer-philo em { color: var(--accent); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; justify-self: end; text-align: right; }
.footer-links a { font-family: var(--mono); font-size: 13px; letter-spacing: 0.03em; text-decoration: none; color: var(--ink-2); }
.footer-links a .k { color: var(--muted); }
.footer-bottom {
  margin-top: clamp(40px, 6vw, 72px);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted);
  border-top: 1px solid var(--line); padding-top: 18px;
}
@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; text-align: left; }
}

/* ---------- 404 ---------- */
.notfound { min-height: calc(100svh - var(--header-h) - 200px); display: flex; flex-direction: column; justify-content: center; padding: 80px 0; }
.notfound h1 { font-size: clamp(90px, 20vw, 300px); line-height: .85; letter-spacing: -0.07em; font-weight: 500; margin: 0 0 24px; }
.notfound h1 em { color: var(--accent); }

/* ---------- Motion (only when JS is running and motion is allowed) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].in { opacity: 1; transform: none; }

.js .split .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js .split .wd > span {
  display: inline-block;
  transform: translate3d(0, 105%, 0);
  transition: transform 1.05s var(--ease);
  transition-delay: calc(0.08s + var(--i, 0) * 0.07s);
}
.js .split.in .wd > span { transform: none; }

.js .load-fade { opacity: 0; transition: opacity 0.9s var(--ease) 0.45s; }
.js.loaded .load-fade { opacity: 1; }

/* page transitions */
.page-veil {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s var(--ease);
}
.js .page-veil { opacity: 1; }
.js.loaded .page-veil { opacity: 0; transition-duration: 0.5s; }
.js.leaving .page-veil { opacity: 1; transition-duration: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .split .wd > span, .js .load-fade { opacity: 1 !important; transform: none !important; transition: none !important; }
  .page-veil { display: none; }
  .caret, .clock .live { animation: none; }
}

/* ---------- Project link buttons (only rendered when a link is set in data.js) ---------- */
.btns { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 10px 14px;
  text-decoration: none;
  line-height: 1.2;
}
.btn .arr { font-family: var(--sans); }
.project.compact .right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.project.compact .right .btn { margin-top: 2px; }

/* ---------- Video editing (Projects page, hidden while data.js has none) ---------- */
.videos {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 40px);
}
.video { display: flex; flex-direction: column; gap: 18px; border-top: 1px solid var(--line); padding-top: 22px; }
.v-media {
  position: relative; display: block;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.v-media.vertical { aspect-ratio: 9 / 16; max-width: 340px; }
.v-media img, .v-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.v-media .play {
  position: absolute; left: 16px; bottom: 16px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
}
.v-media .play svg { width: 20px; height: 20px; }
.video h3 { margin: 6px 0 0; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; }
.video .cat { color: var(--muted); }
.video .desc { margin: 12px 0 0; color: var(--ink-2); }
@media (max-width: 720px) {
  .videos { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .project.compact .right { align-items: flex-start; }
}

@media print {
  .site-header, .hero-canvas, .page-veil { display: none; }
  body { background: #fff; color: #000; }
}

.plain-links { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 28px; line-height: 2; }
