:root {
  --paper: #f8f7f4;
  --ink: #1d1d1d;
  --blue: #0230a7;
  --oxide: #b13a2f;
  --line: #d8d5cc;
  --muted: #767675;
  --soft: #ece9e1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  cursor: none;
  font-family: Arial, Helvetica, sans-serif;
}

a,
button {
  color: inherit;
}

a {
  text-decoration: none;
}

a:hover {
  color: var(--blue);
}

button {
  font: inherit;
}

.side {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: 238px;
  padding: 28px 28px 26px;
  border-right: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
}

.brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.1;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--paper);
  font-weight: 700;
  line-height: 1;
}

nav {
  display: grid;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 76px;
  font-size: 18px;
}

nav span {
  display: inline-block;
  width: 46px;
  color: var(--blue);
  font-weight: 700;
}

nav a:hover,
nav a.active {
  color: var(--blue);
}

nav b {
  font-weight: 400;
}

.language {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.language button,
.market-tabs button,
.note-title {
  cursor: none;
}

.language button {
  padding: 0 0 4px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  text-transform: lowercase;
}

.language button:hover,
.language button.active {
  color: var(--blue);
  border-color: var(--blue);
}

.place {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.25;
}

main {
  margin-left: 238px;
}

section,
footer {
  border-bottom: 1px solid var(--line);
}

.intro {
  min-height: 100vh;
  padding: 90px 52px 74px;
  display: grid;
  grid-template-columns: minmax(520px, 1fr) 360px;
  gap: 74px;
  align-content: end;
}

.meta,
.section-head,
.note-title span,
.chair-row span {
  color: var(--blue);
  font-weight: 700;
}

.meta {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.intro .meta {
  grid-column: 1 / -1;
  align-self: start;
}

.oxide {
  color: var(--oxide);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 940px;
  margin-bottom: 0;
  font-size: clamp(64px, 8.4vw, 138px);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(48px, 5.4vw, 84px);
  line-height: 0.9;
  letter-spacing: 0;
}

.intro-copy {
  align-self: end;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.intro-copy p {
  margin-bottom: 0;
}

.intro-copy p + p {
  margin-top: 28px;
}

.statement {
  min-height: 520px;
  padding: 56px 52px 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 70px;
}

.big-line {
  max-width: 930px;
  margin: 0;
  font-size: clamp(40px, 4.8vw, 76px);
  line-height: 0.94;
}

.statement-grid {
  align-self: end;
  display: grid;
  gap: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.42;
}

.statement-grid p {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.profile-section,
.architecture-section,
.method-section,
.capabilities-section,
.market-notes-section,
.field-notes,
.materials,
.objects {
  padding: 42px 52px 74px;
}

.profile-grid,
.architecture-grid,
.method-intro,
.market-notes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 70px;
}

.profile-copy,
.architecture-copy,
.method-intro p,
.market-note-copy {
  align-self: end;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.profile-copy p,
.architecture-copy p,
.market-note-copy p {
  margin-bottom: 22px;
}

.profile-copy p:last-child,
.architecture-copy p:last-child,
.market-note-copy p:last-child {
  margin-bottom: 0;
}

.method-list,
.architecture-list {
  margin-top: 66px;
  border-bottom: 1px solid var(--line);
}

.method-list div,
.architecture-list div {
  min-height: 118px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 70px minmax(260px, 0.72fr) minmax(360px, 1fr);
  gap: 24px;
  align-items: baseline;
}

.method-list span,
.architecture-list span {
  color: var(--blue);
  font-weight: 700;
}

.method-list strong,
.architecture-list strong {
  font-size: clamp(28px, 2.9vw, 44px);
  line-height: 0.98;
}

.method-list p,
.architecture-list p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.42;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-grid article {
  min-height: 230px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.capability-grid span {
  color: var(--blue);
  font-weight: 700;
}

.capability-grid p {
  margin: 58px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.42;
}

.section-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 34px;
  font-size: 15px;
}

.section-head p {
  margin: 0;
}

.note-entry {
  border-top: 1px solid var(--line);
}

.note-entry:last-child {
  border-bottom: 1px solid var(--line);
}

.note-title {
  width: 100%;
  min-height: 104px;
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 250px;
  align-items: baseline;
  text-align: left;
}

.note-title strong {
  max-width: 780px;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 0.96;
}

.note-title em {
  color: var(--muted);
  font-style: normal;
}

.note-title:hover,
.note-title[aria-expanded="true"] {
  color: var(--blue);
}

.note-body {
  display: none;
  max-width: 900px;
  margin-left: 90px;
  padding: 0 0 46px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.5;
}

.note-body.visible {
  display: block;
}

.note-body p {
  margin-bottom: 20px;
}

.note-body p:last-child {
  margin-bottom: 0;
}

.material-grid,
.object-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 70px;
}

.material-list {
  align-self: end;
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  line-height: 1.35;
}

.material-list p {
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.material-list b {
  color: var(--blue);
}

.object-intro p {
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.market-tabs {
  display: flex;
  gap: 0;
  margin-top: 66px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.market-tabs button {
  min-width: 150px;
  padding: 18px 28px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
}

.market-tabs button:hover,
.market-tabs button.active {
  background: var(--blue);
  color: var(--paper);
}

.market-panel {
  display: none;
}

.market-panel.active {
  display: block;
}

.collection-head {
  min-height: 220px;
  padding: 36px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 70px;
  align-items: end;
}

.collection-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
}

.chair-list {
  border-bottom: 1px solid var(--line);
}

.chair-row {
  min-height: 96px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 70px minmax(210px, 0.85fr) minmax(170px, 0.5fr) minmax(280px, 1.1fr);
  gap: 24px;
  align-items: baseline;
}

.chair-row strong {
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 0.98;
}

.chair-row p,
.chair-row em {
  margin: 0;
  color: var(--muted);
  font-style: normal;
  line-height: 1.35;
}

.chair-row:hover {
  color: var(--blue);
}

.empty-market {
  max-width: 680px;
  padding: 38px 0 0;
  font-size: 20px;
  line-height: 1.45;
}

.empty-market strong {
  color: var(--blue);
}

.empty-market a,
footer a {
  border-bottom: 1px solid currentColor;
}

footer {
  min-height: 170px;
  padding: 52px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

footer p {
  margin-bottom: 0;
}

.cursor {
  position: fixed;
  z-index: 100;
  width: 20px;
  height: 20px;
  border: 2px solid var(--oxide);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 120ms ease, height 120ms ease, background 120ms ease;
}

.cursor.active {
  width: 45px;
  height: 45px;
  background: rgba(177, 58, 47, 0.08);
}

@media (max-width: 1040px) {
  .intro,
  .statement,
  .profile-grid,
  .architecture-grid,
  .method-intro,
  .market-notes-grid,
  .material-grid,
  .object-intro,
  .collection-head {
    grid-template-columns: 1fr;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-list div,
  .architecture-list div {
    grid-template-columns: 60px minmax(220px, 0.8fr) minmax(260px, 1fr);
  }

  .chair-row {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .chair-row p,
  .chair-row em {
    grid-column: 2;
  }
}

@media (max-width: 780px) {
  body {
    cursor: auto;
  }

  .cursor {
    display: none;
  }

  .side {
    position: relative;
    width: auto;
    min-height: 310px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  nav {
    margin-top: 54px;
    margin-bottom: 20px;
  }

  main {
    margin-left: 0;
  }

  .intro,
  .statement,
  .profile-section,
  .architecture-section,
  .method-section,
  .capabilities-section,
  .market-notes-section,
  .field-notes,
  .materials,
  .objects,
  footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .intro {
    min-height: 760px;
  }

  h1 {
    font-size: clamp(58px, 17vw, 94px);
  }

  .note-title {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 26px 0;
  }

  .method-list div,
  .architecture-list div {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 26px 0;
  }

  .method-list p,
  .architecture-list p {
    font-size: 18px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid article {
    min-height: 180px;
  }

  .note-body {
    margin-left: 0;
    font-size: 18px;
  }

  .market-tabs {
    overflow-x: auto;
  }

  footer {
    display: grid;
    gap: 28px;
  }
}
