:root {
  color-scheme: dark;
  --navy: #141d2d;
  --apricot: #ffac79;
  --paper: #f7f5f1;
  --soft: #c7cdd6;
  --line: #364152;
  --surface: #1b2739;
  --edge: clamp(20px, 5.3vw, 84px);
  font-family: "Acumin Pro", "Helvetica Neue", Arial, sans-serif;
  background: var(--navy);
  color: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
html { scroll-padding-top: 1rem; }
main { flex: 1; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, audio:focus-visible, iframe:focus-visible {
  outline: 2px solid var(--apricot); outline-offset: 4px;
}
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
.wrap { width: min(calc(100% - var(--edge) * 2), 1200px); margin-inline: auto; }
.skip { position: absolute; z-index: 5; left: 16px; top: -100px; background: var(--apricot); color: var(--navy); padding: 12px 18px; border-radius: 8px; }
.skip:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.head-inner { min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.primary { display: flex; gap: clamp(16px, 2vw, 32px); align-items: center; }
.primary a, .mobile-links a, .about-link { color: var(--soft); font-size: 15px; font-weight: 500; text-decoration: none; }
.primary a[aria-current], .mobile-links a[aria-current], .about-link[aria-current] { color: var(--apricot); }
.primary a:hover, .mobile-links a:hover, .about-link:hover, .site-footer a:hover { color: var(--apricot); text-decoration: underline; }
.wordmark { justify-self: center; grid-column: 2; color: var(--paper); font-size: clamp(20px, 2vw, 25px); letter-spacing: -.055em; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 20px; }
.contact-button { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 15px; border-radius: 12px; background: var(--apricot); color: var(--navy); font-size: 15px; font-weight: 600; text-decoration: none; }
.contact-button:hover, .send:hover { background: #ffcaab; }
.mobile-menu { display: none; }
.intro { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 40px; padding-block: clamp(44px, 6.0vw, 84px); }
h1 { font-size: clamp(44px, 5.6vw, 82px); line-height: 1.02; font-weight: 650; letter-spacing: -.062em; color: var(--apricot); overflow-wrap: break-word; }
.outlined-intro, .piece-copy, .card-copy { border: 1px solid var(--apricot); border-radius: 18px; }
.outlined-intro { text-wrap: pretty; }
.piece-copy, .card-copy { padding: clamp(16px, 1.5vw, 22px); min-width: 0; }
.cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(32px, 4.3vw, 62px) clamp(16px, 2.2vw, 32px); }
.card { display: block; text-decoration: none; border-radius: 20px 20px 4px 4px; }
.picture { display: block; position: relative; overflow: hidden; isolation: isolate; border-radius: 20px; background: var(--surface); aspect-ratio: 16/9; }
.picture img { width: 100%; height: 100%; object-fit: cover; }
.second { position: absolute; inset: 0; opacity: 0; transition: opacity .24s ease; }
.card:focus-visible .second { opacity: 1; }
.card:focus-visible .card-title { color: var(--apricot); }
.card-copy { margin-top: 14px; }
.card-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 5px; color: var(--paper); font-size: clamp(20px, 2vw, 29px); letter-spacing: -.04em; font-weight: 650; line-height: 1.18; }
.card-title .arrow { color: var(--apricot); font-size: .85em; font-family: Arial,sans-serif; font-weight: 400; }
.card-desc { display: block; color: var(--soft); font-size: clamp(15px, 1.12vw, 17px); line-height: 1.5; }
@media (hover: hover) {
  .card:hover .second { opacity: 1; }
  .card:hover .card-title, .backlink:hover, .external:hover { color: var(--apricot); }
}
.backlink, .external, .inline-link { color: var(--soft); font-size: 15px; }
.backlink { display: inline-block; margin: 30px 0 0; }
.project-header { padding: clamp(27px, 3.8vw, 55px) 0 clamp(28px, 4.7vw, 63px); max-width: 980px; }
.section-header { padding-top: clamp(39px, 5vw, 70px); }
.project-header h1 { font-size: clamp(41px, 5.2vw, 75px); }
.project-header p { color: var(--soft); font-size: clamp(18px, 1.55vw, 23px); line-height: 1.45; margin-top: 14px; max-width: 48em; }
.project-header .outlined-intro { width: fit-content; max-width: 100%; margin-top: 20px; padding: 11px clamp(14px, 1.5vw, 20px); color: var(--paper); }
.section-header:has(+ .cards) { padding-bottom: clamp(44px, 6vw, 84px); }
.project-list { display: grid; gap: clamp(34px, 4.6vw, 65px); }
.piece { display: grid; grid-template-columns: minmax(210px, .78fr) minmax(0, 1.65fr); gap: clamp(26px, 4vw, 62px); padding-top: clamp(23px, 2.6vw, 38px); border-top: 1px solid var(--line); align-items: start; }
.piece h2, .podcast h2 { font-size: clamp(24px, 2.35vw, 34px); line-height: 1.14; letter-spacing: -.042em; }
.piece p, .podcast p, .contact-copy p { color: var(--soft); font-size: 17px; line-height: 1.57; margin-top: 13px; text-wrap: pretty; }
.piece p:first-child { margin-top: 0; }
.screen { background: #101723; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; position: relative; }
.screen iframe, .play, .play img { width: 100%; height: 100%; border: 0; display: block; }
.play { position: relative; text-decoration: none; }
.play img { object-fit: cover; }
.play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 52%,rgb(8 13 20 / 44%)); pointer-events: none; }
.play:focus-visible { outline-offset: -5px; z-index: 1; }
.playmark { position: absolute; bottom: 15px; left: 16px; height: 45px; width: 45px; z-index: 1; display: grid; place-items: center; background: var(--apricot); border-radius: 50%; color: var(--navy); }
.playmark::before { content: ""; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.external { display: inline-block; margin-top: 9px; }
.audio-panel { background: var(--surface); border-radius: 18px; padding: clamp(15px, 2vw, 29px); }
.audio-panel img { width: 100%; height: 56px; }
.audio-panel audio { width: 100%; display: block; margin-top: 12px; }
.podcast { margin-top: clamp(38px, 5vw, 68px); padding-top: 26px; border-top: 1px solid var(--line); }
.podcast .piece-copy { width: fit-content; }
.podcast p { margin-top: 6px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 100px); padding-block: clamp(42px, 6vw, 88px); }
.contact-copy p { max-width: 35ch; font-size: 21px; margin: 18px 0 24px; }
.contact-copy a { color: var(--apricot); overflow-wrap: anywhere; }
.contact-methods { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: baseline; gap: 14px 20px; }
.contact-methods dt { font-weight: 600; }
.contact-methods dd { margin: 0; font-size: 18px; }
.contact-grid form { display: grid; gap: 17px; }
.contact-grid label { display: grid; gap: 7px; font-size: 15px; }
.contact-grid input, .contact-grid textarea { font: inherit; padding: 12px 14px; border: 1px solid #748092; background: var(--surface); border-radius: 9px; color: var(--paper); width: 100%; }
.contact-grid textarea { resize: vertical; min-height: 120px; }
.send { border: 0; border-radius: 10px; background: var(--apricot); color: var(--navy); padding: 13px 22px; font: inherit; font-weight: 600; justify-self: start; cursor: pointer; }
.form-note { color: var(--soft); font-size: 14px; line-height: 1.5; }
.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) 34%; grid-template-areas: "heading portrait" "bio portrait"; align-items: start; gap: 24px clamp(30px, 6vw, 82px); padding-top: clamp(39px, 5vw, 70px); }
.about-header { grid-area: heading; padding: 0; }
.about-portrait { grid-area: portrait; width: 100%; height: auto; border-radius: 18px; }
.about-bio { grid-area: bio; max-width: 68ch; color: var(--soft); font-size: clamp(17px, 1.2vw, 19px); line-height: 1.6; }
.about-bio p + p { margin-top: 1em; }
.about-bio p a { color: var(--paper); }
.work-button { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; text-decoration: none; line-height: 1.25; }
.site-footer { margin-top: clamp(46px, 7vw, 94px); border-top: 1px solid var(--line); }
.foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; padding-block: 24px; align-items: center; }
.foot-inner a { text-decoration: none; color: var(--soft); font-size: 15px; }
.foot-links { display: flex; gap: 24px; }
@media (max-width: 760px) {
  .about-link { display: none; }
  .about-layout { grid-template-columns: minmax(0, 1fr) clamp(96px, 25vw, 136px); grid-template-areas: "heading portrait" "intro intro" "bio bio"; gap: 20px 14px; }
  .about-header { display: contents; }
  .about-header h1 { grid-area: heading; align-self: center; }
  .about-header .outlined-intro { grid-area: intro; margin: 0; }
  .about-portrait { aspect-ratio: 1; object-fit: cover; object-position: center 32%; }
  .primary { display: none; }
  .mobile-menu { display: block; grid-column: 1; grid-row: 1; justify-self: start; position: relative; }
  .mobile-menu summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary svg { width: 23px; height: 23px; }
  .mobile-links { position: absolute; z-index: 3; top: calc(100% + 6px); left: 0; width: 195px; padding: 6px; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 22px rgb(0 0 0 / .22); }
  .mobile-links a { padding: 13px; }
  .head-inner { min-height: 68px; }
  .piece { grid-template-columns: 1fr; gap: 18px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .head-inner { gap: 8px; }
  .intro { grid-template-columns: 1fr; gap: 20px; padding-block: 35px 32px; }
  .section-header:has(+ .cards) { padding-bottom: 32px; }
  .cards { grid-template-columns: minmax(0,1fr); }
  .picture { border-radius: 18px; }
  .foot-links { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .second { transition: none; } }
