@font-face {
  font-family: "Burn";
  src: url("../fonts/TBJBurn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #1d1d1b;
  --accent: #ffe200;
  --text: #ffffff;
  --font-display: "Burn", "Impact", sans-serif;
  --font-body: "Onest", system-ui, sans-serif;
  /* 1px of the 1440×1024 desktop mockup, scaled to fit the viewport */
  --px: min(100vw / 1440, 100vh / 1024);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--bg); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.45;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

/* coming soon — desktop geometry follows the 1440×1024 mockup */
.soon {
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--px) * 128) calc(var(--px) * 76) calc(var(--px) * 110);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.headline {
  width: calc(var(--px) * 1288);
  display: flex;
  justify-content: space-between;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(var(--px) * 152);
  line-height: 0.82;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo {
  display: block;
  position: relative;
  z-index: 1;
  width: calc(var(--px) * 632);
  height: auto;
  margin: calc(var(--px) * -14) 0 0 calc(var(--px) * -4);
  /* the SVG is black; recolour to white */
  filter: invert(1);
}

.info {
  position: relative;
  width: calc(var(--px) * 714);
  margin: calc(var(--px) * 6) 0 0 calc(var(--px) * 2);
  display: grid;
}
.info > * { grid-area: 1 / 1; }

.about {
  max-width: max(calc(var(--px) * 300), 23em);
  font-size: max(10px, calc(var(--px) * 11));
  line-height: 1.45;
  text-transform: uppercase;
  align-self: start;
}

.tagline {
  position: relative;
  z-index: 1;
  justify-self: end;
  margin-top: calc(var(--px) * 84);
  color: var(--accent);
  font-weight: 300;
  font-size: calc(var(--px) * 61);
  line-height: 1.03;
  text-align: right;
  text-transform: uppercase;
}
.tagline span { display: block; }

.email {
  align-self: end;
  justify-self: start;
  margin-bottom: calc(var(--px) * 6);
  font-size: max(10px, calc(var(--px) * 11));
}

.heart {
  position: absolute;
  left: calc(var(--px) * 644);
  bottom: calc(var(--px) * -144);
  width: calc(var(--px) * 300);
  height: auto;
  color: var(--text);
  pointer-events: none;
}

/* tablet: small text no longer fits beside the tagline, so stack them */
@media (min-width: 761px) and (max-width: 1200px) {
  .about { grid-area: 1 / 1; }
  .tagline { grid-area: 2 / 1; margin-top: 20px; }
  .email { grid-area: 2 / 1; }
}

/* error pages reuse the same type */
.error-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 16px;
  text-align: center;
}
.error-page .headline { width: auto; font-size: clamp(96px, 20vw, 240px); }
.error-page .about { max-width: none; font-size: 13px; }
.error-page .about a { color: var(--accent); }

/* mobile */
@media (max-width: 760px) {
  .soon {
    padding: 48px 20px 64px;
    align-items: stretch;
    justify-content: center;
  }

  .headline {
    display: block;
    width: auto;
    font-size: 19.4vw;
    line-height: 0.86;
    white-space: normal;
  }
  .headline span { display: inline-block; }

  .logo {
    width: 88%;
    margin: -5vw 0 0 auto;
  }

  .info {
    width: 100%;
    margin: 32px 0 0;
    display: flex;
    flex-direction: column;
  }

  .about {
    max-width: 340px;
    font-size: 12px;
  }

  .tagline {
    align-self: flex-end;
    margin-top: 40px;
    font-size: 8.6vw;
  }

  .email {
    order: 3;
    align-self: flex-start;
    margin: 56px 0 0;
    font-size: 14px;
  }

  .heart {
    position: absolute;
    left: auto;
    right: -14px;
    top: auto;
    bottom: -48px;
    width: 46vw;
    max-width: 220px;
  }
}
