@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #3b495c;
  --accent: #db321c;
  --paper: #f5f3ee;
  --muted: #6d7580;
  --line: rgba(59, 73, 92, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 28px;
}

.brand {
  display: grid;
  grid-template-columns: minmax(180px, 360px) 1fr;
  gap: 32px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.logo {
  width: 100%;
  height: auto;
  display: block;
}

.eyebrow {
  justify-self: end;
  margin: 0 0 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.hero {
  display: grid;
  grid-template-columns: 16px minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 34px;
  align-items: end;
  padding: 72px 0 82px;
}

.accent {
  width: 4px;
  height: 100%;
  min-height: 150px;
  background: var(--accent);
  align-self: stretch;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.intro {
  margin: 0 0 8px;
  max-width: 34rem;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.5;
  font-weight: 300;
}

.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project {
  padding: 42px 42px 48px 0;
}

.project + .project {
  border-left: 1px solid var(--line);
  padding-left: 42px;
}

.project-label {
  margin: 0 0 46px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.project p:last-child {
  margin: 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  padding-top: 24px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.footer span:nth-child(2) {
  text-align: center;
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 30px, 720px);
    padding-top: 30px;
  }

  .brand {
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  .logo {
    max-width: 250px;
  }

  .hero {
    grid-template-columns: 6px 1fr;
    gap: 22px;
    padding: 68px 0 76px;
  }

  .hero .intro {
    grid-column: 2;
    margin-top: 14px;
  }

  .accent {
    grid-row: 1 / span 2;
  }

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

  .project {
    padding: 34px 0 38px;
  }

  .project + .project {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }

  .project-label {
    margin-bottom: 28px;
  }

  .footer {
    grid-template-columns: 1fr auto;
  }

  .footer span:nth-child(2) {
    display: none;
  }
}

@media (max-width: 520px) {
  .brand {
    grid-template-columns: 1fr;
  }

  .eyebrow {
    justify-self: start;
  }

  h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .intro {
    font-size: 18px;
  }
}


a {
  color: inherit;
}

.legal-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.legal-nav a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  border-bottom-color: currentColor;
}

.legal-page {
  max-width: 820px;
  padding: 78px 0 100px;
}

.legal-page .back-link {
  display: inline-block;
  margin-bottom: 56px;
  font-size: 13px;
  text-decoration: none;
}

.legal-page .back-link:hover,
.legal-page .back-link:focus-visible {
  text-decoration: underline;
}

.legal-page h1 {
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 600;
  margin-bottom: 52px;
}

.legal-page h2 {
  margin-top: 44px;
  font-size: 24px;
  font-weight: 600;
}

.legal-page p,
.legal-page li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.legal-page address {
  font-style: normal;
  font-size: 18px;
  line-height: 1.7;
}

.legal-page ul {
  padding-left: 1.2em;
}

@media (max-width: 820px) {
  .hero {
    padding: 56px 0 64px;
  }

  .footer {
    grid-template-columns: 1fr auto;
  }

  .legal-nav {
    justify-content: flex-start;
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: 4px;
  }

  .legal-page {
    padding-top: 48px;
  }
}
