:root {
  --bg: #000;
  --text: #fff;
  --muted: #b3b3b3;
  --border: #424242;
  --email-border: #b3b3b3;
  --brand: #00afff;
  --content: 1200px;
  --gutter: 120px;
  --font: "Roboto Condensed", sans-serif;
  --lh-16: 19px;
  --lh-20: 23px;
  --lh-display: 241px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 56px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-optical-sizing: auto;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.page {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  justify-content: center;
  padding: 0 var(--gutter);
}

.content {
  width: 100%;
  max-width: var(--content);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.masthead,
.intro,
.cards,
.experience,
.contact,
.work-banner,
.work-about,
.work-gallery,
.work-quote,
.work-next,
.footer {
  position: relative;
  z-index: 0;
}

.masthead,
.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wordmark {
  margin: 0;
  width: 1200px;
  height: var(--lh-display);
  overflow: hidden;
  font-family: var(--font);
  font-size: 205.9638671875px;
  font-weight: 600;
  font-variation-settings: "wght" 600;
  letter-spacing: -16.23887062072754px;
  line-height: var(--lh-display);
  white-space: nowrap;
  color: var(--text);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  isolation: isolate;
  width: 100%;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: var(--bg);
}

.nav-btn,
.btn {
  font-family: var(--font);
  appearance: none;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nav-btn {
  width: 108px;
  height: 32px;
  padding: 7px 16px;
  font-size: 16px;
  font-weight: 500;
  font-variation-settings: "wght" 500;
  line-height: var(--lh-16);
  white-space: nowrap;
}

.nav-btn:hover,
.nav-btn:focus-visible {
  border-color: var(--text);
  outline: none;
}

.nav-btn.is-active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.intro,
.contact {
  position: relative;
  width: 100%;
}

.intro {
  height: 350px;
  overflow: clip;
}

.intro-copy,
.contact-copy,
.work-about-copy,
.work-quote blockquote {
  text-wrap: pretty;
}

.nowrap {
  white-space: nowrap;
}

.intro-copy,
.contact-copy {
  position: absolute;
  left: 614px;
  top: 204px;
  width: 566px;
  height: 46px;
  margin: 0;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 400;
  font-variation-settings: "wght" 400;
  line-height: var(--lh-20);
  letter-spacing: 0;
  color: var(--text);
}

.cards {
  width: 100%;
  height: 864px;
  position: relative;
  overflow: clip;
}

.cards--two {
  height: 400px;
}

.cards--six {
  height: 1328px;
}

.card {
  position: absolute;
  width: 566px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  overflow: clip;
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.card:nth-child(1) {
  left: 20px;
  top: 0;
}

.card:nth-child(2) {
  left: 614px;
  top: 0;
}

.card:nth-child(3) {
  left: 20px;
  top: 464px;
}

.card:nth-child(4) {
  left: 614px;
  top: 464px;
}

.card:nth-child(5) {
  left: 20px;
  top: 928px;
}

.card:nth-child(6) {
  left: 614px;
  top: 928px;
}

.card-title {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  overflow: clip;
}

.card-title h2 {
  margin: 0;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 400;
  font-variation-settings: "wght" 400;
  line-height: var(--lh-20);
  letter-spacing: 0;
  white-space: nowrap;
}

.tags {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tag {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 7px 12px;
  background: #fff;
  color: #000;
  border-radius: 2px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  font-variation-settings: "wght" 500;
  line-height: var(--lh-16);
  letter-spacing: 0;
  white-space: nowrap;
}

.card-img {
  width: 100%;
  height: 364px;
  background: #fff;
  overflow: clip;
  position: relative;
  border-radius: 2px;
}

.card-img--dark {
  background: #000;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform-origin: center;
  transition: transform 0.45s ease;
}

.card:hover .card-img img,
.card:focus-within .card-img img {
  transform: scale(1.06);
}

.card-cta {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 27px;
  padding: 0;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  font-variation-settings: "wght" 500;
  line-height: 19px;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cards--work .card-cta {
  width: auto;
  min-width: 108px;
  padding: 0 14px;
}

.card:hover .card-cta,
.card:focus-within .card-cta {
  opacity: 1;
}

.experience {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 614px 566px;
  justify-content: start;
  align-items: start;
  column-gap: 0;
  padding: 100px 0 80px;
  height: auto;
  overflow: visible;
}

.exp-label {
  margin: 0;
  padding-left: 20px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  font-variation-settings: "wght" 500;
  line-height: var(--lh-16);
  letter-spacing: 0;
  color: var(--text);
  white-space: nowrap;
}

.exp-table {
  width: 566px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: visible;
}

.exp-row {
  display: grid;
  grid-template-columns: 200px 180px 90px;
  grid-template-areas: "role company dates";
  column-gap: 48px;
  align-items: start;
  justify-items: start;
}

.exp-row p {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  font-variation-settings: "wght" 500;
  line-height: var(--lh-16);
  letter-spacing: 0;
}

.exp-role {
  grid-area: role;
  color: var(--muted);
}

.exp-company {
  grid-area: company;
  color: var(--text);
}

.exp-dates {
  grid-area: dates;
  color: var(--muted);
  white-space: nowrap;
}

.experience .exp-role,
.experience .exp-company {
  white-space: nowrap;
}

.contact {
  height: 518px;
}

.br-tablet {
  display: none;
}

.contact-actions {
  position: absolute;
  left: 614px;
  top: 274px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  height: 40px;
  padding: 7px 16px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  font-variation-settings: "wght" 600;
  line-height: var(--lh-16);
  letter-spacing: 0;
  white-space: nowrap;
}

.btn--email {
  background: #fff;
  color: #000;
  border-color: var(--email-border);
}

.btn--email:hover,
.btn--email:focus-visible {
  background: #f2f2f2;
  outline: none;
}

.btn--copy:hover,
.btn--copy:focus-visible {
  border-color: var(--text);
  outline: none;
}

.btn--copy .btn-copy-state {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn--copy .btn-copy-state--done {
  display: none;
}

.btn--copy.is-copied .btn-copy-state--idle {
  display: none;
}

.btn--copy.is-copied .btn-copy-state--done {
  display: flex;
}

.btn--copy img {
  display: block;
  flex-shrink: 0;
}

.footer-links {
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.ext-link {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  font-variation-settings: "wght" 500;
  line-height: var(--lh-16);
  letter-spacing: 0;
  white-space: nowrap;
}

.ext-link:hover,
.ext-link:focus-visible {
  color: var(--text);
  outline: none;
}

.ext-icon {
  width: 20px;
  height: 20px;
  overflow: clip;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.ext-icon img {
  display: block;
  width: 10.4142px;
  height: 10.4142px;
  opacity: 0;
}

.ext-icon::after {
  content: "";
  position: absolute;
  width: 10.4142px;
  height: 10.4142px;
  background: var(--border);
  -webkit-mask: url("./assets/arrow-up-right.svg") center / contain no-repeat;
  mask: url("./assets/arrow-up-right.svg") center / contain no-repeat;
  transition: background 0.15s ease;
}

.ext-link:hover .ext-icon::after,
.ext-link:focus-visible .ext-icon::after {
  background: var(--text);
}

.work-banner {
  width: 1200px;
  max-width: 100%;
  height: 800px;
  margin-top: -56px;
  overflow: clip;
  background: #000;
  border-radius: 2px;
}

.work-banner picture {
  display: block;
  width: 100%;
  height: 100%;
}

.work-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body[data-page="work"] .nav--overlay {
  background: transparent;
}

body[data-page="work"] .nav--overlay::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 160px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.28) 32%,
    rgba(0, 0, 0, 0.12) 62%,
    rgba(0, 0, 0, 0.04) 82%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: -1;
}

body[data-page="work"] .nav--overlay .nav-btn {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}

body[data-page="work"] .nav--overlay .nav-btn:hover,
body[data-page="work"] .nav--overlay .nav-btn:focus-visible {
  border-color: var(--text);
}

body[data-page="work"] .nav--overlay.nav--solid {
  background: var(--bg);
}

body[data-page="work"] .nav--overlay.nav--solid::before {
  display: none;
}

body[data-page="work"] .nav--overlay.nav--solid .nav-btn {
  background: var(--bg);
  border-color: var(--border);
}

body[data-page="work"] .nav--overlay.nav--solid .nav-btn:hover,
body[data-page="work"] .nav--overlay.nav--solid .nav-btn:focus-visible {
  border-color: var(--text);
}

.work-about {
  position: relative;
  width: 100%;
  height: 526px;
  overflow: clip;
}

.work-about-body {
  position: absolute;
  left: 20px;
  top: 76px;
  width: 1160px;
  height: 246px;
}

.work-about-label {
  position: absolute;
  left: 20px;
  top: 0;
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  font-variation-settings: "wght" 500;
  line-height: var(--lh-16);
  letter-spacing: 0;
  color: var(--text);
  white-space: nowrap;
}

.work-about-main {
  position: absolute;
  left: 574px;
  top: 0;
  width: 566px;
  height: 246px;
}

.work-about-copy {
  margin: 0;
  width: 100%;
  height: 138px;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 400;
  font-variation-settings: "wght" 400;
  line-height: var(--lh-20);
  letter-spacing: 0;
  color: var(--text);
}

.work-about-tags {
  position: absolute;
  left: 0;
  top: 214px;
  gap: 8px;
}

.card-img--empty {
  background: #fff;
}

.work-quote {
  width: 100%;
  height: 879px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 204px 20px;
}

.work-quote blockquote {
  margin: 0;
  width: 812px;
  max-width: 100%;
  height: 329px;
  font-family: var(--font);
  font-size: 40px;
  font-weight: 400;
  font-variation-settings: "wght" 400;
  line-height: 47px;
  letter-spacing: 0;
  text-align: center;
  color: var(--text);
}

.work-profile {
  width: 97px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.work-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #3a3a3a;
  flex-shrink: 0;
}

.work-profile-name {
  margin: 0;
  width: 97px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  font-variation-settings: "wght" 500;
  line-height: var(--lh-16);
  letter-spacing: 0;
  text-align: center;
  color: var(--text);
}

.work-next {
  width: 100%;
  height: 506px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
}

.work-about + .work-next {
  height: 710px;
  padding-top: 204px;
}

.work-gallery {
  width: 1200px;
  max-width: 100%;
  padding: 0 0 80px;
}

.work-gallery .text-block-copy > .picture-block:first-child {
  margin-top: 0;
}

.tag--project {
  height: 32px;
  padding: 7px 18px;
  font-weight: 600;
  font-variation-settings: "wght" 600;
}

.project-title {
  width: 100%;
  padding: 204px 20px 100px;
}

.project-title-inner {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.project-title-text {
  width: 566px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
}

.project-title-text h1 {
  margin: 0;
  width: 100%;
  font-family: var(--font);
  font-size: 82px;
  font-weight: 600;
  font-variation-settings: "wght" 600;
  line-height: normal;
  letter-spacing: 0;
  text-align: right;
  color: var(--text);
}

.project-banner {
  width: 1160px;
  max-width: 100%;
  height: 540px;
  background: #fff;
  border-radius: 2px;
  overflow: clip;
  position: relative;
}

.project-banner-cover {
  position: absolute;
  left: 50%;
  top: calc(50% + 25px);
  width: 1160px;
  height: 870px;
  transform: translate(-50%, -50%);
}

.project-banner-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-banner-phone {
  position: absolute;
  left: 246.18px;
  top: 176.52px;
  width: 270.141px;
  height: 472.826px;
  object-fit: contain;
  display: block;
}

.project-layout {
  width: 1160px;
  max-width: 100%;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 24px;
  padding-top: 86px;
}

.project-body {
  width: 896px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 64px;
}

.text-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  scroll-margin-top: 72px;
}

.text-block h2 {
  margin: 0;
  width: 566px;
  max-width: 100%;
  font-family: var(--font);
  font-size: 38px;
  font-weight: 400;
  font-variation-settings: "wght" 400;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--text);
}

.text-block h3 {
  margin: 1.4em 0 4px;
  font-family: var(--font);
  font-size: 24px;
  font-weight: 500;
  font-variation-settings: "wght" 500;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--text);
}

.text-block h3:first-child {
  margin-top: 0;
}

.shot-row {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.shot-row--gap-32 {
  gap: 32px;
}

.text-block-copy > :is(.shot-row, .picture-block, .shot-grid, .long-screen, .long-screen-row) {
  margin-top: 60px;
}

.text-block-copy > :is(.shot-row, .picture-block, .shot-grid, .long-screen, .long-screen-row) + :is(.shot-row, .picture-block, .shot-grid, .long-screen, .long-screen-row) {
  margin-top: 16px;
}

.text-block-copy > .long-screen + .long-screen-row,
.text-block-copy > .long-screen-row + .long-screen {
  margin-top: 32px;
}

.text-block-copy > :is(p, ul, h3):has(+ :is(.shot-row, .picture-block, .shot-grid, .long-screen, .long-screen-row)) {
  margin-bottom: 0;
}

.text-block-copy > ul:has(+ :is(.shot-row, .picture-block, .shot-grid, .long-screen, .long-screen-row)) li:last-child {
  margin-bottom: 0;
}

.text-block-copy > :is(.shot-row, .picture-block, .shot-grid, .long-screen, .long-screen-row) + :is(p, ul, h3) {
  margin-top: 60px;
}

.text-block-copy > :is(.shot-row, .picture-block) + .shot-caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.text-block-copy > .shot-caption + :is(p, ul, h3) {
  margin-top: 60px;
}

.text-block-copy:has(> :is(.shot-row, .picture-block, .shot-grid, .shot-caption, .long-screen, .long-screen-row):last-child) {
  padding-bottom: 40px;
}

.shot-row > .shot {
  min-width: 0;
  flex: 1 1 auto;
}

.shot-row:has(> .shot + .shot) > .shot {
  flex: var(--shot-flex, 1) 0 0;
}

.shot-row > .shot img {
  width: 100%;
  height: auto;
  display: block;
}

.shot-row > .shot figcaption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.shot-row.is-cropped {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  align-items: stretch;
}

.shot-row.is-cropped > .shot {
  flex: none;
}

.shot-row.is-cropped > .shot:last-of-type {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.shot-row.is-cropped > .shot:last-of-type img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.shot-grid {
  width: 100%;
  display: grid;
  gap: 16px;
  align-items: start;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shot,
.picture-block--img {
  margin: 0;
}

.shot img,
.picture-block--img img,
.picture-block--img video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.project-note {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
}

.text-block-copy {
  width: 100%;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 400;
  font-variation-settings: "wght" 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--text);
}

.text-block-copy p {
  margin: 0 0 12px;
}

.text-block-copy p:last-child {
  margin-bottom: 0;
}

.text-block-copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-block-copy a:hover,
.text-block-copy a:focus-visible {
  opacity: 0.7;
}

.text-block-copy blockquote {
  margin: 4px 0 12px;
  padding: 0 0 0 16px;
  border-left: 2px solid var(--text);
}

.text-block-copy blockquote p {
  margin: 0;
}

.text-block-copy .quote-source {
  margin-top: -8px;
  margin-bottom: 12px;
  color: var(--muted);
}

.text-block-copy ul {
  margin: 8px 0 40px;
  padding: 0 0 0 1.2em;
  list-style: disc;
}

.text-block-copy li {
  margin: 0 0 6px;
}

.text-block-copy li:last-child {
  margin-bottom: 0;
}

.text-block-copy ul + p {
  margin-top: 0;
}

.text-block-copy > p:not(.shot-caption):has(+ p:has(+ ul)) {
  margin-bottom: 0;
}

.text-block-copy > p:not(.shot-caption) + p:not(.shot-caption):has(+ ul) {
  margin-top: 60px;
}

.picture-block {
  width: 100%;
  aspect-ratio: 896 / 416;
  background: #fff;
  border-radius: 2px;
}

.picture-block--img {
  width: 100%;
  min-width: 0;
  aspect-ratio: auto;
  height: auto;
  overflow: hidden;
  background: transparent;
}

.picture-block--img img,
.picture-block--img video {
  display: block;
  width: 100%;
  height: auto;
}

.long-screen-row {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.long-screen-row > .long-screen {
  flex: 1 1 0;
  min-width: 0;
}

.long-screen-row > .long-screen--phone {
  flex: 0 1 280px;
  max-width: 32%;
}

.long-screen {
  margin: 0;
  width: 100%;
  min-width: 0;
}

.long-screen-frame {
  position: relative;
  width: 100%;
  height: 640px;
  overflow: hidden;
  border-radius: 2px;
  background: #111;
  outline: none;
}

.long-screen-scroll {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.long-screen-scroll img {
  display: block;
  width: 100%;
  height: auto;
}

.long-screen-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 88px;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
  opacity: 1;
  transition: opacity 0.2s ease;
}

.long-screen-frame.is-end .long-screen-fade {
  opacity: 0;
}

.long-screen-open {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  appearance: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  font-variation-settings: "wght" 500;
  line-height: 1;
  color: var(--text);
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 12px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.long-screen-open:hover,
.long-screen-open:focus-visible {
  border-color: var(--text);
  outline: none;
}

.long-screen figcaption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.long-screen-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.88);
  overflow-x: hidden;
  overflow-y: auto;
}

.long-screen-lightbox[hidden] {
  display: none;
}

.long-screen-lightbox-close {
  position: sticky;
  top: 16px;
  align-self: flex-end;
  flex: none;
  margin: 16px 16px 0 0;
  z-index: 1;
  appearance: none;
  cursor: pointer;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 20px;
  line-height: 1;
}

.long-screen-lightbox-close:hover,
.long-screen-lightbox-close:focus-visible {
  border-color: var(--text);
  outline: none;
}

.long-screen-lightbox img {
  display: block;
  width: auto;
  max-width: min(896px, calc(100% - 32px));
  height: auto;
  margin: 16px auto 48px;
  border-radius: 2px;
}

body.is-lightbox-open {
  overflow: hidden;
}

.project-banner--plain img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-toc {
  position: sticky;
  top: 68px;
  z-index: 10;
  width: 240px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 65px;
  overflow: clip;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  font-variation-settings: "wght" 500;
  line-height: normal;
}

.project-toc a {
  color: var(--muted);
  text-decoration: none;
  width: 100%;
}

.project-toc a:hover,
.project-toc a:focus-visible {
  color: var(--text);
  outline: none;
}

.project-toc a.is-active {
  color: var(--text);
}

.next-work {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  padding: 120px 20px 204px;
}

.next-card {
  width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.next-card-label {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  font-variation-settings: "wght" 500;
  line-height: normal;
  text-align: center;
  color: var(--text);
  white-space: nowrap;
}

.next-card-img {
  width: 380px;
  height: 263px;
  background: #efefe6;
  border-radius: 2px;
  overflow: clip;
  position: relative;
}

.next-card-img--dark {
  background: #000;
}

.next-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center;
  transition: transform 0.45s ease;
}

.next-card .card-cta {
  width: auto;
  min-width: 118px;
  padding: 0 14px;
}

.next-card:hover .next-card-img img,
.next-card:focus-within .next-card-img img {
  transform: scale(1.06);
}

.next-card:hover .card-cta,
.next-card:focus-within .card-cta {
  opacity: 1;
}

@media (max-width: 1440px) {
  :root {
    --gutter: 48px;
  }
}

@media (max-width: 1100px) {
  .page {
    padding: 0 24px 64px;
  }

  .content {
    overflow: visible;
  }

  .wordmark {
    width: 100%;
    height: auto;
    overflow: visible;
    font-size: calc((100vw - 48px) * 0.1716);
    letter-spacing: -0.0788em;
    margin-right: -0.0788em;
    white-space: nowrap;
    line-height: 0.9;
  }

  .nav {
    padding: 12px 24px;
    gap: 0;
    justify-content: space-between;
  }

  .intro,
  .cards,
  .experience,
  .contact,
  .work-about,
  .work-gallery,
  .work-quote,
  .work-next {
    height: auto;
  }

  .intro-copy,
  .contact-copy,
  .exp-label,
  .exp-table,
  .contact-actions,
  .card,
  .work-about-label,
  .work-about-main,
  .work-about-body,
  .work-about-tags {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
  }

  .intro {
    display: flex;
    justify-content: flex-end;
    padding: 160px 0 100px;
  }

  .intro-copy {
    width: min(480px, 58%);
    height: auto;
    font-size: 18px;
    line-height: 22px;
  }

  .cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 16px;
    height: auto;
    padding: 0;
  }

  .cards--two,
  .cards--six {
    height: auto;
  }

  .card {
    position: static;
    width: 100%;
  }

  .card-img {
    height: auto;
    aspect-ratio: 566 / 364;
  }

  .card-title h2 {
    font-size: 16px;
    line-height: 19px;
  }

  .tag {
    height: 20px;
    padding: 4px 8px;
    font-size: 14px;
    line-height: 16px;
  }

  .experience {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
    align-items: start;
    gap: 24px 32px;
    padding: 80px 0;
    overflow: visible;
  }

  .exp-label {
    padding-left: 0;
  }

  .exp-table {
    width: 100%;
    gap: 0;
    overflow: visible;
  }

  .exp-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "company company"
      "role dates";
    column-gap: 12px;
    row-gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .exp-row:first-child {
    padding-top: 0;
  }

  .exp-company {
    grid-area: company;
    color: var(--text);
    font-size: 18px;
    line-height: 22px;
  }

  .exp-role {
    grid-area: role;
    color: var(--muted);
    font-size: 16px;
    line-height: 20px;
  }

  .exp-dates {
    grid-area: dates;
    color: var(--muted);
    font-size: 16px;
    line-height: 20px;
    text-align: right;
  }

  .contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    padding: 48px 0 96px;
  }

  .contact-copy,
  .contact-actions {
    grid-column: 2;
    width: 100%;
    height: auto;
  }

  .contact-actions {
    margin-top: 24px;
    flex-wrap: wrap;
  }

  .br-tablet {
    display: block;
  }

  .footer-links {
    padding: 0;
  }

  .work-banner {
    width: calc(100% + 48px);
    max-width: none;
    margin-left: -24px;
    margin-right: -24px;
    height: auto;
    aspect-ratio: 1100 / 800;
    margin-top: -56px;
  }

  body[data-page="work"] .nav--overlay::before {
    left: -24px;
    right: -24px;
    height: 140px;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.2) 38%,
      rgba(0, 0, 0, 0.08) 68%,
      rgba(0, 0, 0, 0.02) 86%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .work-about {
    display: block;
    padding: 80px 0 160px;
    overflow: visible;
  }

  .work-about-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    align-items: start;
    height: auto;
  }

  .work-about-main {
    display: flex;
    flex-direction: column;
    gap: 48px;
    height: auto;
  }

  .work-about-copy {
    height: auto;
    font-size: 18px;
    line-height: 22px;
  }

  body[data-page="work"] .cards {
    gap: 64px 16px;
  }

  .work-quote {
    padding: 240px 0 80px;
  }

  .work-quote blockquote {
    width: 100%;
    max-width: 640px;
    height: auto;
    font-size: 28px;
    line-height: 34px;
  }

  .work-next {
    height: auto;
    padding: 80px 0;
    gap: 32px;
  }

  .work-next .next-card {
    flex: 1 1 280px;
  }

  .work-about + .work-next {
    height: auto;
    padding-top: 160px;
  }

  .work-gallery {
    width: calc(100% + 48px);
    max-width: none;
    margin-left: -24px;
    margin-right: -24px;
    padding-bottom: 80px;
  }

  .project-title {
    padding: 80px 0 48px;
  }

  .project-title-text,
  .project-title-text h1,
  .text-block h2 {
    width: 100%;
    text-align: left;
  }

  .project-title-text {
    align-items: flex-start;
  }

  .project-title-text h1 {
    font-size: 48px;
  }

  .project-banner {
    height: auto;
    aspect-ratio: 1160 / 540;
  }

  .project-banner--plain img {
    height: 100%;
  }

  .project-banner-phone {
    left: 18%;
    width: 32%;
    height: auto;
  }

  .project-layout {
    flex-direction: row-reverse;
    width: 100%;
    padding: 48px 0 0;
    gap: 24px;
  }

  .project-toc {
    position: sticky;
    top: 68px;
    width: 148px;
    padding-top: 12px;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 12px;
    overflow: visible;
    font-size: 14px;
  }

  .project-body {
    flex: 1;
    min-width: 0;
    gap: 48px;
  }

  .text-block h2 {
    font-size: 28px;
  }

  .text-block h3 {
    font-size: 20px;
  }

  .text-block-copy {
    font-size: 18px;
  }

  .project-body,
  .picture-block,
  .next-work {
    width: 100%;
  }

  .next-work {
    padding: 64px 0 80px;
    gap: 32px;
  }

  .next-card,
  .next-card-img {
    width: 100%;
    max-width: 380px;
  }

  .next-work .next-card {
    flex: 1 1 280px;
  }
}

@media (max-width: 700px) {
  .page {
    padding: 0 16px 48px;
  }

  .wordmark {
    font-size: calc((100vw - 32px) * 0.1716);
    letter-spacing: -0.0788em;
    margin-right: -0.0788em;
  }

  .nav {
    padding: 12px 0;
    gap: 6px;
  }

  .nav-btn {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    padding: 7px 8px;
    font-size: 14px;
  }

  .intro {
    min-height: 0;
    display: block;
    padding: 300px 0 100px;
  }

  .intro-copy {
    width: 100%;
    max-width: none;
    font-size: 18px;
    line-height: 22px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .card-title h2 {
    font-size: 16px;
  }

  .tag {
    height: 22px;
    padding: 5px 10px;
    font-size: 14px;
  }

  .experience {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 56px 0;
    height: auto;
    overflow: visible;
  }

  .exp-table {
    gap: 0;
  }

  .exp-row {
    row-gap: 12px;
    padding: 12px 0;
  }

  .exp-row:first-child {
    padding-top: 0;
  }

  .contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 0 72px;
  }

  .contact-copy,
  .contact-actions {
    grid-column: auto;
    width: 100%;
  }

  .contact-copy {
    font-size: 16px;
    line-height: 20px;
  }

  .br-tablet {
    display: none;
  }

  .btn {
    height: 36px;
    font-size: 14px;
  }

  .footer-links {
    gap: 8px;
  }

  .ext-link {
    font-size: 14px;
  }

  .work-banner {
    width: calc(100% + 32px);
    max-width: none;
    margin-left: -16px;
    margin-right: -16px;
    height: auto;
    aspect-ratio: 390 / 800;
  }

  body[data-page="work"] .nav--overlay::before {
    left: -16px;
    right: -16px;
    height: 120px;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.38) 0%,
      rgba(0, 0, 0, 0.18) 42%,
      rgba(0, 0, 0, 0.06) 72%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .work-gallery {
    width: calc(100% + 32px);
    max-width: none;
    margin-left: -16px;
    margin-right: -16px;
  }

  .work-about {
    padding: 48px 0 160px;
  }

  .work-about-main {
    gap: 32px;
  }

  .work-quote {
    padding: 240px 0 80px;
  }

  .work-next {
    padding: 100px 0 64px;
  }

  .work-about + .work-next {
    padding-top: 160px;
  }

  .work-about-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  body[data-page="work"] .cards {
    gap: 64px;
  }

  .work-about-copy {
    font-size: 16px;
    line-height: 20px;
  }

  .work-quote blockquote {
    font-size: 22px;
    line-height: 28px;
  }

  .next-work,
  .work-next {
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }

  .next-card,
  .next-card-img {
    width: 100%;
    max-width: none;
  }

  .next-card-img {
    height: auto;
    aspect-ratio: 380 / 263;
  }

  .project-title {
    padding: 56px 0 32px;
  }

  .project-title-text h1 {
    font-size: 36px;
  }

  .project-banner {
    aspect-ratio: 16 / 10;
  }

  .project-layout {
    flex-direction: column;
    gap: 28px;
    padding: 28px 0 0;
  }

  .project-toc {
    position: sticky;
    top: 56px;
    z-index: 15;
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
    padding: 8px 16px 16px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    background: var(--bg);
    font-size: 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .project-toc::-webkit-scrollbar {
    display: none;
  }

  .project-toc a {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .project-body {
    gap: 40px;
  }

  .text-block h2 {
    font-size: 24px;
  }

  .text-block h3 {
    font-size: 18px;
  }

  .shot-row,
  .shot-row.is-cropped {
    display: flex;
    flex-direction: column;
  }

  .shot-row > .shot {
    flex: none;
    width: 100%;
  }

  .shot-row.is-cropped > .shot:last-of-type {
    position: static;
    overflow: visible;
  }

  .shot-row.is-cropped > .shot:last-of-type img {
    position: static;
    inset: auto;
    height: auto;
    object-fit: contain;
  }

  .shot-grid {
    grid-template-columns: 1fr;
  }

  .long-screen-row {
    flex-direction: column;
  }

  .long-screen-row > .long-screen--phone {
    flex: none;
    width: 280px;
    max-width: 100%;
  }

  .long-screen-frame {
    height: 480px;
  }

  .text-block-copy {
    font-size: 16px;
  }

  body[data-page="project"] {
    scroll-padding-top: 108px;
  }

  html {
    scroll-padding-top: 108px;
  }

  .text-block {
    scroll-margin-top: 112px;
  }
}
