/* Iris North coming-soon page. Brand: Satoshi, phthalo green, cream. One ambient animation
   (the star and its rings), everything still under prefers-reduced-motion. */
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --green: #17332c;
  --green-2: #0f5c4a;
  --mint: #9fd3bf;
  --cream: #f3eee6;
  --muted: #c9d3cd;
}

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

html { background: var(--green); color-scheme: dark; }

body {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  font-family: "Satoshi", system-ui, sans-serif;
  color: var(--cream);
  background:
    radial-gradient(rgb(243 238 230 / 0.08) 1px, transparent 1.2px) 0 0 / 22px 22px,
    radial-gradient(120% 80% at 50% 110%, #0f5c4a 0%, transparent 60%),
    var(--green);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- Background: glow, iris rings and the north star --------------------------------- */
.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
  z-index: 0;
  /* Upper right on wide screens, clear of the wordmark. */
  transform: translate(34vw, -24vh);
}
.glow {
  position: absolute;
  width: min(90vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(159 211 191 / 0.22) 0%, rgb(15 92 74 / 0.18) 35%, transparent 68%);
  animation: breathe 9s ease-in-out infinite;
}
.rings {
  position: absolute;
  width: min(110vw, 900px);
  aspect-ratio: 1;
  fill: none;
  stroke: rgb(243 238 230 / 0.12);
  stroke-width: 1;
  animation: turn 120s linear infinite;
}
.rings .dash { stroke: rgb(159 211 191 / 0.28); stroke-dasharray: 2 10; }
.star {
  position: absolute;
  width: clamp(56px, 9vw, 104px);
  fill: var(--mint);
  filter: drop-shadow(0 0 18px rgb(159 211 191 / 0.55)) drop-shadow(0 0 60px rgb(159 211 191 / 0.35));
  animation: twinkle 6s ease-in-out infinite;
}

@keyframes turn { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.08); opacity: 0.8; } }
@keyframes twinkle { 50% { transform: scale(0.9) rotate(8deg); opacity: 0.85; } }

/* ---- Content ------------------------------------------------------------------------- */
main {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(100% - 3rem, 72rem);
  margin-inline: auto;
  padding-block: 4rem 2rem;
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgb(159 211 191 / 0.6);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 10px rgb(159 211 191 / 0); } }

.wordmark {
  margin-top: 1.25rem;
  display: flex;
  width: fit-content;
  align-items: flex-start;
  font-size: clamp(4rem, 15vw, 12.5rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.055em;
}
.wordmark svg {
  width: 0.3em;
  height: 0.3em;
  margin-left: 0.06em;
  margin-top: -0.06em;
  fill: var(--mint);
  flex-shrink: 0;
}

.lede {
  margin-top: 2rem;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.what {
  margin-top: 1rem;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
}

.cta {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.25rem;
  padding-inline: 1.6rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--green);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease-out, box-shadow 200ms ease-out;
  box-shadow: 0 12px 40px -12px rgb(0 0 0 / 0.5);
}
.cta svg { width: 1.25rem; height: 1.25rem; }
.cta:hover { background: #fff; box-shadow: 0 12px 48px -10px rgb(159 211 191 / 0.45); }
.cta:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }

footer {
  position: relative;
  z-index: 1;
  width: min(100% - 3rem, 72rem);
  margin-inline: auto;
  padding-block: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  border-top: 1px solid rgb(243 238 230 / 0.12);
  font-size: 0.9rem;
  color: var(--muted);
}

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Phones: star and rings move above the wordmark instead of behind the copy. */
@media (max-width: 47.99rem) {
  .sky { transform: translate(18vw, -30vh); }
  main { padding-block: 9rem 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
