@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Black";
  src: url("/fonts/archivo-black-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --night: #0e1a2b;
  --night-2: #16253a;
  --amber: #f2a93b;
  --amber-ink: #a8660c;
  --steel: #5b7189;
  --haze: #8fa3b8;
  --concrete: #e9edf1;
  --white: #ffffff;
  --display: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--concrete);
  color: var(--night);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero */

.hero {
  background: var(--night);
  color: var(--concrete);
  padding: 4rem 0 4.5rem;
}

.lockup {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "mark name"
    ". descriptor";
  column-gap: 1.25rem;
  align-items: center;
  margin: 0 0 2rem;
  font-weight: normal;
}

.mark {
  grid-area: mark;
  width: clamp(3.5rem, 11vw, 7.5rem);
  height: auto;
}

.mark .sun {
  fill: var(--amber);
}

.mark .ink {
  fill: var(--concrete);
}

.name {
  grid-area: name;
  font-family: var(--display);
  font-size: clamp(2rem, 8.5vw, 5.75rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.word-2 {
  color: var(--amber);
}

.descriptor {
  grid-area: descriptor;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.75rem;
  color: var(--haze);
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(0.7rem, 1.9vw, 1.2rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.descriptor::before {
  content: "";
  flex: 0 0 auto;
  width: 2.5rem;
  height: 3px;
  background: var(--steel);
}

.lede {
  max-width: 40rem;
  margin: 0 0 2rem;
  color: var(--concrete);
  font-size: 1.2rem;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 6px;
  background: var(--amber);
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: #f5b95c;
}

/* Sections */

.band {
  padding: 4rem 0;
  background: var(--white);
}

.band-light {
  background: var(--concrete);
}

h2 {
  margin: 0 0 2rem;
  font-family: var(--display);
  font-weight: normal;
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  line-height: 1.15;
  text-transform: uppercase;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}

p {
  margin: 0 0 1rem;
}

.steps {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding-top: 1rem;
  border-top: 3px solid var(--night);
}

.num {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--amber-ink);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.95rem;
}

.num::before {
  content: "0";
}

.steps p,
.card p {
  margin: 0;
  color: #33465c;
}

.grid {
  display: grid;
  gap: 1rem;
}

.card {
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--white);
  border-left: 4px solid var(--amber);
}

.contact p {
  max-width: 40rem;
}

.email {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(1rem, 4vw, 1.35rem);
  overflow-wrap: anywhere;
}

/* Footer */

.footer {
  padding: 2rem 0;
  background: var(--night);
  color: var(--haze);
  font-size: 0.9rem;
}

.footer p:last-child {
  margin: 0;
}

@media (min-width: 40rem) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 64rem) {
  .hero {
    padding: 6rem 0;
  }
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Holding page (D-63): the hero fills the screen, the footer sits at the bottom. */
.holding {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--night);
}

.holding .hero {
  flex: 1;
}

.email-line a {
  color: var(--haze);
}
