/* UnfoldAI — Coming Soon
   Ported from Claude Design handoff (Coming Soon v13 — Physical AI).
   Values transcribed exactly from the design tokens; clamp() expressions preserved. */

html, body { margin: 0; padding: 0; background: #0B0F14; }
* { box-sizing: border-box; }

a { color: #7E9BFF; text-decoration: none; }
a:hover { color: #2457FF; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulseDot {
  0%, 100% { opacity: .35; }
  50%      { opacity: 1; }
}

/* ── Root layout ─────────────────────────────────────── */
.page {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: #0B0F14;
  color: #E8ECF2;
  font-family: 'Space Grotesk', Helvetica, sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.field-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 40%, rgba(11,15,20,0) 0%, rgba(11,15,20,.55) 55%, rgba(11,15,20,.92) 100%);
  pointer-events: none;
}

/* ── Header ──────────────────────────────────────────── */
.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(24px, 5vw, 72px);
}

.logo {
  height: 40px;
  width: auto;
  display: block;
  position: relative;
  top: 10px; /* visual alignment only — must not push content below */
}

.status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8A97A6;
}

.status__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2457FF;
  animation: pulseDot 2.4s ease-in-out infinite;
}

/* ── Main ────────────────────────────────────────────── */
.main {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(12px, 2.5vh, 32px) clamp(24px, 5vw, 72px) clamp(32px, 6vh, 80px);
  max-width: 1180px;
}

.eyebrow {
  margin: 0 0 28px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #E8ECF2;
  animation: fadeUp .8s ease both;
}
.eyebrow__key {
  font-size: 1.3em;
  font-weight: 600;
  color: #2457FF;
}

.headline {
  margin: 0;
  font-size: clamp(38px, 6.4vw, 86px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 500;
  max-width: 15ch;
  text-wrap: balance;
  animation: fadeUp .9s ease .08s both;
}
.headline__accent {
  font-style: normal;
  color: #7E9BFF;
}

.lede {
  margin: 30px 0 0;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  color: #9AA7B6;
  max-width: 56ch;
  text-wrap: pretty;
  animation: fadeUp .9s ease .16s both;
}
.lede__hl { color: #2457FF; }

/* Cycling icon + word slot — fixed size is load-bearing (see handoff). */
.cycle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  width: 9.3em;
  height: .8em;
  overflow: visible;
  vertical-align: middle;
  position: relative;
  top: -2px;
  line-height: 1;
  font-size: 1.35em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #7E9BFF;
}
.cycle__icon {
  flex: none;
  transition: opacity .28s ease, transform .38s cubic-bezier(.4,0,.2,1), filter .28s ease;
}
.cycle__word {
  display: inline-block;
  transition: opacity .28s ease, transform .38s cubic-bezier(.4,0,.2,1), filter .28s ease;
}

/* ── Pillar row ──────────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  align-items: center;
  gap: 0 clamp(14px, 1.6vw, 26px);
  margin: 36px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(232,236,242,.1);
  animation: fadeUp .9s ease .24s both;
}
.pillar {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(11px, 1.25vw, 18px);
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #2457FF;
  display: flex;
  align-items: center;
  gap: 0.4em; /* separator hugs its tag; wider gap between pillars comes from the grid */
}
.pillar__sep { color: rgba(232,236,242,.22); }

/* ── Scene panel + caption ───────────────────────────── */
.scene {
  position: relative;
  width: 100%;
  aspect-ratio: 6 / 1;
  height: auto;
  max-height: 180px;
  margin: 18px 0 0;
  border: 1px solid rgba(232,236,242,.08);
  animation: fadeUp .9s ease .28s both;
}
.scene__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.scene-caption {
  margin: 10px 0 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7E9BFF;
  transition: opacity .35s ease;
}

/* ── Contact block ───────────────────────────────────── */
.contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin: 26px 0 0;
  animation: fadeUp .9s ease .32s both;
}
.contact__label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #5A6675;
}
.contact__email {
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: -.02em;
  color: #E8ECF2;
  border-bottom: 1px solid rgba(36,87,255,.5);
  padding-bottom: 4px;
}
.contact__email:hover {
  color: #7E9BFF;
  border-bottom-color: #2457FF;
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 12px clamp(24px, 5vw, 72px);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #4E5A69;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 760px) {
  /* below here the four long nowrap tags no longer fit one row — stack them */
  .pillars { grid-template-columns: 1fr; gap: 10px 0; }
  .pillar__sep { display: none; }
}
@media (max-width: 700px) {
  .scene { aspect-ratio: 4 / 1; }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow, .headline, .lede, .pillars, .scene, .contact { animation-duration: .01ms; }
  .status__dot { animation: none; opacity: 1; }
}
