:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --gray: #5c5c5c;
  --red: #d3222a;
  --shell: min(1100px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #ffffff;
  color-scheme: light;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  border-bottom: 1px solid var(--black);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.brand-symbol {
  color: var(--red);
  font-size: 1.25rem;
}

.site-header nav,
.site-footer nav {
  display: flex;
  gap: 22px;
}

.site-header nav a {
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hero {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 54px;
  min-height: 66vh;
  padding-block: 72px 56px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3.15rem, 7vw, 6.35rem);
  line-height: .94;
  letter-spacing: -.055em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
  letter-spacing: -.04em;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.6rem;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--gray);
  font-size: clamp(1.12rem, 2vw, 1.4rem);
}

.hero-doodle svg,
.contact-doodle svg {
  width: 100%;
  height: auto;
}

.hero-doodle {
  transform: rotate(1deg);
}

svg path,
svg rect {
  fill: none;
  stroke: var(--black);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

svg .paper {
  fill: var(--white);
}

svg .scribble {
  fill: none;
  stroke-width: 2;
}

svg .accent {
  fill: none;
  stroke: var(--red);
}

.support-section {
  padding-block: 18px 12px;
}

.support-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  align-items: center;
  max-width: 860px;
  margin-inline: auto;
  padding: 26px 30px;
  background: var(--white);
  border: 1px solid var(--black);
  border-radius: 12px;
}

.support-label {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.support-card h2 {
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  white-space: nowrap;
}

.support-card p {
  margin-bottom: 0;
  color: var(--gray);
  font-size: 1rem;
}

.section {
  padding-block: 72px;
}

.section-title {
  margin-bottom: 34px;
}

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

.card {
  min-height: 0;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--black);
  border-radius: 14px;
}

.number {
  display: block;
  margin-bottom: 26px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
  color: var(--gray);
}

.card li::marker {
  color: var(--black);
}

.projects {
  padding-top: 56px;
}

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

.project-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.project-card p,
.contact p {
  margin-bottom: 0;
  color: var(--gray);
}

.project-doodle svg {
  width: 100%;
  height: auto;
}

.contact {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 46px;
  align-items: center;
  padding-top: 82px;
  padding-bottom: 78px;
}

.contact p {
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.contact a {
  font-weight: 700;
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--black);
  color: var(--gray);
  font-size: .9rem;
}

.footer-home {
  color: var(--black);
  font-weight: 800;
  text-decoration: none;
}

.site-footer nav a {
  font-weight: 700;
  text-underline-offset: 3px;
}

@media (max-width: 820px) {
  .hero,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-doodle {
    max-width: 460px;
    margin-inline: auto;
  }

  .support-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .support-card h2 {
    white-space: normal;
  }

  .contact-doodle {
    max-width: 150px;
  }
}

@media (max-width: 700px) {
  .service-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: min(100% - 22px, 1100px);
  }

  .site-header {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding-block: 18px;
  }

  .brand {
    align-self: flex-start;
    font-size: 1rem;
  }

  .site-header nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .site-header nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 6px;
    border: 1px solid var(--black);
    border-radius: 999px;
    font-size: .72rem;
    letter-spacing: .045em;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.35rem);
  }

  .section {
    padding-block: 54px;
  }

  .card {
    padding: 24px;
  }

  .project-card {
    grid-template-columns: 80px 1fr;
    padding-inline: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}
