@charset "UTF-8";

:root {
  --paper: #f8f8f4;
  --ink: #252723;
  --link: #17605b;
  --muted: #65675e;
  --line: #dedfd7;
  --serif: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.65 var(--serif); -webkit-font-smoothing: antialiased; }
a { color: var(--link); font-weight: 700; text-decoration: none; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: transparent; border: 0; }
button:disabled { opacity: .3; cursor: default; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; }
svg { width: 18px; height: 18px; vertical-align: middle; flex-shrink: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; }
h1 { font-size: 42px; }
h2 { font-size: 28px; }
h3 { font-size: 16px; font-weight: 600; line-height: 1.4; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: #d6e0ff; }
.page-cv { --page-width: 860px; }
.wrap { width: min(var(--page-width, 1080px), calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 20px; transform: translateY(-160%); background: var(--ink); color: white; padding: 10px 18px; z-index: 100; }
.skip-link:focus { transform: none; }
.eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--muted); }
.site-header { display: flex; align-items: center; justify-content: flex-end; gap: 30px; min-height: 82px; border-bottom: 1px solid var(--line); }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a { padding-block: 13px; font-size: 13px; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 25px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.site-footer>div { display: flex; gap: 24px; }
.site-footer svg { width: 12px; height: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 9px 15px; font-size: 12px; border: 1px solid transparent; }
.button svg { width: 14px; height: 14px; }
.button-outline { border-color: var(--line); }
.button-outline:hover { border-color: var(--link); color: var(--link); }
.button-primary { background: var(--link); color: white; }
.button-primary:hover { background: #124d49; color: white; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; padding-bottom: 3px; }
.text-link svg { width: 13px; height: 13px; }

/* The CV is the homepage. */
.cv-page { padding-block: 24px 36px; line-height: 1.5; }
.page-cv .site-footer { padding-block: 16px; }
.cv-heading { padding-block: 14px 16px; border-bottom: 1px solid var(--line); }
.cv-heading h1 { font-size: 48px; }
.cv-heading>p { font-size: 15px; color: var(--muted); margin-top: 8px; }
.cv-main section>h2 { font: 700 11px/1.4 var(--serif); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.cv-main>.cv-practice:first-child { border-top: 0; padding-top: 16px; }
.cv-main>section+section { margin-top: 20px; }
.cv-main>section>p { font-size: 13px; line-height: 1.5; color: var(--muted); }
.cv-entry { padding-block: 12px; border-top: 1px solid var(--line); }
.cv-year { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.cv-entry h3 { font-size: 15px; margin-bottom: 4px; }
.cv-entry p { font-size: 12px; line-height: 1.5; color: var(--muted); }
.cv-entry .cv-names { font-size: 11px; color: var(--ink); margin-bottom: 4px; }
.cv-practice { border-top: 1px solid var(--line); padding-top: 14px; }
.cv-main>.cv-practice>p { font-size: 12px; }
.cv-practice p+p { margin-top: 5px; }
.cv-practice strong { color: var(--ink); font-weight: 500; }

/* Portfolio: one category-filtered list, with small previews and visible details. */
.archive-page { padding-block: 40px 65px; min-height: 75vh; }
.archive-intro { margin-bottom: 27px; }
.archive-intro>p { margin-top: 10px; color: var(--muted); }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 5px; padding-block: 12px; border-block: 1px solid var(--line); }
.filter-tabs button { padding: 6px 12px; font-size: 12px; border: 1px solid transparent; }
.filter-tabs button[aria-pressed=true] { color: var(--paper); background: var(--ink); }
.filter-tabs button:hover:not([aria-pressed=true]) { border-color: var(--line); }
.list-heading, .project-link { display: grid; grid-template-columns: 96px minmax(0, 1fr) 205px 80px 16px; gap: 20px; align-items: center; }
.list-heading { padding-block: 8px; font-size: 10px; color: var(--muted); border-bottom: 1px solid var(--line); }
.list-heading>span:first-child { grid-column: 2; }
.project-link { padding-block: 14px; border-bottom: 1px solid var(--line); }
.project-link:hover { background: #eeefe7; text-decoration: none; }
.project-link:hover h3 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.project-thumbnail { display: flex; align-items: center; justify-content: center; width: 96px; height: 72px; background: #eceee8; border: 1px solid #e1e3da; }
.project-thumbnail img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.project-thumbnail>svg { width: 28px; height: 28px; color: #6e7764; }
.tone-digital { background: #ebedf0; }
.tone-art { background: #eeebe5; }
.project-name, .project-details { min-width: 0; }
.project-name h3 { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.project-name p, .project-details, .project-year { font-weight: 400; }
.project-name p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.project-details { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 12px; }
.project-details>span+span { font-size: 11px; }
.project-year { font-size: 12px; color: var(--muted); white-space: nowrap; }
.row-arrow svg { width: 14px; height: 14px; color: var(--muted); }

/* Contact uses the existing contact destinations. */
.contact-page { padding-block: 45px 90px; min-height: calc(100vh - 155px); }
.contact-heading>p { margin-top: 12px; color: var(--muted); }
.contact-methods { max-width: 700px; margin: 35px 0 0; }
.contact-methods>div { display: grid; grid-template-columns: 140px 1fr; gap: 30px; padding-block: 23px; border-top: 1px solid var(--line); }
.contact-methods>div:last-child { border-bottom: 1px solid var(--line); }
.contact-methods dt { font-size: 12px; color: var(--muted); }
.contact-methods dd { margin: 0; font-size: 14px; }
.contact-methods a { display: flex; align-items: center; justify-content: space-between; gap: 15px; overflow-wrap: anywhere; }
.contact-methods svg { width: 14px; height: 14px; }

/* Detail pages retain larger artwork and a keyboard-accessible full-size viewer. */
.embedded-media { width: 100%; max-width: 850px; margin: 0 auto 35px; }
.embedded-media h2 { font-size: 20px; margin-bottom: 14px; }
.media-audio { max-width: 720px; }
.embedded-media iframe { display: block; width: 100%; border: 0; background: white; }
.media-video iframe { height: auto; min-height: 200px; background: #181b19; }
.player-fallback { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-top: 10px; font-size: 11px; color: var(--muted); }
.player-fallback a { display: inline-flex; align-items: center; gap: 8px; }
.player-fallback svg { width: 12px; height: 12px; }
.project-page { padding-block: 30px 60px; }
.back-link { font-size: 12px; }
.project-heading { padding-block: 30px; }
.project-heading .eyebrow span { margin-inline: 8px; }
.project-heading h1 { margin-block: 15px 23px; overflow-wrap: anywhere; }
.project-summary { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; }
.project-summary>p { font-size: 14px; color: var(--muted); }
.project-summary dl { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin: 0; }
.project-summary dt { color: var(--muted); font-size: 10px; text-transform: uppercase; margin-bottom: 5px; }
.project-summary dd { font-size: 12px; margin: 0; }
.external-project { margin-top: 20px; }
.project-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 24px; }
.project-gallery.single-image { display: block; max-width: 950px; margin-inline: auto; }
.project-gallery figure>a { position: relative; display: flex; align-items: center; justify-content: center; padding: 20px; background: #eeeee7; }
.project-gallery img { width: 100%; height: auto; max-height: 850px; object-fit: contain; }
.project-gallery.single-image img { width: auto; max-height: none; }
.project-gallery figcaption { display: flex; gap: 15px; font-size: 11px; color: var(--muted); margin-top: 10px; }
.related-work { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.release-panel { max-width: 650px; padding: 35px; margin-inline: auto; background: #e9ece2; }
.release-panel>p { margin-block: 20px; font-size: 12px; }
.typographic-cover { display: flex; flex-direction: column; gap: 25px; }
.typographic-cover>span { font-size: 10px; letter-spacing: .1em; }
.typographic-cover>strong { font: 400 40px/1.2 var(--serif); }
.image-dialog { position: fixed; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 20px 30px; border: 0; background: #181b19; color: white; }
.image-dialog::backdrop { background: #181b19f0; }
body:has(.image-dialog[open]) { overflow: hidden; }
.dialog-toolbar { display: flex; align-items: center; gap: 24px; height: 45px; }
.dialog-position { font-size: 12px; color: #ddd; }
.dialog-original { margin-left: auto; font-size: 12px; color: #9bd5ce; }
.dialog-original svg { width: 13px; }
.dialog-close { width: 44px; height: 44px; font-size: 36px; line-height: 1; }
.dialog-body { display: grid; grid-template-columns: 45px 1fr 45px; gap: 20px; align-items: center; height: calc(100% - 100px); margin-top: 10px; }
.dialog-body img { width: 100%; height: 100%; max-height: 100%; min-height: 0; object-fit: contain; }
.dialog-body button { width: 44px; height: 44px; border: 1px solid #ffffff60; border-radius: 50%; font-size: 24px; }
.dialog-caption { text-align: center; padding-top: 12px; font-size: 12px; color: #ccc; }
.not-found { padding-block: 80px; }
.not-found h1 { margin-bottom: 25px; }

@media (max-width: 800px) {
  .wrap { width: calc(100% - 48px); }
  .list-heading, .project-link { grid-template-columns: 80px minmax(0, 1fr) 145px 70px; gap: 14px; }
  .project-thumbnail { width: 80px; height: 64px; }
  .row-arrow { display: none; }
  .project-summary { gap: 30px; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 36px); }
  h1 { font-size: 34px; }
  h2 { font-size: 25px; }
  .site-header { min-height: 72px; gap: 15px; }
  .site-header nav { gap: 19px; }
  .site-header nav a { font-size: 12px; }
  .site-footer { font-size: 10px; gap: 12px; }
  .site-footer>div { gap: 16px; }
  .cv-page { padding-top: 20px; }
  .cv-heading { padding-block: 14px 16px; }
  .cv-heading h1 { font-size: 36px; }
  .cv-heading>p { font-size: 13px; max-width: 310px; line-height: 1.5; }
  .cv-year { font-size: 10px; }
  .cv-entry h3 { font-size: 14px; }
  .archive-page { padding-top: 28px; }
  .archive-intro { margin-bottom: 22px; }
  .archive-intro>p { font-size: 13px; }
  .filter-tabs { gap: 3px; padding-block: 10px; }
  .filter-tabs button { padding: 6px 8px; font-size: 11px; }
  .list-heading { display: none; }
  .portfolio-list { border-top: 1px solid var(--line); }
  .project-link { grid-template-columns: 64px minmax(0, 1fr) 60px; gap: 5px 12px; padding-block: 14px; align-items: start; }
  .project-thumbnail { grid-row: 1 / 3; width: 64px; height: 56px; margin-top: 2px; }
  .project-name { grid-column: 2; grid-row: 1; }
  .project-name h3 { font-size: 14px; }
  .project-name p { font-size: 11px; line-height: 1.5; margin-top: 4px; }
  .project-year { grid-column: 3; grid-row: 1; text-align: right; font-size: 10px; padding-top: 3px; }
  .project-details { grid-column: 2 / 4; grid-row: 2; flex-direction: row; flex-wrap: wrap; gap: 3px 8px; font-size: 10px; }
  .project-details>span+span { font-size: 10px; }
  .project-details>span+span::before { content: '·'; margin-right: 8px; }
  .contact-page { padding-top: 30px; }
  .contact-methods>div { grid-template-columns: 1fr; gap: 8px; padding-block: 20px; }
  .contact-methods dd { font-size: 13px; }
  .project-page { padding-top: 23px; }
  .project-heading { padding-block: 25px; }
  .project-heading h1 { font-size: 35px; }
  .project-summary { grid-template-columns: 1fr; gap: 20px; }
  .project-summary>p { font-size: 13px; }
  .project-gallery { grid-template-columns: 1fr; gap: 25px; }
  .project-gallery figure>a { padding: 12px; }
  .related-work { margin-top: 35px; padding-top: 25px; }
  .release-panel { padding: 25px; }
  .typographic-cover>strong { font-size: 32px; }
  .image-dialog { padding: 10px; }
  .dialog-toolbar { gap: 10px; }
  .dialog-body { grid-template-columns: 30px 1fr 30px; gap: 6px; height: calc(100% - 110px); }
  .dialog-body button { width: 30px; height: 30px; font-size: 18px; }
  .dialog-caption, .dialog-original, .dialog-position { font-size: 10px; }
  .dialog-close { width: 35px; font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@page { size: A4; margin: 15mm 16mm; }
@media print {
  html, body { background: white; color: #111; font-size: 9pt; }
  a { color: inherit !important; }
  .site-header, .site-footer, .skip-link { display: none !important; }
  .embedded-media iframe { display: none; }
  .wrap { width: 100%; max-width: none; }
  .cv-page { max-width: none; padding: 0; }
  .cv-heading { padding-block: 8px 10px; }
  .cv-heading h1 { font-size: 30pt; }
  .cv-heading>p { max-width: none; font-size: 10pt; margin-top: 7px; }
  .cv-main section>h2 { font-size: 7pt; margin-bottom: 6px; }
  .cv-main>.cv-practice:first-child { padding-top: 10px; }
  .cv-main>section>p, .cv-main>.cv-practice>p, .cv-entry p { font-size: 8pt; line-height: 1.4; }
  .cv-main>section+section { margin-top: 14px; }
  .cv-entry { padding-block: 8px; break-inside: avoid; }
  .cv-year { font-size: 7.5pt; margin-bottom: 4px; }
  .cv-entry h3 { font-size: 10pt; margin-bottom: 4px; }
  .cv-entry .cv-names { font-size: 7.5pt; margin-bottom: 4px; }
  .cv-practice { padding-top: 9px; break-inside: avoid; }
}
