/* Archivo (variable: weight 100–900, width 62–125%), self-hosted: no third-party requests, no cookies.
   Black + expanded width gives the heavy, wide KORPO-style lettering. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #ffffff;
  --ink:   #0b0b0b;
  --muted: #6f6d66;
  --font: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }

body {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.stage {
  align-self: center;
  width: 100%;
  padding: 64px 16px 32px;
  text-align: center;
}

/* KY-KO DESIGN — heavy, expanded, tight */
.name {
  font-weight: 900;
  font-stretch: 125%;
  font-size: 9.5vw;
  line-height: 0.92;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

/* LANDSCAPE ARCHITECTURE — light, wide, like "DEVELOPMENT" */
.sub {
  margin-top: 0.9em;
  font-weight: 400;
  font-stretch: 112%;
  font-size: clamp(1rem, 2.5vw, 2.3rem);
  letter-spacing: 0.01em;
}

/* WEBSITE UNDER CONSTRUCTION — small, tracked out */
.status {
  margin-top: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 500;
  font-stretch: 110%;
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  letter-spacing: 0.28em;
  color: var(--muted);
}

.foot {
  padding: 20px 16px 24px;
  text-align: center;
  font-size: 0.7rem;
  font-stretch: 110%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Typing effect (type.js) ---- */
.js .type { visibility: hidden; }                 /* until type.js has split the text */
.js .type.ready { visibility: visible; }
.js .type.ready .ch { visibility: hidden; }       /* every letter keeps its place: no layout jumps */
.js .type.ready .ch.on { visibility: visible; }

/* Zero-width caret, so moving it never shifts the text */
.caret {
  display: inline-block;
  position: relative;
  width: 0;
  height: 1em;
  vertical-align: baseline;
}
.caret::after {
  content: "";
  position: absolute;
  left: 0.06em;
  bottom: 0;
  width: max(2px, 0.07em);
  height: 0.74em;                /* about cap height */
  background: currentColor;
}
.caret.idle::after { animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Phones: the name breaks onto two lines and gets bigger */
@media (max-width: 640px) {
  .name { font-size: 15.5vw; }
  .name .w { display: block; }
  .sub { font-size: 4.3vw; margin-top: 1.1em; line-height: 1.35; }
  .sub .w { display: block; }
  .status { font-size: 0.66rem; letter-spacing: 0.2em; }
}
