/* williamharris.xyz design system
 *
 * Direction (William's style guide, 2026-12-03): editorial gallery meets modern
 * precision. Classy, understated, confident, with subtle kinetic polish.
 * Asymmetric editorial grid, generous whitespace, hairline dividers.
 *
 * Type
 *   Erode (Fontshare, self-hosted)    display serif: statements, headings, project titles
 *   Tanker (Fontshare, self-hosted)   the name and the monogram only
 *   Plus Jakarta Sans (Google)        body and UI
 *   JetBrains Mono (Google)           metadata: dates, roles, stacks, tags
 *
 * Themes: Warm Obsidian (default dark) and Gallery Paper (light), switched by
 * [data-theme] on <html>. All color comes from the tokens below.
 */

@font-face { font-family: "Erode"; src: url("/fonts/erode/Erode-Regular.woff2") format("woff2"), url("/fonts/erode/Erode-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Tanker"; src: url("/fonts/tanker/Tanker-Regular.woff2") format("woff2"), url("/fonts/tanker/Tanker-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  /* Warm Obsidian & Alabaster (default) */
  --bg-primary: #0e0e10;
  --bg-surface: #16161a;
  --border-subtle: rgba(255, 255, 255, .08);
  --text-primary: #f4f1ea;
  --text-secondary: #9a9893;
  --accent-primary: #d4a373;
  --accent-secondary: #7f9c96;
  --noise-opacity: .03;
  color-scheme: dark;

  --f-display: "Erode", "Instrument Serif", Georgia, serif;
  --f-name: "Tanker", "Erode", Georgia, serif;
  --f-body: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 4px;

  --t-meta: .75rem;
  --t-sm: .875rem;
  --t-body: 1.0625rem;
  --t-lead: clamp(1.15rem, 1rem + .5vw, 1.375rem);
  --t-h3: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  --t-h2: clamp(2.4rem, 1.4rem + 3.8vw, 4.75rem);
  --t-hero: clamp(2.8rem, 1.2rem + 6vw, 7.25rem);

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1360px;
  --measure: 65ch;
  --pad-section: clamp(80px, 10vw, 120px);
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem;
}

/* Gallery Paper */
:root[data-theme="light"] {
  --bg-primary: #f7f5f0;
  --bg-surface: #efece6;
  --border-subtle: rgba(24, 24, 27, .1);
  --text-primary: #18181b;
  --text-secondary: #5c5b57;
  --accent-primary: #9e6240;
  --accent-secondary: #56736d;
  --noise-opacity: .045;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg-primary); color: var(--text-primary);
  font: 400 var(--t-body)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
/* film grain: fixed SVG fractal noise over everything */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: var(--border-subtle); transition: color .3s var(--ease), text-decoration-color .3s var(--ease); }
a:hover { color: var(--accent-primary); text-decoration-color: currentColor; }
:focus-visible { outline: 1px solid var(--accent-primary); outline-offset: 4px; border-radius: 2px; }
::selection { background: var(--accent-primary); color: var(--bg-primary); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--gutter); top: var(--s2); z-index: 120; background: var(--text-primary); color: var(--bg-primary); padding: .5em 1em; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type roles ---------- */
.serif, .poster { font-family: var(--f-display); font-weight: 400; letter-spacing: -.03em; line-height: 1; text-transform: none; }
.h2 { font-size: var(--t-h2); }
.h3 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-h3); letter-spacing: -.02em; line-height: 1.1; }
.lead { font-size: var(--t-lead); line-height: 1.55; max-width: 48ch; color: var(--text-primary); }
.dim { color: var(--text-secondary); }
.small { font-size: var(--t-sm); }
.meta, .tag, .crumbs, .facts dt, .when, .role, .presents {
  font-family: var(--f-mono); font-size: var(--t-meta); font-weight: 400;
  text-transform: uppercase; letter-spacing: .08em; line-height: 1.5;
}
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }

/* ---------- entrance: staggered fade-up on first paint ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- navigation ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg-primary) 72%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-subtle); }
.site-head .wrap { display: flex; align-items: center; gap: var(--s3); min-height: 64px; }
.site-head .mark { font-family: var(--f-name); font-size: 1.35rem; letter-spacing: .01em; text-decoration: none; white-space: nowrap; line-height: 1; }
.site-head .mark:hover { color: var(--text-primary); }
.status { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--f-mono); font-size: var(--t-meta); letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-secondary); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-secondary) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
.site-head nav { margin-left: auto; }
.site-head nav ul { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); font-size: var(--t-sm); }
.site-head nav a { text-decoration: none; color: var(--text-secondary); }
.site-head nav a:hover, .site-head nav a[aria-current] { color: var(--text-primary); }
.theme-toggle { all: unset; cursor: pointer; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--border-subtle); border-radius: 50%; color: var(--text-secondary); transition: color .3s var(--ease), border-color .3s var(--ease); }
.theme-toggle:hover { color: var(--text-primary); border-color: var(--text-secondary); }
.theme-toggle:focus-visible { outline: 1px solid var(--accent-primary); outline-offset: 3px; }
.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }
@media (max-width: 760px) {
  .site-head .status { display: none; }
  .site-head nav li.opt { display: none; }
}

/* ---------- homepage hero ---------- */
.hero { padding-block: clamp(72px, 12vw, 160px) var(--pad-section); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s4) clamp(2rem, 5vw, 5rem); align-items: end; }
.hero .name { font-family: var(--f-name); font-weight: 400; font-size: clamp(3.2rem, 1rem + 9vw, 9.5rem); line-height: .9; letter-spacing: -.01em; }
.hero .presents { color: var(--accent-primary); margin-bottom: var(--s3); }
.hero .statement { font-family: var(--f-display); font-size: clamp(1.6rem, 1rem + 2.2vw, 3rem); line-height: 1.12; letter-spacing: -.03em; margin-top: var(--s4); max-width: 26ch; }
.hero .statement .dim { color: var(--text-secondary); }
.hero aside { display: grid; gap: var(--s3); align-content: end; }
.hero aside img { width: 100%; max-width: 380px; justify-self: end; }
.hero aside p { color: var(--text-secondary); max-width: 34ch; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero aside img { max-width: 200px; justify-self: start; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--pad-section); border-top: 1px solid var(--border-subtle); }
.section-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s2) clamp(2rem, 5vw, 5rem); align-items: end; margin-bottom: var(--s5); }
.section-head .meta { color: var(--text-secondary); }
.section-head .lead { color: var(--text-secondary); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- project index: rows (inline thumbnails on phones) ---------- */
.index { border-top: 1px solid var(--border-subtle); position: relative; }
.index li { border-bottom: 1px solid var(--border-subtle); }
.index a {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 2fr); gap: var(--s1) var(--s4);
  align-items: baseline; padding-block: clamp(1.25rem, 2.4vw, 2rem); text-decoration: none;
  transition: padding .5s var(--ease), color .4s var(--ease);
}
.index .t { font-family: var(--f-display); font-size: clamp(2rem, 1.2rem + 2.8vw, 3.75rem); line-height: 1; letter-spacing: -.03em; transition: color .4s var(--ease); }
.index .d { color: var(--text-secondary); max-width: 46ch; }
.index .y { text-align: right; color: var(--text-secondary); }
.index a:hover { padding-left: 1rem; color: var(--text-primary); }
.index a:hover .t { color: var(--accent-primary); }
.index .thumb { display: none; }
@media (hover: none), (max-width: 860px) {
  .index a { grid-template-columns: 1fr; }
  .index .y { text-align: left; order: -1; }
  .index .thumb { display: block; order: 3; margin-top: var(--s1); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
  .index .thumb img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- project page ---------- */
.case-hero { padding-block: clamp(64px, 9vw, 120px) 0; }
.case-hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s4) clamp(2rem, 5vw, 5rem); align-items: end; }
.case-hero .crumbs { grid-column: 1 / -1; color: var(--text-secondary); }
.case-hero .crumbs a { text-decoration: none; }
.case-hero h1 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-hero); letter-spacing: -.03em; line-height: .95; text-transform: none; }
.case-hero .lead { color: var(--text-secondary); }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: var(--s2) var(--s3); border-top: 1px solid var(--border-subtle); padding-top: var(--s3); margin-top: var(--s2); }
.facts dt { color: var(--text-secondary); margin-bottom: .25rem; }
.facts dd { font-size: var(--t-sm); }
@media (max-width: 860px) { .case-hero .wrap { grid-template-columns: 1fr; } }

.hero-media { margin-top: var(--s5); }
.hero-media img, .hero-media video { width: 100%; max-height: 82vh; object-fit: cover; border-radius: var(--radius); }

/* "What I owned" */
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--s4); padding-block: var(--pad-section) 0; }
.numbers li { border-top: 1px solid var(--border-subtle); padding-top: var(--s3); }
.numbers .n { display: block; font-family: var(--f-display); font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.75rem); letter-spacing: -.03em; line-height: 1.05; color: var(--accent-primary); }
.numbers p { margin-top: .6rem; color: var(--text-secondary); max-width: 34ch; }

/* chapters: text beside media, asymmetric, alternating */
.chapter { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s4) clamp(2rem, 6vw, 6rem); align-items: start; padding-block: var(--pad-section) 0; }
.chapter.flip { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.chapter.flip > .copy { order: 2; }
.chapter .copy { display: grid; gap: var(--s2); align-content: start; position: sticky; top: 96px; }
.chapter .copy h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); letter-spacing: -.03em; line-height: 1.02; text-transform: none; }
.chapter .copy p { color: var(--text-secondary); max-width: var(--measure); }
.chapter .copy .tag-row { margin-top: var(--s1); }
.chapter .media { display: grid; gap: clamp(10px, 1.2vw, 16px); }
.chapter .media.two { grid-template-columns: 1fr 1fr; align-items: start; }
.chapter .media.three { grid-template-columns: repeat(3, 1fr); align-items: start; }
.chapter.full { grid-template-columns: 1fr; }
.chapter.full .copy { position: static; max-width: 60rem; }
.media figure { display: grid; gap: .6rem; }
.media figcaption { font-family: var(--f-mono); font-size: var(--t-meta); letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }
.media img, .media video { width: 100%; border-radius: var(--radius); background: var(--bg-surface); }
.shot { border: 1px solid var(--border-subtle); }
.phone { max-width: 360px; justify-self: center; }
@media (max-width: 860px) {
  .chapter, .chapter.flip { grid-template-columns: 1fr; }
  .chapter.flip > .copy { order: 0; }
  .chapter .copy { position: static; }
  .chapter .media.three { grid-template-columns: 1fr 1fr; }
}

.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { border: 1px solid var(--border-subtle); border-radius: 2px; padding: .3em .7em; color: var(--accent-secondary); }

.pending { display: grid; place-items: center; min-height: 16rem; border: 1px dashed var(--border-subtle); border-radius: var(--radius); color: var(--text-secondary); font-family: var(--f-mono); font-size: var(--t-meta); letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: var(--s3); }

.embed { position: relative; width: 100%; aspect-ratio: 16 / 11; border: 1px solid var(--border-subtle); border-radius: var(--radius); overflow: hidden; background: var(--bg-surface); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* next project */
.next { display: grid; gap: var(--s1); text-decoration: none; padding-block: var(--pad-section); border-top: 1px solid var(--border-subtle); margin-top: var(--pad-section); }
.next .dim { font-family: var(--f-mono); font-size: var(--t-meta); letter-spacing: .08em; text-transform: uppercase; }
.next .poster { font-size: clamp(2.6rem, 1.2rem + 6vw, 7rem); transition: color .4s var(--ease), transform .6s var(--ease); }
.next:hover .poster { color: var(--accent-primary); transform: translateX(.6rem); }

/* ---------- resume ---------- */
.timeline { border-top: 1px solid var(--border-subtle); }
.timeline li { display: grid; grid-template-columns: 10rem minmax(0, 1fr) minmax(0, 1.6fr); gap: .25rem var(--s4); padding-block: var(--s3); border-bottom: 1px solid var(--border-subtle); align-items: baseline; }
.timeline .when { color: var(--text-secondary); }
.timeline .who { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.15; }
.timeline .who a { text-decoration: none; }
.timeline .what { color: var(--text-secondary); }
@media (max-width: 760px) { .timeline li { grid-template-columns: 1fr; } }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--s4); margin-top: var(--s5); }
.cols h3 { font-family: var(--f-mono); font-size: var(--t-meta); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-primary); margin-bottom: var(--s2); }
.cols p, .cols li { color: var(--text-secondary); }
.cols li + li { margin-top: .35em; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5) clamp(2rem, 6vw, 6rem); }
.contact .h2 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.5rem); }
.links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); }
.links a { font-family: var(--f-mono); font-size: var(--t-meta); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--border-subtle); padding-bottom: .2em; }
.form { display: grid; gap: var(--s3); }
.field { display: grid; gap: .5rem; }
.field label { font-family: var(--f-mono); font-size: var(--t-meta); letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); }
.field input, .field textarea { font: inherit; color: var(--text-primary); background: transparent; border: 0; border-bottom: 1px solid var(--border-subtle); border-radius: 0; padding: .6rem 0; transition: border-color .3s var(--ease); }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent-primary); }
.btn { justify-self: start; font: 500 var(--t-sm)/1 var(--f-body); letter-spacing: .02em; background: var(--text-primary); color: var(--bg-primary); border: 0; border-radius: var(--radius); padding: 1rem 1.6rem; cursor: pointer; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.btn:hover { background: var(--accent-primary); transform: translateY(-1px); }
.form-status { min-height: 1.5em; color: var(--text-secondary); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.site-foot { border-top: 1px solid var(--border-subtle); padding-block: var(--s4); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); font-family: var(--f-mono); font-size: var(--t-meta); letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); }

/* aliases for page-level styles written against the earlier tokens */
:root, :root[data-theme="light"] { --smoke: var(--text-secondary); --stage: var(--bg-surface); --line: var(--border-subtle); --white: var(--text-primary); }

/* small phones: header fits on one line */
@media (max-width: 480px) {
  .site-head .wrap { gap: .75rem; }
  .site-head .mark { font-size: 1.1rem; }
  .site-head nav ul { gap: .85rem; font-size: .8125rem; }
  .site-head nav li:first-child { display: none; } /* Work: the homepage index and breadcrumbs cover it */
}

/* Turnstile check sits in the form flow */
.cf-turnstile { min-height: 65px; }
.btn:disabled { opacity: .5; cursor: wait; }

/* "during the day" / "After dark" in the hero switch the theme */
.mode-word {
  all: unset; cursor: pointer; color: inherit;
  text-decoration: underline; text-decoration-style: dotted; text-decoration-thickness: 1px;
  text-underline-offset: .18em; text-decoration-color: var(--accent-primary);
  transition: color .3s var(--ease);
}
.mode-word:hover, .mode-word[aria-pressed="true"] { color: var(--accent-primary); text-decoration-style: solid; }
.mode-word:focus-visible { outline: 1px solid var(--accent-primary); outline-offset: 3px; border-radius: 2px; }

/* footer: links to LinkedIn and Instagram */
.foot-links { display: flex; flex-wrap: wrap; gap: var(--s3); }
.foot-links a { text-decoration: none; color: var(--text-secondary); }
.foot-links a:hover { color: var(--accent-primary); }

/* icons on social links */
.links a, .foot-links a { display: inline-flex; align-items: center; gap: .5em; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico-img { object-fit: contain; }
.links .ico { width: 1.35em; height: 1.35em; }

/* ---------- resume timeline: time runs UP ----------
 * 2010 at the bottom, Now near the top, and a dashed spine continuing up to
 * "Next" (the contact form). Each role is a span on the spine, positioned by
 * bottom/height in % of the 2010–2028 axis (set inline). Main career on the
 * right lane; side ventures (Paymency, CATEGORY) on the left. Cards sit at the
 * start of each span and the bar rises from there. Phones: a simple list,
 * newest on top, with the same spine. */
.vt { --yr: 76px; position: relative; display: grid; justify-items: center; }
.vt-canvas { position: relative; width: 100%; height: calc(var(--years) * var(--yr)); }
.vt-spine { position: absolute; left: 50%; top: 0; bottom: 0; width: 0; }
.vt-spine::before, .vt-spine::after { content: ""; position: absolute; left: -1px; width: 2px; }
.vt-spine::before { bottom: 0; height: var(--now); background: var(--border-subtle); }
.vt-spine::after { top: 0; bottom: var(--now); border-left: 2px dashed color-mix(in srgb, var(--accent-primary) 60%, transparent); background: none; width: 0; }
.vt-ticks { position: absolute; inset: 0; pointer-events: none; }
.vt-tick { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid color-mix(in srgb, var(--border-subtle) 60%, transparent); }
.vt-tick span { position: absolute; left: 0; bottom: .3rem; font-family: var(--f-mono); font-size: var(--t-meta); letter-spacing: .06em; color: var(--text-secondary); }
.vt-tick.now { border-top: 1px dashed color-mix(in srgb, var(--accent-primary) 55%, transparent); }
.vt-tick.now span { color: var(--accent-primary); text-transform: uppercase; letter-spacing: .08em; }
.vt-items { list-style: none; position: absolute; inset: 0; }
.vt-item { position: absolute; width: 50%; }
.vt-item.lane-r { left: 50%; padding-left: 2rem; }
.vt-item.lane-l { right: 50%; padding-right: 2rem; text-align: right; }
.vt-bar { position: absolute; bottom: 0; top: 0; width: 6px; border-radius: 999px; background: color-mix(in srgb, var(--accent-primary) 55%, transparent); transition: background-color .3s var(--ease); }
.lane-r .vt-bar { left: -3px; }
.lane-l .vt-bar { right: 6px; }
.vt-item.live .vt-bar { background: linear-gradient(0deg, color-mix(in srgb, var(--accent-primary) 55%, transparent), var(--accent-primary)); }
.vt-bar::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--bg-primary); border: 2px solid var(--accent-primary); }
.vt-item:hover .vt-bar { background: var(--accent-primary); }
.vt-card { position: absolute; bottom: -.4rem; display: grid; gap: .15rem; max-width: 26rem; }
.lane-r .vt-card { left: 2rem; right: 0; }
.lane-l .vt-card { right: 2rem; left: auto; justify-items: end; }
.vt-card .when { font-family: var(--f-mono); font-size: var(--t-meta); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-primary); }
.vt-card .who { font-family: var(--f-display); font-size: 1.4rem; letter-spacing: -.02em; line-height: 1.1; }
.vt-card .who a { text-decoration: none; }
.vt-card .who a:hover { color: var(--accent-primary); }
.vt-card .what { color: var(--text-secondary); font-size: var(--t-sm); line-height: 1.45; }
.vt-next { display: grid; justify-items: center; gap: .2rem; margin-bottom: .75rem; text-decoration: none; text-align: center; }
.vt-next .meta { color: var(--accent-primary); }
.vt-next-t { font-family: var(--f-display); font-size: 1.6rem; letter-spacing: -.02em; transition: color .3s var(--ease); }
.vt-next:hover .vt-next-t { color: var(--accent-primary); }
@media (max-width: 760px) {
  .vt { justify-items: start; }
  .vt-next { justify-items: start; text-align: left; padding-left: 2rem; position: relative; }
  .vt-canvas { height: auto; }
  .vt-ticks { display: none; }
  .vt-spine { left: 6px; }
  .vt-spine::before { height: 100%; }
  .vt-spine::after { display: none; }
  .vt-items { position: static; display: flex; flex-direction: column-reverse; gap: 1.75rem; }
  .vt-item, .vt-item.lane-r, .vt-item.lane-l { position: relative; inset: auto; width: auto; height: auto !important; bottom: auto !important; left: auto; right: auto; padding: 0 0 0 2rem; text-align: left; }
  .vt-bar, .lane-l .vt-bar, .lane-r .vt-bar { left: 3px; right: auto; top: .3rem; bottom: auto; height: 12px; width: 0; background: none !important; }
  .vt-bar::after { bottom: auto; top: 0; }
  .vt-card, .lane-r .vt-card, .lane-l .vt-card { position: static; justify-items: start; max-width: none; }
}
