/* Jahan: shared styles. Page-specific rules live in each page's <style>. Built by build_deploy.py */
@font-face { font-family: "Archivo"; src: url(../fonts/archivo-variable.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(../fonts/ibm-plex-mono-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--sans);
  font-weight: 400;
  font-stretch: 100%;
  color: var(--paper);
  background: var(--ink);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.wrap {
  padding-inline: var(--gutter);
  max-width: calc(1080px + 2 * var(--gutter));
  margin-inline: auto;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 1.6vw, 28px);
}
.d1, .d2, .d3, .d4 {
  font-weight: 760;
  font-stretch: 96%;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-wrap: balance;
}
.d1 {
  font-size: var(--d1);
  letter-spacing: -0.05em;
  line-height: 0.88;
}
.d2 {
  font-size: var(--d2);
}
.d3 {
  font-size: var(--d3);
  line-height: 0.96;
}
.d4 {
  font-size: var(--d4);
  letter-spacing: -0.03em;
  line-height: 1;
}
.lede {
  font-size: clamp(1.15rem, 1.7vw, 1.23rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.3;
  max-width: 30em;
}
.body {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 34em;
  color: var(--soft);
}
.body + .body {
  margin-top: 1em;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}
.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--grey);
}
.quiet {
  color: var(--grey);
}
.link:hover {
  border-bottom-color: currentColor;
}
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  mix-blend-mode: difference;
  color: #fff;
}
.site-head .in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 14px;
  text-transform: uppercase;
}
.wordmark svg {
  width: 22px;
  height: 22px;
}
.site-head nav {
  display: flex;
  gap: clamp(14px, 2vw, 26px);
}
.site-head nav a:hover, .site-head nav a[aria-current="page"] {
  border-color: #fff;
}
.site-head nav .s {
  display: none;
}
@media (max-width: 900px) {
  .site-head nav .l {
    display: none;
  }
  .site-head nav .s {
    display: inline;
  }
}
@media (max-width: 480px) {
  .site-head nav {
    gap: 12px;
  }
  .site-head nav a[data-nav="insights"], .site-head nav a[data-nav="about"] {
    display: none;
  }
}
.rule {
  border: 0;
  border-top: 1px solid var(--rule);
}
.on-paper {
  background: var(--paper);
  color: var(--ink);
}
.on-paper.wrap {
  box-shadow: 0 0 0 100vmax var(--paper);
  clip-path: inset(0 -100vmax);
}
.on-paper .rule {
  border-color: var(--rule-paper);
}
.on-paper .quiet, .on-paper .eyebrow, .on-paper .mono {
  color: var(--grey-2);
}
.hero .line-1 {
  max-width: 16ch;
  font-size: clamp(3rem, 8.2vw, 5.95rem);
}
.hero .foot .who strong {
  display: block;
  font-weight: 700;
  color: var(--paper);
}
.hero .foot .recog li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding-block: 10px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--soft);
}
.hero .foot .recog li span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--grey);
  padding-top: 2px;
}
.hero .foot .recog a {
  text-decoration: none;
  border-bottom: 1px solid var(--grey-2);
}
.hero .foot .recog a:hover {
  border-color: var(--paper);
}
.statement {
  padding-block: clamp(96px, 16vh, 220px);
}
.statement .big {
  max-width: 15ch;
  text-wrap: pretty;
}
.statement .after {
  margin-top: clamp(40px, 7vh, 96px);
  row-gap: 40px;
}
.statement .after .lede {
  grid-column: 1 / 6;
}
.statement .after .steps {
  grid-column: 7 / 13;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.statement .after .steps li strong {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.1em;
  letter-spacing: -0.02em;
}
.work .head {
  align-items: end;
  row-gap: 24px;
  margin-bottom: clamp(32px, 5vh, 64px);
}
.work .head .d3 {
  grid-column: 1 / 10;
  max-width: 15ch;
}
.work .head .quiet {
  grid-column: 9 / 13;
  font-size: 0.95rem;
  line-height: 1.45;
}
.group {
  margin-top: clamp(40px, 7vh, 96px);
}
.group:first-of-type {
  margin-top: 0;
}
.group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  margin-bottom: clamp(20px, 3vh, 32px);
}
.group-head .eyebrow {
  color: var(--paper);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 1.6vw, 28px);
  row-gap: clamp(36px, 6vh, 64px);
}
.case {
  grid-column: span 4;
  display: block;
}
.case.wide {
  grid-column: span 12;
}
.case.half {
  grid-column: span 6;
}
.case.quarter {
  grid-column: span 3;
}
.case.quarter .cap {
  grid-template-columns: 1fr;
  gap: 6px;
}
.case .img {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  aspect-ratio: 4 / 3;
}
.case.wide .img {
  aspect-ratio: 16 / 7;
}
.case:hover .img img {
  transform: scale(1.03);
}
.case .img.missing::after {
  content: attr(data-file);
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--grey);
}
.case summary {
  list-style: none;
  cursor: pointer;
}
.case summary::-webkit-details-marker {
  display: none;
}
.case .cap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  margin-top: 16px;
}
.case .cap .name {
  font-size: clamp(1.2rem, 1.7vw, 1.23rem);
  font-weight: 760;
  font-stretch: 96%;
  letter-spacing: -0.03em;
  line-height: 1;
}
.case.wide .cap .name {
  font-size: var(--d4);
}
.case .cap .yr {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--grey);
  white-space: nowrap;
}
.case .found {
  margin-top: 8px;
  color: var(--soft);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 40em;
}
.case.wide .found {
  font-size: 1.05rem;
  max-width: 34em;
}
.case .toggle {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--grey);
}
.case .toggle::before {
  content: "+ Read";
}
.case[open] .toggle::before {
  content: "\2212 Close";
}
.case dl {
  margin-top: 18px;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 44em;
}
.case.wide dl {
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: none;
}
.case dl > div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 12px;
}
.case.wide dl > div {
  grid-template-columns: 1fr;
  gap: 10px;
  align-content: start;
}
.case dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  padding-top: 4px;
}
.case dd {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--soft);
}
.case dd.result {
  color: var(--paper);
  font-weight: 600;
}
@keyframes open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.for {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-block: clamp(22px, 3.5vh, 36px);
}
.for .grid {
  align-items: baseline;
  row-gap: 12px;
}
.for .eyebrow {
  grid-column: 1 / 3;
}
.for p {
  grid-column: 3 / 12;
  font-size: clamp(1.05rem, 1.5vw, 1.09rem);
  letter-spacing: -0.015em;
  line-height: 1.3;
  text-wrap: pretty;
}
.for p em {
  font-style: normal;
  color: var(--grey);
}
.programs .head {
  align-items: end;
  row-gap: 24px;
  margin-bottom: clamp(32px, 5vh, 64px);
}
.programs .head .d3 {
  grid-column: 1 / 7;
}
.programs .head .quiet {
  grid-column: 8 / 13;
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 30em;
}
.program:hover {
  border-top-color: var(--paper);
}
.program:hover .num {
  color: var(--paper);
}
.program h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}
.program p {
  color: var(--soft);
  font-size: 0.95rem;
  line-height: 1.5;
}
.program .len {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--grey);
}
.about .head {
  margin-bottom: clamp(32px, 5vh, 64px);
}
.about .head .d3 {
  grid-column: 1 / 9;
  max-width: 16ch;
}
.about .head .quiet {
  grid-column: 9 / 13;
  align-self: end;
  font-size: 0.95rem;
  line-height: 1.45;
}
.about .cols {
  row-gap: 40px;
}
.about .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.about .portrait.missing::after {
  content: attr(data-file);
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--grey);
}
.about .creds {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--grey);
  line-height: 1.9;
}
.contact {
  padding-block: clamp(96px, 16vh, 220px) 32px;
}
.contact .d2 {
  max-width: 14ch;
}
.contact .mail:hover {
  color: var(--grey);
  border-color: var(--grey);
}
.contact .alt {
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--grey);
  max-width: 40em;
}
.contact .alt a {
  color: var(--soft);
}
footer {
  margin-top: clamp(80px, 12vh, 140px);
  padding-block: 22px 0;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--grey);
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
}}
@media print {
  .rv {
    animation: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .site-head {
    display: none;
  }
}
@media (max-width: 1100px) {
  .case, .case.half, .case.quarter {
    grid-column: span 6;
  }
  .case.wide dl {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .site-head .in {
    height: 56px;
  }
  .work .head .d3, .work .head .quiet, .programs .head .d3, .programs .head .quiet, .about .head .d3, .about .head .quiet {
    grid-column: 1 / 13;
  }
  .case, .case.half, .case.quarter, .case.wide {
    grid-column: span 12;
  }
  .case.wide .img {
    aspect-ratio: 4 / 3;
  }
  .case.wide dl {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .case dl > div, .case.wide dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .for .eyebrow, .for p {
    grid-column: 1 / 13;
  }
}
