@font-face { font-family: "Spectral"; src: url("../fonts/spectral-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("../fonts/atkinson-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("../fonts/atkinson-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Knife Down Caps"; src: url("../fonts/knife-down-caps.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Knife Text"; src: url("../fonts/knife-text.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Well Title"; src: url("../well/fonts/well-title.woff2") format("woff2"); font-weight: 400; font-display: swap; }
:root {
  --ink: #121110;
  --on-dark: #EDE9E1;
  --on-dark-2: #B3ADA2;
  --bone: #ECE8E0;
  --blood: #4A1613;
  --red: #962A1F;
  --room: #0B0B0B;
  --room-display: #E2DED6;
  --room-text: #B5B0A7;
  --room-rule: #5B554D;
  --wrap: 1360px;
  --gut: clamp(16px, 4vw, 56px);
  --sec: clamp(88px, 11vw, 168px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sans: "Atkinson", "Segoe UI", system-ui, sans-serif;
  --serif: "Spectral", Georgia, serif;
  --knife: "Knife Down Caps", "Atkinson", "Segoe UI", sans-serif;
  --knife-text: "Knife Text", "Spectral", Georgia, serif;
}
body.light {
  --bg: #EEEBE5;
  --text: #161412;
  --text-2: #524C45;
  --rule: #CDC7BC;
  --foot: #121110;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.125rem/1.6 var(--serif);
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, h3 { margin: 0; font-family: var(--sans); font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
dl, dd { margin: 0; }
figure { margin: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--bone); color: var(--ink); padding: 10px 14px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.label {
  font: 600 .8125rem/1.3 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.display {
  font-size: clamp(2.5rem, 5.6vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.028em;
}
.top {
  position: absolute; inset: 0 0 auto; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 16px var(--gut);
  color: var(--on-dark);
}
.brand {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font: 600 .9375rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none;
}
.brand img { width: 40px; }
.top nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.top nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 600 .8125rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
  text-decoration-color: transparent;
}
@media (hover: hover) and (pointer: fine) {
  .top nav a { transition: text-decoration-color .2s var(--ease); }
  .top nav a:hover { text-decoration: underline; text-decoration-color: currentColor; }
}
.hero {
  position: relative;
  height: 100svh; min-height: 600px; max-height: 1180px;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
}
.hero-media, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img, .hero-media video { object-fit: cover; object-position: 50% 62%; }
.hero-media video { opacity: 0; transition: opacity .9s var(--ease); }
.hero-media video.on { opacity: 1; }
.hero::before, .hero::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.hero::before { top: 0; height: 140px; background: linear-gradient(rgba(10, 9, 8, .6), rgba(10, 9, 8, 0)); }
.hero::after { bottom: 0; height: 56%; background: linear-gradient(rgba(10, 9, 8, 0), rgba(10, 9, 8, .5) 46%, rgba(10, 9, 8, .86)); }
.hero-text {
  position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(32px, 7vh, 80px); z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 48px;
}
.hero .label { color: var(--on-dark-2); margin-bottom: 18px; }
.hero h1 {
  max-width: 12.5ch;
  font-size: clamp(2.75rem, 6.6vw, 6.9rem);
  line-height: .95;
  letter-spacing: -.032em;
}
.hero .sub { margin-top: 24px; max-width: 42ch; color: #CFC9BE; }
.hero-meta {
  font: 600 .8125rem/1.7 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-2);
  font-variant-numeric: tabular-nums;
}
.hero-meta p { display: flex; justify-content: flex-end; gap: 16px; }
.works { padding: clamp(56px, 7vw, 104px) 0 clamp(170px, 21vw, 330px); }
.work-list { list-style: none; margin: 20px 0 0; padding: 0; border-top: 2px solid var(--text); }
.work-list li { border-bottom: 1px solid var(--rule); }
.work-list a, .work-list div {
  display: grid; grid-template-columns: minmax(0, 3fr) repeat(3, minmax(0, 1fr)); gap: 6px 28px; align-items: baseline;
  padding: clamp(18px, 2.1vw, 32px) 0;
  font: 600 1.0625rem/1.3 var(--sans);
  color: var(--text-2);
  text-decoration: none;
}
.w-name { font-size: clamp(1.75rem, 3.1vw, 3.25rem); line-height: 1.02; letter-spacing: -.028em; color: var(--text); }
.work-list div .w-name { color: var(--text-2); }
@media (hover: hover) and (pointer: fine) {
  .work-list a .w-name { transition: color .2s var(--ease); }
  .work-list a:hover .w-name { color: var(--red); }
}
.room { position: relative; background: var(--room); color: var(--room-display); padding-bottom: var(--sec); }
.room::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px);
  --edge: clamp(120px, 15vw, 240px);
  height: var(--edge);
  background: var(--room);
  -webkit-mask: url("../img/ink/edge-up.png") 50% 100% / max(100%, var(--edge) * 5.333) 100% no-repeat;
  mask: url("../img/ink/edge-up.png") 50% 100% / max(100%, var(--edge) * 5.333) 100% no-repeat;
  pointer-events: none;
}
.room h2, .room h3 { font-weight: 400; }
.room-head { padding: clamp(28px, 3.5vw, 56px) var(--gut) clamp(40px, 4.5vw, 72px); }
.room-label { font: 400 1rem/1.3 var(--knife); letter-spacing: .1em; color: var(--room-text); }
.room-title {
  margin-top: clamp(10px, 1.2vw, 20px);
  font: 400 clamp(3.25rem, 8.15vw, 13.5rem)/.94 var(--knife);
  letter-spacing: .01em;
}
.room-logo { margin-top: 0; line-height: 0; }
.room-logo img { width: clamp(300px, 48vw, 960px); }
.room-intro .btn { margin-top: 28px; }
.room-grid {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px 72px; align-items: end;
  margin-top: clamp(14px, 1.8vw, 28px);
}
.room-grid .spec { grid-column: 1 / -1; }
.room-lede { font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.3 var(--knife-text); max-width: 25ch; }
.spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
.spec div { border-top: 2px solid var(--room-rule); padding: 14px 0 0; }
.spec dt { font: 400 .875rem/1.3 var(--knife); letter-spacing: .1em; color: var(--room-text); }
.spec dd { margin-top: 6px; font: 400 1.375rem/1.25 var(--knife-text); }
.wall { display: grid; gap: 6px; }
.wall-row { display: flex; gap: 6px; }
.wall img { width: 100%; height: 100%; object-fit: cover; }
.w-water { flex: 1.355 1 0; }
.w-carried { flex: .667 1 0; }
.w-wading { flex: .667 1 0; }
.w-door { flex: 1.125 1 0; }
.w-hand { flex: 1.024 1 0; }
.art-note {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 12px 72px; align-items: baseline;
  padding-top: clamp(28px, 3vw, 44px);
}
.art-note p { max-width: 40ch; font: 400 clamp(1.375rem, 1.9vw, 1.75rem)/1.35 var(--knife-text); }
.room-h { font: 400 clamp(2.5rem, 5.4vw, 5.25rem)/1 var(--knife); letter-spacing: .01em; }
.pin { padding-top: var(--sec); }
.cards-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; padding-bottom: clamp(28px, 3vw, 44px); }
.cards-head p { margin-top: 14px; max-width: 38ch; font: 400 1.25rem/1.4 var(--knife-text); color: var(--room-text); }
.cards-head .rail-nav { display: flex; gap: 10px; margin: 0; }
.cards-head .rail-nav[hidden] { display: none; }
.rail-nav button {
  width: 52px; height: 52px; padding: 0;
  background: transparent; color: var(--room-display);
  border: 1px solid var(--room-rule); border-radius: 2px;
  font: 400 1.375rem/1 var(--sans);
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.rail-nav button:disabled { color: #6E685F; border-color: #36322E; cursor: default; }
.rail-nav button:active:not(:disabled) { transform: translateY(1px); }
@media (hover: hover) and (pointer: fine) {
  .rail-nav button:hover:not(:disabled) { background: #26231F; border-color: var(--room-text); }
}
.rail {
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding-left: var(--gut);
  scrollbar-width: thin; scrollbar-color: var(--room-rule) transparent;
  padding: 0 var(--gut) 20px;
}
.rail ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; width: max-content; }
.rail li { flex: none; width: clamp(232px, 26vw, 430px); scroll-snap-align: start; }
.rail img { width: 100%; }
@keyframes rail-run { to { transform: translateX(calc(-100% + 100vw - 2 * var(--gut))); } }
@supports (animation-timeline: view()) {
  @media (min-width: 901px) and (min-height: 600px) and (prefers-reduced-motion: no-preference) {
    .pin { height: 340vh; padding-top: 0; view-timeline: --pin block; }
    .pin-stick { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
    .pin-stick .wrap { width: 100%; }
    .pin .rail { overflow: visible; padding-bottom: 0; scroll-snap-type: none; }
    .pin .rail li { width: min(26vw, 430px, (100vh - 250px) * .6667); }
    .pin .rail ul { animation: rail-run linear both; animation-timeline: --pin; animation-range: contain 0% contain 100%; }
    .pin .cards-head .rail-nav { display: none; }
  }
}
.engine { padding-top: clamp(40px, 5vw, 80px); }
.specimen figcaption { margin-top: 14px; font: 400 .9375rem/1.4 var(--knife); letter-spacing: .1em; color: var(--room-text); }
.specimen {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 16px 72px; align-items: start;
  padding-top: 6px;
  border-top: 2px solid var(--room-rule);
}
.specimen p { font: 400 clamp(1.75rem, 6vw, 6.25rem)/1.04 var(--knife); letter-spacing: .05em; padding-top: 14px; }
.pocket { position: relative; background: var(--blood); color: var(--on-dark); padding: calc(var(--sec) + clamp(40px, 5vw, 80px)) 0 var(--sec); overflow: hidden; }
.pocket::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px;
  --edge: clamp(80px, 10vw, 160px);
  height: var(--edge);
  background: var(--room);
  -webkit-mask: url("../img/ink/edge-down.png") 50% 0 / max(100%, var(--edge) * 5.333) 100% no-repeat;
  mask: url("../img/ink/edge-down.png") 50% 0 / max(100%, var(--edge) * 5.333) 100% no-repeat;
  pointer-events: none;
}
.pocket-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px 72px; align-items: center; }
.pocket .label { color: #D9B9B2; }
.well-title { margin-top: 18px; font: 400 clamp(2.75rem, 5.2vw, 5rem)/1 "Well Title", var(--sans); letter-spacing: .01em; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; font: 600 .8125rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #D9B9B2; }
.pitch { margin-top: 22px; max-width: 34ch; font-size: 1.25rem; line-height: 1.5; }
.btn {
  display: inline-flex; align-items: center; min-height: 52px; margin-top: 32px; padding: 0 26px;
  background: var(--bone); color: #2E0E0B;
  font: 600 1rem/1 var(--sans); letter-spacing: .02em;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color .2s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .btn:hover { background: #F7F4EE; } }
.btn:active { transform: translateY(1px); }
.next { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(237, 233, 225, .24); color: #D9B9B2; font-size: 1rem; max-width: 34ch; }
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); align-items: start; }
.screens img { border-radius: 4px; box-shadow: 0 24px 48px -16px rgba(8, 2, 1, .65); }
.screens img:nth-child(2) { margin-top: -48px; }
.screens img:nth-child(odd) { margin-top: 48px; }
.trades { padding: var(--sec) 0 0; }
.trades-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px 72px; align-items: start; }
.trades-head p { margin-top: 24px; max-width: 26ch; color: var(--text-2); }
.trade-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.trade-list li { border-top: 2px solid currentColor; padding: 20px 0 48px; }
.trade-list h3 { font-size: clamp(1.5rem, 2.3vw, 2.125rem); line-height: 1.08; letter-spacing: -.018em; }
.trade-list p { margin-top: 12px; max-width: 34ch; color: var(--text-2); font-size: 1.0625rem; }
.studio { padding: var(--sec) 0 0; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 24px 72px; align-items: baseline; }
.statement { font-size: clamp(1.75rem, 3.3vw, 3.1rem); line-height: 1.22; letter-spacing: -.008em; max-width: 30ch; }
.letters { padding: var(--sec) 0; }
.letters-lede { margin-top: 18px; color: var(--text-2); }
.mail {
  display: inline-block; margin-top: 20px;
  font: 600 clamp(2.5rem, 8.6vw, 8.75rem)/1 var(--sans);
  letter-spacing: -.035em;
  text-decoration: underline;
  text-decoration-thickness: .045em;
  text-underline-offset: .12em;
  text-decoration-color: var(--red);
  overflow-wrap: anywhere;
}
@media (hover: hover) and (pointer: fine) {
  .mail { transition: color .2s var(--ease); }
  .mail:hover { color: var(--red); }
}
.addr { display: flex; flex-wrap: wrap; gap: 20px 64px; margin-top: 48px; }
.addr dt { font: 600 .8125rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.addr dd { margin-top: 4px; }
.addr a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.1875rem; }
.foot { background: var(--foot); color: var(--on-dark-2); padding: 40px 0; font: 400 .875rem/1.6 var(--sans); }
.foot-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.foot-brand { display: flex; align-items: center; gap: 18px; }
.foot-brand img { width: 44px; opacity: .85; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
@media (hover: hover) and (pointer: fine) { .foot nav a:hover { color: var(--on-dark); } }
@media (max-width: 900px) {
  .room-grid, .art-note, .specimen, .pocket-grid, .trades-grid, .studio-grid { grid-template-columns: minmax(0, 1fr); }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
  .room-title { font-size: clamp(3rem, 15.2vw, 9rem); }
  .room-logo img { width: min(100%, 700px); }
  .work-list a, .work-list div { grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 22px; font-size: .9375rem; }
  .w-name { grid-column: 1 / -1; }
  .screens img:nth-child(2) { margin-top: 0; }
  .screens img:nth-child(odd) { margin-top: 32px; }
}
@media (max-width: 700px) {
  .brand span { display: none; }
  .top nav { gap: 0 18px; }
  .hero-text { grid-template-columns: minmax(0, 1fr); }
  .hero-meta p { justify-content: flex-start; }
  .hero-meta { display: flex; gap: 20px; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .wall-row { display: contents; }
  .w-water, .w-door, .w-hand { grid-column: span 2; }  .trade-list { grid-template-columns: minmax(0, 1fr); }
  .trade-list li { padding-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media video { display: none; }
}
.pocket-new { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 20px; max-width: 40ch; font-size: 1rem; line-height: 1.5; color: var(--on-dark-2); }
.pocket-new span { padding: 2px 9px; border: 1px solid rgba(237, 233, 225, .4); border-radius: 2px; color: var(--on-dark); font: 600 .75rem/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.pocket-new a { color: var(--on-dark); padding: 4px 0; }
.well-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }
.well-acts .btn { margin-top: 0; }
.btn-quiet { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-size: 1rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (hover: hover) and (pointer: fine) { .btn-quiet:hover { text-decoration-thickness: 2px; } }
.show { position: relative; background: var(--room); color: var(--room-display); padding: clamp(8px, 1.5vw, 24px) 0 var(--sec); }
.show::before, .show::after {
  content: ""; position: absolute; left: 0; right: 0; z-index: 1;
  --edge: clamp(80px, 10vw, 160px);
  height: var(--edge);
  background: var(--room);
  pointer-events: none;
}
.show::before {
  bottom: calc(100% - 1px);
  -webkit-mask: url("../img/ink/edge-up.png") 50% 100% / max(100%, var(--edge) * 5.333) 100% no-repeat;
  mask: url("../img/ink/edge-up.png") 50% 100% / max(100%, var(--edge) * 5.333) 100% no-repeat;
}
.show::after {
  top: calc(100% - 1px);
  -webkit-mask: url("../img/ink/edge-down.png") 50% 0 / max(100%, var(--edge) * 5.333) 100% no-repeat;
  mask: url("../img/ink/edge-down.png") 50% 0 / max(100%, var(--edge) * 5.333) 100% no-repeat;
}
.show-band { line-height: 0; }
.show-band img { width: 100%; }
.show-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 20px 72px; align-items: baseline; margin-top: clamp(16px, 2.4vw, 40px); }
.show .label { color: var(--room-text); }
.show-lede { max-width: 28ch; font: 600 clamp(1.625rem, 2.9vw, 2.75rem)/1.16 var(--sans); letter-spacing: -.02em; color: var(--on-dark); }
.show-acts { margin-top: 36px; }
.show-acts .btn { margin-top: 0; }
.follow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; margin-top: clamp(48px, 5vw, 80px); }
.follow div { border-top: 1px solid var(--room-rule); padding: 14px 0 18px; }
.follow dt { font: 600 .8125rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--room-text); }
.follow a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.125rem; overflow-wrap: anywhere; text-decoration-color: var(--room-rule); }
@media (hover: hover) and (pointer: fine) {
  .follow a { transition: text-decoration-color .2s var(--ease); }
  .follow a:hover { text-decoration-color: currentColor; }
}
@media (max-width: 900px) {
  .show-grid { grid-template-columns: minmax(0, 1fr); }
  .follow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .follow { grid-template-columns: minmax(0, 1fr); }
  .follow div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0 12px; align-items: center; padding: 4px 0; }
}
.show + .trades { padding-top: calc(var(--sec) + clamp(40px, 5vw, 80px)); }
