:root {
  --bg: #f5f6f8;
  --card: #ffffff;
  --ink: #0e1320;
  --muted: #5a6273;
  --line: #e1e4ea;
  --accent: #2f4bff;
  --accent-soft: #e9ecff;
  --gap: #fff1b8;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; margin: 0; }

/* draft gaps Greg fills in; remove the highlight before publishing */
mark.gap { background: var(--gap); color: #5c4400; padding: 1px 6px; border-radius: 4px; font-size: .92em; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar-in { max-width: 1180px; margin: 0 auto; padding: 0 20px; height: 58px; display: flex; align-items: center; justify-content: space-between; }
.bar .home { font: 700 18px/1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.bar nav { display: flex; gap: 6px; }
.bar nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; padding: 7px 12px; border-radius: 999px; }
.bar nav a:hover { color: var(--ink); background: var(--line); }
.bar nav a[aria-current="page"] { color: var(--ink); background: var(--card); box-shadow: 0 0 0 1px var(--line); }

.page { max-width: 1180px; margin: 0 auto; padding: 0 20px 96px; }

/* profile layout: sticky identity column + long-form column */
.profile { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 72px; padding-top: 56px; }
.id { align-self: start; }
.photo { aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #dfe4ff, #f1f2f6); position: relative; margin-bottom: 24px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .ph { position: absolute; inset: 0; display: none; place-items: center; font: 700 72px/1 var(--display); color: #b7c0ef; }
.photo.missing img { display: none; }
.photo.missing .ph { display: grid; }
.id h1 { font-size: 44px; margin-bottom: 10px; }
.id .role { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0 0 22px; }
.links { display: grid; gap: 8px; }
.links a { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.links a:hover { border-color: var(--accent); color: var(--accent); }
.links a span { color: var(--muted); font-size: 13px; }

.story > section { padding-bottom: 64px; }

/* about page: single column with quick-facts top */
.story.single { max-width: 820px; margin: 0 auto; }
.top { padding-top: 56px; }
.who { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.avatar { position: relative; width: 96px; height: 96px; flex: none; border-radius: 50%; overflow: hidden; background: #dfe4ff; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar span { position: absolute; inset: 0; display: none; place-items: center; font: 700 32px/1 var(--display); color: #8f9ce8; }
.avatar.missing img { display: none; }
.avatar.missing span { display: grid; }
.who h1 { font-size: clamp(40px, 5vw, 56px); margin-bottom: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.pills a:hover { border-color: var(--accent); color: var(--accent); }
.lead { font: 500 clamp(21px, 2.2vw, 26px)/1.45 var(--display); letter-spacing: -.01em; margin: 0 0 28px !important; max-width: none !important; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fact { display: flex; flex-direction: column; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; text-decoration: none; color: var(--ink); }
a.fact:hover { border-color: var(--accent); }
.fl { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.fact b { font: 700 20px/1.25 var(--display); letter-spacing: -.01em; }
.fs { font-size: 14px; color: var(--muted); }
.now-fact { background: var(--ink); border-color: var(--ink); color: #fff; }
.now-fact .fl { color: #9fb0ff; }
.now-fact .fl i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.now-fact .fs { color: #9aa1b2; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; margin-bottom: 32px; }
.hero-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: repeating-linear-gradient(-45deg, #e6e9f5 0 14px, #dfe3f2 14px 28px); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.hero-photo span { position: absolute; inset: 0; display: none; place-items: center; font-size: 14px; color: var(--muted); }
.hero-photo.missing img { display: none; }
.hero-photo.missing span { display: grid; }
.split-text h1 { font-size: clamp(44px, 6vw, 68px); margin-bottom: 18px; }
.split-text .lead { margin-bottom: 16px !important; }
.split-text .pills { margin-top: 22px; }
.story .prose p { font-size: 18px; line-height: 1.7; }
.story h3.sub { font-size: 20px; margin: 30px 0 10px; }

/* now playing card, sidebar */
.now { margin-top: 18px; background: var(--ink); color: #eef0f6; border-radius: 16px; padding: 18px 18px 16px; }
.now-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9fb0ff; margin-bottom: 10px; }
.now-head i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.now ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; line-height: 1.45; color: #b9bfcd; }
.now b { color: #fff; font-weight: 600; }
.now-date { margin-top: 12px; font-size: 12px; color: #7d8496; }

/* currently list */
.currently { display: grid; grid-template-columns: 110px 1fr; gap: 14px 24px; margin: 0; max-width: 44em; }
.currently dt { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.currently dd { margin: 0; }
.now-lists { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.now-lists h3 { font-size: 13px; font-family: var(--sans); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.now-lists ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16px; line-height: 1.4; }
.now-lists li span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .now-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.updated { font-size: 13px; color: var(--muted); margin-top: 18px !important; }

/* links to other pages */
.next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.next a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; text-decoration: none; color: var(--ink); }
.next a:hover { border-color: var(--accent); }
.next b { display: block; font: 700 24px/1.1 var(--display); margin-bottom: 8px; }
.next b::after { content: " \2192"; color: var(--accent); }
.next span { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* perspective blocks, work page */
.takes { display: grid; gap: 14px; }
.take { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.take h3 { font-size: 22px; margin-bottom: 12px; }
.take p { font-size: 16px; }
.take p:last-child { margin-bottom: 0; }
.rules { list-style: none; counter-reset: r; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; max-width: 44em; }
.rules li { counter-increment: r; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px 20px 64px; }
.rules li::before { content: counter(r); position: absolute; left: 22px; top: 16px; font: 700 28px/1 var(--display); color: var(--accent); }
.rules b { display: block; font: 700 20px/1.2 var(--display); margin-bottom: 6px; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.story h2 { font-size: clamp(30px, 3.4vw, 40px); margin-bottom: 22px; }
.story p { margin: 0 0 16px; max-width: 42em; }
.story.narrow { max-width: 760px; }
.intro p:first-of-type { font-size: clamp(21px, 2.1vw, 26px); line-height: 1.45; font-family: var(--display); font-weight: 500; letter-spacing: -.01em; }

/* four seats */
.seats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.seat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.seat .type { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.seat h3 { font-size: 22px; margin: 10px 0 4px; }
.seat .when { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.seat p { font-size: 15px; line-height: 1.55; margin: 0; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 34px 28px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline .yr { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .04em; }
.timeline h3 { font-size: 21px; margin: 4px 0 10px; }
.timeline p { font-size: 16px; }

.callout { background: var(--accent-soft); border-radius: 18px; padding: 28px; }
.callout p:last-child { margin-bottom: 0; }

/* projects page */
.p-head { padding: 64px 0 40px; max-width: 760px; }
.p-head h1 { font-size: clamp(44px, 6vw, 72px); margin-bottom: 18px; }
.p-head p { font-size: 19px; color: var(--muted); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.proj { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.proj.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.shot { background: #e9ebf0; border-bottom: 1px solid var(--line); }
.proj.wide .shot { border-bottom: 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.proj.wide .shot img { flex: 1; min-height: 0; aspect-ratio: auto; }
.chrome { display: flex; gap: 6px; padding: 10px 12px; background: #e9ebf0; }
.chrome i { width: 9px; height: 9px; border-radius: 50%; background: #c9ced8; }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.shot .none { aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--muted); font-size: 14px; background: repeating-linear-gradient(-45deg, #eef0f4 0 12px, #e7eaf0 12px 24px); }
.body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; }
.meta span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); }
.meta span.live { background: #dcf5e6; color: #146c3a; }
.proj h2 { font-size: 28px; }
.proj p { margin: 0; font-size: 16px; }
.proj .go { margin-top: auto; padding-top: 8px; font-weight: 600; text-decoration: none; }
.proj .go:hover { text-decoration: underline; }

.small { padding-top: 56px; }
.mini { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.mini h3 { font-size: 20px; margin-bottom: 8px; }
.mini p { margin: 0; font-size: 15px; color: var(--muted); }

footer { border-top: 1px solid var(--line); }
footer div { max-width: 1180px; margin: 0 auto; padding: 24px 20px; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }

@media (max-width: 900px) {
  .profile { grid-template-columns: 1fr; gap: 40px; padding-top: 32px; }
  .id { position: static; display: grid; grid-template-columns: 112px 1fr; gap: 0 20px; align-items: center; }
  .photo { margin: 0; border-radius: 16px; grid-row: span 2; }
  .photo .ph { font-size: 36px; }
  .id h1 { font-size: 34px; margin-bottom: 4px; }
  .id .role { margin: 0; }
  .links { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }
  .links a { justify-content: center; }
  .links a span { display: none; }
  .grid, .proj.wide { grid-template-columns: 1fr; }
  .proj.wide .shot { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .seats, .next, .facts, .split { grid-template-columns: 1fr; }
  .split { gap: 24px; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .who { gap: 14px; }
  .avatar { width: 72px; height: 72px; }
  .currently { grid-template-columns: 1fr; gap: 2px; }
  .currently dd { margin-bottom: 12px; }
  .bar nav { gap: 0; }
  .bar nav a { padding: 7px 8px; font-size: 13px; }
  .bar .home { white-space: nowrap; font-size: 16px; }
}

/* Contact block above the footer, on every page */
.contact { border-top: 1px solid var(--line); scroll-margin-top: 58px; }
.contact-in { max-width: 1180px; margin: 0 auto; padding: 56px 20px 64px; }
.contact h2 { font-size: clamp(30px, 3.4vw, 40px); margin-bottom: 14px; }
.contact .mail { font: 500 clamp(19px, 2vw, 22px)/1.4 var(--display); color: var(--ink); text-decoration: none; }
.contact .mail:hover { color: var(--accent); }
.contact p { margin: 0 0 20px; }

/* "Currently" widget on About: four tiles, picture for the first item in each */
.now-box { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.now-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.now-top h2 { margin: 0; }
.now-stamp { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.now-stamp i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }
.now-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.now-tile { min-width: 0; }
.now-txt { line-height: 1.35; }
.now-tile b { font: 600 17px/1.3 var(--display); color: var(--ink); }
.now-pic { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 12px; background: var(--bg); }
.now-pic.ph { display: grid; place-items: center; }
.now-pic.shot-crop { object-position: top left; }
.now-pic.ph svg { width: 44px; height: 44px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ph-watch { background: linear-gradient(135deg, #1b2a6b, #2f4bff); }
.ph-listen { background: linear-gradient(135deg, #3b1d5e, #b4387a); }
.now-cat { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.now-note { font-size: 13px; color: var(--muted); }
.now-also { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (max-width: 900px) { .now-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; } }
@media (max-width: 560px) {
  .now-box { padding: 20px 16px; }
  .now-grid { grid-template-columns: 1fr; gap: 16px; }
  .now-tile { display: grid; grid-template-columns: 96px 1fr; column-gap: 14px; align-items: start; }
  .now-tile > .now-pic, .now-tile > a > .now-pic { margin: 0; }
  .now-tile .now-pic { aspect-ratio: 1; }
}
