@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("./fonts/InstrumentSans-Variable.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("./fonts/InstrumentSans-Italic-Variable.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./fonts/RobotoMono-Variable.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/BarlowCondensed-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("./fonts/BarlowCondensed-ExtraBold.woff2") format("woff2");
}

:root {
  --paper: #f4f1ea;
  --vapor: #e8e4db;
  --ink: #0a0a0a;
  --charcoal: #1a1a1a;
  --ash: #5b5b5b;
  --white: #fff;
  --pink: #e54b8a;
  --violet: #7b4fd4;
  --orange: #f0943a;
  --page-gutter: 24px;
  --container: 1152px;
  --editorial: 768px;
  --font-display: "Barlow Condensed";
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: var(--font-sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: clip;
}
em, i { font-family: var(--font-sans); font-style: italic; }
body::selection { color: var(--paper); background: var(--ink); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; width: 100%; }

.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;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  font: 700 11px/1.5 var(--font-mono);
  letter-spacing: .15em;
  text-transform: uppercase;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.atmosphere {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 34%, rgba(123,79,212,.14), transparent 32rem),
    radial-gradient(circle at 88% 68%, rgba(123,79,212,.11), transparent 38rem);
}
.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.primary-container { width: min(100%, var(--container)); margin-inline: auto; padding-inline: var(--page-gutter); }
.editorial-column { width: min(100%, var(--editorial)); margin-inline: auto; padding-inline: var(--page-gutter); }

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  color: var(--ink);
  background: rgba(244,241,234,.92);
  border-bottom: 1px solid var(--vapor);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(-80px);
  pointer-events: none;
  transition: opacity 250ms ease, transform 300ms ease;
}
.site-header--visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.identity {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.desktop-nav, .footer-links { display: flex; align-items: center; gap: 32px; }
.desktop-nav a, .footer-links a, .mobile-nav a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ash);
  font: 700 11px/1.5 var(--font-mono);
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: color 200ms ease;
}
.desktop-nav a:hover, .footer-links a:hover, .mobile-nav a:hover { color: var(--ink); }
.menu-toggle { display: none; }
.mobile-nav { border-top: 1px solid var(--vapor); padding: 16px var(--page-gutter); }
.mobile-nav a { display: flex; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}
.hero-media {
  position: absolute;
  inset: -10%;
  transform: scale(1.08);
  will-change: transform;
  background-color: var(--charcoal);
}
.hero-media-image {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transform: scaleX(-1);
}
.hero-media::before,
.hero-media::after {
  content: none;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.68), rgba(0,0,0,.2) 52%, transparent); }
.hero-content { position: absolute; z-index: 1; left: clamp(24px, 5.55vw, 80px); right: 24px; bottom: 56px; }
.hero-identity {
  margin: 0 0 20px;
  color: rgba(255,255,255,.58);
  font: 700 11px/1.5 var(--font-mono);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.display-phrase {
  max-width: 10ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 128px);
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: .015em;
  line-height: .97;
  text-transform: uppercase;
}
.display-phrase span { display: block; white-space: nowrap; }
.hero-descriptor { max-width: 512px; margin: 24px 0 0; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.48; }
.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 20px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.48);
  font: 700 11px/1.5 var(--font-mono);
  letter-spacing: .15em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.section { position: relative; }
.selected-work { padding-top: clamp(160px, 16vw, 224px); padding-bottom: clamp(128px, 11vw, 160px); }
.writing { padding-block: clamp(96px, 11vw, 160px) clamp(160px, 16vw, 224px); }
.elsewhere { padding-bottom: clamp(160px, 16vw, 224px); }
.about-preview { padding-block: 224px 128px; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 4.45vw, 64px); }
.section-header--single { margin-bottom: clamp(40px, 4.45vw, 64px); }
.section-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 60px;
  font-stretch: condensed;
  font-weight: 700;
  line-height: .95;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.text-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 11px/1.5 var(--font-mono);
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: color 200ms ease;
}
.text-action:hover { color: var(--ash); }

.featured-project-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 64px 16px; }
.project-card:nth-child(1) { grid-column: span 7; }
.project-card:nth-child(2) { grid-column: span 5; }
.project-card:nth-child(3), .project-card:nth-child(4) { grid-column: span 6; }
.project-link { position: relative; display: block; overflow: hidden; }
.project-media { display: block; overflow: hidden; background: var(--vapor); }
.project-media--primary { aspect-ratio: 4 / 3; }
.project-media--secondary { aspect-ratio: 1 / 1; }
.project-media img { height: 100%; object-fit: cover; transition: filter 500ms cubic-bezier(0,0,.2,1), transform 500ms cubic-bezier(0,0,.2,1); }
.project-direction {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(10,10,10,.55);
  font-size: 16px;
  transition: transform 200ms ease;
}
.project-link:hover img { filter: none; transform: scale(1.035); }
.project-link:hover .project-direction { transform: translate(3px, -3px); }
.project-meta { padding-top: 12px; }
.meta-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin: 0 0 8px; color: var(--ash); font: 500 10px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.project-meta h3, .article-row h3, .interest-copy h3 { margin: 0; font-family: var(--font-sans); font-size: 24px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; }
.project-summary { max-width: 58ch; margin: 10px 0 0; color: var(--ash); font-size: 14px; line-height: 1.5; }
.result-metric { margin: 12px 0 0; font: 700 10px/1.5 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }

.article-list { border-top: 1px solid var(--vapor); }
.article-row { border-bottom: 1px solid var(--vapor); }
.article-link { display: grid; grid-template-columns: minmax(0, 8fr) minmax(160px, 3fr) 1fr; gap: 24px; padding-block: 36px; }
.article-main { grid-column: 1; }
.article-category { margin: 0 0 12px; color: var(--ash); font: 600 11px/1.5 var(--font-mono); letter-spacing: .15em; text-transform: uppercase; }
.article-row h3 { font-size: 24px; transition: color 200ms ease; }
.external-cue { display: inline-block; margin-left: 8px; font: 500 12px/1 var(--font-mono); transition: transform 200ms ease; }
.article-summary { max-width: 62ch; margin: 12px 0 0; color: var(--ash); font-size: 16px; line-height: 1.55; }
.article-meta { grid-column: 2; display: flex; flex-direction: column; margin: 28px 0 0; color: var(--ash); font: 500 10px/1.7 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.article-row > a:hover h3 { color: var(--ash); }
.article-row > a:hover .external-cue { transform: translate(3px, -3px); }

.interest-copy { min-height: 126px; max-width: 720px; }
.interest-copy.is-theme-changing { animation: interest-copy-change 280ms cubic-bezier(.2,.7,.2,1); }
@keyframes interest-copy-change {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.interest-copy h3 { font-size: 36px; }
.interest-copy p { max-width: 60ch; margin: 12px 0 0; color: var(--ash); font-size: 18px; line-height: 1.55; }
.coverflow { margin-top: 40px; overflow: visible; outline: none; touch-action: pan-y; cursor: grab; }
.coverflow:active { cursor: grabbing; }
.coverflow-stage { position: relative; height: min(48vw, 520px); min-height: 360px; perspective: 1200px; }
.interest-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(220px, 30%, 360px);
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--vapor);
  transform-origin: center;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1), opacity 500ms ease, filter 500ms ease;
  will-change: transform;
}
.interest-card img { height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.interest-card[data-position="0"] { z-index: 5; transform: translate(-50%, -50%) translateX(0) rotateY(0) scale(1); opacity: 1; }
.interest-card[data-position="-1"] { z-index: 4; transform: translate(-50%, -50%) translateX(-68%) rotateY(18deg) scale(.86); opacity: .86; filter: brightness(.9); }
.interest-card[data-position="1"] { z-index: 4; transform: translate(-50%, -50%) translateX(68%) rotateY(-18deg) scale(.86); opacity: .86; filter: brightness(.9); }
.interest-card[data-position="-2"] { z-index: 3; transform: translate(-50%, -50%) translateX(-124%) rotateY(28deg) scale(.7); opacity: .5; filter: brightness(.76); }
.interest-card[data-position="2"] { z-index: 3; transform: translate(-50%, -50%) translateX(124%) rotateY(-28deg) scale(.7); opacity: .5; filter: brightness(.76); }
.interest-card.is-recessed { opacity: 0; pointer-events: none; }
.coverflow-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 24px; }
.coverflow-controls button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease;
}
.coverflow-controls button:hover { color: var(--paper); background: var(--ink); }
.coverflow-status { min-width: 180px; margin: 0; text-align: center; color: var(--ash); font: 600 10px/1.5 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }

.about-lead { margin: 0; font-size: 48px; line-height: 1.2; letter-spacing: -.025em; }
.about-body { max-width: 62ch; margin: 40px 0 48px; color: var(--ash); font-size: 19px; line-height: 1.55; }
.site-footer { border-top: 1px solid var(--vapor); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; padding-block: 48px; }
.footer-inner > p { max-width: 420px; margin: 7px 0 0; color: var(--ash); font-size: 16px; }
.footer-links { flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hero :focus-visible { outline-color: var(--white); outline-offset: 3px; }

@media (max-width: 767px) {
  .desktop-nav { display: none; }
  .menu-toggle {
    width: 44px;
    min-height: 44px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 8px;
    border: 0;
    background: transparent;
  }
  .menu-toggle span { width: 28px; height: 1px; display: block; background: var(--ink); transition: transform 200ms ease, opacity 200ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .display-phrase { font-size: clamp(58px, 11vw, 76px); }
  .hero-content { left: 48px; bottom: 56px; }
  .scroll-cue { display: none; }
  .featured-project-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card:nth-child(1), .project-card:nth-child(2), .project-card:nth-child(3), .project-card:nth-child(4) { grid-column: auto; }
  .project-card:first-child { grid-column: 1 / -1; }
  .article-link { grid-template-columns: minmax(0, 1fr) 180px; }
  .article-meta { grid-column: 2; }
  .coverflow-stage { height: 500px; }
  .coverflow { overflow: hidden; }
  .interest-card { width: min(48vw, 300px); }
  .about-lead { font-size: 36px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .display-phrase { font-size: clamp(72px, 10vw, 104px); }
  .about-lead { font-size: 36px; }
}

@media (max-width: 639px) {
  .hero-media-image { background-position: 55% center !important; }
  .hero-content { left: var(--page-gutter); right: var(--page-gutter); bottom: 48px; }
  .hero-identity { margin-bottom: 16px; }
  .display-phrase { font-size: clamp(52px, 14vw, 76px); line-height: .97; }
  .hero-descriptor { font-size: 17px; line-height: 1.5; }
  .section-header { align-items: flex-start; }
  .section-header h2 { font-size: 36px; }
  .selected-work { padding-top: 160px; padding-bottom: 96px; }
  .writing { padding-block: 96px 128px; }
  .elsewhere { padding-bottom: 160px; }
  .about-preview { padding-block: 160px 96px; }
  .featured-project-layout { grid-template-columns: 1fr; gap: 48px; }
  .project-card:first-child, .project-card:nth-child(2), .project-card:nth-child(3), .project-card:nth-child(4) { grid-column: 1; }
  .project-meta h3, .article-row h3 { font-size: 18px; }
  .article-link { grid-template-columns: 1fr; gap: 16px; padding-block: 28px; }
  .article-meta { grid-column: 1; flex-direction: row; flex-wrap: wrap; gap: 8px 16px; margin: 0; }
  .interest-copy { min-height: 148px; }
  .interest-copy h3 { font-size: 28px; }
  .interest-copy p { font-size: 16px; }
  .coverflow { margin-inline: calc(var(--page-gutter) * -1); overflow: hidden; }
  .coverflow-stage { height: 430px; min-height: 0; }
  .interest-card { width: min(68vw, 280px); }
  .interest-card[data-position="-1"] { transform: translate(-50%, -50%) translateX(-72%) rotateY(20deg) scale(.82); }
  .interest-card[data-position="1"] { transform: translate(-50%, -50%) translateX(72%) rotateY(-20deg) scale(.82); }
  .interest-card[data-position="-2"], .interest-card[data-position="2"] { opacity: 0; }
  .coverflow-status { min-width: 136px; }
  .about-lead { font-size: 30px; }
  .about-body { margin-block: 40px 48px; font-size: 18px; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .hero-media { transform: scale(1.08) !important; }
  .project-link:hover img, .project-link:hover .project-direction { transform: none; }
  .interest-copy.is-theme-changing { animation: none; }
  .interest-card[data-position="-1"] { transform: translate(-50%, -50%) translateX(-68%) scale(.86); }
  .interest-card[data-position="1"] { transform: translate(-50%, -50%) translateX(68%) scale(.86); }
  .interest-card[data-position="-2"] { transform: translate(-50%, -50%) translateX(-124%) scale(.7); }
  .interest-card[data-position="2"] { transform: translate(-50%, -50%) translateX(124%) scale(.7); }
}

.writing .article-row h3 { font-size: 20px; line-height: 1.4; }

#writing .article-row h3 { font-size: 20px; line-height: 1.4; }

/* Introduction-first homepage */
.intro-first { padding: clamp(130px, 14vw, 200px) var(--page-gutter) clamp(80px, 10vw, 144px); }
.intro-first-column { max-width: 880px; margin-inline: auto; }
.intro-eyebrow { margin: 0 0 32px; font-size: 12px; letter-spacing: .16em; }
.intro-first #intro-title { margin: 0; font-family: inherit; font-size: clamp(34px, 4.3vw, 62px); font-weight: 400; line-height: 1.16; letter-spacing: -.035em; }
.intro-first #intro-title em { font-weight: 400; }
.intro-purpose { margin: 28px 0 44px; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.4; letter-spacing: -.02em; }
.intro-background { margin: 0 0 24px; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.65; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 24px 48px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(0,0,0,.14); }
@media (max-width: 600px) { .intro-first { padding-top: 120px; } .intro-actions { margin-top: 32px; } }

.intro-background--first { margin-top: 44px; }

.intro-first .intro-background { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 300; font-synthesis: none; -webkit-font-smoothing: antialiased; }

/* Intro typography sizes */
.intro-first #intro-title { font-size: 48px; }
.intro-first .intro-background { font-size: 19px; line-height: 29.5px; }

/* Centered, narrower introduction column */
.intro-first-column { width: 100%; max-width: 720px; margin-inline: auto; text-align: left; }
@media (min-width: 1000px) { .intro-first-column { width: 56%; } }

/* Personal photo banner */
.hero-media-image { transform: none; }
.hero .display-phrase { font-family: "Gill Sans Nova", "Gill Sans", sans-serif; font-size: 176px; font-weight: 400; font-stretch: normal; text-transform: none; letter-spacing: -.035em; max-width: none; line-height: 1; }
.hero .hero-descriptor { font-family: "Instrument Sans", sans-serif; font-size: 20px; font-weight: 400; max-width: none; margin-top: 20px; }
@media(max-width: 700px) { .hero .display-phrase { font-size: clamp(72px, 20vw, 140px); } .hero .hero-descriptor { font-size: 20px; } }

/* Banner with name embedded in the supplied image */
.hero--lettered { min-height: 0; aspect-ratio: 1672 / 941; }
.hero--lettered .hero-media { inset: 0; transform: none; }
.hero--lettered .hero-media-image { background-position: center !important; background-size: 100% 100%; }
.hero--lettered .hero-shade { display: none; }
.hero--lettered .hero-content { left: 6.2%; right: auto; top: 65%; bottom: auto; }
.hero--lettered .hero-descriptor { margin: 0; color: #fffdf4; font-family: "Instrument Sans", sans-serif; font-size: 20px; line-height: 1.5; }
@media (max-width: 700px) { .hero--lettered .hero-descriptor { font-size: clamp(10px, 2.4vw, 20px); } .hero--lettered .scroll-cue { display: none; } }

@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("./fonts/RobotoCondensed-Bold.ttf") format("truetype"); }
.hero--lettered .hero-content { left: 6.2%; top: 43%; right: auto; bottom: auto; }
.hero--lettered .display-phrase { font-family: "Roboto Condensed", sans-serif; font-weight: 700; font-size: 200px; line-height: 1; letter-spacing: 0; color: #fffdf4; }
.hero--lettered .hero-descriptor { font-size: 30px; margin-top: 20px; }
@media(max-width: 1100px) { .hero--lettered .display-phrase { font-size: 12vw; } .hero--lettered .hero-descriptor { font-size: clamp(12px, 1.8vw, 30px); margin-top: 1.2vw; } }

.hero--lettered .display-phrase { font-size: 180px; }
.hero--lettered .hero-descriptor { font-size: 25px; }
@media(max-width: 1100px) { .hero--lettered .display-phrase { font-size: 10.8vw; } .hero--lettered .hero-descriptor { font-size: clamp(11px, 1.5vw, 25px); } }

.hero.hero--lettered .hero-content .hero-descriptor { font-family: "Instrument Sans", sans-serif; font-weight: 400; font-style: normal; font-synthesis: none; }

.hero--lettered .hero-photo { width: 100%; height: 100%; object-fit: cover; }
