/* ==========================================================================
   HK Hacks — holding page
   One screen, no scroll on desktop. Type is sized against both viewport
   width and height so it always fits without a scrollbar.
   ========================================================================== */

:root {
  --bg:     #0e0d0c;
  --rule:   #2b2723;
  --rule-2: #453e37;
  --ink:    #f2eee7;
  --ink-2:  #a49d94;
  --ink-3:  #6d675f;
  --red:    #d2503c;

  --sans:    "Archivo", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --disp-set: "wdth" 72, "wght" 800;

  --wrap: 1180px;
  --gut: 32px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); width: 100%; }
@media (max-width: 560px) { :root { --gut: 20px; } }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--rule); flex: none; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: clamp(52px, 7vh, 64px);
}
.mark {
  display: inline-flex;
  align-items: center;
  font-variation-settings: "wdth" 76, "wght" 700;
  font-size: 1.08rem;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.mark-logo { height: 23px; width: auto; flex: none; margin-right: 13px; }
.mark .dot { color: var(--red); }
.back {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
  transition: color 0.18s;
}
.back:hover { color: var(--ink); }
.back::after { content: " \2197"; }

/* ---------- main ---------- */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(20px, 4vh, 48px) 0;
  min-height: 0;
}

.hero .wrap { text-align: center; }
.title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 34px);
}
.title-row .logo { height: min(7.4vw, 9.6vh); width: auto; flex: none; }
h1 {
  text-align: left;
  font-variation-settings: var(--disp-set);
  font-weight: 800;
  text-transform: uppercase;
  /* bounded by width and height, so one screen always holds it */
  font-size: min(9.6vw, 12vh);
  line-height: 0.84;
  letter-spacing: -0.02em;
}
h1 .dot { color: var(--red); }

.status {
  display: flex;
  align-items: baseline;
  gap: 14px;
  justify-content: center;
  margin-top: clamp(26px, 5vh, 54px);
  font-variation-settings: "wdth" 80, "wght" 700;
  font-size: clamp(1.1rem, 2.4vh, 1.65rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.status b { color: var(--red); font-weight: inherit; }
.dots { display: inline-flex; gap: 6px; margin-left: 2px; align-self: center; }
.dots i {
  width: 7px; height: 7px;
  background: var(--rule-2);
  animation: fill 1.8s steps(1, end) infinite;
}
.dots i:nth-child(2) { animation-delay: 0.45s; }
.dots i:nth-child(3) { animation-delay: 0.9s; }
@keyframes fill {
  0%, 24% { background: var(--red); }
  25%, 100% { background: var(--rule-2); }
}

.lede {
  margin-top: clamp(14px, 2.4vh, 22px);
  font-size: clamp(0.95rem, 1.75vh, 1.0625rem);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

.cta {
  margin-top: clamp(20px, 3.4vh, 34px);
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  align-items: baseline;
}
.arrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  border-bottom: 1px solid var(--rule-2);
  padding-bottom: 3px;
  transition: color 0.18s, border-color 0.18s;
}
.arrow::after { content: "\2192"; transition: transform 0.22s ease; }
.arrow:hover { color: var(--red); border-color: var(--red); }
.arrow:hover::after { transform: translateX(4px); }

/* ---------- facts ---------- */
.facts {
  margin-top: clamp(26px, 4.8vh, 52px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-2);
  max-width: none;
}
.facts span { display: inline-flex; align-items: center; }
.facts span + span::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--red);
  margin: 0 18px;
  flex: none;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: clamp(14px, 2.4vh, 24px) 0;
  flex: none;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.by { transition: color 0.18s; }
.by:hover { color: var(--ink); }

/* ---------- small screens: let it breathe and scroll ---------- */
@media (max-width: 720px) {
  h1 { font-size: 15vw; }
  .title-row { gap: 14px; }
  .title-row .logo { height: 46px; }
  .facts { font-size: 0.68rem; }
  .facts span + span::before { margin: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
  .dots i { animation: none; background: var(--red); }
}
