:root {
  --fg: #fff; --dim: rgba(255,255,255,.55); --bg: #000;
  --ink: #f2f2f2; --soft: #c9c9cc; --faint: #7d7d84; --rule: rgba(255,255,255,.1);
  --gut: clamp(16px, 6vw, 88px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body { background: var(--bg); color: var(--fg); font-family: Inter, system-ui, sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- hero (the void) ---------- */
main {
  position: relative; z-index: 1; height: 100vh; height: 100svh; min-height: 520px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gut) clamp(96px, 16vh, 160px);
  pointer-events: none;
}
main a { pointer-events: auto; }

.tag {
  font: 12px/1 "Space Mono", monospace; letter-spacing: .18em; color: var(--dim);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

h1 { font-weight: 700; font-size: clamp(44px, 9vw, 120px); letter-spacing: -.045em; line-height: .95; }
h1 span { color: var(--dim); font-weight: 400; }
.line { margin-top: 18px; font-size: clamp(15px, 1.6vw, 19px); color: var(--dim); max-width: 36ch; }

.back {
  margin-top: 30px; align-self: flex-start;
  font: 13px/1 "Space Mono", monospace; color: var(--fg); text-decoration: none;
  border: 1px solid rgba(255,255,255,.3); padding: 12px 16px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.back:hover, .back:focus-visible { background: #fff; color: #000; outline: none; }

.hero-foot {
  position: absolute; z-index: 1; left: 0; right: 0; top: calc(100svh - 52px);
  display: flex; justify-content: space-between;
  padding: 0 var(--gut);
  font: 11px/1.5 "Space Mono", monospace; color: rgba(255,255,255,.55); letter-spacing: .08em;
}

/* ---------- Coritex footer ---------- */
.cx { position: relative; z-index: 2; background: #0a0a0a; border-top: 1px solid var(--rule); padding: 72px var(--gut) 34px; }
.cx-in { max-width: 1460px; margin: 0 auto; }
.cx-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 56px; }
.cx-logo { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; }
.cx-logo span { font: 700 17px "Space Mono", monospace; letter-spacing: .32em; text-transform: uppercase; color: var(--soft); }
.cx-about p { color: var(--soft); font-size: 16px; line-height: 1.8; max-width: 44ch; margin-top: 22px; }
.cx-about strong { color: var(--ink); font-weight: 500; }
.eu { display: inline-flex; align-items: center; gap: 12px; padding: 9px 14px; border: 1px solid var(--rule); border-radius: 4px; font: 12px "Space Mono", monospace; line-height: 1.4 !important; letter-spacing: .04em; }
.eu svg { width: 30px; height: 20px; flex: none; }

.cx-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.cx-cols .k { font: 700 13px "Space Mono", monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.cx-cols ul { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.cx-cols ul.two { grid-template-columns: auto auto; justify-content: start; column-gap: 40px; }
.cx-cols li { white-space: nowrap; }
/* silver sheen sweeping across the links, same as coritexnetwork.online */
.cx-cols a {
  font-size: 15px; text-decoration: none; color: transparent;
  background: linear-gradient(100deg, #fff 0%, #8a8a94 25%, #fff 50%, #9c9ca6 75%, #fff 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text;
  animation: sheen 6s linear infinite;
}
.cx-cols a:hover, .cx-cols a:focus-visible { background: #fff; -webkit-background-clip: text; background-clip: text; outline: none; }
@keyframes sheen { to { background-position: -220% 0; } }

/* domain links: the catiox.space gradient (cream, coral, lilac), animated so it flows */
.gx {
  background: linear-gradient(90deg, #f6d29a 0%, #ee8f6c 25%, #c79ae0 50%, #ee8f6c 75%, #f6d29a 100%) !important;
  background-size: 200% 100% !important;
  -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important;
  animation: flow 5s linear infinite !important;
}
.gx:hover, .gx:focus-visible { animation-duration: 1.6s !important; filter: brightness(1.2); }
@keyframes flow { to { background-position: -200% 0; } }

.cx-contact {
  margin-top: 80px; font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; color: transparent;
  background: linear-gradient(100deg, #fff 0%, #4b4b54 22%, #fff 44%, #7a7a84 66%, #fff 88%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text;
  animation: sheen 5s linear infinite;
}
/* the email takes the same black-and-white sheen as the rest of the line */
.cx-contact a { color: transparent; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; text-decoration-color: rgba(255,255,255,.35); transition: text-decoration-color .2s; overflow-wrap: anywhere; }
.cx-contact a:hover { text-decoration-color: #fff; }

.cx-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-top: 46px; padding-top: 20px; border-top: 1px solid var(--rule); }
.cx-bottom p { font-size: 13px; color: var(--faint); letter-spacing: .03em; }
.cx-bottom b { color: var(--soft); font-weight: 500; }

@media (max-width: 1100px) {
  .cx-top { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .cx { padding-top: 56px; }
  .cx-cols { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .cx-cols ul.two { column-gap: 18px; }
  .cx-cols li { white-space: normal; overflow-wrap: break-word; }
  .cx-cols a { font-size: 14px; }
  .eu { max-width: 100%; }
  .cx-contact { margin-top: 56px; }
}
@media (prefers-reduced-motion: reduce) { .dot, .cx-cols a, .cx-contact { animation: none; } .gx { animation: none !important; } }

/* ---------- professional pass (22 Nov 2026): calm footer like coritexnetwork.online ---------- */
.cx-cols a { color: #b9b9c0; background: none; -webkit-background-clip: border-box; background-clip: border-box; animation: none; transition: color .2s; }
.cx-cols a:hover, .cx-cols a:focus-visible { color: #fff; background: none; }
.cx-contact { color: var(--soft); background: none; -webkit-background-clip: border-box; background-clip: border-box; animation: none; }
.cx-contact a { color: #fff; }
