@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f2f0e9;
  --paper-deep: #e9e6dd;
  --ink: #16140f;
  --ink-soft: #3a3730;
  --muted: #8d887c;
  --line: rgba(22, 20, 15, 0.16);
  --accent: oklch(0.55 0.16 36);
  --page-x: clamp(20px, 4vw, 56px);
  --section-y: clamp(60px, 10vh, 120px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

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

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.sr-only {
  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;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-180%);
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow,
.section-kicker,
.workshop-note,
.site-footer,
.brand,
.desktop-nav,
.mobile-menu,
.layout-switcher,
.filter-button,
.layout-button,
.project-card__meta,
.project-card__category,
.project-card__year,
.project-index__number,
.project-index__discipline,
.project-index__year,
.case-study__bar,
.case-study__eyebrow,
.case-study__subtitle,
.case-study__meta dt,
.case-study__section-label,
.process-card__number,
.workshop-card__number,
.workshop-card__duration,
.workshop-card__category,
.workshop-card__subtitle,
.availability,
.scroll-indicator,
.hero__meta,
.hero__feature figcaption,
.capabilities,
.experience small,
.experience span,
.noscript {
  font-family: "IBM Plex Mono", monospace;
}

.eyebrow {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--page-x);
  background: linear-gradient(180deg, rgba(242, 240, 233, 0.94), rgba(242, 240, 233, 0));
  backdrop-filter: blur(6px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.brand__text {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand__text span {
  color: var(--muted);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.desktop-nav a {
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0.5;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.25s ease;
}

.desktop-nav a > span {
  width: 5px;
  height: 5px;
  opacity: 0;
  border-radius: 50%;
  background: var(--accent);
  transition: opacity 0.25s ease;
}

.desktop-nav a.is-active,
.desktop-nav a:hover {
  opacity: 1;
}

.desktop-nav a.is-active > span {
  opacity: 1;
}

.availability {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 8px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.availability i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2.4s infinite;
}

.menu-button {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-button i {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 850;
  display: flex;
  flex-direction: column;
  padding: 24px var(--page-x);
  background: var(--ink);
  color: var(--paper);
  animation: rise 0.45s var(--ease);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__top,
.mobile-menu__footer {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-menu__top button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--paper);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: auto 0;
}

.mobile-menu nav a {
  color: var(--paper);
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.6rem, 11vw, 4.4rem);
  line-height: 1.05;
  text-decoration: none;
}

.mobile-menu nav sup {
  margin-left: 8px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  vertical-align: super;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(110px, 16vh, 180px) var(--page-x) 60px;
}

.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(22, 20, 15, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 20, 15, 0.045) 1px, transparent 1px);
  background-size: clamp(56px, 7vw, 92px) clamp(56px, 7vw, 92px);
}

.corner {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.corner--top {
  top: clamp(96px, 13vh, 150px);
  left: var(--page-x);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.corner--bottom {
  right: var(--page-x);
  bottom: 54px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.hero__meta {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.hero__meta p {
  max-width: 32ch;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__meta p:last-child {
  text-align: right;
}

.hero__content {
  position: relative;
  width: 100%;
  margin: auto 0;
}

.hero__title {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(3.2rem, 13vw, 11.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.01em;
}

.hero__title sup {
  margin-left: 10px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 400;
  letter-spacing: 0.1em;
  vertical-align: super;
}

.hero__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(20px, 5vw, 90px);
  margin-top: clamp(24px, 4vh, 48px);
}

.hero__intro p {
  max-width: 46ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.35vw, 1.28rem);
  line-height: 1.65;
}

.hero__intro em {
  font-family: "Instrument Serif", serif;
  font-size: 1.12em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: gap 0.3s var(--ease);
}

.text-link:hover {
  gap: 22px;
}

.hero__baseline {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(30px, 5vh, 60px);
}

.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-indicator i {
  position: relative;
  width: 17px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.scroll-indicator i::after {
  position: absolute;
  top: 6px;
  left: 7px;
  width: 2px;
  height: 5px;
  background: var(--ink);
  content: "";
  animation: scroll 2s infinite;
}

.hero__feature {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin: 0;
}

.hero__feature figcaption {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__feature img {
  width: clamp(160px, 22vw, 300px);
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  object-fit: cover;
}

.section {
  position: relative;
  padding: var(--section-y) var(--page-x);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vh, 52px);
}

.section-heading h2,
.workshop h2 {
  margin: 8px 0 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.section-heading > p,
.section-heading--workshop p {
  max-width: 36ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
}

.section-heading--workshop > div:first-child {
  max-width: 52ch;
}

.section-heading--workshop p {
  max-width: 50ch;
  margin-top: 14px;
}

.work-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 4vh, 48px);
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button,
.layout-button {
  border: 1px solid rgba(22, 20, 15, 0.2);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.08em;
  transition: background 0.25s ease, color 0.25s ease;
}

.filter-button {
  padding: 8px 14px;
}

.filter-button.is-active,
.layout-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.layout-switcher {
  display: flex;
  align-items: center;
  gap: 14px;
}

.layout-switcher > span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.layout-switcher > div {
  display: flex;
  border: 1px solid rgba(22, 20, 15, 0.2);
}

.layout-button {
  padding: 9px 15px;
  border: 0;
  border-right: 1px solid rgba(22, 20, 15, 0.2);
  text-transform: uppercase;
}

.layout-button:last-child {
  border-right: 0;
}

.projects--editorial {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 2.4vw, 40px);
}

.project-card {
  display: block;
  min-width: 280px;
  flex: 1 1 var(--basis, 45%);
  border: 0;
  background: none;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.project-card__image,
.project-mosaic__image,
.project-index__thumb,
.case-study__hero,
.case-study__gallery figure,
.workshop-card__media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.project-card__image {
  aspect-ratio: var(--aspect, 4 / 3);
}

.project-card img,
.project-index img,
.project-mosaic img,
.case-study img,
.workshop-card img,
.workshop-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card img,
.project-mosaic img,
.project-index img {
  transition: transform 0.65s var(--ease), filter 0.65s var(--ease);
}

.project-card:hover img,
.project-mosaic:hover img,
.project-index:hover img {
  transform: scale(1.025);
  filter: saturate(1.05);
}

.project-card__meta {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 3px 7px;
  background: var(--paper);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.project-card__caption,
.project-mosaic__caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.project-card h3,
.project-mosaic h3,
.project-index h3 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  line-height: 1.08;
}

.project-card h3 {
  font-size: clamp(1.3rem, 2.1vw, 1.85rem);
}

.project-card__category,
.project-card__year {
  color: var(--muted);
  font-size: 11px;
}

.project-card__category {
  display: block;
  margin-top: 3px;
  letter-spacing: 0.1em;
}

.project-card__year {
  white-space: nowrap;
}

.projects--index {
  border-top: 1px solid var(--line);
}

.project-index {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  gap: clamp(12px, 3vw, 40px);
  padding: clamp(16px, 2.4vh, 26px) 6px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: padding-left 0.35s ease, background 0.35s ease;
}

.project-index:hover {
  padding-left: 20px;
  background: rgba(22, 20, 15, 0.03);
}

.project-index__number {
  width: 34px;
  flex: none;
  color: var(--muted);
  font-size: 12px;
}

.project-index__thumb {
  width: 84px;
  flex: none;
  aspect-ratio: 4 / 3;
}

.project-index h3 {
  min-width: 180px;
  flex: 1 1 220px;
  font-size: clamp(1.3rem, 3vw, 2.3rem);
}

.project-index__discipline {
  min-width: 120px;
  flex: 1 1 140px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.project-index__year {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.projects--mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: clamp(14px, 1.6vw, 26px);
}

.project-mosaic {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.project-mosaic__image {
  aspect-ratio: 4 / 3;
}

.project-mosaic__caption {
  gap: 10px;
  margin-top: 11px;
}

.project-mosaic h3 {
  font-size: 1.25rem;
}

.project-mosaic small,
.project-mosaic > span {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.project-mosaic__number {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 6px;
  background: var(--paper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
}

.workshop-controls {
  display: flex;
  gap: 10px;
}

.workshop-controls button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(22, 20, 15, 0.22);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.workshop-controls button:hover {
  background: var(--ink);
  color: var(--paper);
}

.workshop-track {
  display: flex;
  gap: clamp(14px, 1.6vw, 24px);
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.workshop-track::-webkit-scrollbar {
  display: none;
}

.workshop-card {
  flex: 0 0 clamp(220px, 26vw, 320px);
  scroll-snap-align: start;
}

.workshop-card__media {
  aspect-ratio: 9 / 16;
}

.workshop-card__placeholder,
.image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(135deg, transparent 49.6%, rgba(22, 20, 15, 0.12) 50%, transparent 50.4%),
    var(--paper-deep);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.workshop-card__number,
.workshop-card__duration {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 3px 7px;
  font-size: 10px;
}

.workshop-card__number {
  left: 12px;
  background: var(--paper);
}

.workshop-card__duration {
  right: 12px;
  background: rgba(22, 20, 15, 0.72);
  color: var(--paper);
}

.workshop-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: rgba(242, 240, 233, 0.94);
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s ease;
}

.workshop-card__play:not(:disabled):hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--accent);
}

.workshop-card__play:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.workshop-card__play::after {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--ink);
  content: "";
}

.workshop-card__caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.workshop-card h3 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  font-weight: 400;
  line-height: 1.1;
}

.workshop-card__category,
.workshop-card__subtitle,
.workshop-note {
  color: var(--muted);
  font-size: 11px;
}

.workshop-card__category {
  white-space: nowrap;
}

.workshop-card__subtitle {
  display: block;
  margin-top: 4px;
}

.workshop-note {
  margin: 18px 0 0;
  letter-spacing: 0.04em;
}

.about {
  background: var(--ink);
  color: #eceae3;
}

.section-kicker {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 6vh, 72px);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.about__copy h2 {
  margin: 0 0 1.4em;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  font-weight: 400;
  line-height: 1.18;
}

.about__copy p {
  max-width: 54ch;
  margin: 0 0 1.2em;
  color: #b9b5ab;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.7;
}

.about__aside {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.portrait-placeholder {
  position: relative;
  display: grid;
  aspect-ratio: 3 / 4;
  place-items: center;
  border: 1px solid rgba(236, 234, 227, 0.2);
  background:
    linear-gradient(135deg, transparent 49.6%, rgba(236, 234, 227, 0.12) 50%, transparent 50.4%),
    #211f19;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portrait-placeholder small {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 8px;
  background: rgba(22, 20, 15, 0.7);
  color: #eceae3;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.capabilities ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.capabilities li {
  padding: 7px 12px;
  border: 1px solid rgba(236, 234, 227, 0.24);
  color: #d8d4ca;
  font-size: 11px;
}

.capabilities p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.experience {
  margin-top: clamp(44px, 7vh, 90px);
  border-top: 1px solid rgba(236, 234, 227, 0.2);
}

.experience > .eyebrow {
  display: block;
  padding-top: 22px;
}

.experience > div {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) minmax(180px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(236, 234, 227, 0.14);
}

.experience > div:last-child {
  border-bottom: 0;
}

.experience strong {
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 400;
}

.experience span {
  color: #b9b5ab;
  font-size: 12px;
}

.experience small {
  color: var(--muted);
  font-size: 11px;
}

.contact h2 {
  max-width: 16ch;
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.6rem, 9vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(36px, 6vh, 68px);
}

.contact__email,
.social-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left 0.3s ease;
}

.contact__email:hover,
.social-links a:hover {
  padding-left: 10px;
}

.contact__email {
  overflow-wrap: anywhere;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.social-links {
  display: flex;
  flex-direction: column;
}

.social-links a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.social-links a:last-child {
  border-bottom: 1px solid var(--line);
}

.contact__email span,
.social-links span {
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(28px, 4vh, 44px) var(--page-x);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.case-study {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}

.case-study::backdrop {
  background: rgba(22, 20, 15, 0.25);
}

.case-study[open] {
  animation: rise 0.5s var(--ease);
}

.case-study__scroll {
  position: absolute;
  inset: 0;
  overflow: auto;
}

.case-study__bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--page-x);
  border-bottom: 1px solid var(--line);
  background: rgba(242, 240, 233, 0.92);
  backdrop-filter: blur(6px);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-study__bar button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: inherit;
  text-transform: uppercase;
}

.case-study__bar span {
  color: var(--muted);
}

.case-study__content {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(28px, 5vh, 60px) var(--page-x) clamp(50px, 8vh, 100px);
}

.case-study__eyebrow,
.case-study__subtitle,
.case-study__section-label {
  color: var(--muted);
}

.case-study__eyebrow,
.case-study__section-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.case-study h2 {
  margin: 12px 0 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.6rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.01em;
}

.case-study__subtitle {
  display: block;
  margin-top: 10px;
  font-size: 13px;
}

.case-study__meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 30px;
  margin: 36px 0 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-study__meta div {
  min-width: 0;
}

.case-study__meta dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-study__meta dd {
  margin: 0;
  font-size: 0.98rem;
}

.case-study__hero {
  aspect-ratio: 16 / 9;
  margin-top: 30px;
}

.case-study__narrative {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 80px);
  margin-top: clamp(40px, 7vh, 80px);
}

.case-study__narrative > div {
  display: grid;
  gap: 34px;
}

.case-study__narrative section p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.7;
}

.case-study__block {
  margin-top: clamp(44px, 7vh, 88px);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--line);
}

.process-card {
  min-height: 150px;
  padding: 22px 18px;
  background: var(--paper);
}

.process-card__number {
  color: var(--accent);
  font-size: 11px;
}

.process-card h3 {
  margin: 10px 0 8px;
  font-family: "Instrument Serif", serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.1;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.case-study__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  margin-top: 18px;
}

.case-study__gallery figure {
  aspect-ratio: 4 / 3;
  margin: 0;
}

.case-study__result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: start;
}

.case-study__result p {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.25;
}

.case-study__navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(44px, 7vh, 88px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.case-study__navigation button {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.case-study__navigation button:last-child {
  align-items: flex-end;
  text-align: right;
}

.case-study__navigation small {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-study__navigation strong {
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 400;
}

.noscript {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 9999;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9000;
  pointer-events: none;
  will-change: transform;
}

.cursor--ring {
  display: flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 20, 15, 0.5);
  border-radius: 50%;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease;
}

.cursor--ring span {
  opacity: 0;
  color: var(--paper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  transition: opacity 0.2s ease;
}

.cursor--ring.is-view {
  width: 74px;
  height: 74px;
  border-color: transparent;
  background: var(--accent);
}

.cursor--ring.is-view span {
  opacity: 1;
}

.cursor--dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

@keyframes blink {
  50% { opacity: 0.2; }
}

@keyframes scroll {
  0% { transform: translateY(0); opacity: 0.15; }
  35% { opacity: 1; }
  100% { transform: translateY(13px); opacity: 0.15; }
}

@keyframes rise {
  from { transform: translateY(38px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@media (max-width: 899px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .hero__meta {
    flex-wrap: wrap;
  }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .about__aside {
    max-width: 560px;
  }

  .case-study__meta {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .cursor {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero__meta p:last-child {
    width: 100%;
    text-align: left;
  }

  .hero__feature {
    width: 100%;
    justify-content: space-between;
  }

  .hero__feature figcaption {
    max-width: 14ch;
  }

  .work-toolbar {
    align-items: flex-start;
  }

  .layout-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .layout-switcher > div {
    flex: 1;
  }

  .layout-button {
    flex: 1;
  }

  .project-card {
    min-width: 100%;
    flex-basis: 100%;
  }

  .experience > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

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

  .case-study__navigation button {
    max-width: 46%;
  }

  .contact__email {
    font-size: clamp(1.2rem, 6vw, 1.8rem);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cursor {
    display: none;
  }
}
