/* Coming-soon page. Atelier register, house style v3 tokens (draft). */

:root {
  --inkt: #1e2b26;
  --papier: #f4eee3;
  --kalk: #fbf8f2;
  --baksteen: #b5482e;
  --schelde: #2f5d5a;
  --oker: #d9a441;
  --potlood: #3b3f3c;
  --salie: #56655a;
  --raster: #e4dccb;
  --schelde-licht: #dde8e3;
  --oker-licht: #f5e3b3;
  --f-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", sans-serif;
  --f-display: Fraunces, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--papier);
  background-image:
    linear-gradient(to right, var(--raster) 1px, transparent 1px),
    linear-gradient(to bottom, var(--raster) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  color: var(--inkt);
  font-family: var(--f-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.61;
  hyphens: auto;
  text-align: left;
}

.skip {
  position: absolute;
  left: 12px;
  top: 8px;
  transform: translateY(-150%);
  background: var(--inkt);
  color: var(--kalk);
  padding: 12px 16px;
  min-height: 44px;
  border-radius: 6px;
  z-index: 2;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

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

::selection {
  background: var(--oker-licht);
  color: var(--inkt);
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  align-items: safe center;
  justify-content: center;
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 24px;
}

.sheet {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 22px;
  row-gap: 36px;
  align-items: center;
  background: var(--kalk);
  border: 1px solid var(--raster);
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(30, 43, 38, 0.04), 0 18px 40px rgba(30, 43, 38, 0.06);
  padding: 44px 40px 40px;
}

.mark {
  width: 64px;
  height: 64px;
  display: block;
}

.word {
  display: block;
  height: 58px;
  width: auto;
  max-width: 100%;
  margin: 0;
}

.copy {
  grid-column: 1 / -1;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--salie);
}

h1 {
  margin: 0 0 18px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 44px;
  line-height: 48px;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1, "wght" 500;
  letter-spacing: -0.02em;
  hyphens: manual;
  text-wrap: balance;
}

h1 .stop {
  color: var(--baksteen);
}

.lede {
  margin: 0 0 16px;
  max-width: 34ch;
  font-family: var(--f-display);
  font-weight: 400;
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  font-variation-settings: "opsz" 24, "SOFT" 80, "WONK" 1, "wght" 400;
  hyphens: manual;
  text-wrap: pretty;
}

.lede mark {
  background: var(--oker-licht);
  color: inherit;
  padding: 0 0.12em;
}

.body {
  margin: 0 0 28px;
  max-width: 38em;
  color: var(--potlood);
  font-size: 18px;
  line-height: 1.61;
}

.soon {
  margin: 0;
  max-width: 38em;
  background: var(--schelde-licht);
  color: var(--inkt);
  border-radius: 4px;
  padding: 16px 18px;
  font-size: 18px;
  line-height: 1.61;
}

footer {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4px 0 32px;
}

footer .inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

footer p {
  margin: 0;
  color: var(--potlood);
  font-size: 16px;
  line-height: 1.5;
  background: var(--papier);
}

footer .domain {
  margin-top: 4px;
  color: var(--salie);
}

@media (min-width: 760px) {
  body {
    font-size: 20px;
    line-height: 1.6;
  }

  main {
    padding: 56px 0 20px;
  }

  .sheet {
    column-gap: 28px;
    row-gap: 44px;
    padding: 56px 60px 52px;
  }

  .mark {
    width: 76px;
    height: 76px;
  }

  .word {
    height: 70px;
  }

  h1 {
    font-size: 72px;
    line-height: 76px;
    margin-bottom: 22px;
  }

  .lede {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .body,
  .soon {
    font-size: 20px;
    line-height: 1.6;
  }

  .body {
    margin-bottom: 32px;
  }
}

@media (max-width: 420px) {
  main,
  footer {
    width: min(860px, calc(100% - 24px));
  }

  .sheet {
    column-gap: 16px;
    row-gap: 28px;
    padding: 28px 22px 28px;
  }

  .mark {
    width: 48px;
    height: 48px;
  }

  .word {
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skip {
    transition: none;
  }
}
