:root {
  --ink: #000000;
  --paper: #e7e3d8;
  --muted: #a9a69d;
  --accent: #d8643d;
  --line: rgba(231, 227, 216, 0.2);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 25vw 100%, 100% 25vh;
  opacity: 0.18;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 10;
  opacity: 0.08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.page {
  position: relative;
  min-height: 100svh;
  padding: clamp(28px, 4vw, 64px);
  display: grid;
  grid-template: auto 1fr auto / minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.brand {
  grid-column: 1 / -1;
  animation: reveal 0.8s ease-out both;
}

.brand img {
  display: block;
  width: clamp(180px, 18vw, 260px);
  height: auto;
  mix-blend-mode: screen;
}

.message {
  z-index: 2;
  align-self: center;
  padding: clamp(70px, 11vh, 140px) 0;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(42px, 7vh, 80px);
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font: 0.68rem "DM Mono", monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  animation: reveal 0.8s 0.15s ease-out both;
}

.status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font: 0.7rem "DM Mono", monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  animation: reveal 0.8s 0.25s ease-out both;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.6rem, 8.3vw, 9.5rem);
  font-weight: 500;
  line-height: 0.87;
  letter-spacing: -0.075em;
  animation: reveal 0.9s 0.35s cubic-bezier(.2,.8,.2,1) both;
}

h1 em { color: var(--accent); font-style: normal; }

.description {
  margin: clamp(32px, 5vh, 56px) 0 0;
  color: var(--muted);
  font-size: clamp(0.85rem, 1.15vw, 1.05rem);
  line-height: 1.8;
  animation: reveal 0.8s 0.5s ease-out both;
}

.visual {
  position: relative;
  align-self: center;
  justify-self: center;
  width: min(35vw, 480px);
  aspect-ratio: 1;
  animation: reveal 1.2s 0.45s ease-out both;
}

.orbit, .core { position: absolute; inset: 50%; border-radius: 50%; }
.orbit { border: 1px solid var(--line); }
.orbit-one { width: 100%; height: 100%; transform: translate(-50%, -50%); }
.orbit-two {
  width: 76%; height: 76%;
  border-color: rgba(216, 100, 61, 0.45);
  transform: translate(-50%, -50%);
  animation: breathe 5s ease-in-out infinite;
}
.orbit-one::before, .orbit-two::before {
  content: "";
  position: absolute;
  left: 50%; top: -5px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--paper);
}
.orbit-two::before { background: var(--accent); }
.core {
  width: 40%; height: 40%;
  transform: translate(-50%, -50%);
  background: var(--accent);
}
footer {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font: 0.68rem "DM Mono", monospace;
  letter-spacing: 0.08em;
  animation: reveal 0.8s 0.65s ease-out both;
}

@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 50% { opacity: 0.35; transform: scale(0.75); } }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(0.94); opacity: 0.55; } }

@media (max-width: 760px) {
  body::before { background-size: 50vw 100%, 100% 25vh; }
  .page { grid-template: auto 1fr auto / 1fr; }
  .message { padding: 18vh 0 10vh; }
  .status { margin-bottom: 42px; }
  h1 { font-size: clamp(3.4rem, 16vw, 6rem); }
  .description br { display: none; }
  .visual { position: absolute; width: 58vw; right: -24vw; top: 14vh; opacity: 0.3; }
}

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