/* Innir, coming-soon page. Standalone static stylesheet. */

/* Fonts are self-hosted (SIL Open Font License; see /fonts/LICENSE-*.txt). Latin subset only. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
}

:root {
  --accent: #ff8a3d;
  --accent-rgb: 255, 138, 61;
  --ground: #08080a;
  --ink: #ecebe6;
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --pad-x: clamp(20px, 5vw, 64px);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: dark;
  background: var(--ground);
}

body {
  margin: 0;
  background: var(--ground);
}

/* ---------- Page shell ---------- */

.page {
  position: relative;
  overflow: hidden;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-display);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

/* ---------- Atmosphere ---------- */

.lines {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: repeating-linear-gradient(90deg, rgba(236, 235, 230, 0.045) 0 1px, transparent 1px 96px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}

.glow {
  position: absolute;
  left: 50%;
  bottom: -260px;
  width: 1100px;
  height: 640px;
  margin-left: -550px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.22), transparent);
  background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 22%, transparent), transparent);
  animation: sweep 14s ease-in-out infinite alternate;
}

.grain {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  pointer-events: none;
}

/* ---------- Header ---------- */

.header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px var(--pad-x);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.wordmark {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  box-sizing: border-box;
  padding: 0 18px;
  border: 1px solid #2a2a32;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b4b3ae;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: blip 1.8s ease-in-out infinite;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 56px;
  padding: 40px var(--pad-x) 24px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.slogan {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.2vw, 28px);
  font-weight: 500;
  font-size: clamp(44px, 10.4vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.line {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.line-1 { animation-delay: 0.2s; }
.line-2 { animation-delay: 1.1s; }
.line-3 { animation-delay: 2s; }

.tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8c8b92;
  line-height: 1;
}

.say-1 { color: #77767d; }
.say-2 { color: #b9b8b2; }
.say-3 { color: #f4f3ee; font-weight: 700; }

.say-3 em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 48px rgba(var(--accent-rgb), 0.55);
  text-shadow: 0 0 48px color-mix(in oklab, var(--accent) 55%, transparent);
}

.tagline {
  margin: 0;
  max-width: 440px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
  color: #a3a2a9;
  animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: 2.8s;
}

/* ---------- Waveform ---------- */

.wave {
  position: relative;
  height: 220px;
  padding: 0 var(--pad-x);
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.wave-line {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  top: 50%;
  height: 1px;
  background: rgba(var(--accent-rgb), 0.3);
  background: color-mix(in oklab, var(--accent) 30%, transparent);
}

.bars {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 200px;
}

.bar {
  flex: 1 1 0;
  min-width: 0;
  max-width: 8px;
  height: var(--h);
  border-radius: 4px;
  background: var(--accent);
  opacity: var(--o);
  animation: breathe 3.6s ease-in-out infinite;
  animation-delay: var(--d);
  transform-origin: center;
}

/* ---------- Footer ---------- */

.footer {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 28px var(--pad-x) 36px;
  border-top: 1px solid #1c1c22;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8c8b92;
}

/* ---------- Motion ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes breathe {
  0%, 100% { transform: scaleY(0.5); }
  50%      { transform: scaleY(1); }
}

@keyframes blip {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}

@keyframes sweep {
  from { transform: translateX(-30%); }
  to   { transform: translateX(30%); }
}

@media (prefers-reduced-motion: reduce) {
  .line,
  .tagline,
  .bar,
  .status-dot,
  .glow {
    animation: none;
  }
}

/* ---------- Small screens ---------- */

/* Keeps the 72 bars readable instead of hairlines on phones. */
@media (max-width: 600px) {
  .bars { gap: 2px; }
}

/* Keeps "Hear yourself." inside the screen on the narrowest phones. */
@media (max-width: 380px) {
  .slogan { font-size: 11.2vw; }
}
