/* ============================================================
   Kingston — landing placeholder
   Self-hosted font, zero external calls.
   ============================================================ */

/* Anton — self-hosted subsets (latin + latin-ext for č/š/ž) */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/anton-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/anton-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --sun-top: #ff6a00;
  --sun-mid: #ff9e1b;
  --sun-bottom: #ffd23f;
  --ink: #211405;
  --red: #e5352b;
  --frond: #1e7d3a;
  --frond-dark: #145c29;
}

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

html,
body {
  height: 100%;
  margin: 0;
}

body {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 5vw, 4rem);
  font-family: "Anton", "Arial Narrow", system-ui, sans-serif;
  color: var(--ink);
  text-align: center;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--sun-top) 0%,
    var(--sun-mid) 45%,
    var(--sun-bottom) 100%
  );
}

/* Decorative tropical corners — purely visual, hidden from AT */
.decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.decor svg {
  position: absolute;
  width: clamp(150px, 34vw, 420px);
  height: auto;
}
.decor .tl {
  top: -2%;
  left: -3%;
  transform: rotate(4deg);
}
.decor .br {
  bottom: -3%;
  right: -3%;
  transform: scaleX(-1) rotate(4deg);
}
.decor .star {
  width: clamp(26px, 5vw, 54px);
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.08));
}
.decor .s1 { top: 14%; right: 9%; transform: rotate(-18deg); }
.decor .s2 { bottom: 18%; left: 8%; transform: rotate(22deg); }
.decor .s3 { top: 62%; right: 16%; width: clamp(18px, 3vw, 34px); transform: rotate(8deg); }

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(94vw, 54rem);
  margin-inline: auto;
}

.wordmark {
  margin: 0;
  line-height: 0.86;
  letter-spacing: 0.01em;
  font-size: clamp(2.75rem, 15vw, 11rem);
  text-transform: uppercase;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.14);
}
.wordmark .king { color: var(--ink); }
.wordmark .ston { color: var(--red); }

.headline {
  margin: clamp(1rem, 3vw, 1.75rem) auto 0;
  max-width: 22ch;
  line-height: 1.06;
  letter-spacing: 0.005em;
  font-size: clamp(1.35rem, 5.5vw, 2.9rem);
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.18);
}

.headline .accent { color: var(--red); }

/* subtle base "horizon" glow to seat the wordmark */
main::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.5rem;
  width: 60%;
  height: 6px;
  transform: translateX(-50%);
  background: rgba(33, 20, 5, 0.18);
  border-radius: 50%;
  filter: blur(2px);
}

@media (prefers-reduced-motion: no-preference) {
  .decor .star { animation: bob 6s ease-in-out infinite; }
  .decor .s2 { animation-delay: -2s; }
  .decor .s3 { animation-delay: -4s; }
}
@keyframes bob {
  50% { transform: translateY(-6px) rotate(-18deg); }
}
