:root {
  --paper: #ffffff;
  --soft: #f3f3f3;
  --ink: #111111;
  --muted: #656565;
  --line: #d7d7d7;
  --line-dark: #393939;
  --page: min(1240px, calc(100% - 64px));
  --font: Arial, "Helvetica Neue", Helvetica, system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

button,
a {
  font: inherit;
}

a,
button {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  text-decoration: none;
}

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

.page-grid,
.header-inner {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.header-inner {
  display: grid;
  grid-template-columns: 2fr 10fr;
  min-height: 80px;
  align-items: center;
}

.wordmark {
  width: fit-content;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a,
.site-footer a {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav-list a::after,
.site-footer a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after,
.site-footer a:hover::after,
.site-footer a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switcher {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
}

.language-switcher > span {
  color: #adadad;
}

.language-button {
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #666666;
  cursor: pointer;
  padding: 3px 0 2px;
  transition: color 160ms ease, border-color 160ms ease;
}

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

.menu-toggle {
  display: none;
}

.hero {
  border-bottom: 1px solid var(--ink);
  background: var(--soft);
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-height: min(720px, calc(100vh - 80px));
  padding-block: 54px 32px;
}

.hero-primary {
  display: flex;
  grid-column: 1 / 10;
  flex-direction: column;
  justify-content: center;
  padding: 48px 48px 72px 0;
}

.eyebrow,
.index-label,
.section-marker,
.project-type,
.record-status,
.subsection-label {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  margin: 30px 0 12px;
  font-size: clamp(4.5rem, 8.2vw, 6.75rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

.hero-expansion {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: clamp(1.5rem, 3vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.hero-index {
  grid-column: 10 / -1;
  align-self: center;
  border-top: 1px solid var(--ink);
}

.index-label {
  padding-block: 13px 28px;
}

.hero-index ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-index li {
  display: grid;
  grid-template-columns: 42px 1fr;
  border-top: 1px solid var(--line);
  padding: 13px 0;
  font-size: 0.875rem;
}

.hero-index li:first-child {
  border-top-color: var(--ink);
}

.hero-index li span:first-child {
  font-weight: 700;
}

.hero-footer {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 9fr 3fr;
  align-items: end;
  border-top: 1px solid var(--ink);
  padding-top: 17px;
}

.hero-footer p {
  margin: 0;
  font-size: 0.75rem;
}

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

.section {
  border-bottom: 1px solid var(--ink);
  padding-block: 112px 128px;
}

.section-muted {
  background: var(--soft);
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 24px;
}

.section-marker {
  display: flex;
  grid-column: 1 / 4;
  gap: 26px;
  align-items: baseline;
  align-self: start;
}

.section-marker > span {
  color: var(--muted);
}

.section-marker h2 {
  margin: 0;
  font: inherit;
}

.section-dark .section-marker > span {
  color: #9a9a9a;
}

.section-content {
  grid-column: 4 / -1;
}

.lead {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.body-copy {
  max-width: 650px;
  margin: 54px 0 0 auto;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.facts-list {
  margin: 76px 0 0;
  border-top: 1px solid var(--ink);
}

.facts-list > div {
  display: grid;
  grid-template-columns: 2fr 7fr;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.facts-list dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.facts-list dd {
  margin: 0;
  font-size: 0.875rem;
}

.section-intro {
  max-width: 720px;
  margin: 0 0 72px;
  font-size: clamp(1.6rem, 2.8vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.discipline-list,
.project-list,
.team-list {
  border-top: 1px solid var(--ink);
}

.discipline-item {
  display: grid;
  grid-template-columns: 1fr 3fr 5fr;
  gap: 24px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 24px 0 26px;
}

.item-number,
.member-index {
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
}

.discipline-item h3,
.project-main h3,
.team-member h3,
.calendar-empty h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.discipline-item p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.project-item {
  display: grid;
  grid-template-columns: 1fr 6fr 2fr;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 30px 0 34px;
}

.project-year {
  margin: 1px 0 0;
  font-size: 0.75rem;
  font-weight: 700;
}

.project-type {
  margin-bottom: 13px;
  color: var(--muted);
}

.project-main > p:last-child {
  max-width: 540px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.record-status {
  justify-self: end;
  color: var(--muted);
  text-align: right;
}

.content-note {
  max-width: 580px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.section-dark .section-intro {
  color: #e5e5e5;
}

.status-key {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--paper);
}

.status-key > div {
  min-height: 112px;
  border-right: 1px solid var(--line-dark);
  padding: 16px 18px 18px 0;
}

.status-key > div:not(:first-child) {
  padding-left: 18px;
}

.status-key > div:last-child {
  border-right: 0;
}

.status-key span {
  color: #969696;
  font-size: 0.6875rem;
}

.status-key p {
  max-width: 130px;
  margin: 30px 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.calendar-period {
  margin-top: 72px;
  border-top: 1px solid var(--paper);
}

.period-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line-dark);
  padding: 15px 0;
}

.period-heading p,
.period-heading span {
  margin: 0;
  font-size: 0.75rem;
}

.period-heading p {
  font-weight: 700;
  text-transform: uppercase;
}

.period-heading span {
  color: #969696;
}

.calendar-empty {
  display: grid;
  grid-template-columns: 1fr 8fr;
  gap: 24px;
  padding: 40px 0 12px;
}

.calendar-empty > span {
  color: #777777;
}

.calendar-empty p {
  max-width: 560px;
  margin: 14px 0 0;
  color: #a8a8a8;
  font-size: 0.875rem;
  line-height: 1.6;
}

.team-member {
  display: grid;
  grid-template-columns: 1fr 5fr 3fr;
  gap: 24px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
}

.team-member p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.team-structure {
  margin-top: 72px;
}

.team-structure ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 14px 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.team-structure li {
  min-height: 92px;
  border-right: 1px solid var(--line);
  padding: 14px 16px 16px 0;
  font-size: 0.8125rem;
  font-weight: 600;
}

.team-structure li:not(:first-child) {
  padding-left: 16px;
}

.team-structure li:last-child {
  border-right: 0;
}

.contact-section {
  background: var(--soft);
}

.contact-content .lead {
  max-width: 820px;
}

.contact-content address {
  display: flex;
  flex-direction: column;
  margin: 64px 0 36px;
  font-size: 0.875rem;
  font-style: normal;
  line-height: 1.7;
}

.contact-content address span:first-child {
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  padding: 0 0 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 160ms ease;
}

.text-link:hover {
  opacity: 0.55;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
}

.footer-inner {
  display: grid;
  grid-template-columns: 3fr 6fr 3fr;
  min-height: 118px;
  align-items: center;
  gap: 24px;
}

.footer-inner p,
.footer-inner a {
  margin: 0;
  font-size: 0.6875rem;
}

.footer-inner p:first-child {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-inner p:nth-child(2) {
  color: #a8a8a8;
}

.footer-inner a {
  justify-self: end;
}

@media (max-width: 1050px) {
  :root { --page: min(100% - 48px, 1240px); }

  .header-inner { grid-template-columns: 1fr auto; }
  .site-nav { gap: 20px; }
  .nav-list { gap: 8px 14px; }
  .hero-primary { grid-column: 1 / 9; }
  .hero-index { grid-column: 9 / -1; }

  .section-marker {
    grid-column: 1 / 3;
    flex-direction: column;
    gap: 8px;
  }

  .section-content { grid-column: 3 / -1; }
}

@media (max-width: 820px) {
  :root { --page: calc(100% - 40px); }

  .header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 68px;
  }

  .menu-toggle {
    display: grid;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    cursor: pointer;
    place-content: center;
    gap: 6px;
    padding: 0;
  }

  .no-js .menu-toggle {
    display: none;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .site-nav {
    width: 100%;
    align-items: flex-start;
    border-top: 1px solid var(--line);
    padding: 22px 0 24px;
  }

  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }

  .nav-list {
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 7px 0;
    font-size: 0.875rem;
  }

  .nav-list a::after { display: none; }
  .language-switcher { padding-top: 7px; }

  .hero-inner {
    min-height: 680px;
    padding-block: 44px 24px;
  }

  .hero-primary {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding: 56px 0 70px;
  }

  .hero h1 { font-size: clamp(4rem, 19vw, 7rem); }

  .hero-index {
    grid-column: 1 / -1;
    align-self: end;
  }

  .hero-index ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-index li {
    grid-template-columns: 28px 1fr;
    border-top: 1px solid var(--ink);
    border-right: 1px solid var(--line);
    padding-right: 10px;
  }

  .hero-index li:not(:first-child) { padding-left: 12px; }
  .hero-index li:last-child { border-right: 0; }

  .hero-footer {
    grid-template-columns: 2fr 1fr;
    margin-top: 40px;
  }

  .section { padding-block: 80px 92px; }

  .section-marker {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 54px;
  }

  .section-content { grid-column: 1 / -1; }
  .body-copy { margin-top: 40px; }
  .section-intro { margin-bottom: 54px; }
}

@media (max-width: 600px) {
  :root { --page: calc(100% - 32px); }
  html { scroll-padding-top: 16px; }

  .hero-inner {
    min-height: calc(100svh - 68px);
    padding-top: 34px;
  }

  .hero-primary { padding-top: 28px; }

  .hero h1 {
    margin-top: 24px;
    font-size: clamp(3.75rem, 21vw, 5.5rem);
  }

  .hero-expansion {
    max-width: 330px;
    font-size: 1.55rem;
  }

  .index-label { padding-bottom: 18px; }
  .hero-index ol { grid-template-columns: 1fr; }

  .hero-index li,
  .hero-index li:not(:first-child) {
    border-right: 0;
    padding: 10px 0;
  }

  .hero-footer {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-footer p:last-child { text-align: left; }
  .section { padding-block: 68px 76px; }
  .lead { font-size: 2.05rem; }
  .section-intro { font-size: 1.75rem; }
  .facts-list { margin-top: 56px; }

  .facts-list > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .discipline-item,
  .project-item,
  .team-member {
    grid-template-columns: 44px 1fr;
    gap: 10px 12px;
  }

  .discipline-item p,
  .project-main,
  .team-member h3,
  .team-member p { grid-column: 2; }

  .project-year,
  .member-index { grid-row: 1 / span 2; }
  .project-main { grid-row: 1; }

  .record-status {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .status-key { grid-template-columns: repeat(2, 1fr); }
  .status-key > div:nth-child(2) { border-right: 0; }
  .status-key > div:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
  .status-key > div:nth-child(3) { padding-left: 0; }

  .period-heading {
    flex-direction: column;
    gap: 7px;
  }

  .calendar-empty { grid-template-columns: 32px 1fr; }
  .team-structure ul { grid-template-columns: repeat(2, 1fr); }
  .team-structure li:nth-child(2) { border-right: 0; }
  .team-structure li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .team-structure li:nth-child(3) { padding-left: 0; }

  .footer-inner {
    grid-template-columns: 1fr auto;
    gap: 8px 24px;
    padding-block: 26px;
  }

  .footer-inner p:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-inner a {
    grid-column: 2;
    grid-row: 1;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
