:root {
  --bg: #eceef1;
  --bg-elevated: #f6f7f9;
  --ink: #0b0d10;
  --ink-2: #2a3038;
  --muted: #5e6772;
  --line: rgba(11, 13, 16, 0.12);
  --line-strong: rgba(11, 13, 16, 0.22);
  --hero: #07090c;
  --signal: #b8f54a;
  --signal-ink: #0b0d10;
  --ember: #ff6b3d;
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Public Sans", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 76rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 0.9rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.035;
  /* No mix-blend-mode: fixed + multiply causes white flashes on scroll. */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.plus {
  color: var(--signal);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem var(--pad);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(7, 9, 12, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.site-header .logo,
.site-header .nav a {
  color: #f4f5f7;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.25s var(--ease);
}

.nav a:hover {
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  opacity: 1 !important;
  padding: 0.45rem 0.15rem 0.45rem 0;
  border-bottom: 1px solid rgba(184, 245, 74, 0.55);
}

.nav-cta svg {
  transition: transform 0.3s var(--ease);
}

.nav-cta:hover svg {
  transform: translate(2px, -2px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  background-color: #07090c;
  background: var(--hero);
  color: #f4f5f7;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  /* Keep this layer painted while off-screen so scroll-back does not flash body bg */
  content-visibility: visible;
  transform: translateZ(0);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #07090c;
  display: block;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 70% 35%, rgba(184, 245, 74, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.15) 0%, rgba(7, 9, 12, 0.55) 55%, rgba(7, 9, 12, 0.92) 100%),
    linear-gradient(90deg, rgba(7, 9, 12, 0.75) 0%, rgba(7, 9, 12, 0.2) 55%, rgba(7, 9, 12, 0.55) 100%);
  pointer-events: none;
}

.hero-scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255, 255, 255, 0.012) 3px,
    rgba(255, 255, 255, 0.012) 4px
  );
  opacity: 0.6;
}

.hero-frame {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(5.5rem, 12vh, 7.5rem) var(--pad) clamp(4rem, 10vh, 6rem);
  max-width: 92rem;
  width: 100%;
  margin: 0 auto;
  background: transparent;
  color: #f4f5f7;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(244, 245, 247, 0.55);
}

.hero-meta .sep {
  opacity: 0.4;
}

.brand {
  margin: 0;
  margin-top: clamp(2rem, 8vh, 5rem);
}

.brand-line {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 13vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.brand-line .plus {
  color: var(--signal);
}

.hero-bottom {
  max-width: 36rem;
  margin-top: auto;
  padding-top: 2.5rem;
}

.headline {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.lede {
  margin: 0 0 1.75rem;
  color: rgba(244, 245, 247, 0.68);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  max-width: 32rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-solid {
  background: var(--signal);
  color: var(--signal-ink);
  border-color: var(--signal);
}

.btn-solid:hover {
  background: #c8ff5e;
}

.btn-line {
  background: transparent;
  color: #f4f5f7;
  border-color: rgba(244, 245, 247, 0.28);
}

.btn-line:hover {
  border-color: rgba(244, 245, 247, 0.7);
}

.btn-large {
  padding: 1.15rem 1.7rem;
  font-size: 1rem;
}

.scroll-cue {
  position: absolute;
  right: var(--pad);
  bottom: 2rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(244, 245, 247, 0.45);
  text-decoration: none;
}

.scroll-cue-bar {
  width: 1px;
  height: 3.25rem;
  background: linear-gradient(180deg, var(--signal), transparent);
  transform-origin: top;
  animation: cue-pulse 2.2s var(--ease) infinite;
}

/* Scroll cue only — hero copy stays always visible (no opacity animations). */
@keyframes cue-pulse {
  0%, 100% { transform: scaleY(0.45); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Statement */
.statement {
  padding: clamp(5rem, 14vh, 9rem) var(--pad);
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--line);
}

.statement-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.5rem 2.5rem;
  align-items: start;
}

.statement-label {
  color: var(--muted);
  margin: 0.55rem 0 0;
}

.statement-text {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 4.2vw, 3.15rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
  max-width: 18ch;
}

/* Practice */
.practice {
  padding: clamp(4.5rem, 12vh, 8rem) var(--pad);
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}

.section-head {
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}

.section-head .mono {
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-dek {
  margin: 0.85rem 0 0;
  color: var(--muted);
  max-width: 28rem;
  font-size: 1.1rem;
}

.practice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}

.practice-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1rem 1.75rem;
  align-items: start;
  padding: clamp(1.5rem, 3vh, 2.15rem) 0;
  border-bottom: 1px solid var(--line);
  cursor: default;
  transition: background 0.35s var(--ease);
}

.practice-item:hover {
  background: linear-gradient(90deg, rgba(184, 245, 74, 0.08), transparent 55%);
}

.practice-index {
  color: var(--muted);
  margin-top: 0.45rem;
}

.practice-body h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.practice-body p {
  margin: 0;
  max-width: 38rem;
  color: var(--ink-2);
}

.practice-mark {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--signal);
  line-height: 1;
  margin-top: 0.2rem;
  transition: transform 0.4s var(--ease);
}

.practice-item:hover .practice-mark {
  transform: rotate(45deg);
}

/* Method */
.method {
  position: relative;
  padding: clamp(4.5rem, 12vh, 8rem) var(--pad);
  background: var(--ink);
  color: #f4f5f7;
  overflow: hidden;
}

.method-visual {
  position: absolute;
  right: -8%;
  top: 10%;
  width: min(48vw, 34rem);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.35;
}

.method-orbit {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(184, 245, 74, 0.35);
  border-radius: 50%;
  position: relative;
  animation: orbit-spin 48s linear infinite;
}

.method-orbit::before,
.method-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(244, 245, 247, 0.12);
  border-radius: 50%;
  inset: 14%;
}

.method-orbit::after {
  inset: 28%;
  border-color: rgba(184, 245, 74, 0.2);
}

.method-orbit::before {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.method .section-head {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.method .section-head .mono,
.method .section-dek {
  color: rgba(244, 245, 247, 0.5);
}

.method-steps {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(244, 245, 247, 0.14);
}

.method-steps li {
  padding: 2rem 1.75rem 0 0;
  border-right: 1px solid rgba(244, 245, 247, 0.1);
}

.method-steps li:last-child {
  border-right: 0;
  padding-right: 0;
}

.method-num {
  display: inline-block;
  color: var(--signal);
  margin-bottom: 1.25rem;
}

.method-steps h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.method-steps p {
  margin: 0;
  color: rgba(244, 245, 247, 0.62);
  max-width: 22rem;
  font-size: 0.98rem;
}

/* Engage */
.engage {
  padding: clamp(5rem, 14vh, 9rem) var(--pad);
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(184, 245, 74, 0.14), transparent 50%),
    var(--bg-elevated);
  border-top: 1px solid var(--line);
}

.engage-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.engage-label {
  color: var(--muted);
  margin: 0 0 1rem;
}

.engage-inner h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 5rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.engage-copy {
  margin: 0 0 2rem;
  max-width: 34rem;
  color: var(--ink-2);
  font-size: 1.125rem;
}

.engage .btn-solid {
  background: var(--ink);
  border-color: var(--ink);
  color: #f4f5f7;
}

.engage .btn-solid:hover {
  background: #1a1f26;
}

.engage .btn-solid svg {
  transition: transform 0.3s var(--ease);
}

.engage .btn-solid:hover svg {
  transform: translate(2px, -2px);
}

/* Footer */
.site-footer {
  padding: 3rem var(--pad) 2.25rem;
  background: var(--hero);
  color: rgba(244, 245, 247, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: #f4f5f7;
}

.footer-tag {
  margin: 0;
  color: rgba(244, 245, 247, 0.4);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  font-size: 0.95rem;
}

.footer-grid p {
  margin: 0;
  line-height: 1.7;
}

.footer-label {
  color: rgba(244, 245, 247, 0.4);
  margin: 0 0 0.75rem !important;
}

.footer-grid a {
  color: rgba(244, 245, 247, 0.78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-grid a:hover {
  color: var(--signal);
  border-bottom-color: rgba(184, 245, 74, 0.4);
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom .mono {
  margin: 0;
  color: rgba(244, 245, 247, 0.35);
}

/* Scroll reveals — transform only so elements never become invisible. */
[data-reveal] {
  transform: translateY(1.25rem);
  transition: transform 0.9s var(--ease);
}

[data-reveal].is-in {
  transform: translateY(0);
}

@media (max-width: 900px) {
  .method-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .method-steps li {
    border-right: 0;
    padding: 0 0 1.5rem;
    border-bottom: 1px solid rgba(244, 245, 247, 0.1);
  }

  .method-steps li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .statement-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .statement-text {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .practice-item {
    grid-template-columns: 2.5rem 1fr;
  }

  .practice-mark {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .brand-line {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-cue-bar,
  .method-orbit {
    animation: none !important;
  }

  [data-reveal] {
    transform: none;
    transition: none;
  }
}
