/* ---------------------------------------------------------------
   Fonts
   --------------------------------------------------------------- */

@font-face {
  font-family: "MBA Slice Mono";
  src: url("fonts/MBASliceMono-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --font-body: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-headline: "MBA Slice Mono", var(--font-body);
  --font-label: "Retro Computer", var(--font-body);

  --bg: #0a0a0a;
  --fg: #ffffff;
  --fg-dim: #6e6e6e;
  --rule: #3a3a3a;

  --pad: 32px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

/* ---------------------------------------------------------------
   Page shell — 32px from every edge, always.
   --------------------------------------------------------------- */

.page {
  min-height: 100svh;
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* --- top row ---------------------------------------------------- */

.top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: block;
  line-height: 0;
}

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

.build {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 1px solid var(--rule);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.build:hover,
.build:focus-visible {
  border-color: var(--fg);
}

/* --- middle band ------------------------------------------------ */

.middle {
  flex: 1;
}

.headline {
  margin: 0;
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@media (max-width: 1199px) {
  .headline { font-size: 30px; }
}

@media (min-width: 2400px) {
  .headline { font-size: 72px; }
}

.intro {
  /* Sized to reproduce the reference wrap. Longest line needs 743px; must stay
     under 769px or "brand," pulls up onto line 3. Measured, not guessed.
     Re-measure if the copy, font size, or letter-spacing changes. */
  max-width: 756px;
  margin: 24px 0 0;
  color: var(--fg-dim);
}

/* --- bottom band ------------------------------------------------ */

.bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.columns {
  display: flex;
  gap: 96px;
}

.column-title {
  margin: 0 0 32px;
  font-family: var(--font-label);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.list {
  color: var(--fg-dim);
  text-transform: uppercase;
}

.list li { margin-bottom: 10px; }
.list li:last-child { margin-bottom: 0; }

.list--arrow li::before { content: "↳ "; }
.list--dash li::before  { content: "— "; }
.list--dash .more::before { content: "+ "; }

.availability {
  margin: 0;
  color: var(--fg-dim);
  text-transform: uppercase;
  text-align: right;
  white-space: nowrap;
}

/* ---------------------------------------------------------------
   Mobile — one vertical stack:
   logo → headline → info → Let's Build → full-stack → past collabs
   --------------------------------------------------------------- */

@media (max-width: 768px) {
  .page {
    gap: 48px;
  }

  .top {
    display: contents;
  }

  .logo { order: 1; }

  .middle {
    order: 2;
    flex: 0 0 auto;
  }

  .build {
    order: 3;
    align-self: flex-start;
  }

  .bottom {
    order: 4;
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
  }

  .columns {
    flex-direction: column;
    gap: 48px;
  }

  .headline {
    font-size: 24px;
  }

  /* Forced two-line break is a desktop composition; let it wrap on phones. */
  .headline br { display: none; }

  .intro { margin-top: 28px; }

  .column-title { margin-bottom: 24px; }

  .availability { text-align: left; }
}
