@font-face {
  font-family: "Porca";
  src: url("assets/fonts/Porca.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1b1b19;
  --paper: #f5f3ee;
  --muted-paper: #6b6a65;
  --muted-ink: #a9a79f;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(80px, 12vw, 160px);
  --display: "Porca", serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

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

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }
a:hover { opacity: .7; }
a:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.button--lg {
  height: 56px;
  padding: 0 26px;
  font-size: 24px;
}

/* Hero */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  display: flex;
  flex-direction: column;
}

.hero__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px var(--gutter);
}

.wordmark {
  font-family: var(--display);
  font-size: 26px;
  color: #fff;
}

.hero__body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  padding: 0 var(--gutter) clamp(48px, 8vw, 96px);
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  color: #fff;
}

/* The ASCII cherub on the right, with room above it for falling bills. */
.hero__art {
  align-self: center;
  justify-self: end;
  height: min(80svh, 860px);
  aspect-ratio: 3 / 4;
  max-width: 100%;
}

.hero__ascii {
  width: 100%;
  height: 100%;
  display: block;
}

.hero h1 {
  font-size: clamp(48px, 7.2vw, 128px);
  line-height: .92;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .hero__body {
    grid-template-columns: 1fr;
    align-content: space-between;
  }

  .hero__art {
    order: -1;
    justify-self: center;
    height: min(58svh, 540px);
  }
}

/* What we do */

.what {
  padding: var(--section-y) var(--gutter);
}

.what__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 8vw, 100px);
}

.what h2 {
  max-width: 1000px;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 40px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}

.card__num {
  font-size: 13px;
  color: var(--muted-paper);
}

.card h3 {
  font-size: 30px;
  line-height: 1.05;
}

.card p {
  font-size: 15px;
  line-height: 1.6;
}

/* Contact */

.contact {
  background: var(--ink);
  color: var(--paper);
  padding: var(--section-y) var(--gutter) 32px;
}

.contact__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 10vw, 120px);
}

.contact__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.contact h2 {
  font-size: clamp(48px, 8vw, 120px);
  line-height: .95;
  letter-spacing: -0.03em;
}

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(245, 243, 238, .2);
  padding-top: 20px;
  font-size: 13px;
  color: var(--muted-ink);
}
