@font-face {
  font-family: "Anybody";
  src: url("fonts/anybody-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: block;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Anybody";
  src: url("fonts/anybody-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: block;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-italic-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-style: italic;
  font-display: block;
}

:root {
  --paper: #f1f1ee;
  --ink: #16171b;
  --ink-soft: #55565c;
  --blue: #2a2ae6;
  --blue-deep: #1c1cb8;
  --blush: #f4c6cf;
  --rule: #cfcfca;
  --edge: clamp(1.25rem, 3.2vw, 3.5rem);
  --gap: clamp(1.25rem, 2.4vw, 2.5rem);
  --sans: "Anybody", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.hero :focus-visible, .contact :focus-visible { outline-color: #fff; }

.skip {
  position: absolute; left: var(--edge); top: -4rem;
  background: var(--ink); color: #fff; padding: .6rem 1rem;
  font-family: var(--sans); z-index: 50; text-decoration: none;
}
.skip:focus { top: .75rem; }

/* ---------- header ---------- */
.bar {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline;
  padding: 1.25rem var(--edge);
  color: #fff;
  font-family: var(--sans);
  font-size: .95rem;
  font-variation-settings: "wdth" 100;
}
.bar a { text-decoration: none; }
.bar a:hover { text-decoration: underline; text-underline-offset: .25em; }
.bar__name { font-weight: 650; }
.bar nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.bar__status { justify-self: end; display: flex; align-items: center; gap: .55rem; }
.bar__status::before {
  content: ""; width: .55rem; height: .55rem; border-radius: 50%;
  background: #8cf0a6; box-shadow: 0 0 0 3px rgba(140, 240, 166, .25);
}

/* ---------- hero ---------- */
.hero {
  background: var(--blue);
  color: #fff;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto auto;
  padding: 5.5rem var(--edge) var(--edge);
  overflow: hidden;
  position: relative;
  grid-template-columns: minmax(0, 1fr);
}
.hero__name {
  align-self: center;
  margin: 0;
  font-family: var(--sans);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.01em;
  white-space: nowrap;
  user-select: none;
  min-width: 0;
  width: 100%;
}
.hero__line { display: block; width: 100%; }
.hero__line + .hero__line { margin-top: .03em; }
.hero__name .ch {
  display: inline-block;
  font-variation-settings: "wdth" var(--w, 150), "wght" var(--g, 800);
  transition: font-variation-settings .45s cubic-bezier(.2, .7, .2, 1);
}
.hero__name.is-intro .ch { transition: font-variation-settings 1.3s cubic-bezier(.16, 1, .3, 1); }

.hero__meta {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: end;
  margin-top: clamp(2rem, 5vh, 4rem);
}
.hero__lede {
  grid-column: 1 / span 6;
  margin: 0;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 2.15rem);
  line-height: 1.22;
  font-weight: 350;
  max-width: 30ch;
}
.hero__lede em { font-style: italic; }
.hero__aside {
  grid-column: 9 / span 4;
  font-family: var(--sans);
  font-size: .95rem;
  line-height: 1.45;
  font-variation-settings: "wdth" 100;
}
.hero__aside p { margin: 0 0 .9rem; max-width: 34ch; }
.hero__aside a { font-weight: 600; text-underline-offset: .25em; }

/* ---------- work grid ---------- */
main { display: block; }
.work {
  padding: clamp(4rem, 9vw, 9rem) var(--edge) clamp(3rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: clamp(3.5rem, 7vw, 7.5rem);
  align-items: start;
}
.work__title {
  grid-column: 1 / -1;
  margin: 0 0 calc(-1 * clamp(1rem, 3vw, 3rem));
  font-family: var(--sans);
  font-weight: 750;
  font-size: clamp(2.2rem, 1.4rem + 3.4vw, 5.25rem);
  line-height: .95;
  font-variation-settings: "wdth" 62;
  letter-spacing: -.01em;
}
.work__title span { font-family: var(--serif); font-style: italic; font-weight: 300; font-variation-settings: normal; letter-spacing: 0; color: var(--ink-soft); font-size: .5em; display: block; margin-top: .6em; }

.project { margin: 0; min-width: 0; }
.project button {
  all: unset;
  display: block; width: 100%;
  cursor: zoom-in;
}
.project button:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; }
.project__art { overflow: hidden; background: #ddd; }
.project__art svg { width: 100%; height: auto; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.project button:hover .project__art svg { transform: scale(1.025); }
.project figcaption {
  display: grid; grid-template-columns: 1fr auto; column-gap: 1rem;
  margin-top: 1rem;
}
.project h3 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 640;
  font-size: clamp(1.05rem, .95rem + .4vw, 1.35rem);
  font-variation-settings: "wdth" 100;
  line-height: 1.2;
}
.project button:hover h3 { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 2px; }
.project p { margin: .2rem 0 0; color: var(--ink-soft); font-style: italic; line-height: 1.35; }
.project time { font-family: var(--sans); font-variation-settings: "wdth" 100; font-size: .95rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.p-kinema   { grid-column: 1 / span 8; }
.p-sediment { grid-column: 9 / span 4; margin-top: clamp(4rem, 14vw, 16rem); }
.p-ferro    { grid-column: 1 / span 5; margin-top: clamp(0rem, 4vw, 5rem); }
.p-graines  { grid-column: 6 / span 7; }
.p-oko      { grid-column: 2 / span 7; }
.p-halle    { grid-column: 9 / span 4; margin-top: clamp(3rem, 12vw, 13rem); }

/* ---------- index ---------- */
.index {
  padding: clamp(3rem, 6vw, 6rem) var(--edge);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}
.index h2, .info h2 {
  grid-column: 1 / span 3;
  margin: 0 0 1.5rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem);
  font-variation-settings: "wdth" 62;
  line-height: 1;
}
.index table {
  grid-column: 4 / -1;
  border-collapse: collapse;
  width: 100%;
  font-family: var(--sans);
  font-variation-settings: "wdth" 100;
  font-size: clamp(.95rem, .9rem + .2vw, 1.08rem);
}
.index caption { text-align: left; caption-side: bottom; padding-top: 1rem; font-family: var(--serif); font-style: italic; color: var(--ink-soft); }
.index th { text-align: left; font-weight: 500; color: var(--ink-soft); padding: 0 1rem .7rem 0; border-bottom: 1.5px solid var(--ink); }
.index td { padding: .85rem 1rem .85rem 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.index td:first-child { font-variant-numeric: tabular-nums; width: 5.5rem; color: var(--ink-soft); }
.index td:nth-child(2) { font-weight: 620; }
.index td:last-child { padding-right: 0; text-align: right; }
.index tbody tr { transition: background-color .2s; }
.index tbody tr:hover { background: #e6e6e1; }
.index .rec { font-family: var(--serif); font-style: italic; color: var(--blue); }

/* ---------- info ---------- */
.info {
  padding: clamp(4rem, 8vw, 8rem) var(--edge);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 3rem;
  border-top: 1.5px solid var(--ink);
}
.info__bio { grid-column: 4 / span 6; }
.info__bio p { margin: 0 0 1.1em; max-width: 60ch; }
.info__bio p:first-child {
  font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2.3rem);
  line-height: 1.22;
  font-weight: 350;
  max-width: 28ch;
  margin-bottom: 1.2em;
}
.info__lists {
  grid-column: 4 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.info h3 {
  margin: 0 0 .8rem;
  font-family: var(--sans);
  font-weight: 650;
  font-size: 1rem;
  font-variation-settings: "wdth" 100;
  padding-bottom: .6rem;
  border-bottom: 1.5px solid var(--ink);
}
.info ul { list-style: none; margin: 0; padding: 0; line-height: 1.45; }
.info li { padding: .3rem 0; }
.info li small { display: block; color: var(--ink-soft); font-style: italic; font-size: .9em; }

/* ---------- contact ---------- */
.contact {
  background: var(--ink);
  color: #fff;
  padding: clamp(4rem, 9vw, 9rem) var(--edge) var(--edge);
}
.contact p { margin: 0; max-width: 40ch; font-size: clamp(1.35rem, 1.1rem + 1vw, 2.15rem); line-height: 1.22; font-weight: 350; }
.contact__mail {
  display: block;
  margin: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 8vw, 7rem);
  font-family: var(--sans);
  font-weight: 760;
  font-size: clamp(2.1rem, 0.6rem + 7.2vw, 9.5rem);
  line-height: .95;
  letter-spacing: -.015em;
  font-variation-settings: "wdth" 70;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: font-variation-settings .5s cubic-bezier(.2, .7, .2, 1), color .3s;
}
.contact__mail:hover { font-variation-settings: "wdth" 110; color: var(--blush); }
.contact__foot {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  font-family: var(--sans);
  font-variation-settings: "wdth" 100;
  font-size: .95rem;
  border-top: 1px solid #3a3b40;
  padding-top: 1.25rem;
  color: #c9c9cd;
}
.contact__foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; grid-column: 1 / span 6; }
.contact__foot a { color: #fff; text-underline-offset: .25em; }
.contact__clock { grid-column: 7 / span 3; font-variant-numeric: tabular-nums; }
.contact__credit { grid-column: 10 / span 3; justify-self: end; text-align: right; }

/* ---------- case study dialog ---------- */
.case {
  width: 100%; max-width: none; height: 100%; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: var(--paper); color: var(--ink);
}
.case::backdrop { background: rgba(22, 23, 27, .6); }
.case[open] { animation: case-in .55s cubic-bezier(.16, 1, .3, 1); }
@keyframes case-in { from { transform: translateY(4%); opacity: 0; } to { transform: none; opacity: 1; } }
.case__inner {
  min-height: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 2rem;
  padding: 1.25rem var(--edge) var(--edge);
}
.case__top {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-family: var(--sans); font-variation-settings: "wdth" 100; font-size: .95rem;
  position: sticky; top: 0; padding: 1rem 0; background: var(--paper); z-index: 2;
}
.case__top nav { display: flex; gap: 1.25rem; }
.case button.link {
  all: unset; cursor: pointer; font: inherit; font-variation-settings: inherit;
  text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px;
}
.case button.link:hover { text-decoration-thickness: 2px; }
.case button.link:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.case__title {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--sans);
  font-weight: 780;
  font-size: clamp(2.6rem, 1rem + 7vw, 8.5rem);
  line-height: .9;
  letter-spacing: -.015em;
  font-variation-settings: "wdth" 58;
  overflow-wrap: anywhere;
}
.case__art { grid-column: 1 / span 8; margin: 0; }
.case__art svg { width: 100%; height: auto; }
.case__text { grid-column: 9 / span 4; }
.case__text dl { margin: 0 0 2rem; display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.25rem; font-family: var(--sans); font-variation-settings: "wdth" 100; font-size: .95rem; }
.case__text dt { color: var(--ink-soft); }
.case__text dd { margin: 0; }
.case__text p { margin: 0 0 1em; max-width: 52ch; }
.case__text p:first-of-type { font-size: 1.2em; line-height: 1.35; }
body.has-case { overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero__lede { grid-column: 1 / span 8; }
  .hero__aside { grid-column: 9 / span 4; }
  .info__bio, .info__lists { grid-column: 1 / -1; }
  .info h2 { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .bar { grid-template-columns: 1fr auto; row-gap: .4rem; }
  .bar__status { display: none; }
  .bar nav ul { gap: 1.1rem; }
  .hero { padding-top: 5rem; }
  .hero__lede, .hero__aside { grid-column: 1 / -1; }
  .work { row-gap: 3.5rem; }
  .p-kinema, .p-sediment, .p-ferro, .p-graines, .p-oko, .p-halle { grid-column: 1 / -1; margin-top: 0; }
  .p-sediment, .p-halle { grid-column: 2 / span 10; }
  .index h2, .index table { grid-column: 1 / -1; }
  .index td:nth-child(3) { display: none; }
  .index th:nth-child(3) { display: none; }
  .info__lists { grid-template-columns: 1fr 1fr; }
  .contact__foot ul, .contact__clock, .contact__credit { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .case__art, .case__text { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .case__top .long { display: none; }
  .case__top nav { gap: 1rem; }
  .info__lists { grid-template-columns: 1fr; }
  .p-sediment, .p-halle { grid-column: 1 / -1; }
  .project figcaption { grid-template-columns: 1fr; }
  .project time { margin-top: .2rem; }
}
@media (min-width: 2000px) {
  body { font-size: 1.4rem; }
  .bar, .hero__aside, .contact__foot { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
html.js:not(.is-ready) .hero__name { visibility: hidden; }
