/* Red / black / white. Square geometry, editorial type, progressive effects. */
:root {
    color-scheme: dark;
    --background: #090909;
    --surface: #111111;
    --surface-raised: #191919;
    --text: #f5f4f0;
    --muted: #adadad;
    --red: #ff3030;
    --red-text: #ff6969;
    --primary-color: var(--red);
    --border: #353535;
    --space: clamp(1.25rem, 2.7vw, 2.25rem);
    --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; scrollbar-color: var(--red) var(--background); }
body { margin: 0; min-inline-size: 0; min-block-size: 100vh; color: var(--text); background: var(--background); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 1rem; line-height: 1.7; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(#ffffff03 1px, transparent 1px), linear-gradient(90deg, #ffffff03 1px, transparent 1px); background-size: 4rem 4rem; }
::selection { background: var(--red); color: #000; }
a { color: inherit; text-decoration-thickness: .07em; text-underline-offset: .25em; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:hover { color: var(--red-text); }
button { font: inherit; cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
h2 { font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 800; letter-spacing: -.04em; }
h3 { font-size: 1rem; font-weight: 750; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-inline-size: 100%; block-size: auto; }
svg { display: inline-block; inline-size: 1.15rem; block-size: 1.15rem; flex: 0 0 auto; fill: currentColor; }
iframe { display: block; max-inline-size: 100%; border: 0; }
strong { color: var(--text); font-weight: 650; }
.accent { color: var(--red); }
.icon-definitions { position: absolute; inline-size: 0; block-size: 0; overflow: hidden; }
.skip-link { position: fixed; inset-block-start: .75rem; inset-inline-start: 1rem; z-index: 20; padding: .75rem 1rem; color: #000; background: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); color: #000; }
.reading-progress { position: fixed; inset: 0 0 auto; z-index: 15; block-size: 3px; pointer-events: none; }
.reading-progress span { display: block; block-size: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }

.page-shell { inline-size: min(100% - 4rem, 78rem); margin-inline: auto; }
.site-header { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.25rem; padding-block: 1.25rem; margin-block-end: 2.5rem; border-block-end: 1px solid var(--border); }
.wordmark { display: inline-flex; align-items: center; min-block-size: 2.75rem; font-size: 2.1rem; line-height: 1; font-weight: 900; letter-spacing: -.09em; text-decoration: none; }
.wordmark span { color: var(--red); transition: transform .3s var(--ease); }
.wordmark:hover { color: #fff; }
.wordmark:hover span { transform: translate(.15rem, -.15rem); }
.site-header > p { padding-inline-start: 1.25rem; border-inline-start: 1px solid var(--border); color: var(--muted); font-size: .77rem; }
.header-label { display: inline-flex; align-items: center; gap: .65rem; margin-inline-start: auto; color: var(--muted); font: .6rem var(--mono); letter-spacing: .1em; }
.header-label > span { color: var(--red); font-size: 1.3rem; }
.profile-layout { display: grid; grid-template-columns: 18rem minmax(0, 1fr); gap: clamp(2rem, 4.5vw, 4rem); align-items: start; }

.profile-card { position: sticky; inset-block-start: 1.5rem; min-inline-size: 0; padding: 1.4rem; border: 1px solid #555; background: #0f0f0f; box-shadow: 5px 5px 0 #ffffff0d; transition: border-color .35s, box-shadow .35s, transform .35s var(--ease); }
.profile-label { display: flex; justify-content: space-between; align-items: center; padding-block-end: 1rem; border-block-end: 1px solid var(--border); margin-block-end: 1.5rem; color: var(--muted); font: .6rem var(--mono); letter-spacing: .08em; }
.profile-label > span:last-child { color: var(--red); font-size: 1.25rem; line-height: 1; }
.profile-card__identity { min-inline-size: 0; text-align: center; }
.avatar { position: relative; display: grid; place-items: center; inline-size: 9rem; aspect-ratio: 1; margin: 0 auto 1.5rem; overflow: hidden; background: #ecebe6; border: 2px solid var(--red); clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 0 100%); transition: clip-path .4s var(--ease), transform .4s var(--ease); }
.avatar img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.avatar__fallback { color: #101010; font-size: 3.3rem; line-height: 1; font-weight: 900; letter-spacing: -.13em; padding-inline-end: .12em; }
.eyebrow { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .09em; line-height: 1.6; text-transform: uppercase; }
.profile-card .eyebrow { justify-content: center; margin-block-end: .55rem; font-size: .59rem; }
.profile-card h2 { font-size: 2rem; font-weight: 850; letter-spacing: -.055em; }
.profile-role { margin-block-start: .55rem; font-size: .8rem; color: var(--red-text); }
.profile-facts { display: grid; gap: .9rem; margin-block: 1.5rem; padding-block: 1.2rem; border-block: 1px solid var(--border); }
.profile-facts > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem .6rem; font-size: .7rem; }
.profile-facts dt { color: var(--muted); }
.profile-facts dd { color: #dedede; }
.social-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .55rem; margin-block-end: 1rem; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; inline-size: 2.75rem; min-block-size: 2.75rem; color: #e1e1e1; border: 1px solid #505050; background: #121212; transition: color .25s, background .25s, box-shadow .25s, transform .25s var(--ease); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: .75rem; min-block-size: 3.25rem; padding: .8rem 1rem; border: 1px solid var(--red); font-size: .8rem; font-weight: 800; text-decoration: none; transition: color .25s, background .25s, box-shadow .25s, transform .3s var(--ease); }
.button--primary { inline-size: 100%; color: #080808; background: var(--red); }
.button svg { inline-size: 1rem; block-size: 1rem; transition: transform .35s var(--ease); }
.profile-note { margin-block-start: 1.1rem; color: var(--muted); font-size: .68rem; text-align: center; }

.content { min-inline-size: 0; }
.content:focus { outline: none; }
.intro { position: relative; isolation: isolate; padding-block: .4rem 2rem; }
.intro::after { content: "+"; position: absolute; inset-inline-end: 0; inset-block-start: -.4rem; z-index: -1; color: #454545; font: 2rem var(--mono); line-height: 1; }
.intro > .eyebrow { margin-block-end: 1.5rem; }
.small-dot { flex: 0 0 auto; inline-size: .5rem; block-size: .5rem; background: var(--red); }
h1 { font-size: clamp(2.65rem, 5.6vw, 5.35rem); font-weight: 900; letter-spacing: -.065em; line-height: 1.03; }
.hero-line { display: block; }
.hero-line + .hero-line { margin-block-start: .08em; }
.name-mark { position: relative; display: inline-block; color: var(--red); -webkit-text-stroke: 0 transparent; transition: color .3s, -webkit-text-stroke .3s, transform .4s var(--ease); }
.name-mark::after { content: ""; position: absolute; inset: auto 0 -.1em; block-size: .06em; background: var(--red); transform: scaleX(.22); transform-origin: left; transition: transform .5s var(--ease); }
.intro__subtitle { max-inline-size: 51ch; margin-block-start: 1.5rem; color: #bfbfbf; font-size: 1rem; line-height: 1.9; }
.intro__footnote { max-inline-size: 45ch; padding-inline-start: 1rem; margin-block-start: 1.5rem; border-inline-start: 2px solid var(--red); color: #dbdbdb; font-size: .82rem; }
.intro__scroll { display: inline-flex; align-items: center; gap: .8rem; min-block-size: 2.75rem; margin-block-start: 1.3rem; color: var(--muted); font: .65rem var(--mono); text-decoration: none; }
.intro__scroll svg { inline-size: 1rem; block-size: 1rem; transform: rotate(90deg); transition: transform .3s var(--ease); }
.section-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block-end: 1.6rem; border: 1px solid var(--border); }
.section-nav a { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .35rem .6rem; min-block-size: 3.5rem; padding: .6rem .5rem; color: #d1d1d1; font-size: .76rem; font-weight: 600; text-decoration: none; transition: color .25s, background .25s; }
.section-nav a + a { border-inline-start: 1px solid var(--border); }
.section-nav a > span { color: #a2a2a2; font: .56rem var(--mono); transition: color .25s; }
.section-nav a::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; block-size: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.section-nav a[aria-current] { color: #fff; background: #202020; }
.section-nav a[aria-current]::after { transform: scaleX(1); }
.section-nav a[aria-current] > span { color: var(--red-text); }
.section-nav svg { inline-size: .8rem; block-size: .8rem; }

.panel { position: relative; min-inline-size: 0; padding: var(--space); margin-block-end: 1.5rem; border: 1px solid var(--border); background: var(--surface); transition: border-color .35s; }
.panel::before { content: ""; position: absolute; inset: -1px auto auto -1px; inline-size: 1.4rem; block-size: 3px; background: var(--red); transition: inline-size .5s var(--ease); }
.section-heading { display: flex; align-items: baseline; gap: .85rem; margin-block-end: 1.5rem; }
.section-index { flex: 0 0 auto; color: var(--red-text); font: .67rem var(--mono); }
.panel > p { color: #c4c4c4; font-size: .95rem; line-height: 1.95; }
.panel > p + p { margin-block-start: 1rem; }
.interest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; counter-reset: interests; }
.interest-card { position: relative; isolation: isolate; min-inline-size: 0; padding: 1.5rem; counter-increment: interests; border: 1px solid #4a4a4a; background: #151515; transform: perspective(800px) rotateX(0) rotateY(0); transition: transform .45s var(--ease), border-color .3s, box-shadow .35s, background .3s; }
.interest-card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; background: radial-gradient(240px circle at var(--spot-x, 50%) var(--spot-y, 50%), #ff30301f, transparent 80%); transition: opacity .3s; }
.interest-card::after { content: "0" counter(interests); position: absolute; inset-block-start: 1rem; inset-inline-end: 1rem; z-index: -1; pointer-events: none; color: transparent; -webkit-text-stroke: 1px #ffffff19; font: 800 3.5rem/1 var(--mono); letter-spacing: -.1em; transition: transform .4s var(--ease), -webkit-text-stroke .4s; }
.interest-icon { display: inline-flex; align-items: center; justify-content: center; inline-size: 2.75rem; block-size: 2.75rem; margin-block-end: 1.35rem; color: var(--red-text); border: 1px solid #ffffff24; background: #ffffff03; transition: color .3s, background .3s, transform .4s var(--ease); }
.interest-icon svg { inline-size: 1.35rem; block-size: 1.35rem; }
.interest-icon--type { font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; }
.interest-caption { color: #a8a8a8; font-size: .65rem; letter-spacing: .025em; }
.interest-card h3 { margin-block: .45rem .85rem; font-size: 1.18rem; font-weight: 800; letter-spacing: -.045em; }
.interest-card > p:last-child { color: #bcbcbc; font-size: .88rem; line-height: 1.9; }
.interest-card:nth-child(2) { color: #111; background: #eeede9; border-color: #eeede9; }
.interest-card:nth-child(2)::after { -webkit-text-stroke-color: #00000020; }
.interest-card:nth-child(2) .interest-caption { color: #535353; }
.interest-card:nth-child(2) > p:last-child { color: #353535; }
.interest-card:nth-child(2) .interest-icon { color: #111; border-color: #111; background: transparent; }
.interest-card:nth-child(4) { border-color: #9b3333; }
.panel > .section-note { margin-block-start: 1.25rem; padding-inline-start: .75rem; border-inline-start: 2px solid var(--red); color: var(--muted); font-size: .77rem; }

.personal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 2rem; }
.personal-grid h3 { margin-block-end: 1.25rem; font-size: .95rem; }
.note-list { display: grid; gap: 1.15rem; }
.note-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; align-items: start; }
.note-list li > span { color: var(--red-text); font: 1rem var(--mono); transition: transform .3s var(--ease); }
.note-list p { color: #bfbfbf; font-size: .88rem; line-height: 1.9; }
.music { min-inline-size: 0; container-type: inline-size; }
.music > p { margin-block: -.6rem 1rem; color: var(--muted); font-size: .8rem; }
.music-embed { inline-size: 100%; border: 1px solid #494949; background: #121212; }
/* Keep the content viewport exactly 152px: an iframe border used to make it 150px. */
.spotify-player { display: block; box-sizing: content-box; inline-size: 100%; block-size: 152px; height: 152px; border: 0; color-scheme: normal; background: #121212; }
.music > .music-compact-note { display: none; margin-block: .25rem .75rem; padding: 1rem; border: 1px solid var(--border); color: #c9c9c9; background: #161616; }
@container (max-width: 281px) {
    .music-embed { display: none; }
    .music > .music-compact-note { display: block; }
}
.text-link { display: inline-flex; align-items: center; gap: .65rem; min-block-size: 2.75rem; color: var(--red-text); font-size: .75rem; text-decoration: none; }
.text-link svg { inline-size: .9rem; block-size: .9rem; transition: transform .3s var(--ease); }
.text-link:hover { color: #fff; text-decoration: underline; }
.connect-panel { color: #101010; background: #eeede9; border-color: #eeede9; border-inline-start: 5px solid var(--red); }
.connect-panel .section-index { color: #b72020; }
.connect-panel > p { color: #404040; }
.connection-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-block: 1.6rem 1rem; }
.connection-links a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-block-size: 3.25rem; padding: .75rem 1rem; color: #111; border: 1px solid #929292; font-size: .8rem; font-weight: 650; text-decoration: none; transition: background .25s, border-color .25s, box-shadow .3s, transform .3s var(--ease); }
.connection-links svg { inline-size: .95rem; block-size: .95rem; transition: transform .35s var(--ease); }
.email-link { display: inline-flex; align-items: center; gap: .75rem; min-block-size: 2.75rem; max-inline-size: 100%; color: #111; font-size: .8rem; text-decoration: none; }
.email-link span { min-inline-size: 0; overflow-wrap: anywhere; text-decoration-line: underline; text-decoration-color: var(--red); text-underline-offset: .35em; text-decoration-thickness: 1px; }
.email-link svg { inline-size: 1rem; block-size: 1rem; }
.email-link:hover { color: #b00000; }
.site-footer { padding-block: .25rem 2rem; border-block-start: 1px solid var(--border); color: var(--muted); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin-block-start: .85rem; font: .65rem/1.8 var(--mono); }
.back-to-top { display: inline-flex; align-items: center; min-block-size: 2.75rem; text-decoration: none; }

/* Focus has a visible counterpart to pointer decoration. */
.social-links a:focus-visible { color: #080808; background: #fff; box-shadow: 3px 3px 0 var(--red); }
.button--primary:hover, .button--primary:focus-visible { color: #080808; background: var(--text); border-color: var(--text); }
.section-nav a:focus-visible { color: #fff; background: #242424; z-index: 2; }
.section-nav a:focus-visible::after { transform: scaleX(1); }
.connection-links a:hover, .connection-links a:focus-visible { color: #080808; background: var(--red); border-color: #111; }
.panel:focus-within::before { inline-size: 4rem; }

/* Touch devices keep stable geometry; pointer effects are optional. */
@media (hover: hover) and (pointer: fine) {
    .profile-card:hover, .profile-card:focus-within { border-color: var(--red); box-shadow: 6px 6px 0 var(--red); }
    .panel:hover { border-color: #626262; }
    .panel:hover::before { inline-size: 4rem; }
    .connect-panel:hover { border-color: #eeede9; border-inline-start-color: var(--red); }
    .social-links a:hover { color: #080808; background: #fff; box-shadow: 3px 3px 0 var(--red); }
    .section-nav a:hover { color: #fff; background: #242424; }
    .section-nav a:hover::after { transform: scaleX(1); }
    .interest-card:hover { border-color: var(--red); box-shadow: 4px 4px 0 var(--red); }
    .interest-card:hover::before { opacity: 1; }
    .interest-card:hover::after { -webkit-text-stroke-color: #ff303055; }
    .interest-card:hover .interest-icon { color: #090909; background: var(--red); border-color: var(--red); }
    .intro:hover .name-mark, .intro:focus-within .name-mark { color: transparent; -webkit-text-stroke: 1.5px var(--red); }
    .intro:hover .name-mark::after, .intro:focus-within .name-mark::after { transform: scaleX(1); }
}

@media (hover: hover) and (pointer: fine) {
    .social-links a:hover { transform: translate(-2px, -2px); }
    .button--primary:hover { box-shadow: 4px 4px 0 var(--red); transform: translate(-2px, -2px); }
    .button:hover svg { transform: translateX(3px); }
    .profile-card:hover .avatar { clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%); transform: rotate(-3deg); }
    .profile-card:hover .avatar img { transform: scale(1.07) rotate(3deg); }
    .interest-card:hover { transform: perspective(800px) translateY(-3px); }
    .interest-card.is-tilting:hover { transform: perspective(800px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-3px); }
    .interest-card:hover .interest-icon { transform: rotate(-7deg); }
    .interest-card:hover::after { transform: translate(-3px, 3px); }
    .note-list li:hover > span { transform: translate(3px, -3px); }
    .intro__scroll:hover svg { transform: rotate(90deg) translateX(4px); }
    .text-link:hover svg { transform: translate(2px, -2px); }
    .connection-links a:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 #111; }
    .connection-links a:hover svg { transform: rotate(45deg); }
}

/* A tall sticky profile must still be reachable in short windows. */
@media (min-width: 60rem) and (max-height: 48rem) {
    .profile-card { position: static; }
}

/* Tablet: compact profile above the main reading column. */
@media (max-width: 59.999rem) {
    .page-shell { inline-size: min(100% - 3rem, 49rem); }
    .site-header { margin-block-end: 2rem; }
    .profile-layout { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
    .profile-card { position: static; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.25rem 1.5rem; padding: 1.5rem; }
    .profile-label { grid-column: 1 / -1; margin: 0; }
    .profile-card__identity { grid-column: 1; grid-row: 2; display: flex; align-items: center; gap: 1.15rem; text-align: start; }
    .avatar { flex: 0 0 auto; inline-size: 5.5rem; margin: 0; }
    .avatar__fallback { font-size: 2.5rem; }
    .profile-card .eyebrow { justify-content: flex-start; font-size: .55rem; }
    .profile-card h2 { font-size: 1.6rem; }
    .profile-role { font-size: .73rem; }
    .profile-facts { grid-column: 1; grid-row: 3; margin: 0; padding-block: .9rem 0; border-block-end: 0; gap: .4rem; }
    .profile-facts > div { justify-content: flex-start; }
    .profile-card__actions { grid-column: 2; grid-row: 2 / 4; inline-size: 12.5rem; }
    .social-links { gap: .4rem; }
    .profile-note { grid-column: 1 / -1; grid-row: 4; margin: 0; padding-block-start: 1rem; border-block-start: 1px solid var(--border); text-align: start; }
    .intro { padding-block-start: 0; }
    h1 { font-size: clamp(3rem, 7vw, 4.5rem); }
}

/* Phones: readable copy, square cards and comfortable tap targets. */
@media (max-width: 39.999rem) {
    :root { --space: 1.25rem; }
    .page-shell { inline-size: min(100% - 2rem, 33rem); }
    .site-header { padding-block: 1rem; margin-block-end: 1.5rem; gap: .5rem 1rem; }
    .wordmark { font-size: 1.8rem; }
    .site-header > p { font-size: .69rem; padding-inline-start: 1rem; }
    .header-label { display: none; }
    .profile-layout { gap: 2rem; }
    .profile-card { display: block; padding: 1.25rem; }
    .profile-label { margin-block-end: 1.4rem; }
    .profile-card__identity { flex-direction: column; gap: 1.15rem; text-align: center; }
    .avatar { inline-size: 7rem; }
    .profile-card .eyebrow { justify-content: center; }
    .profile-card h2 { font-size: 1.9rem; }
    .profile-role { font-size: .82rem; }
    .profile-facts { margin-block: 1.35rem; padding-block: 1rem; border-block-end: 1px solid var(--border); gap: .6rem; }
    .profile-facts > div { justify-content: space-between; font-size: .72rem; }
    .profile-card__actions { inline-size: auto; }
    .social-links { gap: .65rem; }
    .profile-note { padding: 0; border: 0; margin-block-start: 1rem; text-align: center; }
    .intro { padding-block-end: 1.5rem; }
    .intro::after { font-size: 1.5rem; }
    .intro > .eyebrow { margin-block-end: 1.25rem; font-size: .62rem; }
    h1 { font-size: clamp(2.35rem, 9.6vw, 3.8rem); }
    .intro__subtitle { margin-block-start: 1.35rem; font-size: .95rem; }
    .intro__footnote { font-size: .78rem; }
    .intro__scroll { margin-block-start: 1rem; }
    .section-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block-end: 1.25rem; }
    .section-nav a { justify-content: flex-start; min-block-size: 3.1rem; padding-inline: .75rem; font-size: .73rem; }
    .section-nav a:nth-child(3) { border-inline-start: 0; }
    .section-nav a:nth-child(n + 3) { border-block-start: 1px solid var(--border); }
    .panel { margin-block-end: 1.25rem; }
    .section-heading { gap: .65rem; margin-block-end: 1.25rem; }
    .panel > p { font-size: .94rem; }
    .interest-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .interest-card { padding: 1.25rem; }
    .interest-card h3 { font-size: 1.25rem; }
    .interest-card > p:last-child { font-size: .92rem; }
    .personal-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
    .music { border-block-start: 1px solid var(--border); padding-block-start: 1.5rem; }
    .connection-links { gap: .6rem; }
    .connection-links a { padding-inline: .7rem; font-size: .75rem; }
    .email-link { font-size: .73rem; }
    .footer-bottom { align-items: flex-start; font-size: .6rem; }
}

@media (max-width: 22rem) {
    .page-shell { inline-size: calc(100% - 1.5rem); }
    .panel { padding: 1rem; }
    .profile-card { padding-inline: 1rem; }
    .profile-facts > div { flex-direction: column; gap: .1rem; text-align: center; }
    .connection-links { grid-template-columns: minmax(0, 1fr); }
}



/* Signature motion: a typographic ribbon, scanning portrait and offset name. */
.kinetic-strip { max-inline-size: 100%; overflow: hidden; margin-block: -.25rem 1.5rem; background: var(--red); color: #090909; border-block: 1px solid var(--red); }
.kinetic-track { display: flex; inline-size: max-content; }
.kinetic-copy { display: flex; align-items: center; flex: 0 0 auto; gap: 1.5rem; padding: .7rem 1.5rem .7rem 0; font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 900; line-height: 1.4; letter-spacing: -.035em; text-transform: uppercase; white-space: nowrap; }
.kinetic-copy b { font-size: 1.7rem; font-weight: 500; line-height: 1; }
.kinetic-outline { color: #090909; }
@supports (-webkit-text-stroke: 1px #090909) {
    .kinetic-outline { color: transparent; -webkit-text-stroke: 1px #090909; }
}
.kinetic-track { animation: ticker-travel 14s linear infinite; animation-play-state: running; }
.profile-card::before { content: ""; position: absolute; inset: -1px auto auto 0; inline-size: 35%; block-size: 2px; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, var(--red), #fff, var(--red), transparent); }
.profile-card::before { opacity: 1; animation: border-trace 3s ease-in-out infinite alternate; }
.avatar::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: linear-gradient(transparent 46%, #ff303055 49%, #ffffffbb 50%, transparent 51%); }
.avatar::after { animation: portrait-scan 4s ease-in-out infinite; animation-delay: -1.2s; }
.name-mark::before { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; color: #f5f4f0; clip-path: inset(34% 0 44% 0); opacity: 0; }
.name-mark::before { animation: name-echo 6.5s ease-in-out infinite; }
.intro::after { animation: cross-turn 12s linear infinite; }
.panel.is-revealed { animation: panel-arrive .7s var(--ease) both; }
.button { position: relative; overflow: hidden; }
.button::before { content: ""; position: absolute; inset: -20% auto -20% -50%; inline-size: 35%; pointer-events: none; background: linear-gradient(90deg, transparent, #ffffff88, transparent); transform: skewX(-25deg) translateX(-150%); }
@media (hover: hover) and (pointer: fine) {
    .button:hover::before { animation: button-sheen .7s var(--ease); }
}

@keyframes ticker-travel { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes border-trace { from { transform: translateX(0); } to { transform: translateX(180%); } }
@keyframes portrait-scan {
    0%, 12% { opacity: 0; transform: translateY(-110%); }
    28% { opacity: .7; }
    72%, 100% { opacity: 0; transform: translateY(110%); }
}
@keyframes name-echo {
    0%, 70%, 100% { opacity: 0; transform: translateX(0); }
    82% { opacity: .8; transform: translateX(6px); }
    92% { opacity: .15; transform: translateX(-2px); }
}
@keyframes cross-turn { to { transform: rotate(360deg); } }
@keyframes panel-arrive { from { opacity: .2; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes button-sheen { to { transform: skewX(-25deg) translateX(550%); } }

@media (max-width: 39.999rem) {
    .kinetic-copy { gap: 1rem; padding-block: .7rem; }
}
@media (max-width: 22rem) {
    .site-header > p { display: none; }
}
