/* paulcassarly.com
   Two fonts, both sans: Plus Jakarta Sans (headings) + Inter (everything else).
   Spacing scale: 8 16 24 32 48 64 96 128. One accent: Marine/LoFi red. */

@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/jakarta.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }

:root {
  --ink: #16161a;
  --body: #34343a;
  --muted: #5b5b63;
  --paper: #ffffff;
  --tint: #f6f3ee;
  --line: #e4dfd6;
  --dark: #141416;
  --dark-2: #1d1d21;
  --accent: #a51d1d;
  --accent-ink: #8c1616;
  --accent-soft: #f3c2b8;
  --on-dark: #f5f4f1;
  --on-dark-body: rgba(255,255,255,.80);
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --radius: 14px;
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.65; color: var(--body); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 16px; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 72px); }
h2 { font-size: clamp(32px, 3.6vw, 46px); }
h3 { font-size: clamp(21px, 1.8vw, 24px); line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
h4 { font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: 0; }
p, li { text-wrap: pretty; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: var(--muted); }
strong { color: var(--ink); font-weight: 600; }

.container { width: min(var(--container), 90%); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center p, .center .lead { margin-inline: auto; }
.prose { max-width: 680px; }
.prose p, .prose li { font-size: 18px; }
.prose h2 { margin-top: 48px; font-size: clamp(28px, 3vw, 36px); }
.prose h3 { margin-top: 32px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tint); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.center .btn-row { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--accent); }
.text-link .icon { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.logo { height: 66px; width: auto; }
.logo-light { display: none; }
.nav { display: flex; align-items: center; gap: 40px; }
.nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav ul a:hover { color: var(--accent); }
.nav ul a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 10px; margin-right: -10px; cursor: pointer; min-width: 48px; min-height: 48px; }
.nav-toggle .when-open { display: none; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-tight { padding: 80px 0; }
.bg-tint { background: var(--tint); }
.bg-dark { background: var(--dark); color: var(--on-dark-body); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark strong { color: var(--on-dark); }
.bg-dark .lead { color: var(--on-dark-body); }
.bg-dark a:not(.btn) { color: #fff; }
.section-head { margin-bottom: 48px; }
.section-head p { max-width: 62ch; }
.section-head.center p { margin-inline: auto; }

/* Hero (home) */
.hero { padding: 72px 0 96px; background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 24px; font-size: clamp(40px, 4.8vw, 66px); }
.stacked span { display: block; }
.hero .lead { max-width: 40ch; color: var(--body); }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 30%; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(20,20,22,.45); }
.hero-badge { position: absolute; left: -40px; bottom: -28px; display: flex; align-items: center; gap: 16px; background: #fff; padding: 16px 24px 16px 16px; border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(20,20,22,.35); }
.hero-badge img { width: 56px; height: 56px; border-radius: 0; box-shadow: none; aspect-ratio: auto; object-fit: contain; }
.hero-badge strong { display: block; font-size: 16px; line-height: 1.3; }
.hero-badge span { font-size: 14px; color: var(--muted); white-space: nowrap; }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { border-top: 2px solid var(--ink); padding-top: 24px; }
.stat b { display: block; font: 800 clamp(40px, 4vw, 56px)/1 var(--display); letter-spacing: -0.04em; color: var(--ink); margin-bottom: 12px; }
.stat span { display: block; font-size: 16px; line-height: 1.5; color: var(--muted); }

/* Two doors */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.door { position: relative; display: flex; flex-direction: column; border-radius: 24px; padding: 48px 48px 56px; overflow: hidden; min-height: 560px; }
.door-business { background: var(--tint); }
.door-music { background: var(--dark); color: var(--on-dark-body); }
.door-music h3 { color: var(--on-dark); }
.door img.penguin { width: 220px; height: 220px; object-fit: contain; margin: 0 0 24px -8px; }
.door h3 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 16px; }
.door p { max-width: 42ch; }
.door ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; }
.door li { display: flex; gap: 12px; align-items: center; font-size: 17px; }
.door li .icon { color: var(--accent); width: 20px; height: 20px; flex-shrink: 0; }
.door-music li .icon { color: var(--accent-soft); }
.door .btn { margin-top: auto; align-self: flex-start; }
.door .btn-row { margin-top: auto; padding-top: 32px; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.wide-media { grid-template-columns: 7fr 5fr; }
.split.reverse > :first-child { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.split-media .r-45 { aspect-ratio: 4 / 5; }
.split-media .r-43 { aspect-ratio: 4 / 3; }
.split-media .r-32 { aspect-ratio: 3 / 2; }
.split-text { max-width: 540px; }
.split-text h2 { margin-bottom: 24px; }
.caption { font-size: 15px; color: var(--muted); margin-top: 12px; }
.bg-dark .caption { color: rgba(255,255,255,.7); }

/* Quote */
.quote { font: 700 clamp(28px, 3.4vw, 42px)/1.25 var(--display); letter-spacing: -0.025em; color: var(--on-dark); margin: 0 auto; max-width: 24ch; text-wrap: balance; }
.quote-by { margin-top: 32px; font-size: 16px; color: var(--on-dark-body); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 32px; text-decoration: none; color: var(--body); transition: border-color .2s, transform .2s, box-shadow .2s; }
.bg-tint .card { border-color: transparent; }
a.card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(20,20,22,.35); color: var(--body); }
.card .icon-wrap { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: #fbecea; color: var(--accent); margin-bottom: 24px; }
.card .icon-wrap .icon { width: 26px; height: 26px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 17px; }
.card .card-link { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; color: var(--accent); }
.card .card-link .icon { width: 16px; height: 16px; }
.card .domain { font-size: 15px; color: var(--muted); margin: -4px 0 12px; }
.card.featured { grid-column: 1 / -1; background: var(--dark); color: var(--on-dark-body); border-color: var(--dark); }
.card.featured h3 { color: var(--on-dark); font-size: clamp(28px, 2.6vw, 34px); }
.card.featured .domain { color: rgba(255,255,255,.7); }
.card.featured .icon-wrap { background: rgba(255,255,255,.1); color: #fff; }
.card.featured .card-link { color: #fff; }
.card.featured:hover { border-color: var(--accent); color: var(--on-dark-body); }

/* Lists with icons */
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li .icon { color: var(--accent); width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; }
.bg-dark .ticks li .icon { color: var(--accent-soft); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 132px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 132px 1fr; gap: 48px; padding-bottom: 48px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 127px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--tint); }
.timeline .when { font: 800 22px/1.3 var(--display); letter-spacing: -0.02em; color: var(--ink); text-align: right; padding-right: 24px; }
.timeline h3 { font-size: 24px; margin-bottom: 8px; }
.timeline p { max-width: 62ch; }

/* Inner banner */
.banner { padding: 96px 0 72px; background: var(--tint); }
.banner h1 { margin-bottom: 24px; }
.banner .lead { max-width: 56ch; }
.banner.with-art .container { display: flex; flex-direction: column; align-items: center; }
.banner .art { width: 160px; height: 160px; object-fit: contain; margin-bottom: 16px; }

/* Media hero (music) */
.media-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: #fff; background: var(--dark); overflow: hidden; }
.media-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%; }
.media-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,12,.92) 0%, rgba(10,10,12,.72) 38%, rgba(10,10,12,.15) 70%, rgba(10,10,12,0) 100%), linear-gradient(0deg, rgba(10,10,12,.6) 0%, rgba(10,10,12,0) 40%); }
.media-hero .container { position: relative; z-index: 1; padding: 128px 0 96px; }
.media-hero h1 { color: #fff; max-width: 12ch; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.media-hero .lead { color: rgba(255,255,255,.88); max-width: 40ch; }

/* Music hero */
.music-hero { padding: 88px 0 112px; }
.music-hero h1 { color: var(--on-dark); max-width: 11ch; margin-bottom: 24px; }
.music-hero .lead { color: var(--on-dark-body); max-width: 40ch; }
.music-hero .split-media img { box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }

/* Video grid */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video { margin: 0; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; border: 0; padding: 0; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s, transform .4s; }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt .play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.yt .play .icon { width: 26px; height: 26px; margin-left: 4px; fill: #fff; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { margin-top: 16px; }
.video figcaption strong { display: block; font-size: 17px; line-height: 1.4; }
.video figcaption span { font-size: 15px; color: var(--muted); }
.bg-dark .video figcaption span { color: rgba(255,255,255,.7); }
.sc-embed { width: 100%; height: 450px; border: 0; border-radius: 12px; background: #fff; }

.logo-card { background: #fff; border-radius: var(--radius); padding: 48px; display: grid; place-items: center; }
.logo-card img { width: 100%; max-width: 360px; }

/* Resume */
.resume { display: grid; grid-template-columns: 300px 1fr; gap: 80px; align-items: start; }
.resume-side { position: sticky; top: calc(var(--header-h) + 32px); }
.resume-side img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; margin-bottom: 24px; }
.resume-side h2 { font-size: 30px; margin-bottom: 8px; }
.resume-side .role { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.side-block { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }
.side-block h3 { font: 600 15px/1.4 var(--sans); color: var(--ink); margin-bottom: 12px; letter-spacing: 0; }
.side-block ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.side-block li { display: flex; gap: 10px; align-items: flex-start; }
.side-block li .icon { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 4px; }
.resume-main section + section { margin-top: 64px; }
.resume-main > section > h2 { font-size: 32px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); margin-bottom: 32px; }
.job + .job { margin-top: 40px; }
.job-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.job h3 { font-size: 24px; margin: 0; }
.job .dates { font-size: 15px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.job .org { font-size: 16px; color: var(--muted); margin-bottom: 12px; }
.job ul { margin: 0; padding-left: 20px; }
.job li { margin-bottom: 8px; }
.job li::marker { color: var(--accent); }
.resume-main p, .resume-main li { max-width: 660px; }

/* Forms */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 48px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: 400 17px/1.5 var(--sans); color: var(--ink); background: #fff; border: 1px solid #c9c3b8; border-radius: 10px; padding: 14px 16px; min-height: 52px; width: 100%; }
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(165,29,29,.18); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 15px; color: var(--muted); margin-top: 16px; }
.alert { border-radius: 12px; padding: 24px 32px; margin-bottom: 32px; font-size: 17px; }
.alert-ok { background: #edf6ee; color: #1d4d24; border: 1px solid #b9dcbd; }
.alert-err { background: #fbecea; color: #7a1414; border: 1px solid #efc0b9; }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.contact-aside .ticks { margin-top: 32px; }

/* Topics (speaking) */
.topic { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.topic .num { font: 800 16px/1 var(--display); letter-spacing: .02em; color: var(--accent); margin-bottom: 16px; display: block; }
.topic h3 { margin-bottom: 12px; }
.bio-box { background: #fff; border-radius: var(--radius); padding: 48px; border: 1px solid var(--line); }
.bio-box p { font-size: 17px; }

/* Writing */
.post-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; text-decoration: none; color: var(--body); }
.post-card img { border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card .meta { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.post-card:hover h2 { color: var(--accent); }
.article-hero img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-meta { font-size: 16px; color: var(--muted); }
.article .prose { margin-inline: auto; }
.article .prose p:first-child { font-size: 21px; line-height: 1.6; color: var(--ink); }
.author-box { display: flex; gap: 24px; align-items: center; border-top: 1px solid var(--line); padding-top: 32px; margin-top: 64px; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box p { font-size: 16px; margin: 0; }

/* Legal */
.legal h2 { font-size: 26px; margin-top: 40px; }
.legal p, .legal li { font-size: 17px; }

/* CTA band */
.cta-band { background: var(--dark); color: var(--on-dark-body); padding: 112px 0; }
.cta-band h2 { color: var(--on-dark); }
.cta-band p { font-size: 20px; max-width: 46ch; }
.cta-band .btn { margin-top: 32px; }

/* Footer */
.site-footer { background: #0e0e10; color: rgba(255,255,255,.76); padding: 80px 0 32px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 24px; }
.footer-brand p { max-width: 36ch; }
.footer-h { font: 600 15px/1.4 var(--sans); color: #fff; letter-spacing: 0; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.76); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.social { display: flex; gap: 12px; margin-top: 24px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); }
.social a:hover { border-color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 64px; padding-top: 24px; text-align: center; }
.legal-links { font-size: 14px; display: flex; gap: 12px; justify-content: center; margin-bottom: 8px; }
.legal-links span { opacity: .4; }
.copyright { font-size: 10px; letter-spacing: .02em; color: rgba(255,255,255,.6); margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 24px; }
  .nav ul { gap: 22px; }
  .split, .split.wide-media { gap: 56px; }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .resume { grid-template-columns: 260px 1fr; gap: 56px; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }
  body { font-size: 17px; }
  .logo { height: 46px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 24px; background: #fff; padding: 24px 5% 32px; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(0,0,0,.25); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; font-size: 19px; border-bottom: 1px solid var(--line); }
  .nav ul a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--line); }
  .nav-cta { align-self: stretch; min-height: 52px; font-size: 16px; }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open .nav-toggle .when-open { display: block; }
  body.nav-open .nav-toggle .when-closed { display: none; }

  .section { padding: 72px 0; }
  .section-tight { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .hero { padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { max-width: 520px; }
  .hero-badge { left: 16px; bottom: -24px; }
  .hero { padding-bottom: 88px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .doors { grid-template-columns: 1fr; gap: 24px; }
  .door { min-height: 0; padding: 32px 28px 40px; }
  .door img.penguin { width: 160px; height: 160px; }
  .split, .split.wide-media { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .split-text { max-width: none; }
  .cards, .cards.two, .cards.four { grid-template-columns: 1fr; }
  .card { padding: 32px 28px; }
  .videos { grid-template-columns: 1fr; gap: 32px; }
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; padding-left: 40px; padding-bottom: 40px; }
  .timeline li::before { left: 1px; top: 8px; }
  .timeline .when { text-align: left; padding-right: 0; font-size: 20px; }
  .banner { padding: 64px 0 48px; }
  .banner .center { text-align: left; }
  .banner .center .lead { margin-inline: 0; }
  .banner .btn-row { justify-content: flex-start; }
  .banner.with-art .container { align-items: flex-start; }
  .banner .art { width: 120px; height: 120px; }
  .music-hero { padding: 48px 0 72px; }
  .media-hero { min-height: 72vh; }
  .media-hero > img { object-position: 72% 30%; }
  .media-hero::after { background: linear-gradient(0deg, rgba(10,10,12,.95) 0%, rgba(10,10,12,.75) 45%, rgba(10,10,12,.1) 80%); }
  .media-hero .container { padding: 96px 0 56px; }
  .resume { grid-template-columns: 1fr; gap: 48px; }
  .resume-side { position: static; }
  .form-wrap { padding: 28px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .post-card { grid-template-columns: 1fr; gap: 24px; }
  .bio-box, .topic { padding: 32px 24px; }
  .logo-card { padding: 32px; }
  .cta-band { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .btn-row { flex-direction: column; align-items: stretch; gap: 24px; }
  .btn-row .btn { width: 100%; }
  .door .btn { align-self: stretch; }
  .stat b { font-size: 40px; }
  .hero-badge { position: static; margin-top: 16px; box-shadow: none; border: 1px solid var(--line); }
}

/* Print: the resume prints as a clean two-page document */
@media print {
  @page { size: letter; margin: 0.45in 0.5in; }
  .site-header, .site-footer, .cta-band, .no-print, .banner { display: none !important; }
  body { font-size: 9.5pt; line-height: 1.45; color: #111; }
  .container { width: 100%; }
  .section { padding: 0; }
  .resume { grid-template-columns: 165px 1fr; gap: 28px; }
  .resume-side { position: static; }
  .resume-side img { width: 88px; height: 88px; margin-bottom: 12px; }
  .resume-side h2 { font-size: 17pt; }
  .resume-side .role { font-size: 9pt; margin-bottom: 8px; }
  .side-block { padding-top: 10px; margin-top: 10px; }
  .side-block h3 { font-size: 9.5pt; margin-bottom: 6px; }
  .side-block ul { gap: 3px; font-size: 8.5pt; }
  .side-block li .icon { width: 11px; height: 11px; margin-top: 2px; }
  .resume-main p, .resume-main li { max-width: none; font-size: 9pt; line-height: 1.4; }
  .resume-main section + section { margin-top: 10px; }
  .resume-main > section > h2 { font-size: 13pt; padding-bottom: 3px; margin-bottom: 6px; border-bottom-width: 1.5px; break-after: avoid; }
  .job + .job { margin-top: 8px; }
  .job h3 { font-size: 11pt; }
  .job .dates { font-size: 8.5pt; }
  .job .org { font-size: 8.5pt; margin-bottom: 3px; }
  .job li { margin-bottom: 1px; }
  .job ul { padding-left: 16px; }
  .job, .job li { break-inside: avoid; }
  a { color: #111; text-decoration: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
.tc { margin-left: -0.09em; }
