@font-face { font-family: "Bricolage"; src: url("fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* Maroon sampled from Joey's polo, tan from his studio backdrop. */
:root {
  --maroon: #611518;
  --tan: #d0a484;
  --bg: #f6f3f1;
  --surface: #ebe3dd;
  --ink: #1e1516;
  --muted: #68574f;
  --line: #ddd2cb;
  --accent: #611518;
  --show: #8a5a36;
  --on-light: #fbf3ee;
  --bar-h: 56px;
  --gutter: 16px;
  --serif: "Newsreader", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171011;
    --surface: #251a1b;
    --ink: #f3e9e3;
    --muted: #bba99f;
    --line: #3a2b2c;
    --accent: #d0a484;
    --show: #d0a484;
  }
}
:root[data-theme="dark"] {
  --bg: #171011;
  --surface: #251a1b;
  --ink: #f3e9e3;
  --muted: #bba99f;
  --line: #3a2b2c;
  --accent: #d0a484;
  --show: #d0a484;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }

* { box-sizing: border-box; margin: 0; }
html { scroll-padding-top: var(--bar-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.6 "Geist", system-ui, sans-serif; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; padding: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: "Bricolage", "Geist", sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.muted { color: var(--muted); }
/* Bricolage shouts, Newsreader tells the story, Geist Mono labels like a broadcast slate. */
.show { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.08em; letter-spacing: 0; color: var(--show); }
h2 em { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.08em; letter-spacing: -0.015em; }
h2:has(em) { line-height: 1.1; }
.label { font: 500 .72rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.wrap { max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 30; background: var(--bg); padding: 8px 12px; }

.btn { display: inline-block; padding: 14px 24px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform .15s ease, background-color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-tan { background: var(--tan); color: #3b0c0e; }
.btn-tan:hover { background: #dcb699; }

/* Bar */
.bar { position: sticky; top: 0; z-index: 20; height: var(--bar-h); display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter); background: var(--maroon); color: var(--on-light); }
.bar a { color: inherit; text-decoration: none; }
.bar-name { font: 700 1.05rem "Bricolage", sans-serif; letter-spacing: -0.01em; }
.bar nav { display: flex; gap: 20px; font-size: .95rem; }
.bar nav a { padding-block: 12px; }
.bar nav a:hover { text-decoration: underline; }
@media (max-width: 420px) {
  .bar nav { gap: 10px; font-size: .84rem; }
  .bar-name { font-size: 1rem; }
}
@media (max-width: 360px) { .bar nav { gap: 7px; font-size: .78rem; } .bar-name { font-size: .92rem; } }
.bar :focus-visible, .hero-text :focus-visible { outline-color: var(--on-light); }

/* Hero */
.hero { display: grid; background: var(--maroon); color: var(--on-light); }
.hero-photo { position: relative; container-type: inline-size; isolation: isolate; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0; }
.hero-text { padding: 24px var(--gutter) 40px; }
.hero h1 { font-size: clamp(2.6rem, 13.5vw, 5rem); line-height: .95; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.hero-intro { margin-top: 14px; max-width: 58ch; line-height: 1.45; }
.hero-intro p + p { margin-top: 10px; }
.hero-intro .lead { font: italic 500 1.3rem/1.25 var(--serif); }
.hero-contact { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(251, 243, 238, .25); scroll-margin-top: var(--bar-h); }
.hero-contact h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); }
.hero-contact > p { margin-top: 8px; max-width: 52ch; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: calc(100dvh - var(--bar-h)); }
  .hero-photo { order: 2; }
  .hero-photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .hero-text { display: flex; flex-direction: column; justify-content: flex-end; padding: 40px var(--gutter); }
  .hero h1 { font-size: clamp(3.5rem, 6.4vw, 6.5rem); }
  .hero-intro { font-size: 1.05rem; }
}

/* On air cover, set on the hero photo like a magazine. Multiply lets his hair sit over the masthead. */
.cover { position: absolute; inset: 0; display: flex; flex-direction: column; color: #3b0c0e; }
.cover-title { padding-top: 3cqw; font: 800 29cqw/.8 "Bricolage", sans-serif; letter-spacing: -0.045em; text-align: center; text-transform: uppercase; white-space: nowrap; color: var(--maroon); mix-blend-mode: multiply; }
.cover-shows { width: 42cqw; margin-top: 4cqw; padding-left: 4cqw; }
.cover-shows li + li { margin-top: 3cqw; }
.cover-shows .show { display: block; font-size: clamp(1.05rem, 4.6cqw, 2.2rem); line-height: 1.05; color: inherit; }
.cover-shows .label { display: block; margin-top: 4px; font-size: clamp(.62rem, 1.7cqw, .8rem); }
@media (min-width: 900px) { .cover-shows { width: 38cqw; } }
.cover-awards { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; padding: 20cqw 4cqw 4cqw; background: linear-gradient(to top, rgba(40, 8, 10, .95) 58%, rgba(40, 8, 10, 0)); color: var(--on-light); }
.cover-awards strong { display: block; font: 700 clamp(.84rem, 2.7cqw, 1.25rem)/1.15 "Bricolage", sans-serif; }
.cover-awards span { display: block; margin-top: 4px; text-wrap: balance; font-size: clamp(.72rem, 1.9cqw, .92rem); line-height: 1.3; opacity: .85; }

/* Posts and Work share a row, split like the hero. Subgrid lines up their first rows. */
.pair > * { min-width: 0; }
.post + .post { padding-top: 0; }
@media (min-width: 900px) {
  .pair { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; }
  .post { display: grid; grid-template-rows: subgrid; grid-row: span 2; }
  .post + .post { padding-top: 96px; border-left: 1px solid var(--line); }
  .rows { align-self: start; }
}

/* About */
.about { background: var(--surface); padding: 64px var(--gutter); }
.about-grid { display: grid; gap: 28px; max-width: 1320px; margin-inline: auto; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 640px; }
.about-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; }
.about-grid p { margin-top: 16px; max-width: 62ch; }
.about-grid .sign { font: italic 500 1.6rem var(--serif); }
@media (min-width: 900px) {
  .about { padding-block: 96px; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .about-photos { gap: 16px; }
}

/* Posts and Work: click a row to open it. */
.post { padding: 64px var(--gutter); }
.post-head p { margin-top: 12px; max-width: 58ch; }
.rows { margin-top: 24px; border-top: 1px solid var(--line); }
.rows-group { padding-top: 20px; }
.post details { border-bottom: 1px solid var(--line); }
.post summary { list-style: none; cursor: pointer; }
.post summary::-webkit-details-marker { display: none; }
.post summary { padding-block: 20px; display: grid; gap: 6px; }
.post summary:hover .post-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post-title { font: 500 clamp(1.6rem, 3vw, 2.25rem)/1.1 var(--serif); letter-spacing: -0.015em; text-wrap: balance; }
.post-title.show { font-style: italic; }
.post-more { color: var(--accent); }
details[open] > summary .post-more { font-size: 0; }
details[open] > summary .post-more::after { content: "Close"; font-size: .72rem; }
.post-body { padding-bottom: 32px; max-width: 66ch; font: 400 1.12rem/1.55 var(--serif); }
.post-body > * + * { margin-top: 16px; }
.post-body img, .post-body iframe { width: 100%; border: 0; }
.post-body iframe { aspect-ratio: 16 / 9; }
.post-body h2, .post-body h3 { font-size: 1.5rem; margin-top: 28px; }
.post-body blockquote { font-style: italic; }
.post-body ul, .post-body ol { list-style: revert; padding-left: 1.25em; }
.post-body blockquote { padding-left: 16px; border-left: 3px solid var(--accent); }
.slot { display: block; color: var(--accent); }
.work-ig { display: flex; align-items: center; gap: 16px; color: inherit; }
.post-body .work-ig img { width: 72px; height: 72px; flex: none; }
@media (min-width: 768px) {
  .post { padding-block: 96px; }
  .post summary { grid-template-columns: 1fr auto; align-items: end; }
  .post summary .muted { grid-column: 1 / -1; }
}

/* Contact */
.social { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 20px; }
.social a { display: inline-flex; align-items: center; gap: 10px; padding-block: 8px; color: inherit; font-weight: 500; line-height: 1.3; text-decoration: none; }
.social a:hover { text-decoration: underline; }
.social-site { display: block; margin-bottom: 2px; opacity: .8; }
.social svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
form { display: grid; gap: 14px; margin-top: 12px; }
label { display: block; font: 500 .72rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
input, textarea { display: block; width: 100%; font: inherit; font-size: 16px; color: var(--on-light); background: transparent; border: 0; border-bottom: 1px solid rgba(251, 243, 238, .35); border-radius: 0; padding: 4px 0 6px; transition: border-color .15s ease; }
input:hover, textarea:hover { border-bottom-color: rgba(251, 243, 238, .6); }
input:focus-visible, textarea:focus-visible { outline: 0; border-bottom-color: var(--tan); box-shadow: 0 1px 0 var(--tan); }
input:-webkit-autofill { -webkit-text-fill-color: var(--on-light); box-shadow: inset 0 0 0 40px var(--maroon); caret-color: var(--on-light); }
input[aria-invalid="true"] { border-bottom-color: var(--tan); box-shadow: 0 1px 0 var(--tan); }
textarea { resize: vertical; min-height: 2.6em; }
.err { color: #f2cdb4; font-size: .92rem; margin-top: 6px; }
form .btn { justify-self: start; padding: 9px 22px; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status a { color: inherit; }
@media (min-width: 480px) {
  form { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .field-wide, .form-status { grid-column: 1 / -1; }
}

.foot { display: flex; justify-content: space-between; padding-block: 24px; color: var(--muted); font-size: .92rem; }
.foot a { color: inherit; }

/* Reveal only when JS can undo it. */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  * { transition: none !important; }
}
