/* =====================================================================
   KEYZBLAZE TECHNOLOGIES — holding page
   Self-contained bundle (index.html + styles.css + logo.png).
   Tokens, type and the blueprint motif are lifted verbatim from the real
   site's stylesheet so this page reads as the same brand, not a placeholder.

   REPLACE: this file will be swapped for the full site build once ready.
   Nothing here should be treated as permanent.
   ===================================================================== */

:root {
  --navy:#0A1628;        /* base background */
  --navy-2:#0F1E33;      /* elevated surface */
  --navy-3:#13253D;      /* cards */
  --line:rgba(138,155,179,0.16);        /* hairline dividers, grid */
  --line-strong:rgba(138,155,179,0.32); /* borders */
  --ink:#EAF0F8;         /* primary text */
  --muted:#8DA0BA;       /* secondary text */
  --muted-2:#63768F;     /* tertiary / fine print */
  --brass:#c49935;       /* single accent — CTA, hairline, highlight */
  --brass-hover:#EFC257;

  --font-display:"Bricolage Grotesque", system-ui, sans-serif;
  --font-body:"Inter", system-ui, sans-serif;
  --font-mono:"JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --gutter:clamp(1.25rem, 0.5rem + 3vw, 2.5rem);
  --radius:2px;
  --ease:cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* Visible keyboard focus everywhere (a11y floor) */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 1px;
}
:focus:not(:focus-visible) { outline: none; }

/* --- Blueprint signature: fixed hairline grid, masked to fade at edges.
   Atmosphere only, no motion. Not a gradient blob / orb. --- */
.blueprint-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 78%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 78%);
  opacity: 0.55;
}

/* --- Layout: centred single column, generous whitespace --- */
.stage {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 2rem + 6vw, 6rem) var(--gutter);
}
.holding {
  width: 100%;
  max-width: 640px;
  text-align: center;
}

/* --- Status line: mono, with a static brass pip. Signals ACTIVE. --- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
  text-align: left;
}
.status .pip {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 4px rgba(196,153,53,0.16);
}

/* --- Wordmark: letterspaced display type, not a logo font --- */
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "opsz" 72;
  font-size: clamp(2.75rem, 1.6rem + 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: 0.06em;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

/* --- Tagline: display type, gold-accented second clause --- */
.tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 1rem + 1.6vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 auto 1.75rem;
}
.tagline .accent { color: var(--brass); }

/* --- Single brass hairline rule --- */
.rule {
  width: 56px;
  height: 2px;
  background: var(--brass);
  margin: 0 auto 1.75rem;
}

/* --- Positioning sentence --- */
.positioning {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 44ch;
  margin: 0 auto clamp(2.25rem, 1.5rem + 2vw, 3rem);
}

/* --- CTA --- */
.actions {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 1rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease-out), background-color 0.2s var(--ease),
              border-color 0.2s var(--ease), box-shadow 0.22s var(--ease-out);
}
.btn--primary {
  background: var(--brass);
  color: var(--navy);
  border-color: var(--brass);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: var(--brass-hover);
  border-color: var(--brass-hover);
  box-shadow: 0 8px 20px rgba(196,153,53,0.22);
}
.btn--primary:active { transform: translateY(0); box-shadow: none; }
.btn-ico { flex: 0 0 auto; }

/* --- Secondary contact: quiet, not a competing CTA --- */
.secondary {
  font-size: 0.9rem;
  color: var(--muted-2);
  margin-bottom: 2rem;
}
.secondary a {
  color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.secondary a:hover { color: var(--brass); border-color: var(--brass); }

/* --- Social --- */
.social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease-out);
}
.social a:hover {
  color: var(--brass);
  border-color: var(--brass);
  transform: translateY(-2px);
}

/* --- Footer --- */
.site-footer {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
  background: var(--navy-2);
  padding: 1.5rem var(--gutter);
  text-align: center;
}
.site-footer .rc {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  text-transform: uppercase;
  line-height: 1.6;
}

/* ---------------------------------------------------------------------
   Motion: one subtle entrance (fade + rise), pure CSS so it works with
   JavaScript disabled. No looping, blinking or auto-playing motion.
--------------------------------------------------------------------- */
.reveal {
  animation: rise 0.7s var(--ease-out) both;
}
.reveal[data-delay="1"] { animation-delay: 0.08s; }
.reveal[data-delay="2"] { animation-delay: 0.16s; }
.reveal[data-delay="3"] { animation-delay: 0.24s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* Reduced motion: content lands in its final state instantly. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn--primary:hover, .social a:hover { transform: none !important; }
}
