@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/inter-latin-variable.woff2") format("woff2");
}

:root {
  color-scheme: light;
  color: #070707;
  background: #fff;
  font-family: "Inter", Arial, sans-serif;
  font-synthesis: none;
  --gutter: clamp(24px, 3.4vw, 56px);
  --columns: minmax(0, 2.15fr) minmax(0, 1fr);
  --divider: #aaa;
}

* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
p, h1, h2 { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #070707; outline-offset: 6px; }
#main-content:focus { outline: none; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 12px 18px;
  background: #070707;
  color: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.billboard {
  display: grid;
  grid-template-columns: var(--columns);
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  max-width: 2200px;
  height: 100vh;
  height: 100svh;
  min-height: 480px;
  margin-inline: auto;
}

.site-header {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: var(--columns);
}
.brand-cell { padding: clamp(24px, 4.4vh, 52px) var(--gutter) 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: clamp(40px, 4vw, 60px);
  aspect-ratio: 1;
  padding-right: .07em;
  color: #fff;
  background: #070707;
  font-size: clamp(25px, 2.55vw, 38px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.075em;
}
.role {
  border-left: 1px solid var(--divider);
  padding: clamp(52px, 9.8vh, 112px) var(--gutter) 0;
  font-size: clamp(17px, 2.15vw, 32px);
  line-height: 1.22;
  letter-spacing: -.035em;
}
.role span { display: block; }

.main-layout {
  grid-column: 1;
  min-height: 0;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vh, 36px);
  padding: 0 var(--gutter) clamp(28px, 4vh, 48px);
}
.nameplate {
  container-type: size;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 0;
}
h1 {
  font-size: min(14vw, 30vh);
  font-size: min(22.8cqw, 64cqh);
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: .78;
  text-transform: uppercase;
}
h1 span { display: block; white-space: nowrap; }
h2 {
  font-size: clamp(28px, 3.9vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.045em;
}
h2 span { display: block; }
.description {
  max-width: 32em;
  margin-top: clamp(16px, 2vh, 24px);
  font-size: clamp(17px, 2.2vw, 30px);
  line-height: 1.35;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.project-links {
  grid-column: 2;
  grid-row: 2;
  border-left: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(24px, 3.8vh, 48px);
  min-width: 0;
  padding: 0 var(--gutter) clamp(28px, 4vh, 48px);
}
.project-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  min-height: 48px;
  padding-block: 3px 8px;
  gap: clamp(12px, 1.2vw, 22px);
  line-height: 1.18;
  white-space: nowrap;
  letter-spacing: -.045em;
}
.project-links a span {
  text-decoration: underline;
  text-decoration-thickness: max(1px, .035em);
  text-underline-offset: .15em;
}
.project-links a:hover span { text-decoration-thickness: max(2px, .06em); }
.project-links svg { width: .82em; height: .82em; flex: none; stroke: currentColor; stroke-width: 1.4; }
.primary-link { font-size: clamp(28px, 4.1vw, 68px); font-weight: 750; }
.secondary-link { font-size: clamp(18px, 2.2vw, 36px); font-weight: 500; }

.site-footer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: var(--columns);
  line-height: 1.4;
  letter-spacing: -.025em;
}
.site-footer span { padding: 14px var(--gutter) clamp(24px, 4vh, 48px); }
.integrity { font-size: clamp(12px, 1.7vw, 24px); }
.copyright { border-left: 1px solid var(--divider); font-size: clamp(11px, 1.15vw, 18px); }

@media (max-height: 700px) and (min-width: 901px) {
  :root { --gutter: clamp(24px, 2.8vw, 48px); }
  .brand-cell { padding-top: 16px; }
  .brand-mark { width: 34px; font-size: 22px; }
  .role { padding-top: 32px; font-size: clamp(16px, 1.8vw, 26px); }
  .main-layout { gap: 16px; padding-bottom: 16px; }
  h2 { font-size: clamp(26px, 3vw, 48px); }
  .description { margin-top: 12px; font-size: clamp(16px, 1.8vw, 22px); }
  .project-links { gap: 20px; padding-bottom: 16px; }
  .primary-link { font-size: clamp(27px, 3.3vw, 48px); }
  .secondary-link { font-size: clamp(17px, 1.9vw, 28px); }
  .site-footer span { padding-top: 10px; padding-bottom: 16px; }
  .integrity { font-size: clamp(12px, 1.45vw, 20px); }
  .copyright { font-size: clamp(11px, 1.05vw, 15px); }
}

@media (max-width: 900px) {
  :root { --gutter: clamp(24px, 4vw, 36px); }
  .billboard { display: flex; flex-direction: column; height: auto; min-height: 100vh; min-height: 100svh; }
  .site-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px var(--gutter) 0; }
  .brand-cell { padding: 0; }
  .brand-mark { width: 36px; font-size: 23px; }
  .role { max-width: 230px; padding: 0; border: 0; font-size: 11px; line-height: 1.4; text-align: right; letter-spacing: -.02em; }
  .main-layout { display: flex; flex-direction: column; gap: 28px; padding: 34px var(--gutter) 0; flex: none; }
  .nameplate { container-type: inline-size; flex: none; }
  h1 { font-size: 21vw; font-size: 22.8cqw; line-height: .82; }
  h2 { font-size: clamp(24px, 7vw, 48px); line-height: 1.1; letter-spacing: -.04em; }
  .description { margin-top: 16px; font-size: clamp(17px, 3.5vw, 22px); line-height: 1.45; }
  .project-links { border-left: 0; border-top: 1px solid var(--divider); margin: 24px var(--gutter) 0; padding: 20px 0 26px; gap: 14px; flex: none; }
  .primary-link { font-size: clamp(32px, 9.5vw, 46px); }
  .secondary-link { font-size: clamp(19px, 5.8vw, 30px); }
  .site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; margin-top: auto; padding: 0 var(--gutter) 22px; }
  .site-footer span { padding: 0; border: 0; font-size: 11px; }
}

@media (max-width: 360px) {
  .site-footer { flex-direction: column; align-items: flex-start; gap: 6px; }
}
