@font-face{font-family:'Source Serif 4';font-style:italic;font-weight:400;font-display:swap;src:url(fonts/sourceserif4-italic-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Source Serif 4';font-style:italic;font-weight:400;font-display:swap;src:url(fonts/sourceserif4-italic-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/sourceserif4-normal-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/sourceserif4-normal-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/sourceserif4-normal-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/sourceserif4-normal-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Young Serif';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/youngserif-normal-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Young Serif';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/youngserif-normal-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* Tokens */
:root {
  --bg: #d9d7cf;
  --surface: #cbc8be;
  --paper: #ececea;
  --ink: #1b2430;
  --muted: #4c535b;
  --field: #1f2a37;
  --field-2: #283545;
  --field-ink: #eef0f2;
  --field-muted: #aab4bf;
  --accent: #ff9900;
  --accent-ink: #1b2430;

  --display: 'Young Serif', Georgia, serif;
  --text: 'Source Serif 4', Georgia, serif;

  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-head: clamp(2rem, 1.4rem + 1.6vw, 2.75rem);
  --step-display: clamp(3.5rem, min(8.4vw, 20svh), 11rem);

  --m: 32px;
  --gap: clamp(88px, 9vw, 136px);
  --r: 14px;      /* surfaces: photo, panels, sheet */
  --r-sm: 10px;   /* controls: buttons, fields, chips */
  --ease: cubic-bezier(.16, 1, .3, 1);          /* entrances on scroll */
  --ease-out: cubic-bezier(.23, 1, .32, 1);     /* UI feedback */
  --ease-in-out: cubic-bezier(.77, 0, .175, 1); /* things moving on screen */
}
@media (max-width: 760px), (max-height: 500px) and (max-width: 1000px) { :root { --m: 20px; --gap: 72px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--text); font-size: var(--step-body); line-height: 1.55;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--m); top: 12px; background: var(--paper); padding: 8px 12px; z-index: 30; }

h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 1rem/1 var(--text); text-decoration: none; border-radius: var(--r-sm);
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.btn:active { transform: scale(.97); }
.btn, .send, .menu-toggle { -webkit-tap-highlight-color: transparent; }
.tlink {
  color: inherit; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: .22em; text-decoration-color: var(--accent);
  transition: text-underline-offset 200ms var(--ease-out);
}

/* Bar */
.bar { position: absolute; top: 0; right: 0; z-index: 20; padding: 20px var(--m); }
.bar nav { display: flex; align-items: center; gap: 28px; }
.bar ul { display: flex; gap: 28px; }
.bar ul a {
  color: var(--field-ink); font-size: 1rem;
  text-decoration: underline 2px transparent; text-underline-offset: .3em;
  transition: text-decoration-color 200ms ease, text-underline-offset 200ms var(--ease-out);
}
.menu-toggle { display: none; transition: transform 160ms var(--ease-out); }
.menu-toggle:active { transform: scale(.97); }

/* Split */
.split { display: grid; grid-template-columns: 47vw 1fr; }
.stage {
  position: sticky; top: 0; height: 100svh;
  background: var(--field); padding: 20px 0 20px 20px;
  z-index: 1;
}
.stage-in { position: relative; height: 100%; background: var(--field-2); overflow: hidden; border-radius: var(--r); }
.col { position: relative; z-index: 2; min-width: 0; }

/* Hero */
.hero {
  position: relative; min-height: 100svh; background: var(--field); color: var(--field-ink);
  display: flex; flex-direction: column; padding: 92px var(--m) 28px clamp(32px, 6vw, 96px);
}
.hero-copy { margin: auto 0; width: 100%; display: grid; grid-template-columns: clamp(160px, min(20vw, 30svh), 300px) minmax(0, 1fr); column-gap: clamp(24px, 3vw, 48px); align-items: end; }
.hero-text { max-width: 36ch; }
.nw { white-space: nowrap; }
.hero-facts { color: var(--field-ink); margin: -12px 0 28px; }
/* One call to action lives in the bar; the hero says where */
.hero-where { color: var(--field-muted); }
.hero-where::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: 1px; }
.lead { font-size: var(--step-lead); line-height: 1.35; margin-bottom: 32px; }
.portrait { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--r); background: var(--field-2); }
.avatar { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--r); }
.name {
  /* In the flow at the foot of the hero: it can never sit on the photo, the text or the stage */
  align-self: flex-end; margin-top: 40px; max-width: 100%;
  font-family: var(--display); font-size: var(--step-display);
  line-height: .95; letter-spacing: -0.035em; white-space: nowrap;
  color: var(--field-ink); transform-origin: 100% 100%;
  will-change: transform;
}

/* Intro */
.intro { padding: var(--gap) var(--m) var(--gap) clamp(32px, 6vw, 96px); max-width: calc(46ch + 160px); }
.h2 { font-family: var(--display); font-size: var(--step-head); line-height: 1; letter-spacing: -0.02em; margin-bottom: 32px; }
.intro p { margin-bottom: 1.1em; }
.intro .first { font-size: var(--step-lead); line-height: 1.4; }

/* Experience sheet */
.band { background: var(--surface); padding: var(--gap) var(--m); display: flex; justify-content: center; }
.sheet {
  position: relative; width: 100%; max-width: 680px;
  background: var(--paper); padding: 64px clamp(24px, 4vw, 64px) 56px; border-radius: var(--r);
}
.sheet-title { font-family: var(--display); font-size: var(--step-head); line-height: 1; letter-spacing: -0.02em; text-align: center; }
.sheet-note { text-align: center; color: var(--muted); margin-top: 12px; }
.group { margin-top: 56px; }
.group-name { font-family: var(--display); font-size: var(--step-lead); text-align: center; margin-bottom: 24px; }
.items { display: grid; gap: 24px; }
.item { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; }
.item-name { font-weight: 600; text-decoration: none; }
a.item-name { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.item-when { font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; text-align: right; }
.item-where { display: block; color: var(--muted); font-size: var(--step-small); }
.item-desc, .item-list { grid-column: 1 / -1; color: var(--muted); margin-top: 4px; }
.item-list { display: grid; gap: 6px; margin-top: 8px; }
.item-list li { padding-left: 1em; text-indent: -1em; }
.item-list li::before { content: "– "; }
.sheet-end { text-align: center; margin-top: 56px; color: var(--muted); }

/* Panels on the stage (interface fragments) */
[data-ui] { font-family: var(--text); color: var(--field-ink); }
.panel {
  --pad: clamp(24px, 3vw, 48px);
  position: absolute; inset: 0; padding: var(--pad);
  opacity: 0; filter: blur(4px); visibility: hidden;
  transition: opacity 400ms ease, filter 400ms ease, visibility 0s linear 400ms;
  display: flex; flex-direction: column;
}
.panel.is-on { opacity: 1; filter: none; visibility: visible; transition: opacity 400ms ease, filter 400ms ease, visibility 0s; }
[data-ui] .ui-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid #3c4a5c; }
[data-ui] .ui-title { font-weight: 600; font-size: 1.0625rem; }
[data-ui] .ui-live { font-size: .875rem; color: var(--field-muted); }
[data-ui] .ui-live::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; }
[data-ui] .route { position: relative; margin-top: 8px; }
[data-ui] .hop {
  position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 16px;
  padding: 14px 0 14px 28px; border-bottom: 1px solid #334155;
}
[data-ui] .hop::before { content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--field-muted); }
[data-ui] .hop::after { content: ""; position: absolute; left: 8px; top: 36px; bottom: -16px; width: 2px; background: #3c4a5c; }
[data-ui] .hop:last-child::after { display: none; }
[data-ui] .hop-key::before { background: var(--accent); border-color: var(--accent); }
[data-ui] .hop-name { font-weight: 600; }
[data-ui] .hop-what { grid-column: 1; color: var(--field-muted); font-size: .9375rem; }
[data-ui] .hop-ms { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-variant-numeric: tabular-nums; font-size: 1.125rem; }
[data-ui] .ui-big { margin-top: auto; padding-top: 24px; display: grid; gap: 4px; max-width: 22ch; }
[data-ui] .ui-big-n { font-family: var(--display); font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--accent); white-space: nowrap; }
[data-ui] .ui-big-l { color: var(--field-muted); font-size: .9375rem; }
[data-ui] .ui-foot { margin-top: 20px; font-size: .875rem; color: var(--field-muted); max-width: 46ch; }
[data-ui] .packet {
  position: absolute; left: calc(var(--pad) + 6px); top: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); opacity: 0;
}
[data-ui] .log { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .9375rem; }
[data-ui] .log th { text-align: left; font-weight: 400; color: var(--field-muted); font-size: .8125rem; padding: 10px 12px 10px 0; border-bottom: 1px solid #3c4a5c; }
[data-ui] .log td { padding: 11px 12px 11px 0; border-bottom: 1px solid #334155; vertical-align: top; }
[data-ui] .log td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--field-muted); }
[data-ui] .log tr.row-hot td { color: var(--accent); }
[data-ui] .log tr { transition: background-color 150ms ease; }

/* Work: title torn at the seam */
.work { position: relative; background: var(--field); color: var(--field-ink); }
.work-stage { position: relative; }
.work-title { font-family: var(--display); font-size: var(--step-head); letter-spacing: -0.02em; }
.proj-name { font-family: var(--display); letter-spacing: -0.04em; line-height: .85; }
.proj-line { color: var(--field-muted); }

@media (min-width: 761px) and (min-height: 501px), (min-width: 1001px) {
  .work { height: calc(4 * 70svh + 100svh); }
  .work-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
  .work-title { position: absolute; top: 32px; left: var(--m); z-index: 5; }
  .proj { position: absolute; inset: 0; opacity: 0; filter: blur(3px); visibility: hidden; transition: opacity 300ms ease, filter 300ms ease, visibility 0s linear 300ms; }
  .proj.is-on { opacity: 1; filter: none; visibility: visible; z-index: 2; transition: opacity 300ms ease, filter 300ms ease, visibility 0s; }
  .pane { position: absolute; top: 0; bottom: 0; width: 50%; display: flex; align-items: center; padding: 40svh var(--m) 3svh; will-change: transform; }
  .work-stage::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 50%; background: var(--field-2); }
  .pane-l { left: 0; justify-content: flex-end; padding-right: 48px; }
  .pane-r { right: 0; padding-left: 48px; }
  .proj { z-index: 1; }
  .frag { width: min(520px, 100%); background: #2f3d4f; padding: 24px; min-height: 300px; border-radius: var(--r); }
  .pane-r .frag { background: #1b2531; }
  .proj-text { position: absolute; left: 0; right: 0; top: 14svh; text-align: center; z-index: 4; }
  .proj-name { position: relative; display: block; height: clamp(96px, 9.5vw, 150px); font-size: clamp(88px, 9vw, 140px); color: #f6f3ea; }
  .half { position: absolute; left: 0; right: 0; top: 0; white-space: nowrap; will-change: transform; }
  .half-l { clip-path: inset(0 50% 0 0); }
  .half-r { clip-path: inset(0 0 0 50%); }
  .proj-line { margin-top: 64px; }
  .proj-text .tlink { display: inline-block; margin-top: 8px; padding: 10px 0; }
}

[data-ui] .tiers { display: grid; gap: 12px; margin-top: 16px; }
[data-ui] .tier { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
[data-ui] .tier-name { width: 100px; color: var(--field-muted); font-size: .875rem; }
[data-ui] .chip { padding: 8px 12px; border: 1px solid #4a5a6e; border-radius: 8px; font-size: .9375rem; transition: border-color 150ms ease; }
[data-ui] .chip-hot { border-color: var(--accent); color: var(--accent); }
[data-ui] .term { margin: 0; /* taste-skill-ignore: real terminal output */ font: .875rem/1.6 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; color: #d6dde5; white-space: pre; overflow: hidden; }

/* Letter */
.letter {
  max-width: calc(1040px + 2 * var(--m)); margin: 0 auto; padding: var(--gap) var(--m);
  display: grid; grid-template-columns: clamp(200px, 24vw, 320px) minmax(0, 60ch); column-gap: clamp(32px, 6vw, 96px); align-content: start;
}
.letter > * { grid-column: 2; }
.letter > .avatar { grid-column: 1; grid-row: 1 / span 7; position: sticky; top: 32px; align-self: start; }
.letter p { margin-bottom: 1.1em; }
mark { background: var(--accent); color: var(--accent-ink); padding: 0 .15em; }
.sign { font-style: italic; font-size: var(--step-lead); margin-top: 40px; }
.sign span { display: block; font-style: normal; font-size: 1rem; color: var(--muted); margin-top: 4px; }

/* Contact */
.contact { background: var(--surface); padding: var(--gap) var(--m); }
.contact { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 400px); justify-content: center; column-gap: clamp(32px, 8vw, 128px); align-items: end; }
.prompt, .prompt-2 { font-family: var(--text); font-weight: 600; font-size: var(--step-lead); line-height: 1.3; }
.prompt { color: var(--muted); }
.field { position: relative; margin-top: 28px; }
.field input {
  width: 100%; height: 64px; border: 0; background: var(--paper); color: var(--ink);
  font: inherit; padding: 0 72px 0 20px; outline: none; border-radius: var(--r-sm);
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.field input::placeholder { color: #666b71; }
.send {
  position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border: 0;
  background: var(--accent); color: var(--accent-ink); font: 600 1.25rem/1 var(--text); cursor: pointer; border-radius: 8px;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, opacity 200ms ease;
}
.send:active { transform: scale(.97); }
.send:disabled { opacity: .6; cursor: progress; }
.send span { display: inline-block; transition: transform 200ms var(--ease-out); }
.field-note { transition: opacity 200ms ease, filter 200ms ease; }
.field-note.swap { opacity: 0; filter: blur(2px); }
.field-note { margin-top: 16px; font-size: var(--step-small); color: var(--muted); }
.rows { display: grid; gap: 14px; }
.rows div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
.rows dd { overflow-wrap: anywhere; }
.rows dt { color: var(--muted); }
.rows a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .2em; }

/* Footer */
.foot {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 24px;
  padding: 64px var(--m) 30px; font-size: 1rem; color: var(--muted);
}
.foot-links { display: flex; gap: 24px; }
.foot-links a { color: var(--ink); }
.foot-year { text-align: right; }

/* Motion: entrances (content stays visible without script) */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
.js .sheet .item { opacity: 0; transform: translateY(12px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); transition-delay: var(--d, 0ms); }
.js .sheet .item.in { opacity: 1; transform: none; }
.js .hero .lead, .js .hero-facts, .js .hero-meta { opacity: 0; transform: translateY(20px); animation: rise 700ms var(--ease) forwards; }
.js .portrait { animation: unveil 1100ms var(--ease-in-out) both; }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.js .hero .lead { animation-delay: 200ms; }
.js .hero-facts { animation-delay: 230ms; }
.js .hero-meta { animation-delay: 260ms; }
.js .name { animation: name-in 900ms var(--ease) both; }
@keyframes rise { to { opacity: 1; transform: none; } }
/* Closing sections: a scroll-driven rise that never hides content. Before the range starts the text
   shows its normal, visible style; browsers without view timelines simply show it. */
@keyframes rise-in { from { opacity: 0; transform: translateY(20px); } }
@supports (animation-timeline: view()) {
  .rv2 { animation: rise-in linear both; animation-fill-mode: none; animation-timeline: view(); animation-range: entry 0% entry 70%; }
}
@keyframes name-in { from { opacity: 0; translate: 0 24px; filter: blur(4px); } to { opacity: 1; translate: 0 0; } }
.js .hop { opacity: 0; transform: translateX(-12px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); transition-delay: var(--d, 0ms); }
.js .hop.in { opacity: 1; transform: none; }

/* Hover only where a real pointer hovers; touch taps would leave these stuck on */
@keyframes menu-in { from { opacity: 0; transform: scale(.96) translateY(-4px); } }
@media (hover: hover) and (pointer: fine) {
  .btn:hover, .send:hover { background: #ffad33; }
  .send:hover span { transform: translateX(2px); }
  .tlink:hover { text-underline-offset: .32em; }
  .bar ul a:hover { text-decoration-color: var(--accent); text-underline-offset: .2em; }
  [data-ui] .log tbody tr:hover { background: #2f3d4f; }
  [data-ui] .chip:hover { border-color: var(--field-ink); }
}

/* Tablet: links move into the menu so they clear the stage */
@media (max-width: 1100px) and (min-width: 761px) and (min-height: 501px) {
  .hero-copy { grid-template-columns: minmax(0, 1fr); row-gap: 28px; margin-top: 11svh; }
  .portrait { width: clamp(180px, 24vw, 240px); }
  .bar nav { position: relative; }
  .menu-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; background: none; border: 0; color: var(--field-ink); font: 600 1rem var(--text); cursor: pointer; }
  .bar ul { display: none; position: absolute; top: 52px; right: 0; flex-direction: column; gap: 4px; background: var(--paper); padding: 12px 20px; min-width: 200px; border-radius: var(--r-sm); box-shadow: 0 12px 32px rgba(0,0,0,.25); /* taste-skill-ignore: open menu floats */ transform-origin: top right; }
  .bar ul.open { display: flex; animation: menu-in 180ms var(--ease-out); }
  .bar ul a { color: var(--ink); display: block; padding: 8px 0; }
}

/* Phone, portrait or landscape */
@media (max-width: 760px), (max-height: 500px) and (max-width: 1000px) {
  .bar { left: 0; padding: 14px var(--m); }
  .bar nav { justify-content: space-between; gap: 12px; position: relative; }
  .menu-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
    background: none; border: 0; color: var(--field-ink); font: 600 1rem var(--text); cursor: pointer;
  }
  .bar ul { display: none; position: absolute; top: 52px; left: 0; flex-direction: column; gap: 4px; background: var(--paper); padding: 12px 20px; min-width: 200px; border-radius: var(--r-sm); box-shadow: 0 12px 32px rgba(0,0,0,.25); /* taste-skill-ignore: open menu floats */ transform-origin: top left; }
  .bar ul.open { display: flex; animation: menu-in 180ms var(--ease-out); }
  .bar ul a { color: var(--ink); display: block; padding: 8px 0; }
  /* Name, photo and title first; the live trace follows them */
  .split { display: flex; flex-direction: column; }
  .col { display: contents; }
  .hero { order: 0; }
  .stage { order: 1; position: relative; height: auto; padding: 0 12px; background: var(--field); }
  #intro { order: 2; }
  #experience { order: 3; }
  .stage-in { height: auto; }
  .panel { position: relative; --pad: 20px; }
  .panel[data-panel="booking"] { display: none; }
  [data-ui] .ui-big, [data-ui] .ui-foot { display: none; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; padding: 88px var(--m) 40px; }
  .name { align-self: flex-start; order: -1; font-size: min(15vw, 4.5rem); margin: 0 0 24px; }
  .hero-copy { margin: 0; grid-template-columns: 112px minmax(0, 1fr); column-gap: 20px; align-items: start; }
  .hero-copy .lead { margin-bottom: 16px; }
  .hero-facts { margin: -4px 0 20px; font-size: .9375rem; }
  .lead { font-size: 1.1875rem; }
  .intro { padding: var(--gap) var(--m); }
  .band { padding: var(--gap) 10px; }
  .sheet { padding: 48px 20px 44px; }
  .item { grid-template-columns: 1fr; }
  .item-when { text-align: left; color: var(--muted); }
  .item-where { display: inline; font-size: inherit; }
  .item-where::before { content: " · "; }
  .work { padding: var(--gap) var(--m); }
  .work-title { margin-bottom: 40px; }
  .proj { display: flex; flex-direction: column; gap: 16px; margin-bottom: 80px; }
  .proj-text { order: -1; }
  .proj-name { font-size: 12.5vw; }
  .half-r { display: none; }
  .proj-line { margin-top: 12px; }
  .proj-text .tlink { display: inline-block; padding: 10px 0; }
  .frag { background: #2f3d4f; padding: 20px; border-radius: var(--r); }
  .pane-r { display: none; }
  [data-ui] .tier-name { width: 100%; }
  .rows div { grid-template-columns: 1fr; gap: 2px; }
  .contact { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .letter { grid-template-columns: minmax(0, 1fr); }
  .letter > * { grid-column: 1; }
  .letter > .avatar { grid-row: auto; position: static; width: 140px; margin-bottom: 28px; }
  .foot { grid-template-columns: 1fr; gap: 8px; padding: 20svh var(--m) 24px; font-size: .875rem; }
  .foot-links { flex-wrap: wrap; }
  .foot-year { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv, .js .sheet .item, .js .hop, .js .hero .lead, .js .hero-facts, .js .hero-meta { opacity: 1; transform: none; animation: none; transition: opacity .3s ease; }
  .js .name, .rv2, .js .portrait { animation: none; }
  .pane, .half, .name { transform: none !important; }
  .panel, .proj, .field-note { filter: none !important; }
  .bar ul.open { animation: none; }
}
