@font-face {
  font-family: "Inter Display";
  src: url("/fonts/InterDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display Regular";
  src: url("/fonts/SFProDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display Medium";
  src: url("/fonts/SFProDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fafafa;
  --ink: #000;
  --heading: #3b3a45;
  --body: #575768;
  --muted: #888;
  --gutter: 30px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
}

:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

body {
  color: var(--ink);
  font-family: sans-serif;
  font-size: 12px;
  -webkit-font-smoothing: antialiased;
}

h3 {
  margin: 0;
  font: inherit;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  padding: 8px 12px;
  background: #000;
  color: #fff;
}

.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Original quirk: fixed header sits 20px above the viewport. */
.site-header {
  position: fixed;
  z-index: 100;
  top: -20px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 70.4px;
  padding: 16px 32px;
  background: transparent;
}

.site-header a {
  color: #000;
  text-decoration: none;
  font-family: "Inter Display", "Inter Display Placeholder", sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 38.4px;
}

.site-header h3 {
  font: inherit;
  white-space: pre;
}

.site-header .is-current,
.page-about .about-link {
  color: #3b3a45;
}

html:has(.page-about),
.page-about {
  background: #fff;
}

.page-about .site-header {
  top: 0;
  background: #fff;
}

.page-about .site-header a {
  color: #000;
  font-family: "Inter Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.2;
  letter-spacing: -0.0225em;
}

.page-about .site-header a:hover,
.page-about .site-header a:focus-visible {
  text-decoration: underline;
}

.page-about .site-footer {
  background: #fafafa;
  box-shadow: inset 0 1px #dedede;
}

.page-about .footer-contact a {
  color: #000;
  font-family: "SF Pro Display Medium", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
}

.page-about .footer-contact a:first-child:hover,
.page-about .footer-contact a:first-child:focus-visible {
  text-decoration: underline;
}

.copy-mail {
  display: grid;
  place-items: center;
}

.copy-mail,
.copy-mail * {
  cursor: url("/assets/cursors/copy.png") 12 12, url("/assets/cursors/copy.svg") 12 12, copy;
}

.copy-mail-idle,
.copy-mail-hover {
  grid-area: 1 / 1;
  transition: opacity 220ms ease, transform 220ms ease;
}

.copy-mail-hover {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

.copy-mail:hover .copy-mail-idle,
.copy-mail:focus-visible .copy-mail-idle,
.copy-mail.is-copied .copy-mail-idle {
  opacity: 0;
  transform: translateY(-6px);
}

.copy-mail:hover .copy-mail-hover,
.copy-mail:focus-visible .copy-mail-hover,
.copy-mail.is-copied .copy-mail-hover {
  opacity: 1;
  transform: none;
}

.intro {
  padding: 120px var(--gutter) 120px;
}

.intro p {
  width: min(848px, 100%);
  margin: 0;
  color: var(--heading);
  font-family: "SF Pro Display Regular", "SF Pro Display Regular Placeholder", sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 47.5px;
  letter-spacing: -0.76px;
}

.intro p + p { margin-top: 26px; }

.work {
  padding: 0 var(--gutter) 30px;
}

.work-label {
  width: max-content;
  margin: 0 0 24px;
  color: var(--muted);
  font-family: "SF Pro Display Regular", "SF Pro Display Regular Placeholder", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 21.6px;
  white-space: pre;
}

.work-card {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.work-card + .work-card { margin-top: 80px; }

.work-kicker {
  width: max-content;
  margin: 0;
  color: #0f0f0f;
  font-family: "SF Pro Display Medium", "SF Pro Display Medium Placeholder", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 25.2px;
  letter-spacing: -0.18px;
}

.work-desc {
  margin: 4px 0 20px;
  max-width: 552px;
  color: var(--body);
  font-family: "SF Pro Display Regular", "SF Pro Display Regular Placeholder", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28.8px;
}

.work-strong {
  font-family: "SF Pro Display Medium", "SF Pro Display Medium Placeholder", sans-serif;
  font-weight: 500;
}

.work-media {
  display: grid;
  align-items: start;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 1200px) {
  .work-media--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .work-media--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.work-media img,
.work-media video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.media-rp-video {
  aspect-ratio: 452 / 346;
  object-fit: cover;
  object-position: 50% 50%;
}

.media-rp-mid {
  aspect-ratio: 452 / 439;
  object-fit: cover;
  object-position: 50% 50%;
}

.media-rp-right {
  aspect-ratio: 452 / 266;
  object-fit: cover;
  object-position: 50% 50%;
}

.media-sv-img {
  aspect-ratio: 684 / 439;
  object-fit: cover;
  object-position: 50% 50%;
}

.media-sv-video {
  aspect-ratio: 684 / 359.57;
  object-fit: fill;
  object-position: 50% 50%;
  border-radius: 6px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 105.4px;
  padding: 32px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.footer-contact p {
  margin: 0;
  color: #000;
  font-family: "SF Pro Display Medium", "SF Pro Display Medium Placeholder", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 19.2px;
}

.footer-contact a {
  color: #000;
  font: inherit;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  text-decoration: underline;
}

.footer-contact .footer-credit {
  margin: 8px 0 0;
  color: #8a8a8a;
  font-family: "SF Pro Display Regular", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 120px 32px 120px;
}

.about-lead {
  margin: 0;
  color: var(--ink);
  font-family: "SF Pro Display Regular", "SF Pro Display Regular Placeholder", sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.64px;
}

.about-support,
.about-person {
  margin: 0;
  font-family: "SF Pro Display Regular", "SF Pro Display Regular Placeholder", sans-serif;
  font-weight: 400;
}

.about-support {
  color: var(--body);
  font-size: 16px;
  line-height: 1.45;
}

.about-person {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.job-title {
  margin: 0;
  color: var(--heading);
  font-family: "SF Pro Display Medium", "SF Pro Display Medium Placeholder", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.job-meta {
  margin: 3px 0 0;
  color: var(--muted);
  font-family: "SF Pro Display Regular", "SF Pro Display Regular Placeholder", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.job-body {
  margin: 8px 0 0;
  color: var(--body);
  font-family: "SF Pro Display Regular", "SF Pro Display Regular Placeholder", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.about-jobs .job + .job {
  margin-top: 28px;
}

.about-cv {
  display: inline-block;
  margin: 28px 0 0;
  color: #000;
  font-family: "SF Pro Display Medium", "SF Pro Display Medium Placeholder", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 19.2px;
  text-decoration: none;
}

.about-cv:hover,
.about-cv:focus-visible {
  text-decoration: underline;
}

.about-band {
  padding-top: 28px;
  border-top: 1px solid #e7e7ea;
}

@media (min-width: 1080px) {
  .about-layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 32px;
    align-items: start;
  }

  .about-lead {
    grid-column: 1 / 6;
    grid-row: 1;
    font-size: 36px;
    letter-spacing: -0.72px;
    line-height: 1.2;
  }

  .about-jobs {
    grid-column: 7 / 13;
    grid-row: 1 / 3;
  }

  .about-band {
    grid-column: 1 / 6;
    grid-row: 2;
  }
}

@media (min-width: 1440px) {
  .about-lead {
    font-size: 38px;
    letter-spacing: -0.76px;
  }
}

@media (max-width: 719px) {
  .about-lead {
    font-size: 26px;
  }
}

.page-404 {
  min-height: calc(100vh - 175px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px var(--gutter);
}

.page-404 h1 {
  margin: 0 0 16px;
  font-family: "SF Pro Display Regular", sans-serif;
  font-size: 72px;
  font-weight: 400;
}

.page-404 p {
  margin: 0;
  color: var(--heading);
  font-family: "SF Pro Display Regular", sans-serif;
  font-size: 20px;
}

@media (max-width: 719px) {
  .site-header {
    height: 51px;
    padding: 16px 24px;
  }

  .site-header a {
    font-family: "SF Pro Display Medium", "SF Pro Display Medium Placeholder", sans-serif;
    font-size: 14px;
    line-height: 16.8px;
    text-align: center;
  }

  .work-desc { line-height: 25.6px; }

  .site-footer { min-height: 84.6px; }
}

@media (max-width: 760px) {
  .about-layout {
    padding: 64px 24px 100px;
  }

  .page-about .site-header {
    height: 51px;
    padding: 16px 24px;
  }

  .page-about .site-header a {
    font-family: "SF Pro Display Medium", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: left;
  }

  .page-about .site-footer {
    min-height: 84.6px;
    padding: 24px;
  }

  .page-about .footer-contact a {
    font-size: 14px;
  }
}

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