@font-face {
  font-family: Raleway;
  src: url("assets/raleway-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  background: #010101;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  --muted: #aaa;
  --line: #333;
  --paint-height: clamp(26px, 2.4vw, 34px);
}

* { box-sizing: border-box; }
body { margin: 0; }
.paint-strip { position: absolute; inset: 0 0 auto; height: var(--paint-height); background: url("assets/paint-strip.svg") center top / 100% 100% no-repeat; pointer-events: none; }
a { color: inherit; }
.arrow { display: inline-block; width: 16px; height: 16px; flex-shrink: 0; vertical-align: middle; }
.arrow-down { transform: rotate(135deg); }
.arrow-up { transform: rotate(-45deg); }
::selection { background: #fff; color: #010101; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
section[id], main[id] { scroll-margin-top: 28px; }
.page { max-width: 1600px; margin: auto; padding: calc(var(--paint-height) + 18px) clamp(20px, 5vw, 80px) 24px; }
.skip-link { position: absolute; top: 12px; left: 20px; z-index: 2; padding: 12px; background: #fff; color: #010101; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.identity { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.mark { font-size: 30px; line-height: 1; }
.identity-label { font-size: 10px; font-weight: 700; letter-spacing: .16em; }
nav { display: flex; gap: clamp(18px, 3vw, 38px); }
nav a { font: 11px/1.5 monospace; text-decoration: none; color: #bdbdbd; }
nav a, footer a { display: inline-flex; align-items: center; gap: 6px; }
nav .arrow, footer .arrow { width: 12px; height: 12px; }
nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.section { display: grid; grid-template-columns: clamp(32px, 7vw, 110px) minmax(0, 1fr); gap: clamp(18px, 2.5vw, 40px); }
.section-body { min-width: 0; }
.rail { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; font: 10px/1.5 monospace; letter-spacing: .08em; color: var(--muted); }
.rail span:first-child { color: #fff; }
.rail::after { content: ""; width: 1px; height: 72px; background: #444; margin-top: 8px; }
.personal-description { max-width: 570px; margin: 32px 0 0; color: #bdbdbd; font-size: 14px; line-height: 1.8; }
.personal-description p { margin: 0 0 12px; }
.intro { padding: 40px 0 64px; }
.eyebrow { margin: 0 0 24px; font: 10px/1.5 monospace; letter-spacing: .12em; color: #bdbdbd; }
.hero { display: grid; grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); gap: 24px; align-items: start; container-type: inline-size; }
h1, h2, h3 { font-family: Raleway, Arial, sans-serif; font-weight: 800; }
h1 { font-size: min(7.8vw, 7cqi, 112px); line-height: .97; letter-spacing: -.055em; margin: 0; }
h1 span { display: block; white-space: nowrap; }
.tile { width: min(100%, 28cqi, 240px); aspect-ratio: 1; justify-self: center; background: #fff; color: #010101; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(12px, 2.5cqi, 24px); text-decoration: none; }
.tile-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid #c5c5c5; font: clamp(7px, 1cqi, 10px)/1.3 monospace; letter-spacing: .04em; }
.tile-circle { width: clamp(12px, 2.5cqi, 24px); height: clamp(12px, 2.5cqi, 24px); flex-shrink: 0; }
.tile-mark { font-size: clamp(36px, 11cqi, 104px); }
.dove { font-family: "Noto Sans Symbols 2", "Segoe UI Symbol", "Apple Symbols", sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 46px; padding: 15px 18px; min-height: 48px; font-size: 12px; font-weight: 700; background: #fff; color: #010101; border: 1px solid #fff; text-decoration: none; }
.button:hover { background: #d5d5d5; }
.work, .links { padding: 42px 0 50px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
h2 { margin: 0; font-size: clamp(28px, 3.1vw, 44px); line-height: 1.1; letter-spacing: -.045em; }
.section-heading .eyebrow { margin: 0; font-size: 9px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); text-decoration: none; }
.project-preview { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111; border-bottom: 1px solid var(--line); }
.project-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-preview .project-banner { position: absolute; inset: 0; z-index: 1; }
.preview-index, .preview-label { position: absolute; left: 20px; font: 9px/1.5 monospace; letter-spacing: .08em; color: #bdbdbd; }
.preview-index { top: 18px; }
.preview-label { bottom: 18px; }
.project-copy { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.project-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
h3 { margin: 0; font-size: 29px; letter-spacing: -.04em; }
.project p { margin: 12px 0 24px; color: #bdbdbd; font-size: 14px; line-height: 1.6; }
.project .tags { margin-top: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 12px; font: 9px/1.5 monospace; letter-spacing: .07em; color: var(--muted); }
.project-arrow { width: 28px; height: 28px; }
.project:hover h3 { text-decoration: underline; text-underline-offset: 6px; }
.project:hover, .project:focus-visible { border-color: #aaa; }
.link-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; align-items: center; gap: 24px; min-height: 68px; padding: 18px 0; text-decoration: none; font-size: 15px; }
.link-list a:hover > span:first-child { text-decoration: underline; text-underline-offset: 5px; }
.short-url { color: var(--muted); font: 11px/1.5 monospace; overflow-wrap: anywhere; }
.link-list a > .arrow { justify-self: end; }
footer { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font: 9px/1.7 monospace; letter-spacing: .06em; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }

@media (max-width: 700px) {
  :root { --paint-height: 22px; }
  .paint-strip { background-image: url("assets/paint-strip-mobile.svg"); }
  .page { padding-top: calc(var(--paint-height) + 14px); }
  .identity-label { display: none; }
  .top { gap: 16px; }
  nav { flex-wrap: wrap; justify-content: flex-end; gap: 12px 18px; }
  .section { grid-template-columns: 26px minmax(0, 1fr); gap: 16px; }
  .rail { font-size: 8px; gap: 14px; }
  .rail span:nth-child(2) { writing-mode: vertical-rl; }
  .intro { padding-top: 40px; padding-bottom: 40px; }
  .eyebrow { font-size: 8px; letter-spacing: .08em; margin-bottom: 20px; }
  .hero { gap: 12px; }
  h1 { font-size: min(7.8vw, 7cqi); }
  .tile { padding: 10px; }
  .tile-top { font-size: 6px; gap: 4px; padding-bottom: 7px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .project-copy { padding: 20px; }
  .preview-index, .preview-label { left: 16px; font-size: 8px; }
  .preview-index { top: 14px; }
  .preview-label { bottom: 14px; }
  h3 { font-size: 25px; }
  .work, .links { padding: 32px 0; }
  .link-list a { gap: 10px; grid-template-columns: minmax(0, 1fr) auto 16px; font-size: 13px; }
  .short-url { font-size: 9px; }
  footer { flex-wrap: wrap; font-size: 8px; }
}

@media (forced-colors: active) {
  .tile { border: 1px solid CanvasText; }
  .button { border: 1px solid ButtonText; }
}
