/* Waitohu Construction — holding page
   Aesthetic: architectural blueprint. Dark drafting-table backdrop,
   chevron motif lifted from the logo mark, technical dimension-line
   and drafting-corner details standing in for "under construction". */

:root {
  --blue: #29b6e8;
  --blue-soft: rgba(41, 182, 232, 0.5);
  --blue-dim: rgba(41, 182, 232, 0.14);
  --grey: #4a4f58;
  --grey-light: #9aa3ad;
  --bg: #12151a;
  --bg-panel: #1a1e25;
  --text: #eef2f6;
  --text-muted: #8991a0;
  --line: rgba(41, 182, 232, 0.08);
  --font-display: "Big Shoulders Display", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

/* ---------- Blueprint grid backdrop ---------- */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ---------- Chevron texture, echoing the logo's zigzag mark ---------- */
.chevron-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(135deg, var(--grey) 25%, transparent 25.5%),
    linear-gradient(225deg, var(--grey) 25%, transparent 25.5%),
    linear-gradient(315deg, var(--blue) 25%, transparent 25.5%),
    linear-gradient(45deg, var(--blue) 25%, transparent 25.5%);
  background-position: 0 0, 60px 0, 60px -60px, 0 60px;
  background-size: 120px 120px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, transparent 20%, #000 68%);
  mask-image: radial-gradient(circle at 50% 45%, transparent 20%, #000 68%);
}

/* ---------- Slow surveying scan-line ---------- */
.scan-line {
  position: fixed;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 1;
  background: linear-gradient(90deg, transparent, var(--blue-soft), transparent);
  box-shadow: 0 0 12px 1px var(--blue-soft);
  mix-blend-mode: screen;
  animation: scan 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scan {
  0%   { top: -2%; opacity: 0; }
  10%  { opacity: 0.6; }
  50%  { top: 60%; opacity: 0.6; }
  90%  { opacity: 0; }
  100% { top: 104%; opacity: 0; }
}

/* ---------- Drafting-frame corner marks ---------- */
.corner {
  position: fixed;
  width: 22px;
  height: 22px;
  z-index: 2;
  border-color: var(--blue-soft);
  opacity: 0.7;
  pointer-events: none;
}
.corner--tl { top: 20px; left: 20px; border-top: 1.5px solid; border-left: 1.5px solid; }
.corner--tr { top: 20px; right: 20px; border-top: 1.5px solid; border-right: 1.5px solid; }
.corner--bl { bottom: 20px; left: 20px; border-bottom: 1.5px solid; border-left: 1.5px solid; }
.corner--br { bottom: 20px; right: 20px; border-bottom: 1.5px solid; border-right: 1.5px solid; }

/* ---------- Layout ---------- */
.site {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 48px 24px;
  width: 100%;
}

.card {
  position: relative;
  width: min(560px, 100%);
  background: linear-gradient(180deg, var(--bg-panel), #15181e);
  border: 1px solid rgba(41, 182, 232, 0.22);
  padding: clamp(36px, 6vw, 64px) clamp(24px, 6vw, 56px);
  text-align: center;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 200px;
  background: radial-gradient(closest-side, rgba(41, 182, 232, 0.35), transparent);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

.logo {
  display: block;
  width: clamp(170px, 32vw, 240px);
  height: auto;
  margin: 0 auto 28px;
}

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(41, 182, 232, 0.4);
  padding: 7px 16px 6px;
  margin-bottom: 22px;
}
.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 var(--blue-soft);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(41, 182, 232, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(41, 182, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(41, 182, 232, 0); }
}

/* ---------- Headline ---------- */
h1 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 20px;
}

.dimension-line {
  display: block;
  width: min(100%, 300px);
  height: 16px;
  margin: 0 auto 24px;
  overflow: visible;
}
.dimension-line line {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: draw 1.1s 0.75s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.subtext {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 40ch;
  margin: 0 auto 32px;
}

/* ---------- Contact ---------- */
.contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-bottom: 32px;
}
.contact__link {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.contact__link:hover,
.contact__link:focus-visible {
  color: var(--blue);
  border-color: var(--blue-soft);
}
.contact__label {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-right: 10px;
}

/* ---------- CTA ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  border: 1px solid var(--blue);
  padding: 14px 26px;
  transition: background 0.25s ease, color 0.25s ease;
}
.cta:hover,
.cta:focus-visible {
  background: var(--blue);
  color: #0c0e12;
}
.cta__arrow {
  transition: transform 0.25s ease;
}
.cta:hover .cta__arrow {
  transform: translateX(4px);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--grey-light);
  text-align: center;
  max-width: 80ch;
  padding: 0 16px;
}

/* ---------- Reveal-on-load choreography ---------- */
.reveal {
  opacity: 0;
  animation: reveal 0.8s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(var(--d) * 0.1s + 0.1s);
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .contact { gap: 18px; }
  .contact__label { display: block; margin: 0 0 2px; }
  .corner { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .dimension-line line { animation: none; stroke-dashoffset: 0; }
  .scan-line { animation: none; display: none; }
  .badge__dot { animation: none; }
}
