:root {
  --bg: #07070b;
  --bg-2: #0b0b12;
  --brand: #4b4bc3;
  --brand-soft: #7a7ad8;
  --brand-dim: rgba(75, 75, 195, 0.35);
  --ink: #f3f1ec;
  --ink-dim: #a6a4b8;
  --hairline: rgba(75, 75, 195, 0.28);
}

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

html, body {
  height: 100%;
  background: var(--bg);
  overflow: hidden;
}

body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Base layered gradient — gives depth without a literal "orb" cliché */
.field {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 50% 42%, rgba(75,75,195,0.16), transparent 60%),
    radial-gradient(ellipse 1400px 900px at 50% 100%, rgba(75,75,195,0.10), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  z-index: 0;
}

/* Slow breathing glow — the signature ambient element */
.glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 640px;
  height: 640px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--brand-dim) 0%, rgba(75,75,195,0.08) 40%, transparent 72%);
  filter: blur(10px);
  animation: breathe 9s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes breathe {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.94); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.06); }
}

/* Fine grain for a filmic, premium texture rather than flat digital dark */
.grain {
  position: absolute;
  inset: -20%;
  z-index: 1;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  transform: translateY(-150px);
}

.logo {
  height: 560px;
  width: auto;
  margin-bottom: -240px;
  opacity: 0;
  animation: rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0s forwards;
}

.kicker {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--brand-soft);
  opacity: 0;
  animation: rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
  margin-bottom: 16px;
}

h1 {
  opacity: 0;
  animation: rise 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

.line1 {
  display: block;
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-optical-sizing: auto;
  font-weight: 340;
  font-style: normal;
  color: var(--ink);
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.line2 {
  display: block;
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-optical-sizing: auto;
  font-weight: 300;
  color: var(--brand-soft);
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-top: 6px;
}

.line2 em {
  font-style: italic;
  font-weight: 300;
}

@media (max-width: 600px) {
  .line1 {
    white-space: nowrap;
    font-size: clamp(2rem, 8.8vw, 3rem);
  }

  .line2 {
    font-size: clamp(2.2rem, 10vw, 3rem);
    margin-top: 4px;
  }
}

.rule {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  margin: 34px 0;
  animation: draw 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.85s forwards;
}

@keyframes draw {
  to { width: 120px; }
}

.tagline {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  max-width: 460px;
  line-height: 1.7;
  opacity: 0;
  animation: rise 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.05s forwards;
}

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

/* corner marks — quiet structural framing, no CTA / no footer */
.frame span {
  position: fixed;
  width: 22px;
  height: 22px;
  border: 1px solid var(--hairline);
  opacity: 0;
  animation: fadeIn 1.2s ease 1.4s forwards;
  z-index: 2;
}
.frame .tl { top: 28px; left: 28px; border-right: none; border-bottom: none; }
.frame .tr { top: 28px; right: 28px; border-left: none; border-bottom: none; }
.frame .bl { bottom: 28px; left: 28px; border-right: none; border-top: none; }
.frame .br { bottom: 28px; right: 28px; border-left: none; border-top: none; }

@keyframes fadeIn { to { opacity: 1; } }