/* =====================================================================
   DESIGN SYSTEM v1 (preview pass 2026-10-22)
   Replaces the NEON-EDGE add-on. Loaded last, so it only overrides.
   Delete this file and its <link> in index.html to fall back to styles.css.

   Principles (see design-research-2026-10-22.md):
   1. Hierarchy from brightness and weight, not size.
   2. One accent, used only for state: focus, open entry, the active chevron.
   3. Depth from material, not glow: hairlines, a faint top-lit gradient,
      grain, and one lifted surface for the open entry.
   ===================================================================== */

@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono-Regular-subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap; /* 9 KB Latin subset, OFL (fonts/GeistMono-OFL.txt) */
}

:root {
  /* type */
  --ds-mono: "Geist Mono", ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --ds-text-xs: 0.6875rem;   /* 11px: labels, dates */
  --ds-text-sm: 0.8125rem;   /* 13px: secondary */
  --ds-text-md: 0.9375rem;   /* 15px: entry titles, body */
  --ds-track-label: 0.14em;
  /* spacing scale (4px base) */
  --ds-1: 0.25rem; --ds-2: 0.5rem; --ds-3: 0.75rem; --ds-4: 1rem;
  --ds-5: 1.5rem;  --ds-6: 2rem;   --ds-7: 3rem;    --ds-8: 4rem;
  /* color: neutrals + one accent */
  --ds-accent: #86b6ff;                      /* cool electric blue, state only */
  --ds-accent-soft: rgba(134, 182, 255, 0.16);
  --ds-line: rgba(255, 255, 255, 0.075);     /* hairline */
  --ds-line-strong: rgba(255, 255, 255, 0.12);
  --ds-top-light: rgba(255, 255, 255, 0.06); /* inset top highlight */
  --ds-surface-lift: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  --ds-shadow-lift: 0 18px 40px -24px rgba(0, 0, 0, 0.7);
  --ds-grain-opacity: 0.045;
  --ds-glow-sky: rgba(120, 160, 255, 0.07);  /* top-lit backdrop, not a glow on elements */
  /* motion */
  --ds-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ds-fast: 160ms;
  --ds-med: 240ms;
  /* layout */
  --ds-gutter: 1.45rem;
  --ds-date-w: 8.4rem;
}
:root[data-theme="light"] {
  --ds-accent: #2f62d9;
  --ds-accent-soft: rgba(47, 98, 217, 0.12);
  --ds-line: rgba(0, 0, 0, 0.07);
  --ds-line-strong: rgba(0, 0, 0, 0.12);
  --ds-top-light: rgba(255, 255, 255, 0.8);
  --ds-surface-lift: linear-gradient(180deg, rgba(0, 0, 0, 0.022), rgba(0, 0, 0, 0.008));
  --ds-shadow-lift: 0 18px 40px -26px rgba(0, 0, 0, 0.18);
  --ds-grain-opacity: 0.025;
  --ds-glow-sky: rgba(47, 98, 217, 0.04);
}

/* ---------- ground: top-lit gradient + grain (behind the page card) ---------- */
:root body {
  background:
    radial-gradient(80rem 40rem at 50% -12rem, var(--ds-glow-sky), transparent 70%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--ds-grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- page card: hairline + top light, no glow ---------- */
:root[data-theme="dark"] .page {
  border: 1px solid var(--ds-line);
  box-shadow: inset 0 1px 0 var(--ds-top-light), 0 40px 90px -40px rgba(0, 0, 0, 0.75);
}
:root[data-theme="light"] .page {
  border: 1px solid var(--ds-line);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.16);
}

/* one signature moment: a faint engineering grid behind the header, fading out */
.mast { position: relative; }
.mast::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: calc(-1 * var(--ds-gutter));
  right: calc(-1 * var(--ds-gutter));
  height: 24rem;
  pointer-events: none;
  background-image:
    linear-gradient(var(--ds-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ds-line) 1px, transparent 1px);
  background-size: 2rem 2rem;
  background-position: calc(var(--ds-gutter) - 1px) -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 85% at 50% 0%, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 85% at 50% 0%, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 75%);
  opacity: 0.55;
}

/* ---------- type: monospace for metadata ---------- */
.title,
.section-label {
  font-family: var(--ds-mono);
  font-weight: 400;
  font-size: var(--ds-text-xs);
  letter-spacing: var(--ds-track-label);
}
.title { color: var(--muted); }
.section-label {
  padding-bottom: var(--ds-3);
  border-bottom-color: var(--ds-line-strong);
}
.section { margin-bottom: var(--ds-7); }
.section--experience { margin-top: var(--ds-7); }

/* ---------- experience rows: calmer, aligned, one rhythm ---------- */
.job { border-bottom-color: var(--ds-line); }
.job-summary {
  gap: var(--ds-3);
  padding: 0.78rem 0;
  min-height: 3rem;
}
.job-head {
  align-items: baseline;
  gap: var(--ds-5);
}
.job-who {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.7em;
  row-gap: 0.1rem;
  min-width: 0;
  font-size: var(--ds-text-md);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--fg);
  transition: color var(--ds-fast) var(--ds-ease);
}
.job-sep { display: none; }            /* spacing replaces the dot */
.job-role {
  min-width: 0;
  font-size: var(--ds-text-sm);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  transition: color var(--ds-fast) var(--ds-ease);
}
.job-role .role-step {                 /* quiet "then" marker in place of a loud arrow */
  margin: 0 0.35em;
  font-family: var(--ds-mono);
  font-size: 0.85em;
  color: var(--faint);
}
.job-role strong {                     /* [Placeholder: …] stays visible, but quiet */
  font-family: var(--ds-mono);
  font-weight: 400;
  font-size: var(--ds-text-xs);
  letter-spacing: 0.02em;
  color: var(--faint);
}
.job-dates {
  width: var(--ds-date-w);
  text-align: right;
  font-family: var(--ds-mono);
  font-size: var(--ds-text-xs);
  letter-spacing: 0;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.chevron {
  width: 0.55rem;
  height: 0.55rem;
  color: var(--faint);
  opacity: 0.6;
  transition: transform var(--ds-med) var(--ds-ease), color var(--ds-fast) var(--ds-ease), opacity var(--ds-fast) var(--ds-ease);
}
@media (hover: hover) {
  .job-summary:hover .job-role { color: var(--fg); }
  .job-summary:hover .chevron { opacity: 1; }
}
details[open] > summary .chevron { color: var(--ds-accent); opacity: 1; }

/* the open entry lifts onto a quiet surface; text stays on the same column */
.section .job {
  transition: background-color var(--ds-med) var(--ds-ease), box-shadow var(--ds-med) var(--ds-ease);
}
.section .job[open] {
  border-radius: 12px;
  margin: var(--ds-2) calc(-1 * var(--ds-4));
  padding: 0 var(--ds-4);
  background: var(--ds-surface-lift);
  border-bottom-color: transparent;
  box-shadow: inset 0 1px 0 var(--ds-top-light), inset 0 0 0 1px var(--ds-line), var(--ds-shadow-lift);
}
.section .job[open] > .job-body {
  animation: ds-reveal var(--ds-med) var(--ds-ease) both;
}
@keyframes ds-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* BuzzFeed sub-roles: nested level on the same grid */
:root .subjob { border-left-color: var(--ds-line-strong); }
:root .subjob-title { font-size: var(--ds-text-sm); font-weight: 500; }
:root .subjob-dates {
  font-family: var(--ds-mono);
  font-size: var(--ds-text-xs);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.job-list li::before,
.edu-list li::before { width: 3px; height: 3px; top: 0.7em; }

/* ---------- trays: hairline + top light ---------- */
:root .proof-stack,
:root .shows,
:root .photo-slot,
:root .bfv-row {
  border-color: var(--ds-line);
}

/* ---------- controls: one accent, crisp focus ---------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.job-summary:focus-visible,
.fold-summary:focus-visible {
  outline: 1px solid var(--ds-accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.contact-btn,
.pay-option {
  transition: background-color var(--ds-fast) var(--ds-ease), border-color var(--ds-fast) var(--ds-ease), color var(--ds-fast) var(--ds-ease), transform var(--ds-fast) var(--ds-ease);
}
.contact-btn:active,
.pay-option:active { transform: scale(0.97); }
::selection { background: var(--ds-accent-soft); color: var(--fg); }

/* ---------- mobile ---------- */
@media (max-width: 640px) {
  :root { --ds-gutter: 1.1rem; }
  .job-summary { padding: 0.8rem 0; }
  .job-head { gap: 0.2rem; }
  .job-dates { width: auto; text-align: left; }
  .job-summary .chevron { margin-top: 0.42rem; }
  .section .job[open] {
    margin-left: calc(-1 * var(--ds-3));
    margin-right: calc(-1 * var(--ds-3));
    padding: 0 var(--ds-3);
  }
  .mast::before { height: 18rem; background-size: 1.5rem 1.5rem; }
}

/* ---------- motion preferences + frozen screenshot mode ---------- */
@media (prefers-reduced-motion: reduce) {
  .job-who, .job-role, .chevron, .section .job, .contact-btn, .pay-option { transition: none; }
  .section .job[open] > .job-body { animation: none; }
  .contact-btn:active, .pay-option:active { transform: none; }
}
[data-shot="1"] .section .job[open] > .job-body { animation: none; }

/* Education: internships nested under each school (reuses BuzzFeed .subjob) */
.edu-interns { margin: 1rem 0 0; }
.edu-interns-label {
  margin: 0 0 0.6rem;
  font-size: var(--ds-text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.subjob-role {
  margin-left: 0.55rem;
  font-weight: 400;
  color: var(--muted);
}
.job-dates--pending { font-family: inherit; white-space: normal; text-align: right; }
@media (max-width: 640px) {
  .subjob-role { display: block; margin-left: 0; margin-top: 0.1rem; }
  .edu-interns .subjob-head { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
}

/* Split work sections (Freelance, Early experience): same rhythm as Experience */
.section--jobs .job:last-of-type { border-bottom: none; }

/* ---------- after9 (2026-10-22): sub-role tree lines + disclosure ---------- */
.subroles { position: relative; margin: 0.15rem 0 0; }
:root .subjob {
  position: relative;
  margin: 0;
  padding-left: 1.35rem;
  border-left: 0;
}
.subjob::before {               /* vertical hairline (trunk) */
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0;
  bottom: 0;
  border-left: 1px solid var(--ds-line-strong);
}
.subjob:last-child::before { bottom: auto; height: 1.12rem; }
.subjob::after {                /* horizontal elbow to each sub-role */
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 1.12rem;
  width: 0.72rem;
  border-top: 1px solid var(--ds-line-strong);
}
:root .subjob-head { margin: 0; display: block; }
.subjob-toggle {
  all: unset;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.6rem;
  width: 100%;
  padding: 0.6rem 0;
  cursor: pointer;
  border-radius: 6px;
  -webkit-tap-highlight-color: transparent;
}
.subjob-toggle .subjob-title { flex: 1 1 auto; min-width: 0; }
.subjob-toggle .subjob-dates { margin-left: auto; }
.subjob-toggle:focus-visible { outline: 1px solid var(--ds-accent); outline-offset: 3px; }
.subjob-toggle:hover .subjob-title { color: var(--fg); }
.subjob-chev {
  flex: none;
  width: 10px;
  height: 10px;
  align-self: center;
  color: var(--faint);
  transition: transform var(--ds-fast) var(--ds-ease), color var(--ds-fast) var(--ds-ease);
}
.subjob-toggle:hover .subjob-chev { color: var(--muted); }
.subjob-toggle[aria-expanded="true"] .subjob-chev { transform: rotate(90deg); color: var(--ds-accent); }
.subjob-toggle[aria-expanded="false"] .subjob-title { color: var(--muted); }
.subjob-body { padding: 0.1rem 0 0.75rem 1rem; }
.subjob-body:not([hidden]) { animation: ds-reveal var(--ds-med) var(--ds-ease) both; }
.subjob-body[hidden] { display: none; }
.edu-interns .subjob-head { flex-direction: row; }
@media (max-width: 640px) {
  .subjob-toggle { gap: 0.1rem 0.5rem; }
  .subjob-toggle .subjob-dates { flex-basis: 100%; margin-left: calc(10px + 0.5rem); }
  .subjob-body { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .subjob-chev { transition: none; }
  .subjob-body:not([hidden]) { animation: none; }
}
[data-shot="1"] .subjob-body:not([hidden]) { animation: none; }

/* ---------- after9: Doge loop-seam easter egg (decorative, aria-hidden) ---------- */
.doge-seam { display: block; max-width: none; opacity: 0.7; filter: saturate(0.85); transition: opacity var(--ds-fast) var(--ds-ease); }
.bfb img.doge-seam { border-radius: 50%; object-fit: contain; }
.ticker-item--seam .doge-seam { width: 28px; height: 28px; }
.ticker:hover .doge-seam, .shows:hover .doge-seam, .bfv-row:hover .doge-seam { opacity: 0.95; }
.shows-item--seam { align-self: center; align-items: center; padding: 0 0.15rem; }
.shows-item--seam .doge-seam { width: 30px; height: 30px; }
.bfv-row > .bfv-seam { flex: 0 0 auto; align-self: center; display: flex; align-items: center; margin: 0; padding: 0 0.4rem; scroll-snap-align: end; }
.bfv-row > .bfv-seam::before { content: none; }
.bfv-seam .doge-seam { width: 28px; height: 28px; }
@media (max-width: 640px) {
  .ticker-item--seam .doge-seam { width: 22px; height: 22px; }
  .shows-item--seam .doge-seam { width: 24px; height: 24px; }
}

/* after10: row icons (official marks, self-hosted 54px tiles shown at 18px) */
.job-ico{flex:0 0 auto;align-self:center;display:inline-flex;width:18px;height:18px;margin-right:-0.25em;border-radius:4px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px var(--ds-line-strong)}
.job-ico img{display:block;width:100%;height:100%;object-fit:contain}
:root[data-theme="dark"] .job-ico{box-shadow:0 0 0 1px rgba(255,255,255,.14)}
/* after10: nested tree level (Pulse years, Bruns roles) */
.subjob-body .subroles{margin-top:.9rem}
.subjob-body .subjob-title{font-size:.95em}
.subjob-body .bfv{margin-top:.6rem}

/* after12: subheaders stay full-strength text colour at every level, open or collapsed (light theme: --fg is #111) */
.job-role, .subjob-role, .subjob-toggle .subjob-title, .subjob-toggle[aria-expanded="false"] .subjob-title { color: var(--fg); }
/* after12: Independent Clients film-reel emoji, centred in the same 18px tile */
.job-ico--emoji{align-items:center;justify-content:center;font-size:13px;line-height:1;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-weight:400;letter-spacing:0}
/* after12: icons on client sub-section names */
.subjob-title .job-ico{display:inline-flex;vertical-align:-0.28em;margin-right:0.5em}

/* after13: Doge seam is now the Kabosu photo (doge-seam.jpg): round crop everywhere */
.doge-seam, .bfb img.doge-seam { border-radius: 50%; object-fit: cover; }

/* after13: photo carousels (CHOBO Studios) reuse .bfv-row; cards size to each photo's shape */
.bfv-row > .bfv-card.bfv-card--photo { flex: 0 0 auto; width: auto; }
.bfv-row > .bfv-card--photo img { display: block; height: 200px; width: auto; max-width: none; border-radius: 10px; }
@media (max-width: 640px) {
  .bfv-row > .bfv-card.bfv-card--photo { flex: 0 0 auto; }
  .bfv-row > .bfv-card--photo img { height: 180px; }
}

/* after14: placeholder bodies for Personal Projects entries with no content yet */
.job-placeholder { margin: 0; font-family: var(--ds-mono); font-size: var(--ds-text-xs); letter-spacing: 0; color: var(--faint); }
/* after14: CSUF degree moved into the expanded body as a clean first line */
.edu-degree { margin: 0 0 0.5rem; color: var(--fg); }
/* after14: Cash (pay) button in LIGHT mode = white fill, black cashtag/text, hairline border.
   Same size/radius as before; hover/open follows the other contact buttons (border goes to the text colour). Dark mode unchanged. */
html[data-theme="light"] .contact-btn.pay-btn { color: #000; background: #fff; border-color: rgba(0, 0, 0, 0.18); }
html[data-theme="light"] .contact-btn.pay-btn:hover,
html[data-theme="light"] .contact.pay.is-open .contact-btn.pay-btn { color: #000; background: #fff; border-color: #000; }
html[data-theme="light"] .contact-btn.pay-btn:focus-visible { outline-color: #000; }
/* after15: drag label bubbles (row-tabs.js). Fixed overlay: no layout shift, never clipped by the tray.
   data-mode="out": in the page gutter beside the row, wrapped to ~170px, hairline leader to the card edge.
   data-mode="in": the after14 in-card tab (narrow screens). The accent is an SVG progress stroke. */
.row-tab {
  position: fixed; z-index: 60; top: 0; left: 0;
  box-sizing: border-box;
  max-width: min(26rem, calc(100vw - 16px));
  padding: 0.28rem 0.6rem 0.3rem;
  font-family: var(--ds-mono); font-size: var(--ds-text-xs); line-height: 1.3; letter-spacing: 0.02em;
  white-space: normal; overflow-wrap: break-word;
  color: var(--fg); background: var(--bg);
  border: 1px solid var(--ds-line-strong);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  pointer-events: none; user-select: none;
  opacity: 0; transform: translateY(-4px);
  transition: opacity 450ms var(--ds-ease), transform 450ms var(--ds-ease);
}
.row-tab[data-mode="out"] { max-width: 170px; padding: 0.4rem 0.7rem 0.42rem; text-align: center; transform: none; }
.row-tab-text { position: relative; display: block; }
.row-tab-ring { position: absolute; left: -1px; top: -1px; overflow: visible; pointer-events: none; }
.row-tab-ring path { fill: none; stroke: var(--ds-accent); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.row-tab-lead { display: none; position: absolute; top: 50%; height: 1px; background: var(--ds-line-strong); }
.row-tab[data-mode="out"] .row-tab-lead { display: block; }
.row-tab[data-mode="out"][data-side="left"] .row-tab-lead { left: calc(100% + 1px); }
.row-tab[data-mode="out"][data-side="right"] .row-tab-lead { right: calc(100% + 1px); }
.row-tab.is-on { opacity: 1; transform: none; transition-duration: 180ms; }
html[data-theme="light"] .row-tab { border-color: rgba(0, 0, 0, 0.14); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); }
html[data-theme="light"] .row-tab-lead { background: rgba(0, 0, 0, 0.22); }
@media (prefers-reduced-motion: reduce) { .row-tab, .row-tab.is-on { display: none; transform: none; transition: none; } }
.row-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* after14: short parent description paragraph (CHOBO), same type as bullet text */
.job-desc { margin: 0 0 0.35rem; color: var(--muted); font-size: 0.94rem; line-height: 1.58; }
@media (max-width: 640px) { .job-desc { font-size: 0.9rem; } }
/* after14: tree geometry, exact. The chevron and the elbow share one offset (toggle padding + half the first title line),
   so every elbow meets its chevron's centre even when a heading wraps, and the last child's trunk stops exactly at its elbow. */
:root { --sj-pad: 0.6rem; --sj-lh: 1.25rem; --sj-elbow: calc(var(--sj-pad) + var(--sj-lh) / 2); }
.subjob-toggle .subjob-title { line-height: var(--sj-lh); }
.subjob-toggle .subjob-chev { align-self: flex-start; margin-top: calc(var(--sj-lh) / 2 - 5px); }
.subjob::after { top: var(--sj-elbow); }
.subjob:last-child::before { bottom: auto; height: var(--sj-elbow); }
.edu-transfer { margin: -0.3rem 0 0.6rem; }
/* after14: video lightbox (bfv-lightbox.js). Centred modal, 16:9, dimmed backdrop; mobile uses the full width. */
html.bfv-locked, html.bfv-locked body { overflow: hidden; }
.bfv-modal { width: min(960px, 92vw); max-width: none; max-height: 100dvh; margin: auto; padding: 0; border: 0; background: transparent; color: var(--fg); overflow: visible; }
.bfv-modal::backdrop { background: rgba(0, 0, 0, 0.78); backdrop-filter: blur(2px); }
.bfv-modal[open] { animation: ds-reveal var(--ds-med, 220ms) var(--ds-ease) both; }
.bfv-modal-panel { background: var(--bg); border: 1px solid var(--ds-line-strong); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.bfv-modal-bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0.55rem 0.55rem 0.9rem; }
.bfv-modal-title { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 0.88rem; line-height: 1.35; color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bfv-modal-close { all: unset; box-sizing: border-box; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; color: var(--fg); border: 1px solid var(--ds-line-strong); cursor: pointer; }
.bfv-modal-close svg { width: 14px; height: 14px; }
.bfv-modal-close:hover { border-color: var(--fg); }
.bfv-modal-close:focus-visible { outline: 2px solid var(--ds-accent); outline-offset: 2px; }
.bfv-modal-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.bfv-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bfv-modal-foot { margin: 0; padding: 0.5rem 0.9rem 0.6rem; font-family: var(--ds-mono); font-size: var(--ds-text-xs); text-align: right; }
.bfv-modal-out { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.bfv-modal-out:hover { color: var(--fg); }
.bfv-modal[data-state="error"] .bfv-modal-out { color: var(--ds-accent); }
@media (max-width: 640px) {
  .bfv-modal { width: 100vw; }
  .bfv-modal-panel { border-radius: 0; border-left: 0; border-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .bfv-modal[open] { animation: none; } }
/* after16: office photo carousels: photo cards are buttons that open the lightbox in photo mode */
.bfv-photo { all: unset; box-sizing: border-box; display: block; border-radius: 10px; cursor: zoom-in; }
.bfv-photo:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }
.bfv-photo:hover img { filter: brightness(1.06); }
.bfv-row > .bfv-card--photo .bfv-meta { width: 0; min-width: 100%; }
.bfv-card--photo .bfv-ch { font-size: 0.62rem; letter-spacing: 0.12em; }
.bfv-modal[data-mode="photo"] { width: min(1200px, 94vw); }
.bfv-modal[data-mode="photo"] .bfv-modal-frame { aspect-ratio: auto; display: grid; place-items: center; }
.bfv-modal[data-mode="photo"] .bfv-modal-frame img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 7rem); background: #000 center / contain no-repeat; }
.bfv-modal[data-mode="photo"] .bfv-modal-foot { display: none; }
@media (max-width: 640px) { .bfv-modal[data-mode="photo"] { width: 100vw; } }
/* after14: a long role line made the title drop below the chevron on mobile (flex-basis:auto wrapped); keep the title on the chevron's line. */
.subjob-toggle .subjob-title { flex: 1 1 0%; }

/* after17: doge gag (row-tabs.js) when the drag stroke completes a lap. Rises from behind the bubble
   (z-index just under .row-tab), bouncy scale + rotate in, holds ~1.2s, ducks back. Never takes pointer events. */
.row-doge { position: fixed; z-index: 59; top: 0; left: 0; width: 64px; height: 86px; pointer-events: none; user-select: none;
  opacity: 0; visibility: hidden; }
/* after27: the animated part is .row-doge-body (the outer box holds the bubble-shaped clip-path, set by row-tabs.js) */
.row-doge-body { position: absolute; inset: 0; display: block; transform: translateY(42%) scale(0.2) rotate(-24deg); transform-origin: 50% 100%; }
.row-doge[data-from="top"] .row-doge-body { transform-origin: 50% 0; transform: translateY(-42%) scale(0.2) rotate(24deg); }
.row-doge-img { display: block; width: 64px; height: 86px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35)); }
.row-doge-cap { position: absolute; white-space: nowrap; font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Comic Sans", cursive;
  font-weight: 700; font-size: 15px; line-height: 1; letter-spacing: 0; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55), 0 0 6px rgba(0, 0, 0, 0.35); }
.row-doge-cap--a { right: calc(100% + 2px); top: 6px; color: #ff4fd8; transform: rotate(-10deg); }
.row-doge-cap--b { left: calc(100% + 2px); top: 34px; color: #3cf06e; transform: rotate(8deg); }
.row-doge-cap:empty { display: none; }
html[data-theme="light"] .row-doge-cap--a { color: #e21bb4; }
html[data-theme="light"] .row-doge-cap--b { color: #0aa83a; }
html[data-theme="light"] .row-doge-cap { text-shadow: 0 1px 0 #fff, 0 0 5px rgba(255, 255, 255, 0.9); }
.row-doge.is-up { opacity: 1; visibility: visible; transition: opacity 140ms linear; }
.row-doge.is-up .row-doge-body { transform: none; transition: transform 420ms cubic-bezier(0.34, 1.7, 0.5, 1); }
/* after27 exit: straight down (ease-in) behind the still-visible bubble; stays opaque, the clip + bubble hide him */
.row-doge.is-down { opacity: 1; visibility: visible; }
.row-doge.is-down .row-doge-body,
.row-doge.is-down[data-from="top"] .row-doge-body { transform: translateY(var(--sink, 100%));
  transition: transform 340ms cubic-bezier(0.5, 0, 0.9, 0.4); }
.row-doge.is-down .row-doge-cap { opacity: 0; transition: opacity 120ms linear; }
@media (prefers-reduced-motion: reduce) { .row-doge { display: none; } }   /* (gag is off under reduced motion; if it ever runs: quick fade only) */
@media (prefers-reduced-motion: reduce) { .row-doge.is-down { opacity: 0; transition: opacity 150ms linear; } .row-doge.is-down .row-doge-body { transform: none; transition: none; } }

/* after17: BuzzFeed drone cameos reveal (button inside the drone bullet). Height via grid rows 0fr -> 1fr. */
.reveal-link { display: inline; padding: 0; margin: 0; border: 0; background: none; color: var(--fg); cursor: pointer;
  font: inherit; font-family: var(--ds-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--ds-accent); }
.reveal-link:hover { color: var(--ds-accent); }
.reveal-link:focus-visible { outline: 1px solid var(--ds-accent); outline-offset: 3px; border-radius: 2px; }
.reveal-sep { color: var(--muted); margin: 0 0.15em; }
.bfv-reveal { display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows 340ms var(--ds-ease), visibility 0s linear 340ms; }
.bfv-reveal.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 340ms var(--ds-ease), visibility 0s; }
.bfv-reveal > .bfv-reveal-in { min-height: 0; overflow: hidden; }
.bfv-reveal.is-open.is-settled > .bfv-reveal-in { overflow: visible; }
@media (prefers-reduced-motion: reduce) { .bfv-reveal, .bfv-reveal.is-open { transition: none; } }

/* after17: drag-to-scroll carousels (bfv-drag.js) */
@media (pointer: fine) {
  .bfv-row { cursor: grab; }
  .bfv-row.is-dragging, .bfv-row.is-dragging * { cursor: grabbing !important; }
}
.bfv-row.is-dragging, .bfv-row.is-coasting { scroll-snap-type: none; scroll-behavior: auto; }
.bfv-row.is-dragging { user-select: none; -webkit-user-select: none; }
.bfv-row.is-dragging .bfv-play, .bfv-row.is-dragging .bfv-photo { pointer-events: none; }
.bfv-row img { -webkit-user-drag: none; user-select: none; }
.bfv-row:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }

/* ---------- after18: carousel containment (root-cause fix for the drone-reveal overflow) ----------
   .bfv-reveal is a grid that only defined rows, so its implicit column was `auto` and the grid item kept
   min-width:auto: it grew to the row's min-content width (all cards side by side) and, once settled with
   overflow:visible, spilled past the card. Pin the column to minmax(0,1fr) and let every carousel wrapper
   shrink inside flex/grid parents, so rows revealed after load stay clipped to the parent's content box. */
.bfv-reveal { grid-template-columns: minmax(0, 1fr); }
.bfv-reveal > .bfv-reveal-in { min-width: 0; }
.bfv, .bfv-row, .bfv-reveal, .subjob-body, .job-body { min-width: 0; max-width: 100%; }

/* ---------- after18: Cover Flow photo viewer (coverflow.js) ---------- */
.cf { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: radial-gradient(120% 70% at 50% 30%, #1a1d24 0%, #0b0c10 55%, #050507 100%); color: #f2f2f2; overflow: hidden;
  -webkit-user-select: none; user-select: none; touch-action: none; }
.cf::backdrop { background: #050507; }
.cf-stage { position: absolute; inset: 0; perspective: 1100px; perspective-origin: 50% 42%; cursor: grab; }
.cf-stage.is-dragging { cursor: grabbing; }
/* dark glossy floor, the same in both themes */
.cf-floor { position: absolute; left: 0; right: 0; top: var(--cf-floor, 66vh); bottom: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0.07) 0, rgba(255,255,255,0.025) 2px, #0d0f14 3px, #08090c 45%, #040405 100%); }
.cf-floor::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 40%;
  background: radial-gradient(60% 100% at 50% 0%, rgba(160,180,220,0.10), rgba(160,180,220,0) 70%); }
/* flat track + own perspective: each cover is projected on its own and painted by z-index (nearer covers on top, as in
   Cover Flow); with preserve-3d the tilted far edges of nearer covers were depth-sorted under the next cover. */
.cf-track { position: absolute; left: 50%; top: 0; width: 0; height: 100%; transform-style: flat; perspective: 1100px; perspective-origin: 0 42%; }
.cf-item { position: absolute; transform-style: preserve-3d; will-change: transform, opacity; backface-visibility: hidden;
  transition: transform 420ms cubic-bezier(.2,.7,.2,1), opacity 300ms ease; cursor: pointer; }
.cf-item.is-current { cursor: default; }
.cf-track.is-instant .cf-item { transition: none; }
.cf-img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 3px; box-shadow: 0 10px 40px rgba(0,0,0,0.55);
  background: #111 center / cover no-repeat; -webkit-user-drag: none; }
.cf-shade { position: absolute; left: 0; right: 0; top: 0; height: calc(100% * (1 + 0.35) + 2px); background: #000; opacity: 0;
  pointer-events: none; transition: opacity 300ms ease; border-radius: 3px; }
.cf-track.is-instant .cf-shade { transition: none; }
/* the reflection: flipped copy, ~35% of the cover height, 2px gap, fading from ~35% opacity to 0 */
.cf-refl { position: absolute; left: 0; width: 100%; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.12) 45%, rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.12) 45%, rgba(0,0,0,0) 100%); }
.cf-refl img { display: block; width: 100%; object-fit: cover; transform: scaleY(-1); border-radius: 3px; -webkit-user-drag: none; }
.cf-btn { all: unset; box-sizing: border-box; position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  color: #f2f2f2; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22); cursor: pointer; z-index: 5; }
.cf-btn svg { width: 16px; height: 16px; }
.cf-btn:hover { background: rgba(255,255,255,0.16); }
.cf-btn:focus-visible { outline: 2px solid var(--ds-accent, #8ab4ff); outline-offset: 2px; }
.cf-btn:disabled { opacity: 0.3; cursor: default; }
.cf-close { top: max(14px, env(safe-area-inset-top)); right: 14px; }
.cf-prev, .cf-next { top: calc(var(--cf-floor, 66vh) * 0.55); }
.cf-prev { left: 18px; } .cf-next { right: 18px; }
.cf-cap { position: absolute; left: 0; right: 0; bottom: max(18px, env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; justify-content: center;
  align-items: baseline; gap: 0.3rem 0.7rem; padding: 0 1rem; text-align: center; z-index: 4; pointer-events: none; }
.cf-cap-city { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242,242,242,0.62); }
.cf-cap-title { font-size: 1rem; color: #f5f5f5; }
.cf-cap-count { font-size: 0.72rem; color: rgba(242,242,242,0.5); font-variant-numeric: tabular-nums; }
.cf-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) {
  .cf-prev, .cf-next { display: none; }                   /* swipe on phones; buttons stay on wider screens */
  .cf-cap { bottom: max(22px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .cf-item, .cf-shade { transition: none; } }
/* after20: pinch zoom (coverflow.js). The centre image scales/pans inside its cover; other covers, reflections and the
   floor fade out while zoomed. Release / double-tap animate; live pinch and pan follow the fingers with no transition. */
.cf-img { transform-origin: 50% 50%; }
.cf-img.cf-zoom-anim { transition: transform 280ms cubic-bezier(.2,.8,.2,1); }
.cf.is-zoomed .cf-item.is-current .cf-img { will-change: transform; border-radius: 0; box-shadow: none; }
.cf.is-zoomed .cf-item:not(.is-current), .cf.is-zoomed .cf-refl, .cf.is-zoomed .cf-floor { opacity: 0 !important; transition: opacity 200ms ease; }
.cf.is-zoomed .cf-stage, .cf.is-zoomed .cf-item.is-current { cursor: grab; }
.cf.is-zoomed .cf-stage.is-dragging { cursor: grabbing; }
/* after20: swipe-down dismiss: stage, grabber and caption follow the finger; the backdrop dims out with them */
.cf[data-dismiss] { background: rgba(5, 5, 7, var(--cf-dim, 1)); }
.cf[data-dismiss]::backdrop { background: rgba(5, 5, 7, var(--cf-dim, 1)); }   /* the page shows through as it fades */
.cf-stage, .cf-grab, .cf-cap { transform-origin: 50% 40%; }
.cf-spring { transition: transform 240ms cubic-bezier(.2,.8,.2,1), opacity 240ms ease; }
/* after20: iPhone-style grabber, touch / coarse pointers only (36x5 pill, ~35% white, 9px below the safe area) */
.cf-grab { display: none; }
@media (pointer: coarse) {
  .cf-grab { display: block; position: absolute; z-index: 6; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 9px); width: 36px; height: 5px;
    margin-left: -18px; border-radius: 999px; background: rgba(255, 255, 255, 0.35); touch-action: none; }
  .cf-grab::before { content: ""; position: absolute; left: -32px; right: -32px; top: -9px; bottom: -16px; }   /* 100x30 hit area */
}
@media (prefers-reduced-motion: reduce) { .cf-img.cf-zoom-anim, .cf-spring { transition: none; } }

/* after18: BuzzFeed toggle bullets (Indy 2026-10-22): plain body-text links, normal weight and case, clear underline */
.job-list > li.reveal-item .reveal-link { font: inherit; font-family: inherit; font-size: inherit; font-weight: 400; letter-spacing: normal; text-transform: none;
  line-height: inherit; color: var(--fg); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px;
  text-decoration-color: var(--ds-accent); transition: color 140ms ease, text-decoration-color 140ms ease; }
.job-list > li.reveal-item .reveal-link:hover,
.job-list > li.reveal-item .reveal-link:focus-visible { color: var(--ds-accent); text-decoration-color: currentColor; }
.job-list > li.reveal-item .reveal-link:focus-visible { outline: 1px solid var(--ds-accent); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { .job-list > li.reveal-item .reveal-link { transition: none; } }

/* ---------- after18: iOS home-screen app icons in the Pay ($) and Contact sheets (Indy 2026-10-22) ----------
   60x60 CSS px tiles (iOS home-screen icon size), clipped to an iOS continuous-corner squircle (superellipse n=5
   clipPath #ios-squircle; 13.4px border-radius as the fallback), brand app-icon colours with inline SVG marks,
   subtle inner highlight + shadow, 11.5px system-font label (one line, truncates like iOS). Home-screen grid:
   up to 4 per row, centred. Press: scale down + dim like iOS. Marks: Venmo V, PayPal monogram, X (Simple Icons,
   CC0, already in the build); Mail envelope and Instagram glyph drawn here. */
.ios-grid, .pay-pane .pay-options.ios-grid { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: flex-start;
  gap: 14px 16px; width: auto; max-width: calc(4 * 64px + 3 * 16px); margin: 0.85rem auto 0.7rem; padding: 0; border: 0; box-sizing: border-box; }
.ios-app { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 64px; cursor: pointer;
  -webkit-tap-highlight-color: transparent; text-decoration: none; color: var(--fg); }
.ios-tile { display: block; width: 60px; height: 60px; border-radius: 13.4px;
  filter: drop-shadow(0 1px 1.5px rgba(0,0,0,0.22)) drop-shadow(0 4px 9px rgba(0,0,0,0.16));
  transition: transform 160ms cubic-bezier(.3,.7,.4,1); }
.ios-icon { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 13.4px; overflow: hidden;
  clip-path: url(#ios-squircle); transition: filter 120ms ease; }
.ios-icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.06) 38%, rgba(255,255,255,0) 55%);
  box-shadow: inset 0 0.5px 0 rgba(255,255,255,0.35), inset 0 0 0 0.5px rgba(0,0,0,0.10); }
.ios-glyph { position: relative; display: block; }
.ios-venmo { background: linear-gradient(180deg, #1a99ff 0%, #008cff 55%, #0079e6 100%); }
.ios-paypal { background: linear-gradient(160deg, #0a7ee8 0%, #0059c1 50%, #002991 100%); }
.ios-x { background: #000; }
.ios-x::after { box-shadow: inset 0 0 0 0.75px rgba(255,255,255,0.20); }
.ios-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.ios-label { display: block; max-width: 70px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: center;
  font: 500 11.5px/1.25 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.01em; color: var(--fg); }
[data-theme="light"] .ios-label { color: #1c1b18; }
[data-theme="dark"] .ios-label { color: rgba(255,255,255,0.92); }
.ios-app:hover .ios-icon { filter: brightness(1.04); }
.ios-app:active .ios-tile { transform: scale(0.9); }
.ios-app:active .ios-icon { filter: brightness(0.72); }
.ios-app:focus-visible { outline: none; }
.ios-app:focus-visible .ios-tile { outline: 2px solid var(--ds-accent, #2f62d9); outline-offset: 3px; }
@media (max-width: 640px) { .ios-grid, .pay-pane .pay-options.ios-grid { gap: 16px 24px; max-width: calc(4 * 64px + 3 * 24px); margin: 0.9rem auto 0.9rem; } }
@media (prefers-reduced-motion: reduce) { .ios-tile, .ios-icon { transition: none; } .ios-app:active .ios-tile { transform: none; } }

/* ---------- after20 (Indy 2026-10-23): the Contact button(s) as an iMessage outgoing bubble ----------
   Every .contact-btn except the $ pay button (header copy + mobile copy). Blue gradient #0A84FF -> #007AFF, white system
   text, 18px radius, the classic bottom-right tail. The tail is ::before: a blue box cut to the iOS tail outline with an
   SVG mask (no background-coloured "cutter"), so it blends on any page background, dark or light. ::after widens the
   hit area to 44px without changing layout. Press: the same shrink + dim as the iOS app icons. */
.contact-btn:not(.pay-btn) {
  position: relative; height: 2rem; padding: 0 0.95rem; border: 0; border-radius: 18px;
  background: linear-gradient(180deg, #0a84ff 0%, #007aff 100%); color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.84rem; font-weight: 400; letter-spacing: 0; line-height: 1; -webkit-font-smoothing: antialiased;
  transform-origin: 70% 60%;
}
.contact-btn:not(.pay-btn)::before {
  content: ""; position: absolute; right: -5px; bottom: 0; width: 17px; height: 17px; pointer-events: none;
  background: linear-gradient(180deg, #0a84ff 0%, #007aff 100%) 0 100% / 100% 2rem no-repeat;   /* same gradient, aligned to the bubble */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17'%3E%3Cpath d='M0 0H6V7C6 12 8.6 15.2 12.6 16.6C13.3 16.85 13.2 17 12.4 17C8.4 17.1 5.6 16.1 3.4 14.2C2.4 14.9 1.2 15.5 0 15.8Z'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17'%3E%3Cpath d='M0 0H6V7C6 12 8.6 15.2 12.6 16.6C13.3 16.85 13.2 17 12.4 17C8.4 17.1 5.6 16.1 3.4 14.2C2.4 14.9 1.2 15.5 0 15.8Z'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}
.contact-btn:not(.pay-btn)::after { content: ""; position: absolute; left: -2px; right: -6px; top: -6px; bottom: -6px; }   /* 44px tall hit area */
.contact-btn:not(.pay-btn):hover,
.contact.is-open .contact-btn:not(.pay-btn) { border-color: transparent; filter: brightness(1.08); }
html[data-theme="light"] .contact-btn:not(.pay-btn) { color: #fff; }
.contact-btn:not(.pay-btn):active { transform: scale(0.92); filter: brightness(0.8); }
.contact-btn:not(.pay-btn):focus-visible { outline: 2px solid var(--ds-accent); outline-offset: 3px; border-radius: 18px; }
@media (prefers-reduced-motion: reduce) { .contact-btn:not(.pay-btn):active { transform: none; } }

/* ---------- after23 (Indy 2026-10-23): Contact + Pay sheets in a "Liquid Glass" style ----------
   Both copies (header + footer), desktop popover and mobile bottom sheet. Translucent tinted pane with a strong
   blur + saturation, a 1px specular rim (inset shadows), a top-edge sheen, larger radius and layered soft shadow.
   ::before = pointer-follow highlight (desktop, glass.js sets --lg-x/--lg-y); ::after = one shine sweep on first open.
   Both sit at z-index -1 inside the pane's isolated stacking context, so they never cover text. Solid fallback when
   backdrop-filter is unsupported. Content, sizes of controls and behaviour unchanged. */
html[data-theme="dark"] {
  --lg-tint: rgba(28, 28, 34, 0.62); --lg-solid: #1c1c21;
  --lg-sheen: rgba(255, 255, 255, 0.11);
  --lg-rim-top: rgba(255, 255, 255, 0.34); --lg-rim: rgba(255, 255, 255, 0.11); --lg-edge: rgba(255, 255, 255, 0.09);
  --lg-shadow: 0 1px 1px rgba(0, 0, 0, 0.30), 0 10px 28px -6px rgba(0, 0, 0, 0.55), 0 28px 70px -12px rgba(0, 0, 0, 0.55);
  --lg-ctl: rgba(255, 255, 255, 0.09); --lg-ctl-hover: rgba(255, 255, 255, 0.15);
  --lg-ctl-top: rgba(255, 255, 255, 0.26); --lg-ctl-rim: rgba(255, 255, 255, 0.12);
  --lg-glow: rgba(255, 255, 255, 0.10); --lg-sweep: rgba(255, 255, 255, 0.16);
}
html[data-theme="light"] {
  --lg-tint: rgba(250, 250, 248, 0.66); --lg-solid: #f6f6f3;
  --lg-sheen: rgba(255, 255, 255, 0.70);
  --lg-rim-top: rgba(255, 255, 255, 0.95); --lg-rim: rgba(255, 255, 255, 0.55); --lg-edge: rgba(0, 0, 0, 0.08);
  --lg-shadow: 0 1px 1px rgba(40, 32, 18, 0.08), 0 10px 28px -8px rgba(40, 32, 18, 0.22), 0 28px 70px -14px rgba(40, 32, 18, 0.26);
  --lg-ctl: rgba(255, 255, 255, 0.55); --lg-ctl-hover: rgba(255, 255, 255, 0.80);
  --lg-ctl-top: rgba(255, 255, 255, 1); --lg-ctl-rim: rgba(0, 0, 0, 0.07);
  --lg-glow: rgba(255, 255, 255, 0.65); --lg-sweep: rgba(255, 255, 255, 0.75);
}
html[data-theme] .contact-pane.contact-pane {
  isolation: isolate;
  border: 1px solid var(--lg-edge);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--lg-sheen) 0%, rgba(255, 255, 255, 0) 46%) padding-box, var(--lg-solid) padding-box;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 1px 0 var(--lg-rim-top), inset 0 0 0 1px var(--lg-rim), var(--lg-shadow);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  html[data-theme] .contact-pane.contact-pane {
    background: linear-gradient(180deg, var(--lg-sheen) 0%, rgba(255, 255, 255, 0) 46%) padding-box, var(--lg-tint) padding-box;
    -webkit-backdrop-filter: blur(30px) saturate(1.9);
    backdrop-filter: blur(30px) saturate(1.9);
  }
}
html[data-theme] .contact-pane.contact-pane::before,
html[data-theme] .contact-pane.contact-pane::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
}
html[data-theme] .contact-pane.contact-pane::before {           /* pointer-follow highlight (desktop) */
  background: radial-gradient(240px circle at var(--lg-x, 30%) var(--lg-y, -20%), var(--lg-glow), transparent 70%);
  opacity: var(--lg-hl, 0.6); transition: opacity 0.3s ease;
}
html[data-theme] .contact-pane.contact-pane::after {            /* one shine sweep, first open only */
  background: linear-gradient(105deg, transparent 38%, var(--lg-sweep) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0; opacity: 0;
}
html[data-theme] .contact-pane.contact-pane.lg-sweep::after { animation: lg-sweep 1.1s cubic-bezier(0.3, 0.6, 0.2, 1) 0.12s 1 both; }
@keyframes lg-sweep { 0% { background-position: 130% 0; opacity: 1; } 85% { opacity: 1; } 100% { background-position: -30% 0; opacity: 0; } }

/* Controls on the glass: glassy pills (copy-email, click-for-doge) and the swipe track. Copied state keeps its green. */
html[data-theme] .contact-pane .contact-copy:not(.is-copied) {
  border-radius: 999px; background: var(--lg-ctl);
  box-shadow: inset 0 1px 0 var(--lg-ctl-top), inset 0 0 0 1px var(--lg-ctl-rim), 0 1px 2px rgba(0, 0, 0, 0.10);
}
html[data-theme] .contact-pane .contact-copy:not(.is-copied):hover { background: var(--lg-ctl-hover); }
html[data-theme] .contact-pane .contact-copy.is-copied { border-radius: 999px; }

/* Icons sit on the glass with a soft reflection-style shadow (brand colours untouched). */
html[data-theme] .contact-pane .ios-tile {
  filter: drop-shadow(0 0.5px 0 rgba(255, 255, 255, 0.18)) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.20)) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.18));
}
html[data-theme="light"] .contact-pane .ios-label { color: #141310; }

@media (max-width: 640px) {
  /* Floating sheet (iOS 26 style): inset from the edges, fully rounded, slides from below. */
  html[data-theme] .contact-pane.contact-pane {
    left: 10px; right: 10px; bottom: max(14px, calc(8px + env(safe-area-inset-bottom, 0px)));   /* after36: even 10px sides, 14px+ above the toolbar / home indicator */
    padding-bottom: 1rem;
    border-radius: 32px;
  }
  html[data-theme] .contact-pane.contact-pane:not(.is-open) { transform: translate3d(0, calc(100% + 96px), 0); }
  html[data-theme] .contact-pane .contact-handle { background: rgba(127, 127, 127, 0.45); }

  /* Lighter scrim so the glass reads as glass; still dims the page. */
  html[data-theme="dark"] .contact-scrim { background: rgba(0, 0, 0, 0.62); }
  html[data-theme="light"] .contact-scrim { background: rgba(6, 8, 12, 0.42); }
}

/* The two buttons pick up the same glass language: a specular top rim on the iMessage bubble (still blue) and a
   glass $ button. */
.contact-btn:not(.pay-btn) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.30), inset 0 -1px 0 rgba(0, 0, 0, 0.10), 0 1px 2px rgba(0, 40, 120, 0.25); }
html[data-theme] .contact-btn.pay-btn {
  border-color: var(--lg-edge);
  background: linear-gradient(180deg, var(--lg-sheen), rgba(255, 255, 255, 0) 60%), var(--lg-solid);
  box-shadow: inset 0 1px 0 var(--lg-rim-top), inset 0 0 0 1px var(--lg-rim), 0 1px 2px rgba(0, 0, 0, 0.18);
}
html[data-theme="light"] .contact-btn.pay-btn { color: #000; }
html[data-theme="dark"] .contact-btn.pay-btn { color: #22c55e; }
html[data-theme] .contact-btn.pay-btn:hover,
html[data-theme] .contact.pay.is-open .contact-btn.pay-btn { border-color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  html[data-theme] .contact-pane.contact-pane.lg-sweep::after { animation: none; }
  html[data-theme] .contact-pane.contact-pane::before { transition: none; }
}

/* ---------- after23 (Indy 2026-10-23): a bullet between company and title in every job/section header ----------
   .job-sep is shown again as "•" (it was hidden since the redesign). It is its own flex item inside .job-who, so the
   0.7em column gap sits on both sides; a small negative margin brings that to an even ~0.42em. Muted, slightly smaller,
   optically centred on the x-height. When the title wraps to its own line on narrow screens, glass.js marks the header
   .job-who--wrapped and the bullet is hidden (visibility only, no reflow), so no line ends or starts with a stray dot.
   Sub-role headers (.subjob-role) get the same bullet via ::before while they sit inline (desktop); on mobile they
   stack under the name, so no bullet there. Aria-labels unchanged (the bullet is aria-hidden / generated content). */
.job-sep {
  display: inline-block; margin: 0 -0.28em; padding: 0;
  font-size: 0.82em; font-weight: 400; line-height: 1; color: var(--faint);
  transform: translateY(-0.04em); user-select: none;
}
.job-who--wrapped > .job-sep { visibility: hidden; }
.subjob-role { margin-left: 0; }
.subjob-role::before {
  content: "\2022"; display: inline-block; margin: 0 0.42em; font-size: 0.82em; font-weight: 400; color: var(--faint);
  transform: translateY(-0.04em);
}
@media (max-width: 640px) { .subjob-role::before { content: none; } }

/* ---------- after23 (Indy 2026-10-23): BuzzFeed toggle bullets read as normal bullet text ----------
   "Watch Indy's BuzzFeed drone footage" and "Watch Indy's BuzzFeed cameos": same colour, weight and size as the
   surrounding bullets (inherit from the li), with a quiet grey 1px underline instead of the blue one. Hover / expanded:
   the underline darkens a step (still grey, no blue). Focus ring is a visible grey outline in both themes. */
.job-list > li.reveal-item .reveal-link,
.job-list > li.reveal-item .reveal-link:hover,
.job-list > li.reveal-item .reveal-link:focus-visible {
  font: inherit; font-weight: inherit; font-size: inherit; letter-spacing: inherit; line-height: inherit;
  color: inherit;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em;
  text-decoration-color: var(--faint);
}
.job-list > li.reveal-item .reveal-link:hover,
.job-list > li.reveal-item .reveal-link[aria-expanded="true"] { text-decoration-color: var(--muted); }
.job-list > li.reveal-item .reveal-link:focus-visible { outline: 2px solid var(--muted); outline-offset: 3px; border-radius: 3px; }
/* after23: those two toggle bullets use the sub-role disclosure chevron instead of the dot. The chevron lives inside
   the button (so clicking it toggles), absolutely placed where the dot was; the text's left edge is unchanged. It
   points right when collapsed and turns down when open (synced to aria-expanded); muted grey; no motion if reduced. */
.job-list > li.reveal-item::before { content: none; }
.job-list > li.reveal-item .reveal-chev {
  position: absolute; left: -3px; top: calc(0.79em - 5px); width: 10px; height: 10px;
  color: var(--faint); pointer-events: none;
  transition: transform var(--ds-fast) var(--ds-ease), color var(--ds-fast) var(--ds-ease);
}
.job-list > li.reveal-item .reveal-link::after { content: ""; position: absolute; left: -4px; top: 0; width: 1.05rem; height: 1.58em; }  /* chevron hit area */
.job-list > li.reveal-item .reveal-link:hover .reveal-chev { color: var(--muted); }
.job-list > li.reveal-item .reveal-link[aria-expanded="true"] .reveal-chev { transform: rotate(90deg); color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .job-list > li.reveal-item .reveal-chev { transition: none; } }

/* after23: the dark-theme frosted page card moves its backdrop blur onto a ::before layer (same look). With the blur on
   .page itself, .page became a "backdrop root" and the glass Contact/Pay popovers inside it could not blur the text
   behind them on desktop (they showed it crisp). Mobile sheets live in <body> and were unaffected. */
[data-theme="dark"] .page { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; }
[data-theme="dark"] .page::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: rgba(10, 10, 12, 0.38);
  -webkit-backdrop-filter: blur(28px) saturate(1.35); backdrop-filter: blur(28px) saturate(1.35);
}

/* ---------- after24 (Indy 2026-10-23): centre the $ in the round Pay button ----------
   The glyph used to be its own 0.8rem x 0.96rem (12.8 x 15.36px) box, flex-centred at a fractional offset (9.6 / 8.32px)
   inside the circle. The browser snaps that inner box to device pixels on its own, so the $ landed up to ~0.6px off the
   circle's centre (direction depends on where the button sits). Now the SVG fills the whole 30px content box (so it snaps with the circle)
   and its square viewBox (-11.7578 -10.0078 41.0156 41.0156) puts the glyph's 17.5 x 21 bounds dead centre at the same
   12.8 x 15.36px size. No size, colour or look change. */
.contact-btn.pay-btn svg { width: 100%; height: 100%; flex: none; }

/* ---------- after25 (Indy 2026-10-23): "Los Angeles • OC • San Diego" + the OC easter egg ----------
   Location bullets use the same "•" look as .job-sep (muted, 0.82em, optically centred). Each city keeps its own
   bullet glued to it (.loc-item is nowrap, <wbr> between items), so a wrapped line never starts with a bullet.
   OC is a <button> that looks exactly like the surrounding text at rest. Hover/focus: pointer cursor, a 1px lift,
   a soft light sweep across the letters and a gentle glow pulse, like a game nudging you toward an interactable.
   It opens the shared liquid-glass sheet (contact.js); clicking the meme poofs OC into "Orange County" (oc.js). */
.loc-item { white-space: nowrap; }
.loc-sep {
  display: inline-block; margin: 0 0.42em; padding: 0;
  font-size: 0.82em; font-weight: 400; line-height: 1; color: var(--faint);
  transform: translateY(-0.04em); user-select: none;
}
.meta .contact.oc { display: inline-block; vertical-align: baseline; margin-left: 0; }
.oc-btn {
  appearance: none; -webkit-appearance: none; position: relative; display: inline-block; vertical-align: baseline;
  margin: 0; padding: 0; border: 0; border-radius: 4px; background: none; color: inherit;
  font: inherit; letter-spacing: inherit; line-height: inherit; text-align: left; white-space: nowrap;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: width 0.32s cubic-bezier(0.3, 0.7, 0.2, 1);
}
.oc-text { display: inline-block; color: inherit; transition: transform 0.25s cubic-bezier(0.3, 0.7, 0.2, 1); }
html[data-theme="dark"] { --oc-glint: #fff; --oc-glow: rgba(255, 214, 150, 0.55); }
html[data-theme="light"] { --oc-glint: #000; --oc-glow: rgba(255, 170, 60, 0.45); }
@media (hover: hover) and (pointer: fine) {
  .oc-btn:hover .oc-text,
  .contact.oc.is-open .oc-btn .oc-text { transform: translateY(-1px); }
  .oc-btn:hover .oc-text {
    color: transparent;
    background: linear-gradient(100deg, var(--muted) 0%, var(--muted) 38%, var(--oc-glint) 50%, var(--muted) 62%, var(--muted) 100%) 0 0 / 300% 100% no-repeat;
    -webkit-background-clip: text; background-clip: text;
    animation: oc-glint 1.7s cubic-bezier(0.45, 0, 0.3, 1) infinite, oc-glow 1.7s ease-in-out infinite;
  }
}
.oc-btn:focus-visible { outline: 1px solid var(--ds-accent); outline-offset: 3px; border-radius: 4px; }
.oc-btn:focus-visible .oc-text { transform: translateY(-1px); animation: oc-glow 1.7s ease-in-out infinite; }
@keyframes oc-glint { 0% { background-position: 100% 0; } 70%, 100% { background-position: 0% 0; } }
@keyframes oc-glow {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 4px var(--oc-glow)); }
}

/* The sheet: same glass pane as Contact/Pay (design.css after23 rules apply via .contact-pane). Desktop popover is
   centred under OC; mobile is the shared floating bottom sheet. */
@media (min-width: 641px) {
  .meta .oc .contact-pane.oc-pane {
    left: 50%; right: auto; margin-left: -10.5rem; width: 21rem; min-width: 0;
    padding: 0.75rem; white-space: normal; font-size: 0.9rem; letter-spacing: 0; color: var(--fg);
  }
}
.oc-body { display: flex !important; flex-direction: column; align-items: stretch; gap: 0.65rem; }
.oc-meme {
  appearance: none; display: block; position: relative; width: 100%; margin: 0; padding: 0; border: 0;
  border-radius: 14px; overflow: hidden; background: rgba(127, 127, 127, 0.16); cursor: pointer;
  aspect-ratio: 616 / 341; -webkit-tap-highlight-color: transparent;
  box-shadow: inset 0 0 0 1px var(--lg-edge, rgba(127, 127, 127, 0.2)), 0 1px 2px rgba(0, 0, 0, 0.12);
  transition: transform 0.22s cubic-bezier(0.3, 0.7, 0.2, 1), box-shadow 0.22s ease, filter 0.22s ease;
}
.oc-meme picture, .oc-meme img { display: block; width: 100%; height: 100%; object-fit: cover; }
.oc-meme::after {                      /* glass sheen that slides across on hover */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0; opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .oc-meme:hover { transform: translateY(-1px) scale(1.012); filter: brightness(1.05);
    box-shadow: inset 0 0 0 1px var(--lg-edge, rgba(127, 127, 127, 0.2)), 0 0 0 2px var(--oc-glow), 0 8px 22px -8px rgba(0, 0, 0, 0.45); }
  .oc-meme:hover::after { opacity: 1; animation: lg-sweep 1.1s cubic-bezier(0.3, 0.6, 0.2, 1) 1 both; }
}
.oc-meme:active { transform: scale(0.985); }
.oc-meme:focus-visible { outline: 2px solid var(--ds-accent); outline-offset: 2px; }
.meta .oc-pane a.oc-why,
.oc-pane a.oc-why {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem; height: 2.35rem; padding: 0 0.9rem;
  border-radius: 999px; color: var(--fg); text-decoration: none; font-size: 0.84rem; letter-spacing: 0.01em;
  background: var(--lg-ctl, rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px 0 var(--lg-ctl-top, transparent), inset 0 0 0 1px var(--lg-ctl-rim, rgba(127, 127, 127, 0.2)), 0 1px 2px rgba(0, 0, 0, 0.10);
  transition: background-color 0.15s ease;
}
.meta .oc-pane a.oc-why:hover,
.oc-pane a.oc-why:hover { color: var(--fg); text-decoration: none; background: var(--lg-ctl-hover, rgba(255, 255, 255, 0.14)); }
.oc-pane a.oc-why:focus-visible { outline: 2px solid var(--ds-accent); outline-offset: 2px; }
.oc-why-ico { width: 0.8rem; height: 0.8rem; flex: none; opacity: 0.7; }
.oc-actions { display: flex; align-items: center; gap: 0.5rem; }
.oc-actions > a.oc-why { flex: 1 1 auto; min-width: 0; }
.oc-close {
  appearance: none; flex: none; display: flex; align-items: center; justify-content: center;
  width: 2.35rem; height: 2.35rem; margin: 0; padding: 0; border: 0; border-radius: 999px; color: var(--fg); cursor: pointer;
  background: var(--lg-ctl, rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px 0 var(--lg-ctl-top, transparent), inset 0 0 0 1px var(--lg-ctl-rim, rgba(127, 127, 127, 0.2)), 0 1px 2px rgba(0, 0, 0, 0.10);
  transition: background-color 0.15s ease;
}
.oc-close:hover { background: var(--lg-ctl-hover, rgba(255, 255, 255, 0.14)); }
.oc-close:focus-visible { outline: 2px solid var(--ds-accent); outline-offset: 2px; }
.oc-close svg { width: 0.8rem; height: 0.8rem; }
@media (max-width: 640px) {
  html[data-theme] .contact-pane.oc-pane { width: auto; margin-left: 0; padding: 0.65rem 0.75rem 1rem; white-space: normal; color: var(--fg); font-size: 0.9rem; }
  .oc-pane .oc-body { padding: 0.15rem 0.1rem 0; }
  .oc-close { width: 2.75rem; height: 2.75rem; }
  .oc-meme { border-radius: 20px; }
  .oc-pane a.oc-why { height: 2.75rem; font-size: 0.92rem; }
}

/* The poof: OC blurs, swells and vanishes in a puff of motes and sparks, then "Orange County" condenses in. */
.oc-poof-out .oc-text { animation: oc-out 0.19s cubic-bezier(0.5, 0, 0.75, 0) both; }
.oc-btn.oc-poof-in { overflow: hidden; }   /* while the width grows, the new text is revealed, never painted over the bullet */
.oc-poof-in .oc-text { animation: oc-in 0.34s cubic-bezier(0.2, 0.9, 0.25, 1.15) both; }
@keyframes oc-out { to { opacity: 0; filter: blur(5px); transform: scale(1.35); } }
@keyframes oc-in { from { opacity: 0; filter: blur(6px); transform: scale(0.7); letter-spacing: 0.12em; } to { opacity: 1; filter: blur(0); transform: none; } }
.oc-fade-out .oc-text { transition: opacity 0.16s linear; opacity: 0; }
.oc-fade-in .oc-text { animation: oc-fade 0.22s linear both; }
@keyframes oc-fade { from { opacity: 0; } to { opacity: 1; } }
.oc-puff { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; z-index: 3; }
.oc-puff i { position: absolute; left: 0; top: 0; border-radius: 50%; opacity: 0;
  animation: oc-burst 0.56s cubic-bezier(0.15, 0.7, 0.3, 1) var(--d, 0ms) both; }
.oc-puff .oc-mote { width: 0.9em; height: 0.9em; margin: -0.45em 0 0 -0.45em;
  background: radial-gradient(circle, var(--muted) 0%, transparent 70%); }
.oc-puff .oc-spark { width: 0.26em; height: 0.26em; margin: -0.13em 0 0 -0.13em;
  background: #ffa733; box-shadow: 0 0 6px 1px var(--oc-glow); }
@keyframes oc-burst {
  0% { opacity: 0; transform: translate(0, 0) scale(0.3); }
  18% { opacity: 0.95; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(var(--s, 1)); }
}
@media (prefers-reduced-motion: reduce) {
  .oc-btn { transition: none; }
  .oc-btn:hover .oc-text, .oc-btn:focus-visible .oc-text { animation: none; transform: none; color: var(--fg); background: none; }
  .oc-meme, .oc-meme:hover { transition: none; transform: none; }
  .oc-meme:hover::after { animation: none; opacity: 0; }
  .oc-puff { display: none; }
}

/* after26: the button reads "The OC"; both words are one unit (never split across lines) and share the hover glint/glow. */
.meta .oc-btn, .meta .oc-text { white-space: nowrap; }

/* after27 (Indy 2026-10-23): the meme is a two-faced card. Front: "Don't call it that." Back: GOB's
   "I've made a huge mistake." clip, contained on black in the same 616x341 box (nothing of the caption is cropped).
   Click flips it (rotateY 600ms); click again flips back. Reduced motion: crossfade. */
.oc-meme { overflow: visible; background: transparent; box-shadow: none; perspective: 1400px; }
@media (hover: hover) and (pointer: fine) {
  .oc-meme:hover { box-shadow: none; }
  .oc-meme:hover .oc-face { box-shadow: inset 0 0 0 1px var(--lg-edge, rgba(127, 127, 127, 0.2)), 0 0 0 2px var(--oc-glow), 0 8px 22px -8px rgba(0, 0, 0, 0.45); }
}
.oc-meme.is-flipping::after { opacity: 0 !important; animation: none !important; }
.oc-card { position: absolute; inset: 0; display: block; border-radius: inherit; transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.35, 0.1, 0.2, 1); will-change: transform; }
.oc-meme.is-flipped .oc-card { transform: rotateY(180deg); }
.oc-meme.oc-no-anim .oc-card, .oc-meme.oc-no-anim .oc-face { transition: none !important; }
.oc-face { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: inherit;
  -webkit-backface-visibility: hidden; backface-visibility: hidden; background: rgba(127, 127, 127, 0.16);
  box-shadow: inset 0 0 0 1px var(--lg-edge, rgba(127, 127, 127, 0.2)), 0 1px 2px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.22s ease; }
.oc-back { transform: rotateY(180deg); background: #000; }
.oc-back video, .oc-back img { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
/* r3 (Indy 2026-10-24): crop the thin black side bars on the back clip only. Box aspect 1.806 vs clip 400x224 (1.786)
   leaves ~1.75px contain bars, plus a 1px dark column baked into each edge of the source. Minimum zoom = 1.806/1.786 x 400/398
   = 1.016 (mp4) / 1.021 (gif, 400x225); 1.02 / 1.025 adds a hair of margin and trims only ~1% top/bottom (caption clear). */
.oc-back video.oc-gif { transform: scale(1.02); transform-origin: 50% 50%; }
.oc-back img.oc-gif-img { transform: scale(1.025); transform-origin: 50% 50%; }
@media (prefers-reduced-motion: reduce) {
  .oc-card, .oc-meme.is-flipped .oc-card { transform: none; transition: none; }
  .oc-back { transform: none; opacity: 0; transition: opacity 0.2s linear; }
  .oc-meme.is-flipped .oc-back { opacity: 1; }
  .oc-front { transition: opacity 0.2s linear; }
  .oc-meme.is-flipped .oc-front { opacity: 0; }
}

/* after27 (Indy 2026-10-23): Freelance / Early experience / Personal Projects are collapsible panels (panels.js),
   closed by default. The section label is the toggle: label • muted preview of the entry names • twirl chevron. */
/* pre-JS hide: content-visibility (not display:none, which makes Chrome load lazy iframes eagerly) */
html.js-panels :is(#freelance, #early-experience, #personal-projects):not(.panel-ready) > :not(.section-label) { content-visibility: hidden; height: 0; overflow: hidden; margin: 0; padding: 0; border: 0; }
/* after30 (Indy 2026-10-23): panel headers look exactly like the pre-fold (after26) section labels: no preview line,
   no chevron, no extra padding or spacing. The only change is behaviour: the whole header toggles (pointer cursor). */
.section-label.panel-head { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.panel-toggle { all: unset; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.panel-toggle:focus-visible { outline: 2px solid var(--ds-accent); outline-offset: 3px; border-radius: 4px; }

/* after27: static (non-expandable) entry row, e.g. BuzzFeed freelance: same row, no twirl, no hover affordance */
.section--jobs .job.job--static { border-bottom: 1px solid var(--ds-line); }
.section--jobs .job.job--static:last-child { border-bottom: none; }
.job--static > .job-summary { cursor: default; }
.job--static .chevron--spacer { visibility: hidden; }
@media (hover: hover) { .job--static > .job-summary:hover .job-role { color: inherit; } }

/* ---------- after28 (Indy 2026-10-23): Dogecoin in the Pay pane ----------
   A 3rd iOS tile (same 60px squircle + glass shadow as Venmo/PayPal) with the official Dogecoin coin icon
   (img/dogecoin-icon.png, from github.com/dogecoin/dogecoin share/pixmaps/dogecoin256.png, MIT). Tapping it swaps the
   icon grid for .doge-view in the same pane (contact.js animates the pane size, content slides in). The QR
   (img/doge-qr.svg, segno, ECC Q, 4-module quiet zone) sits on a solid white tile; doge phrases live only in the
   side gutters so they never touch the QR or the address. Doge = the existing doge-cut.png (no new photos). */
.ios-doge { background: linear-gradient(160deg, #fff6d8 0%, #f7e19a 46%, #e4c158 100%); }
.ios-doge-coin { position: relative; display: block; width: 46px; height: 46px; filter: drop-shadow(0 1px 1.5px rgba(90, 62, 0, 0.35)); }
.ios-doge-coin.ios-doge-tw { width: 44px; height: auto; }   /* r4: the Twitter 2023 doge as the app tile logo */
.pay-pane .pay-options[hidden], .pay-pane .doge-view[hidden] { display: none !important; }
.pay-pane .pay-options.ios-grid { flex-wrap: nowrap; max-width: none; }   /* 3 tiles stay on one row */
.contact-pane.is-doge .contact-card-shine { display: none; }
.contact-pane.is-resizing { overflow: hidden; }
.doge-view {
  --doge-gold: #c2a633; --doge-ink: #8a6a00;
  position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: 19rem; max-width: 100%; margin: 0 auto; padding: 0.1rem 0 0.15rem; white-space: normal; box-sizing: border-box;
}
html[data-theme="dark"] .doge-view { --doge-ink: #f2cf55; }
.doge-top { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; min-height: 36px; }
.doge-back {
  position: absolute; left: -2px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0; margin: 0; border: 0; border-radius: 50%;
  color: var(--fg); background: var(--lg-ctl, rgba(127, 127, 127, 0.14)); cursor: pointer; -webkit-tap-highlight-color: transparent;
  box-shadow: inset 0 1px 0 var(--lg-ctl-top, rgba(255, 255, 255, 0.2)), inset 0 0 0 1px var(--lg-ctl-rim, rgba(0, 0, 0, 0.08)), 0 1px 2px rgba(0, 0, 0, 0.10);
  transition: background-color 120ms ease, transform 120ms ease;
}
.doge-back:hover { background: var(--lg-ctl-hover, rgba(127, 127, 127, 0.22)); }
.doge-back:active { transform: translateY(-50%) scale(0.92); }
.doge-back svg { display: block; width: 16px; height: 16px; margin-left: -1px; }
.doge-back:focus-visible, .doge-addr:focus-visible, .doge-copy:focus-visible { outline: 2px solid var(--doge-gold); outline-offset: 2px; }
.doge-title { display: inline-flex; align-items: center; gap: 7px; color: var(--fg);
  font: 600 15px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif; letter-spacing: 0.01em; }
.doge-title img { display: block; width: 20px; height: 20px; }
.doge-title img.doge-title-tw { width: 19px; height: auto; transform: scaleX(-1); }   /* r4: Twitter 2023 doge, faces the title */
.doge-words { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.dw { position: absolute; display: block; width: 3.9rem; text-align: center; white-space: normal; line-height: 1.02;
  font-family: "Comic Neue", "Comic Sans MS", "Comic Sans", "Chalkboard SE", "Marker Felt", cursive; font-weight: 700; font-size: 14px;
  opacity: 0.9; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06); }
.dw-wow      { left: -0.15rem; top: 58px;  font-size: 19px; transform: rotate(-12deg); color: #ff2fd0; }
.dw-receive  { right: -0.2rem; top: 54px;  transform: rotate(9deg);  color: #18c964; }
.dw-coin     { right: -0.3rem; top: 116px; transform: rotate(-7deg); color: #1fb3ff; }
.dw-generous { right: -0.3rem; top: 174px; transform: rotate(6deg);  color: #ff7a00; }
html[data-theme="light"] .dw-wow { color: #d4109f; }
html[data-theme="light"] .dw-receive { color: #0a8f43; }
html[data-theme="light"] .dw-coin { color: #0479c2; }
html[data-theme="light"] .dw-generous { color: #c25400; }
.doge-mascot { position: absolute; z-index: 0; left: 2px; top: 138px; width: 52px; height: auto; pointer-events: none;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.22)); transform: rotate(-4deg); }
.doge-qr-tile { position: relative; z-index: 1; display: block; padding: 8px; border-radius: 16px; background: #fff;
  box-shadow: 0 0 0 2px var(--doge-gold), 0 0 0 5px rgba(194, 166, 51, 0.22), 0 8px 20px rgba(0, 0, 0, 0.22); }
.doge-qr { display: block; width: 164px; height: 164px; }
.doge-addr-row { position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; align-self: stretch; margin-top: 4px; }
.doge-addr {
  flex: 1 1 auto; min-width: 0; height: 36px; padding: 0 11px; margin: 0; border: 0; border-radius: 999px; cursor: copy;
  display: flex; align-items: center; justify-content: center; overflow: hidden; white-space: nowrap;
  color: var(--fg); background: var(--lg-ctl, rgba(127, 127, 127, 0.12));
  box-shadow: inset 0 0 0 1px rgba(194, 166, 51, 0.6), inset 0 1px 0 var(--lg-ctl-top, rgba(255, 255, 255, 0.2));
  font: 500 11px/1 "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; letter-spacing: -0.01em;
  -webkit-tap-highlight-color: transparent; transition: background-color 120ms ease;
}
.doge-addr:hover { background: var(--lg-ctl-hover, rgba(127, 127, 127, 0.2)); }
.doge-addr-short { display: none; }
.doge-copy {
  flex: none; position: relative; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; margin: 0; border: 0; border-radius: 50%;
  color: #2a1f00; background: linear-gradient(180deg, #ecd06e 0%, #c2a633 100%); cursor: pointer; -webkit-tap-highlight-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 0 0 1px rgba(120, 90, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: background 160ms ease, transform 120ms ease;
}
.doge-copy:active { transform: scale(0.92); }
.doge-copy svg { grid-area: 1 / 1; display: block; width: 16px; height: 16px; transition: opacity 140ms ease; }
.doge-copy .icon-check { opacity: 0; }
.doge-view.is-copied .doge-copy { color: #fff; background: linear-gradient(180deg, #3ad873 0%, #22b456 100%); }
.doge-view.is-copied .doge-copy .icon-copy { opacity: 0; }
.doge-view.is-copied .doge-copy .icon-check { opacity: 1; }
.doge-status { position: relative; z-index: 1; display: grid; place-items: center; min-height: 20px; }
.doge-status > span { grid-area: 1 / 1; text-align: center; transition: opacity 160ms ease; }
.doge-status-hint { color: var(--muted, rgba(127, 127, 127, 0.9)); font: 500 11.5px/1.3 -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Arial, sans-serif; }
.doge-status-done { color: var(--doge-ink); font: 700 15px/1.2 "Comic Neue", "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive; opacity: 0; }
.doge-view.is-copied .doge-status-hint { opacity: 0; }
.doge-view.is-copied .doge-status-done { opacity: 1; }
/* Gold accent on the pane rim while the Doge view is up. */
html[data-theme] .contact-pane.contact-pane.is-doge { border-color: rgba(194, 166, 51, 0.55); }
/* Slide-in (motion only; contact.js adds these classes only without reduced motion). */
@keyframes doge-in { from { opacity: 0; transform: translate3d(22px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes doge-grid-in { from { opacity: 0; transform: translate3d(-22px, 0, 0); } to { opacity: 1; transform: none; } }
.contact-pane.doge-in .doge-view { animation: doge-in 340ms cubic-bezier(.32, .72, 0, 1) both; }
.contact-pane.doge-in .doge-qr-tile { animation: doge-in 380ms cubic-bezier(.32, .72, 0, 1) 40ms both; }
.contact-pane.doge-out .pay-options { animation: doge-grid-in 320ms cubic-bezier(.32, .72, 0, 1) both; }
@media (max-width: 640px) {
  .doge-view { width: 100%; max-width: 22rem; gap: 12px; }
  .doge-qr { width: 205px; height: 205px; }
  .dw { width: 3.4rem; font-size: 14.5px; }
  .dw-wow { top: 64px; font-size: 21px; left: 0.25rem; }
  .dw-receive { top: 60px; right: 0.2rem; }
  .dw-coin { top: 136px; }
  .dw-generous { top: 210px; width: 3.3rem; right: 0.15rem; font-size: 12px; }
  .doge-mascot { top: 164px; width: 54px; left: 6px; }
  .doge-addr { height: 40px; font-size: 13px; }
  .doge-copy { width: 40px; height: 40px; }
}
@media (max-width: 480px) {
  .doge-addr-full { display: none; }
  .doge-addr-short { display: inline; }
}
@media (max-width: 380px) {   /* small phones: integer 4px modules again so the gutters keep the doge words clear */
  .doge-qr { width: 164px; height: 164px; }
  .dw-coin { top: 118px; }
  .dw-generous { top: 172px; }
  .doge-mascot { top: 136px; width: 50px; }
}
@media (max-width: 340px) { .doge-words, .doge-mascot { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .contact-pane.doge-in .doge-view, .contact-pane.doge-in .doge-qr-tile, .contact-pane.doge-out .pay-options { animation: none; }
  .doge-back, .doge-copy, .doge-copy svg, .doge-status > span, .doge-addr { transition: none; }
  .doge-back:active { transform: translateY(-50%); }
  .doge-copy:active { transform: none; }
}

/* ---------- after29 (Indy 2026-10-23) ---------- */
/* Proof line removed: the intro now meets the logo tray on the header's own rhythm (2.75rem, same as name/meta to title). */
.proof-stack { margin-top: 2.75rem; }

/* The "·" between San Diego and Contact is gone: the cities carry a trailing gap instead. It sits at the end of the
   cities' line, so when Contact/$ wrap to their own line there is no stray indent before Contact. */
.meta > .loc { margin-right: 1.15em; }
.meta .contact-group { margin-left: 0; }

/* Header title: phrases separated by "•" in the location-line style; a phrase never splits from its bullet and a
   bullet that ends a line is hidden (glass.js). */
.title .t-item { white-space: nowrap; }
.title .t-sep { display: inline-block; font-size: 0.82em; color: var(--faint); letter-spacing: 0; transform: translateY(-0.04em); }
.title .t-sep.is-eol { visibility: hidden; }

/* "The OC" idle shine (oc.js adds .oc-shine every 6–8 s until the poof): a bright glint sweeps across an overlay copy
   of the text, plus a short warm glow. Absolute overlay, so no layout shift; hover/focus shimmer untouched. */
.oc-text { position: relative; }
.oc-text::after {
  content: attr(data-shine); position: absolute; inset: 0; pointer-events: none; white-space: nowrap;
  color: transparent; opacity: 0;
  background: linear-gradient(100deg, transparent 0%, transparent 36%, var(--oc-shine-edge) 44%, var(--oc-shine-core) 50%, var(--oc-shine-edge) 56%, transparent 64%, transparent 100%) 0 0 / 320% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
}
html[data-theme="dark"]  { --oc-shine-core: #ffffff; --oc-shine-edge: #ffd76a; --oc-shine-glow: rgba(255, 215, 120, 0.9); }
html[data-theme="light"] { --oc-shine-core: #ffb000; --oc-shine-edge: #ff7a00; --oc-shine-glow: rgba(255, 160, 0, 0.75); }
.oc-is-oc .oc-text::after { content: none; }
.oc-btn.oc-shine .oc-text::after { animation: oc-shine-sweep 0.9s cubic-bezier(0.4, 0, 0.25, 1) both; }
.oc-btn.oc-shine:not(:hover) .oc-text { animation: oc-shine-glow 0.9s ease-in-out; }
@keyframes oc-shine-sweep {
  0% { opacity: 1; background-position: 100% 0; }
  88% { opacity: 1; background-position: 0% 0; }
  100% { opacity: 0; background-position: 0% 0; }
}
@keyframes oc-shine-glow { 0%, 100% { filter: none; } 50% { filter: drop-shadow(0 0 5px var(--oc-shine-glow)); } }
@keyframes oc-shine-pulse { 0%, 100% { opacity: 0; } 50% { opacity: 0.6; } }
@media (prefers-reduced-motion: reduce) {
  .oc-text::after { background: var(--oc-shine-core); -webkit-background-clip: text; background-clip: text; }
  .oc-btn.oc-shine .oc-text::after { animation: oc-shine-pulse 1.4s ease-in-out both; }
  .oc-btn.oc-shine .oc-text { animation: none; }
}

/* after29 (Indy): once poofed, "Orange County" is plain location text for the rest of the visit (in-memory only; a
   reload brings back "The OC"): default cursor, no shimmer, lift, glow, colour change or idle shine. It still opens
   the meme; keyboard focus keeps only the quiet 1px outline. The poof's own reveal animation is left alone. */
.contact.oc.oc-is-oc .oc-btn { cursor: default; }
.contact.oc.oc-is-oc .oc-btn:not(.oc-poof-in):not(.oc-fade-in) .oc-text,
.contact.oc.oc-is-oc .oc-btn:not(.oc-poof-in):not(.oc-fade-in):hover .oc-text,
.contact.oc.oc-is-oc .oc-btn:not(.oc-poof-in):not(.oc-fade-in):focus-visible .oc-text,
.contact.oc.oc-is-oc.is-open .oc-btn:not(.oc-poof-in):not(.oc-fade-in) .oc-text {
  animation: none; transform: none; filter: none; color: inherit; background: none;
}
@media (hover: hover) and (pointer: fine) { .oc-btn:hover .oc-text::after { animation: none; opacity: 0; } }   /* hover shimmer takes over from an idle shine */

/* after29b: mobile header — Contact + $ always on their own row under the location line (before and after the poof, so
   nothing jumps when "The OC" becomes "Orange County"); 15px clear space above, 13px from the bubble's tail to the $,
   both buttons centred on one axis. Desktop unchanged. (12px margin = ~15.5px from the text glyphs to the buttons.) */
@media (max-width: 600px) {
  .meta > .loc { display: block; margin-right: 0; }
  .meta > wbr { display: none; }   /* the desktop break hint would otherwise make an empty 23.5px line between the two blocks */
  .meta .contact-group { display: flex; width: fit-content; align-items: center; gap: 14px; margin: 12px 0 0; }   /* after30: 14px from the bubble body to the $ (the 5px tail overlaps the gap) */
  .meta .contact-group > .contact { display: flex; align-items: center; margin: 0; vertical-align: top; }
}
.loc-sep.is-eol { visibility: hidden; }
@media (max-width: 374px) { .meta > .loc { min-height: 2lh; } }   /* small phones: "Orange County" wraps the line, so reserve 2 lines up front (no jump at the poof) */   /* after29b: a bullet that would end a wrapped location line is hidden */

/* after29b (Indy 2026-10-23): phone label bubble for the three header scrollers (row-tabs.js, in-card mode) is taller and
   narrower: max min(232px, 60vw), wraps to 2-3 lines, roomier padding and line-height, centred text, and a small tail
   (same fill + border) aimed at the touched logo via --tail-x. JS lifts it 12px higher. Desktop (out mode) unchanged. */
@media (max-width: 600px) {
  .row-tab[data-mode="in"] {
    width: max-content; max-width: min(232px, 60vw);
    padding: 0.6rem 0.85rem 0.64rem; line-height: 1.45; letter-spacing: 0.01em; text-align: center;
    text-wrap: balance;
  }
  .row-tab[data-mode="in"]::before {
    content: ""; position: absolute; left: var(--tail-x, 50%); bottom: -6px; width: 10px; height: 10px; margin-left: -5px;
    background: inherit; border: inherit; border-width: 0 1px 1px 0; border-radius: 0 0 2px 0;
    transform: rotate(45deg); pointer-events: none;
  }
  .row-tab[data-mode="in"][data-at="below"]::before { bottom: auto; top: -6px; border-width: 1px 0 0 1px; border-radius: 2px 0 0 0; }
}
/* after29b: second intro paragraph (agentic workflows) uses the .lede body style; normal paragraph gap, no orphan word */
.lede { text-wrap: pretty; }
.lede + .lede--more { margin-top: 0.85em; }

/* after30 (Indy 2026-10-23): Contact + $ pairs (header and footer, every width). The $ circle is centred on the bubble
   BODY (the tail hangs outside the box, so box centre = body centre), same 32px height, and 14px from the body's right
   edge to the circle (the tail overlaps that gap). Desktop had the same issue: the inline-block wrappers sat on the
   text baseline, so the $ was 3.3px higher than the bubble, and the tail almost touched it (1.4px). */
.contact-group { gap: 14px; }
.contact-group > .contact { display: flex; align-items: center; vertical-align: middle; }
/* The bubble label uses the site's Inter (it was the Apple system stack; off Apple devices that fell back to Noto Sans/
   Roboto and looked like a different font from the rest of the page). */
.contact-btn:not(.pay-btn) { font-family: Inter, "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  padding-top: 2px; }   /* Inter's cap/x ink sits ~1px high in a line-height:1 box; 2px top padding = 1px down, optically centred */


/* after31: Contact pane — copy-email row replaced by a Mail-style app icon in
   the X / Instagram row (generic envelope, no brand logo). Tap copies the
   address via the existing data-em decode; label under the tile swaps to
   "Copied" (green) for 1.6s. Mobile (<=600px): all three icons bigger. */
.ios-app.ios-app--mail { position: relative; font: inherit; }
.ios-mail { background: linear-gradient(180deg, #4fb2ff 0%, #1f7ae0 100%); }
.ios-mail .ios-glyph { width: 60px; height: 60px; }
.ios-app--mail .ios-mail-done { display: none; }
.ios-app--mail.is-copied .ios-mail-text { display: none; }
.ios-app--mail.is-copied .ios-mail-done { display: inline; color: #2fbf71; font-weight: 600; }
html[data-theme="light"] .ios-app--mail.is-copied .ios-mail-done { color: #138a4a; }
.ios-app--mail:focus-visible .ios-tile { outline: 2px solid #4fb2ff; outline-offset: 3px; border-radius: 15px; }
.ios-mail-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ios-grid--contact { position: relative; }

@media (max-width: 600px) {
  .contact-pane .ios-grid--contact {
    max-width: none; gap: 14px 30px; justify-content: center; margin: 1.1rem auto .9rem;
  }
  .contact-pane .ios-grid--contact .ios-app { width: 72px; gap: 7px; }
  .contact-pane .ios-grid--contact .ios-tile,
  .contact-pane .ios-grid--contact .ios-icon { width: 64px; height: 64px; border-radius: 14.3px; }
  .contact-pane .ios-grid--contact .ios-x .ios-glyph { width: 28px; height: 28px; }
  .contact-pane .ios-grid--contact .ios-instagram .ios-glyph,
  .contact-pane .ios-grid--contact .ios-mail .ios-glyph { width: 64px; height: 64px; }
  .contact-pane .ios-grid--contact .ios-label { font-size: 12.5px; }
}

/* after31: mobile header rhythm. The band under the Contact / $ row was not an
   empty element (none left in .mast); it was the base .title margin-top of
   2.75rem (44px). On phones, set it to 30px. Space above the row (12px) unchanged. */
@media (max-width: 600px) {
  .mast .title { margin-top: 30px; }
}

/* after32 (Indy 2026-10-23): "The OC" shine cycles gold → green → blue (oc.js sets data-oc-tone per idle shine; hover
   uses the same tone). Gold = the defaults above. Values match the oc-green / oc-blue mockups. */
html[data-theme="dark"]  .oc-btn[data-oc-tone="green"] { --oc-shine-core: #c8ffe0; --oc-shine-edge: #2bff8a; --oc-shine-glow: rgba(40, 255, 140, 0.85);
                                                        --oc-glint: #3dff95; --oc-glow: rgba(40, 255, 140, 0.6); }
html[data-theme="light"] .oc-btn[data-oc-tone="green"] { --oc-shine-core: #00b85a; --oc-shine-edge: #00d46a; --oc-shine-glow: rgba(0, 200, 100, 0.55);
                                                        --oc-glint: #00a84f; --oc-glow: rgba(0, 200, 100, 0.45); }
html[data-theme="dark"]  .oc-btn[data-oc-tone="blue"]  { --oc-shine-core: #d9eeff; --oc-shine-edge: #3da9ff; --oc-shine-glow: rgba(60, 160, 255, 0.9);
                                                        --oc-glint: #5cb8ff; --oc-glow: rgba(60, 160, 255, 0.6); }
html[data-theme="light"] .oc-btn[data-oc-tone="blue"]  { --oc-shine-core: #0a6cff; --oc-shine-edge: #2f9bff; --oc-shine-glow: rgba(30, 130, 255, 0.55);
                                                        --oc-glint: #0a6cff; --oc-glow: rgba(30, 130, 255, 0.45); }

/* r6 (Indy 2026-10-24): official X and Instagram app icons in the Contact pane (header + footer copies).
   X: the official X logo mark (X Brand Toolkit, about.x.com brand-toolkit x-logo.zip, logo.svg path) in white on a flat
   black tile, as the X app icon. Instagram: Instagram's own app icon artwork (instagram.com apple-touch-icon 180x180,
   static.cdninstagram.com), shown as-is. Neither gets the generic gloss overlay, so they read exactly like the real icons;
   dark mode keeps a hairline rim on the black X tile so it does not vanish into the dark glass. */
.ios-x::after, .ios-instagram::after { background: none; box-shadow: none; }
html[data-theme="dark"] .ios-x::after { box-shadow: inset 0 0 0 0.75px rgba(255,255,255,0.22); }
.ios-instagram { background: none; }
.ios-instagram .ios-app-art { display: block; width: 100%; height: 100%; }
/* r12 (Indy 2026-10-24): Mail uses Apple's official Mail app icon art (App Store id 1108187098, iTunes lookup
   artworkUrl512, iOS 26 look), shown as-is like X and Instagram. Apple publishes no standalone dark variant,
   so the same official art is used in light and dark. */
.ios-mail { background: none; }
.ios-mail::after { background: none; box-shadow: none; }
.ios-mail .ios-app-art { display: block; width: 100%; height: 100%; }

/* after36 (Indy 2026-10-24): Contact + $ pairs centred on every width. Header: the pair gets its own row under the
   location line (as phones already had), centred on the card. Footer: the row only holds the pair now (the sign-off is
   the sewn tag under the card), centred. The page card leaves room below for the tag. */
/* r14 (Indy 4:49 PM PT "dont center the top contact and pay buttons"): header pair back to the after35 left-aligned layout; footer stays centred. */
/* after38 (Indy 5:07 PM PT "dump the bottom contact/pay buttons and cut the negative space"): the footer row with the
   second Contact + $ pair is gone (the header pair is the only one). The card now ends one section gap below the
   last section (Personal Projects), the loose tag hangs right under it, and a modest margin sits below the tag. */
.page { padding-bottom: 3rem; }
.page > main > .section:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .page { padding-bottom: 2.5rem; } }
.page { margin-bottom: 4.6rem; }
@media (max-width: 640px) { .page { margin-bottom: 5.4rem; } }

/* after43: neutral posters for non-YouTube click-to-load embeds (no copied cover art) */
.bfv-poster { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.2rem; padding: 0.7rem 0.8rem; text-align: left;
  background: radial-gradient(120% 90% at 85% 10%, rgba(255,255,255,0.10), transparent 60%), linear-gradient(135deg, #24262b, #121316); color: #f2f2f2; }
.bfv-poster-k { font-family: var(--ds-mono); font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.62); }
.bfv-poster-t { font-size: 0.92rem; font-weight: 600; line-height: 1.25; }
.bfv-play--poster .bfv-icon { inset: 0 0 auto auto; margin: 0.6rem; width: 34px; height: 34px; }
.bfv-modal[data-kind="audio"] { width: min(660px, 92vw); }
.bfv-modal[data-kind="audio"] .bfv-modal-frame { aspect-ratio: auto; height: 175px; background: var(--bg); }
/* after43: single-embed reveals sit flush, no carousel chrome */
.bfv--single .bfv-row { overflow: visible; }
.bfv-reveal-in > .job-list { margin: 0.6rem 0 0; }
/* after43: sub-bullet (Crash Kids press line) */
.job-list .job-sublist { list-style: none; margin: 0.35rem 0 0; padding: 0; }
.job-list .job-sublist li { margin: 0; font-size: 0.9rem; }
.job-list .job-sublist li::before { background: none; box-shadow: inset 0 0 0 1px var(--dot); width: 4px; height: 4px; }
/* after43: no short orphan last lines on bullets or descriptions (Indy notes: "looks unmeasured"); measured headlessly at 1920/1280 */
.job-list li, .edu-list li, .job-desc, .edu-degree { text-wrap: pretty; }

/* after46 (Indy 2026-10-25, mobile): Contact sheet title sits a little higher (less top padding above "Contact Indy"). */
@media (max-width: 640px) {
  .contact-pane:not(.pay-pane):not(.oc-pane) .contact-card-shine { padding-top: 0.8rem; }
}
/* after46: "fix X app icon, there are white pixels around the edge". The X tile drops the light hairline rim and the
   white 0.5px glass highlight under it, in both themes; the art is solid black to the clip edge. */
.ios-x::after, html[data-theme="dark"] .ios-x::after { box-shadow: none; }
html[data-theme] .contact-pane .ios-app--x .ios-tile { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.20)) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.18)); }
