/*
Theme Name: catalyst
Theme URI: https://catalystxforgeline.com
Author: Forgeline
Description: Single-page pre-launch landing page for Catalyst by Forgeline.
Version: 1.1.0
Requires PHP: 7.4
License: Proprietary
Text Domain: catalyst
*/

:root {
  --ink-950: #0B0D10;
  --ink-900: #14181D;
  --ink-800: #1E252D;
  --slate-800: #232E39;
  --slate-700: #2C3947;
  --slate-600: #3B4A5A;
  --slate-500: #566575;
  --slate-400: #7E8B99;
  --slate-300: #AEB7C1;
  --slate-200: #D3D9DF;
  --slate-100: #E7EAEE;
  --slate-50:  #F4F5F7;
  --white: #FFFFFF;
  --paper: #FBFBFC;
  --accent: var(--slate-700);
  --accent-hover: var(--slate-800);
  --line-invert: rgba(255,255,255,0.14);
  --positive: #3E6B54;
  --caution: #9A7B3F;
  --critical: #8C4A47;

  --font-sans: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-entrance: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-reveal: 720ms;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink-950);
  color: rgba(255,255,255,0.78);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--slate-700); color: #fff; }

a { color: rgba(255,255,255,0.85); text-decoration: none; }

img, svg, video { max-width: 100%; display: block; }

/* ---- Reveal motion ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--duration-reveal) var(--ease-entrance),
    transform var(--duration-reveal) var(--ease-entrance);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---- 1. Hero ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 660px;
  background: var(--ink-950);
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 42%, rgba(11,13,16,0.10) 0%, rgba(11,13,16,0.34) 60%, rgba(11,13,16,0.62) 100%);
}
.hero__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px;
}
.hero__logo {
  width: min(560px, 72vw);
  height: auto;
  color: var(--white);
}
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.5);
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0));
}

/* ---- 2. Philosophy ---- */
.philosophy {
  background: var(--ink-950);
  padding: clamp(120px, 16vw, 200px) 44px clamp(48px, 6vw, 72px);
}
.philosophy__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.philosophy__heading {
  margin: 0 0 40px;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--paper);
}
.philosophy__body {
  margin: 0 0 28px;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
}

/* ---- 3. Material macros ---- */
.macros {
  background: var(--ink-950);
  padding: clamp(24px, 3vw, 40px) 44px clamp(120px, 16vw, 200px);
}
.macros__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* stays 3-up on mobile by design */
  gap: clamp(20px, 2.4vw, 36px);
}
.macros__card {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.macros__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- 4. Collection teaser ---- */
.teaser {
  background: #10141A;
}
.teaser img {
  width: 100%;
  aspect-ratio: 1416 / 764;
  object-fit: cover;
}
@media (max-width: 720px) {
  .teaser img { aspect-ratio: auto; }
}

/* ---- 5. Invitation / signup ---- */
.invite {
  background: #10141A;
  padding: clamp(40px, 5vw, 64px) 44px clamp(120px, 16vw, 200px);
}
.invite__inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.invite__heading {
  margin: 0 0 22px;
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--paper);
}
.invite__subline {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.60);
}
.invite__subline--last { margin-bottom: 48px; }

/* ---- 6. Closing callout + footer ---- */
.closing {
  background: var(--ink-950);
  border-top: 1px solid var(--line-invert);
  padding: clamp(96px, 13vw, 168px) 44px clamp(56px, 7vw, 80px);
  text-align: center;
}
.closing__callout {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--paper);
}
.closing__brand {
  margin-top: clamp(64px, 9vw, 104px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.closing__logo {
  width: min(300px, 62vw);
  height: auto;
  color: var(--white);
}
.closing__instagram {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 600px) {
  .br-desktop { display: none; }
}
