:root {
  --ink: #191412;
  --soft-ink: #514440;
  --paper: #fff8f4;
  --white: #ffffff;
  --peach: #edae98;
  --coral: #ee594f;
  --sage: #cfd9b7;
  --lime: #e1ee74;
  --neon-lime: #e6ff00;
  --neon-cyan: #9af7ff;
  --neon-pink: #ff7bd5;
  --line: rgba(25, 20, 18, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #000;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.media-hover {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--ink);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.media-hover img,
.media-hover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-hover video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .18s ease;
}

.media-hover:hover video,
.media-hover:focus-within video {
  opacity: 1;
}

body.lightbox-open {
  overflow: hidden;
}

.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: clamp(16px, 4vw, 44px);
}

.portfolio-lightbox.active {
  display: grid;
}

.portfolio-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(10px);
}

.portfolio-lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(1080px, 100%);
  max-height: 92vh;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #080808;
  color: var(--white);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .55);
}

.portfolio-lightbox-tools {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.portfolio-lightbox-media {
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  background: #000;
}

.portfolio-lightbox-media img,
.portfolio-lightbox-media video,
.portfolio-lightbox-media iframe {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
}

.portfolio-lightbox-media iframe {
  height: 76vh;
  border: 0;
  background: #fff;
}

.portfolio-lightbox-close {
  justify-self: end;
  grid-column: 2;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-lightbox-nav {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .88);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.portfolio-lightbox-nav.previous {
  grid-column: 1;
  justify-self: start;
}

.portfolio-lightbox-nav.next {
  grid-column: 3;
  justify-self: end;
}

.portfolio-lightbox-nav:hover,
.portfolio-lightbox-close:hover {
  background: rgba(255, 255, 255, .14);
}

.portfolio-lightbox h2 {
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 750;
}

.deck-modal .portfolio-lightbox-panel {
  width: min(1480px, 100%);
}

.deck-modal .portfolio-lightbox-media {
  aspect-ratio: 16 / 9;
}

.deck-modal .portfolio-lightbox-media img {
  width: 100%;
  height: 100%;
  max-height: 78vh;
  object-fit: contain;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .9);
  backdrop-filter: blur(18px);
}

.text-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.text-brand span {
  display: none;
}

.text-brand strong {
  color: var(--white);
  font-family: Syne, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

nav a[hidden],
[hidden][hidden] {
  display: none !important;
}

nav a:hover,
.button:hover {
  background: var(--white);
  color: #000;
  transform: none;
}

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: clamp(26px, 6vw, 82px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(42px, 7vw, 96px) clamp(18px, 5vw, 76px) clamp(28px, 6vw, 80px);
}

.project-hero {
  padding: clamp(26px, 5vw, 54px) clamp(18px, 5vw, 76px) clamp(34px, 5vw, 62px);
  background: #000;
  color: var(--white);
}

.project-hero-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(22px, 4vw, 42px);
}

.project-hero-head p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  font-weight: 800;
}

.project-hero h1 {
  color: var(--white);
  font-family: Syne, system-ui, sans-serif;
  font-size: 76px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: .88;
}

.project-hero-head > span {
  width: max-content;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-hero-head > span:empty,
.project-hero-head > span[hidden] {
  display: none;
}

.project-list {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.project-row {
  display: grid;
  grid-template-columns: minmax(330px, 1fr) minmax(360px, .62fr) 112px 104px 112px;
  gap: 10px;
  align-items: center;
  min-height: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  transition: background .16s ease, color .16s ease, transform .16s ease, border-color .16s ease;
}

.project-row > a {
  display: contents;
  min-height: 70px;
  color: inherit;
  text-decoration: none;
}

.project-row strong {
  font-family: Syne, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: 0;
}

.project-row span,
.project-row time {
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.project-row time {
  justify-self: start;
}

.project-row div {
  display: contents;
}

.project-row div small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .48);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.project-row div a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
  white-space: nowrap;
}

.project-row div a::after {
  content: "->";
  transition: transform .16s ease;
}

.project-row:hover {
  transform: translateX(4px);
  background: var(--neon-lime);
  color: #000;
}

.project-row[data-accent="white"]:hover {
  background: #fff;
}

.project-row[data-accent="cyan"]:hover {
  background: var(--neon-cyan);
}

.project-row[data-accent="pink"]:hover {
  background: var(--neon-pink);
}

.project-row:hover span,
.project-row:hover time,
.project-row:hover div small,
.project-row:hover div a {
  color: #000;
}

.project-row:hover div small,
.project-row:hover div a {
  border-color: rgba(0, 0, 0, .34);
  background: rgba(0, 0, 0, .04);
}

.project-row:hover div a::after {
  transform: translateX(4px);
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #101010;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, .14);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.metrics-strip article {
  display: grid;
  gap: 10px;
  min-height: 168px;
  padding: clamp(18px, 4vw, 34px);
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.metrics-strip span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 950;
}

.metrics-strip strong {
  font-size: 34px;
  letter-spacing: 0;
}

.metrics-strip p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, .62);
  line-height: 1.5;
}

.folder-section {
  padding: clamp(34px, 6vw, 68px) clamp(18px, 5vw, 76px);
  background: #000;
  color: var(--white);
}

.profile-section {
  display: grid;
  grid-template-columns: minmax(220px, .44fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 68px);
  align-items: stretch;
  padding: clamp(34px, 6vw, 70px) clamp(18px, 5vw, 76px);
  border-top: 1px solid rgba(255, 255, 255, .16);
  background: #050505;
  color: var(--white);
}

.portfolio-deck {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
  padding: clamp(34px, 6vw, 74px) 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  background: #101010;
  color: var(--white);
  overflow: hidden;
}

.portfolio-deck[hidden] {
  display: none !important;
}

.portfolio-deck-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: min(1500px, calc(100% - clamp(36px, 7vw, 160px)));
  margin: 0 auto;
  padding: 0;
}

.portfolio-deck-copy h2 {
  color: var(--white);
  font-size: clamp(38px, 6vw, 74px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: .92;
}

.portfolio-deck-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, .66);
  font-size: 17px;
  line-height: 1.55;
}

.portfolio-deck-copy .eyebrow:empty,
.portfolio-deck-copy h2:empty,
.portfolio-deck-copy > p:not(.eyebrow):empty {
  display: none;
}

.portfolio-deck-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  margin-top: 0;
}

.portfolio-deck-controls button {
  min-height: 42px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: transparent;
  color: rgba(255, 255, 255, .84);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portfolio-deck-controls button:hover,
.portfolio-deck-controls button:focus-visible {
  border-color: var(--neon-lime);
  background: var(--neon-lime);
  color: #000;
}

.portfolio-deck-controls span {
  min-width: 62px;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: center;
}

.portfolio-deck-frame {
  min-width: 0;
  width: min(1500px, calc(100% - clamp(36px, 7vw, 160px)));
  margin: 0 auto;
}

.portfolio-deck-track {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  background: #000;
}

.portfolio-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  background: #050505;
  opacity: 0;
  pointer-events: none;
  transform: translateX(14px);
  transition: opacity .22s ease, transform .22s ease;
}

.portfolio-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.portfolio-slide figure {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #000;
  cursor: zoom-in;
}

.portfolio-slide img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: contain;
}

.portfolio-slide > div {
  display: none;
  align-content: end;
  gap: 14px;
  min-height: 440px;
  padding: clamp(16px, 3vw, 30px);
  background: #fff8f4;
  color: var(--ink);
}

.portfolio-slide p {
  margin: 0;
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.portfolio-slide h3 {
  max-width: 520px;
  color: var(--ink);
  font-family: Syne, system-ui, sans-serif;
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 720;
  letter-spacing: 0;
  line-height: .96;
}

.portfolio-slide span {
  max-width: 520px;
  color: rgba(25, 20, 18, .7);
  font-size: 16px;
  line-height: 1.55;
}

.portfolio-deck-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  width: min(1500px, calc(100% - clamp(36px, 7vw, 160px)));
  margin-right: auto;
  margin-left: auto;
  margin-top: 12px;
  padding: 0;
}

.portfolio-deck-dots button {
  width: 34px;
  height: 8px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, .28);
  cursor: pointer;
}

.portfolio-deck-dots button[aria-current="true"] {
  background: var(--neon-lime);
}

.profile-section[hidden] {
  display: none !important;
}

.profile-portrait {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #111;
}

.profile-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0 solid var(--neon-lime);
  mix-blend-mode: screen;
  opacity: 0;
  transition: border-width .18s ease, opacity .18s ease;
}

.profile-section:hover .profile-portrait::after {
  border-width: 8px;
  opacity: .78;
}

.profile-portrait img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transform: scale(1.01);
  transition: transform .22s ease, filter .22s ease;
}

.profile-section:hover .profile-portrait img {
  filter: grayscale(.15) contrast(1.02);
  transform: scale(1.035);
}

.profile-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  min-height: 360px;
}

.profile-copy h2 {
  max-width: 860px;
  color: var(--white);
  font-family: Syne, system-ui, sans-serif;
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: .9;
}

.profile-copy > p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.48;
}

.profile-details,
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-details span,
.profile-actions a {
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.profile-details span {
  padding: 9px 11px;
}

.profile-actions a {
  padding: 12px 14px;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.profile-actions a:hover,
.profile-actions a:focus-visible {
  border-color: var(--neon-lime);
  background: var(--neon-lime);
  color: #000;
}

.portfolio-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 76px) 34px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: #050505;
  color: rgba(255, 255, 255, .68);
}

.portfolio-footer span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portfolio-footer nav {
  display: flex;
}

.portfolio-footer .footer-social-link {
  position: relative;
  width: 42px;
  min-width: 42px;
  padding: 0;
}

.portfolio-footer .footer-social-link svg {
  display: block;
  width: 18px;
  height: 18px;
}

.portfolio-footer .footer-social-link[href*="wa.me"] svg path:first-child {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.portfolio-footer .footer-social-link[href*="wa.me"] svg path:last-child,
.portfolio-footer .footer-social-link[href*="linkedin.com"] svg path {
  fill: currentColor;
}

.portfolio-footer .footer-social-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.folder-section .section-head p {
  color: rgba(255, 255, 255, .62);
}

.folder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.folder-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 204px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #050505;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  overflow: hidden;
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.folder-card:hover,
.folder-card:focus-visible {
  animation: folder-bounce .54s cubic-bezier(.2, .82, .22, 1);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .46);
  background: #111;
}

.folder-icon {
  position: relative;
  display: block;
  width: 92px;
  height: 62px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: #050505;
}

.folder-icon::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -18px;
  width: 42px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-bottom: 0;
  background: #050505;
}

.folder-card:hover .folder-icon,
.folder-card:focus-visible .folder-icon {
  animation: folder-icon-bounce .54s cubic-bezier(.2, .82, .22, 1);
}

@keyframes folder-bounce {
  0% { transform: translateY(0) scale(1); }
  38% { transform: translateY(-8px) scale(1.012); }
  62% { transform: translateY(1px) scale(.998); }
  100% { transform: translateY(-3px) scale(1); }
}

@keyframes folder-icon-bounce {
  0% { transform: translateY(0) rotate(0); }
  38% { transform: translateY(-7px) rotate(-1.5deg); }
  62% { transform: translateY(1px) rotate(.7deg); }
  100% { transform: translateY(0) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  .folder-card:hover,
  .folder-card:focus-visible,
  .folder-card:hover .folder-icon,
  .folder-card:focus-visible .folder-icon {
    animation: none;
  }
}

.folder-card small {
  color: var(--neon-lime);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.folder-card strong {
  font-family: Syne, system-ui, sans-serif;
  font-size: 38px;
  letter-spacing: 0;
}

.folder-card em {
  max-width: 320px;
  color: rgba(255, 255, 255, .62);
  font-style: normal;
  line-height: 1.45;
}

.folder-modal .portfolio-lightbox-panel {
  width: min(1180px, 100%);
}

.folder-modal-intro {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
}

.folder-modal-intro p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font: 500 14px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.folder-modal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-height: 68vh;
  overflow: auto;
}

.folder-modal-item {
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.folder-modal-item img,
.folder-modal-item video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #000;
}

.folder-modal-item strong {
  font-size: 13px;
  line-height: 1.25;
}

.folder-modal-item span {
  color: rgba(255, 255, 255, .52);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.examples-section {
  padding: clamp(36px, 6vw, 74px) clamp(18px, 5vw, 76px) clamp(48px, 7vw, 92px);
  background: #fff;
  color: var(--ink);
}

.examples-section.is-hidden,
.examples-section[hidden] {
  display: none;
}

.examples-section .section-head {
  margin-bottom: 18px;
}

.examples-section .section-head h2 {
  font-family: Syne, system-ui, sans-serif;
  font-size: 44px;
  font-weight: 640;
  letter-spacing: 0;
}

.examples-grid {
  display: grid;
  max-width: 1120px;
  margin-inline: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 10px;
}

.example-card {
  min-height: 310px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: var(--white);
}

.example-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.example-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .76));
  pointer-events: none;
}

.example-card span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 950px;
  margin: 0;
  font-family: Syne, system-ui, sans-serif;
  font-size: 92px;
  font-weight: 500;
  line-height: .9;
}

h2 {
  max-width: 920px;
  margin: 0;
  font-family: Syne, system-ui, sans-serif;
  font-size: 58px;
  font-weight: 500;
  line-height: .98;
}

h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.04;
}

.hero-copy > p:not(.eyebrow),
.section-head p,
.about-copy p {
  max-width: 680px;
  color: rgba(25, 20, 18, .68);
  font-size: 18px;
  line-height: 1.62;
}

.actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.portrait-card {
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(25, 20, 18, .16);
  background: var(--white);
  box-shadow: 0 30px 90px rgba(25, 20, 18, .16);
  transform: rotate(1.4deg);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 28%;
}

.portrait-card figcaption {
  display: grid;
  gap: 4px;
  padding: 14px 3px 3px;
}

.portrait-card strong {
  font-size: 20px;
}

.portrait-card span {
  color: rgba(25, 20, 18, .62);
  line-height: 1.4;
}

.work-marquee {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.work-marquee img {
  width: 100%;
  height: clamp(170px, 22vw, 320px);
  object-fit: cover;
  filter: saturate(.98) contrast(1.03);
}

.section {
  padding: clamp(56px, 8vw, 118px) clamp(18px, 5vw, 76px);
}

.spotlight {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  background: var(--white);
}

.spotlight-copy {
  display: grid;
  gap: 18px;
}

.spotlight-copy p:not(.eyebrow) {
  color: rgba(25, 20, 18, .7);
  font-size: 18px;
  line-height: 1.6;
}

.spotlight-copy dl {
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
}

.spotlight-copy dl div {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.spotlight-copy dt {
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.spotlight-copy dd {
  margin: 0;
  color: rgba(25, 20, 18, .72);
  line-height: 1.5;
}

.gauntlet-board {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 150px;
  gap: 10px;
}

.gauntlet-board img,
.gauntlet-board .media-hover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--paper);
}

.gauntlet-board .media-hover:nth-child(1),
.gauntlet-board img:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gauntlet-board .media-hover:nth-child(2),
.gauntlet-board img:nth-child(2) {
  grid-column: span 2;
}

.gauntlet-board .media-hover:nth-child(3),
.gauntlet-board img:nth-child(3) {
  grid-column: span 2;
}

.gauntlet-board .media-hover:nth-child(4),
.gauntlet-board img:nth-child(4) {
  grid-column: span 2;
  grid-row: span 2;
}

.gauntlet-board .media-hover:nth-child(5),
.gauntlet-board .media-hover:nth-child(6),
.gauntlet-board img:nth-child(5),
.gauntlet-board img:nth-child(6) {
  grid-column: span 2;
}

.dark {
  background: var(--ink);
  color: var(--white);
}

.section-head {
  display: grid;
  gap: 15px;
  margin-bottom: 30px;
}

.dark .section-head p {
  color: rgba(255, 255, 255, .68);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.work-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  background: #241d1b;
}

.work-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.work-card.tall {
  grid-row: span 2;
}

.work-card img,
.work-card .media-hover {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform .34s ease;
}

.work-card:hover img,
.work-card:hover .media-hover {
  transform: scale(1.05);
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(0, 0, 0, .82));
}

.work-card div {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.work-card p,
.case-grid p {
  margin: 0;
  color: var(--lime);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.work-card span {
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-weight: 750;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.samples {
  background: var(--paper);
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.sample-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--white);
}

.sample-grid img:nth-child(1),
.sample-grid img:nth-child(6),
.sample-grid img:nth-child(9) {
  grid-column: span 2;
  grid-row: span 2;
}

.case-grid article {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .6);
}

.file-index {
  background: #0b0b0b;
  color: var(--white);
}

.file-index .section-head p {
  color: rgba(255, 255, 255, .62);
}

.file-list {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.file-list article {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) minmax(180px, .45fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.file-list span {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--lime);
  font-size: 12px;
  font-weight: 950;
}

.file-list strong {
  font-size: 24px;
  font-weight: 720;
}

.file-list em {
  color: rgba(255, 255, 255, .56);
  font-size: 13px;
  font-style: normal;
  line-height: 1.4;
}

.file-list div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.file-list a {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.case-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: rgba(25, 20, 18, .68);
  line-height: 1.5;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 82px);
  background: var(--white);
}

.about-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.skill-list span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 13px;
  font-weight: 850;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 76px);
  background: var(--peach);
}

.contact h2 {
  font-size: 76px;
}

@media (max-width: 1060px) {
  .hero,
  .spotlight,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .metrics-strip {
    grid-template-columns: 1fr;
  }

  .profile-section {
    grid-template-columns: 1fr;
  }

  .portfolio-deck {
    grid-template-columns: 1fr;
  }

  .project-row {
    grid-template-columns: minmax(260px, 1fr) minmax(240px, .8fr) 96px 96px 108px;
    gap: 8px;
  }

  .project-row strong {
    font-size: 21px;
  }

  .portfolio-deck-track {
    min-height: 0;
  }

  .portfolio-slide {
    grid-template-columns: 1fr;
  }

  .portfolio-slide figure,
  .portfolio-slide > div {
    min-height: 0;
  }

  .portfolio-slide figure {
    aspect-ratio: 16 / 9;
  }

  .profile-portrait,
  .profile-copy {
    min-height: 0;
  }

  .profile-portrait {
    aspect-ratio: 4 / 3;
  }

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

  .folder-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .examples-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .sample-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-actions {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .deck-modal {
    padding: 0;
  }

  .deck-modal .portfolio-lightbox-panel {
    width: 100%;
    min-height: 100dvh;
    max-height: none;
    align-content: center;
    border: 0;
    padding: 12px;
  }

  .deck-modal .portfolio-lightbox-media {
    aspect-ratio: auto;
    justify-content: start;
    max-height: calc(100dvh - 112px);
    overflow: auto;
    touch-action: pan-x pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
  }

  .deck-modal .portfolio-lightbox-media img {
    width: min(920px, 235vw);
    max-width: none;
    height: auto;
    max-height: none;
  }

  .site-header {
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  h1 {
    font-size: 56px;
  }

  h2,
  .project-hero h1,
  .examples-section .section-head h2,
  .contact h2 {
    font-size: 44px;
  }

  .project-row strong,
  h3 {
    font-size: 22px;
  }

  .hero {
    min-height: 0;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0;
  }

  .portfolio-deck-track {
    min-height: 0;
  }

  .portfolio-slide {
    padding: 0;
  }

  .portfolio-slide figure {
    aspect-ratio: 16 / 9;
  }

  .portfolio-deck-dots {
    justify-content: flex-start;
  }

  .project-row > a {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
  }

  .project-row div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 7px;
  }

  .project-row div small,
  .project-row div a {
    width: auto;
  }

  .project-row:hover,
  .project-row[data-accent="white"]:hover,
  .project-row[data-accent="cyan"]:hover,
  .project-row[data-accent="pink"]:hover {
    background: transparent;
    color: var(--white);
  }

  .project-row:hover span,
  .project-row:hover time,
  .project-row:hover div a {
    color: rgba(255, 255, 255, .58);
  }

  .project-row:hover div a {
    border-color: rgba(255, 255, 255, .22);
    background: transparent;
  }

  .file-list article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }

  .file-list span {
    width: 74px;
  }

  .file-list div {
    justify-content: flex-start;
  }

  .portrait-card {
    transform: none;
  }

  .work-marquee {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-marquee img:nth-child(n+5) {
    display: none;
  }

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

  .examples-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 68vw);
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 8px;
  }

  .example-card,
  .example-card.large {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
  }

  .sample-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 68vw);
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 8px;
  }

  .sample-grid img:nth-child(1),
  .sample-grid img:nth-child(6),
  .sample-grid img:nth-child(9) {
    grid-column: auto;
    grid-row: auto;
  }

  .work-card,
  .work-card.large,
  .work-card.tall {
    min-width: min(78vw, 360px);
    grid-column: auto;
    grid-row: auto;
    min-height: 410px;
  }

  .work-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 8px;
  }

  .gauntlet-board {
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 72vw);
    grid-template-columns: none;
    grid-auto-rows: 330px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 8px;
  }

  .gauntlet-board img,
  .gauntlet-board .media-hover,
  .gauntlet-board .media-hover:nth-child(1),
  .gauntlet-board .media-hover:nth-child(2),
  .gauntlet-board .media-hover:nth-child(3),
  .gauntlet-board .media-hover:nth-child(4),
  .gauntlet-board .media-hover:nth-child(5),
  .gauntlet-board .media-hover:nth-child(6),
  .gauntlet-board img:nth-child(1),
  .gauntlet-board img:nth-child(2),
  .gauntlet-board img:nth-child(3),
  .gauntlet-board img:nth-child(4),
  .gauntlet-board img:nth-child(5),
  .gauntlet-board img:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-actions .button {
    width: 100%;
  }
}
