/* ============================================================================
   LANDSEED SITE — page-level styles. Extends colors_and_type.css + landseed.css.
   ========================================================================== */

/* ----- Base ----- */
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }

/* Subtle scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,190,90,0.18); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,190,90,0.30); }

/* ============================================================================
   Top nav — sticky w/ pill CTA & active state
   ========================================================================== */
.site-nav {
  position: sticky; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px; height: 56px;
  background: rgba(7,15,7,0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  z-index: 50;
}
.site-nav .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; border: none; }
.site-nav .brand img { height: 22px; width: auto; display: block; }
.site-nav .links { display: flex; align-items: center; gap: 32px; }
.site-nav .links a {
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  letter-spacing: -0.01em; color: var(--text-dim);
  text-decoration: none; border: none;
  transition: color 200ms ease;
  position: relative; padding: 6px 2px;
}
.site-nav .links a::after {
  content: ""; position: absolute; left: 2px; right: 2px; top: calc(100% + 2px);
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 280ms cubic-bezier(.4,0,.2,1);
}
.site-nav .links a:hover { color: var(--text); }
.site-nav .links a:hover::after { transform: scaleX(1); }
.site-nav .links a.active { color: var(--text); }
.site-nav .links a.active::after {
  transform: scaleX(1); height: 1.5px;
}
.site-nav .pill,
.site-nav .pill:link,
.site-nav .pill:visited {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  height: 32px; padding: 0 22px;
  background: var(--accent);
  color: #FFFFFF !important;
  font-family: var(--font-sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0; line-height: 1;
  border-radius: var(--r-pill);
  border: 1px solid var(--accent);
  text-decoration: none; white-space: nowrap;
  position: relative; overflow: hidden;
  transition: background 220ms ease, border-color 220ms ease, transform 160ms ease, box-shadow 220ms ease;
}
.site-nav .pill .chev {
  width: 13px; height: 13px; display: inline-block; flex-shrink: 0;
  transition: transform 200ms ease;
  margin-right: -2px;
}
.site-nav .pill:hover .chev { transform: translateX(2px); }
.site-nav .pill:hover,
.site-nav .pill:focus {
  background: #00d066;
  border-color: #00d066;
  color: #FFFFFF !important;
  box-shadow: 0 0 20px rgba(0,190,90,0.40);
}
.site-nav .pill .arrow {
  display: inline-flex; align-items: center; line-height: 1;
  font-size: 11px; font-weight: 400; opacity: 0.85;
  transition: transform 160ms ease, opacity 160ms ease;
}
.site-nav .pill::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 60%);
  opacity: 0; transition: opacity 220ms ease;
  pointer-events: none;
}
.site-nav .pill::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
  opacity: 0; transition: opacity 220ms ease;
  pointer-events: none;
}
.site-nav .pill:hover {
  background: #00d066;
  border-color: #00d066;
  box-shadow: 0 0 20px rgba(0,190,90,0.40);
}
.site-nav .pill::before,
.site-nav .pill::after { display: none; }
.site-nav .pill:hover::before,
.site-nav .pill:hover::after { opacity: 1; }
.site-nav .pill:active { transform: translateY(1px); }
.site-nav .pill > * { position: relative; z-index: 1; }
.site-nav .pill:hover .arrow { transform: translateX(2px); opacity: 1; }

/* ============================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 22px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  letter-spacing: -0.01em; border-radius: 999px;
  border: 1px solid transparent; text-decoration: none; cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
  background: transparent; color: var(--text);
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: var(--bg); }
.btn.primary:hover { background: #00d066; }
.btn.secondary { border-color: rgba(240,240,234,0.18); color: var(--text); }
.btn.secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn.ghost { color: var(--text-dim); padding: 0 16px; }
.btn.ghost:hover { color: var(--text); }
.btn .arrow { font-family: var(--font-mono); font-weight: 500; }

/* ============================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--bg-deep); }
.site-footer .gbar {
  height: 2px; width: 100%;
  background: linear-gradient(90deg,#E682E6 0%,#E682E6 20%,#00BE5A 20%,#00BE5A 40%,#32C8FF 40%,#32C8FF 60%,#FFC800 60%,#FFC800 80%,#1482FF 80%,#1482FF 100%);
}
.site-footer .inner { max-width: 1200px; margin: 0 auto; padding: 64px 32px 24px;
  display: flex; flex-direction: column; gap: 40px; }
.site-footer .cols {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: 48px;
}
.site-footer .cta-link {
  color: var(--accent) !important;
}
.site-footer .col-title {
  font-family: var(--font-sans); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--text-mute); margin-bottom: 14px;
}
.site-footer .brand-blurb { font-size: 13px; color: var(--text-dim); line-height: 1.6; max-width: 260px; }
.site-footer .brand-blurb img { height: 24px; display: block; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer ul a {
  font-family: var(--font-sans); font-size: 13px; color: var(--text-dim);
  text-decoration: none; border: none; letter-spacing: -0.01em;
  transition: color 160ms ease;
}
.site-footer ul a:hover { color: var(--text); }
.site-footer .contact-row { display: flex; flex-direction: column; gap: 14px; }
.site-footer .contact-row .label {
  font-family: var(--font-sans); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-mute);
  margin-bottom: 2px;
}
.site-footer .contact-row .v { font-size: 13px; color: var(--text); letter-spacing: -0.01em; }
@keyframes pulseDot {
  0%,100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
  50% { opacity: 0.55; box-shadow: 0 0 4px var(--accent); }
}
.site-footer .signature {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px;
  font-family: var(--font-sans); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-mute);
  padding-top: 20px; border-top: 1px solid var(--line-soft);
}
.site-footer .signature > :last-child { text-align: right; }
.site-footer .signature .dots { display: inline-flex; gap: 28px; align-items: center; justify-self: center; }
.site-footer .signature .dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }

/* ============================================================================
   Section / type helpers
   ========================================================================== */
.section { padding: 120px 32px; }
.section.tight { padding: 96px 32px; }
.section.band { background: var(--bg-forest); }
.section.deep { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%); }
.container { max-width: 1200px; margin: 0 auto; }
.container.text { max-width: 900px; }
.container.prose { max-width: 680px; }

.eyebrow {
  font-family: var(--font-sans); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.eyebrow .num {
  font-family: var(--font-sans); font-weight: 700; color: var(--text-mute);
  letter-spacing: 0.14em;
}
.eyebrow .sep { width: 28px; height: 1px; background: rgba(0,190,90,0.4); display: inline-block; }
.eyebrow.muted { color: var(--text-mute); }
.eyebrow.muted .sep { background: rgba(240,240,234,0.18); }

.section-title {
  font-family: var(--font-sans); font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 700; color: var(--text);
  letter-spacing: -0.04em; line-height: 1.02;
  margin: 0 0 22px;
}
.section-title .accent { color: var(--accent); }
.section-title .dim { color: var(--text-dim); }
.section-desc {
  font-size: 18px; color: var(--text-dim); line-height: 1.65;
  max-width: 680px; letter-spacing: -0.01em; margin: 0;
}
.section-desc.lead { font-size: 22px; color: var(--text); line-height: 1.55; }

/* ============================================================================
   Page-level gradient bar (animated wipe)
   ========================================================================== */
.gbar {
  height: 2px; width: 100%;
  background: linear-gradient(90deg,#E682E6 0%,#E682E6 20%,#00BE5A 20%,#00BE5A 40%,#32C8FF 40%,#32C8FF 60%,#FFC800 60%,#FFC800 80%,#1482FF 80%,#1482FF 100%);
}
.gbar.thick { height: 4px; }
.gbar.vertical {
  width: 2px; height: 100%;
  background: linear-gradient(180deg,#E682E6 0%,#E682E6 20%,#00BE5A 20%,#00BE5A 40%,#32C8FF 40%,#32C8FF 60%,#FFC800 60%,#FFC800 80%,#1482FF 80%,#1482FF 100%);
}

/* ============================================================================
   Reveal motion (IntersectionObserver triggers .visible)
   ========================================================================== */
/* Reveals are armed only when JS is available (html.js set by an inline head
   script). Without JS — or if chrome.js fails to load — content stays visible. */
.js .r { opacity: 0; transform: translateY(28px); transition: opacity 900ms cubic-bezier(.16,1,.3,1), transform 900ms cubic-bezier(.16,1,.3,1); }
.r.visible { opacity: 1; transform: translateY(0); }
.r.r-fade { transform: none; }
.r.r-fade.visible { transform: none; }
.r.r-left { transform: translateX(-28px); }
.r.r-left.visible { transform: translateX(0); }
.r.delay-1 { transition-delay: 100ms; }
.r.delay-2 { transition-delay: 200ms; }
.r.delay-3 { transition-delay: 300ms; }
.r.delay-4 { transition-delay: 400ms; }
.r.delay-5 { transition-delay: 500ms; }
.r.delay-6 { transition-delay: 600ms; }

/* ============================================================================
   Gradient progress bar (sticky on /about under nav)
   ========================================================================== */
.scroll-progress {
  position: fixed; top: 56px; left: 0; right: 0; height: 2px;
  background: rgba(240,240,234,0.04); z-index: 49; pointer-events: none;
}
.scroll-progress .fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg,#E682E6 0%,#E682E6 20%,#00BE5A 20%,#00BE5A 40%,#32C8FF 40%,#32C8FF 60%,#FFC800 60%,#FFC800 80%,#1482FF 80%,#1482FF 100%);
  transform-origin: left;
}

/* ============================================================================
   Cards — three-act spine and editorial blocks
   ========================================================================== */
.spine-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 56px; }
.spine-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 32px 28px;
  background: rgba(45,90,39,0.06);
  border: 1px solid rgba(45,90,39,0.20);
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}
.spine-card:hover { border-color: var(--accent); background: rgba(45,90,39,0.12); transform: translateY(-2px); }
.spine-card .num {
  font-family: var(--font-sans); font-weight: 700; font-size: 11px; 
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent);
}
.spine-card h3 {
  font-family: var(--font-sans); font-size: 28px; font-weight: 700;
  color: var(--text); letter-spacing: -0.035em; line-height: 1.05; margin: 0;
}
.spine-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; margin: 0; }
.spine-card .more {
  margin-top: 6px;
  font-family: var(--font-sans); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent);
}

/* ============================================================================
   Stat row
   ========================================================================== */
.stats-row { display: flex; flex-wrap: wrap; gap: 56px; justify-content: center; }
.stat { text-align: center; min-width: 120px; }
.stat .num {
  font-family: var(--font-sans); font-feature-settings: "tnum" on;
  font-size: clamp(48px, 6vw, 72px); font-weight: 800;
  color: var(--text); letter-spacing: -0.05em; line-height: 1;
}
.stat .num.accent { color: var(--accent); }
.stat .label {
  font-family: var(--font-sans); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-mute);
  margin-top: 12px;
}

/* ============================================================================
   Cite line — pull-quote with source under it
   ========================================================================== */
.cite-quote {
  font-family: var(--font-sans);
  font-size: clamp(24px, 3vw, 32px); font-weight: 500;
  color: var(--text); letter-spacing: -0.03em; line-height: 1.3;
  max-width: 820px; margin: 0;
}
.cite-quote .accent { color: var(--accent); }
.cite-source {
  margin-top: 16px;
  font-family: var(--font-sans); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-mute);
}

/* ============================================================================
   Triad — Earth produces / Landseed measures / The market values
   ========================================================================== */
.triad {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; text-align: center;
}
.triad .line {
  font-family: var(--font-sans);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 400; color: var(--text);
  letter-spacing: -0.035em; line-height: 1.05;
}
.triad .line.bold { font-weight: 700; }
.triad .mini-gbar {
  width: clamp(160px, 26vw, 280px); height: 2px;
  margin: 6px auto;
  background: linear-gradient(90deg,#E682E6 0%,#E682E6 20%,#00BE5A 20%,#00BE5A 40%,#32C8FF 40%,#32C8FF 60%,#FFC800 60%,#FFC800 80%,#1482FF 80%,#1482FF 100%);
}

/* ============================================================================
   Mono micro-meta lines (for hero corners, footer signature, etc.)
   ========================================================================== */
.micro {
  font-family: var(--font-sans); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--text-mute);
}
.micro .v {
  font-family: var(--font-sans); font-weight: 600; font-size: 12px;
  text-transform: none; letter-spacing: -0.01em; color: var(--text-dim);
  display: block; margin-top: 2px;
}

/* ============================================================================
   Six-dimension teaser — large colored code + readable methods
   ========================================================================== */
.dim-teaser {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  margin-top: 64px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
}
.dim-teaser .slot {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none; border: none;
  background: var(--bg);
  padding: 28px 22px 24px;
  transition: background 220ms ease;
  min-height: 280px;
}
.dim-teaser .slot::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 130% 60% at 100% 0%, currentColor, transparent 55%);
  opacity: 0.07;
  transition: opacity 240ms ease;
  pointer-events: none;
}
.dim-teaser .slot:hover { background: rgba(45,90,39,0.06); }
.dim-teaser .slot:hover::before { opacity: 0.16; }
.dim-teaser .slot > * { position: relative; z-index: 1; }
.dim-teaser .slot .bigcode {
  font-family: var(--font-sans); font-weight: 800;
  font-size: 42px; letter-spacing: -0.04em; line-height: 0.95;
  color: currentColor;
  margin-bottom: 4px;
  font-feature-settings: "tnum" on;
}
.dim-teaser .slot .kind {
  font-family: var(--font-sans); font-weight: 700;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 18px;
}
.dim-teaser .slot .name {
  font-family: var(--font-sans); font-size: 20px; font-weight: 700;
  color: var(--text); letter-spacing: -0.03em; line-height: 1.1;
  margin: 0 0 20px;
  min-height: 44px;
}
.dim-teaser .slot:hover .name { color: currentColor; }
.dim-teaser .slot .methods {
  list-style: none; padding: 18px 0 0; margin: auto 0 0;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line-soft);
}
.dim-teaser .slot .methods li {
  position: relative;
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  color: var(--text-dim); letter-spacing: -0.005em; line-height: 1.4;
  display: flex; align-items: center;
  min-height: 44px;
  padding: 0;
  border-bottom: none;
}
.dim-teaser .slot .methods li:not(:last-child)::after {
  content: ""; position: absolute; left: 0; right: 22%; bottom: 0;
  height: 1px; background: rgba(240,240,234,0.18);
}
.dim-teaser .slot .methods li:last-child {
  border-bottom: none;
}

/* ============================================================================
   Two-column "do / do not" panel
   ========================================================================== */
.do-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.do-col {
  background: rgba(45,90,39,0.06); border: 1px solid var(--line-soft);
  border-radius: 4px; padding: 32px;
}
.do-col h4 {
  font-family: var(--font-sans); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent); margin: 0 0 16px;
}
.do-col.dont h4 { color: rgba(220,90,70,0.85); }
.do-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.do-col li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--text); letter-spacing: -0.01em; line-height: 1.5; }
.do-col li .mark { flex-shrink: 0; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 600; color: var(--accent); }
.do-col.dont li .mark { color: rgba(220,90,70,0.85); }
.do-col li .desc { font-size: 13px; color: var(--text-dim); display: block; margin-top: 2px; line-height: 1.5; }

/* ============================================================================
   Phase timeline
   ========================================================================== */
.phase-list { display: flex; flex-direction: column; gap: 48px; margin-top: 56px; }
.phase {
  display: grid; grid-template-columns: 100px 1fr; gap: 32px;
  padding-bottom: 48px; border-bottom: 1px solid var(--line-soft);
}
.phase:last-child { border-bottom: none; }
.phase .num {
  font-family: var(--font-sans); font-weight: 700; font-size: 11px; 
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent);
  padding-top: 6px;
}
.phase h3 {
  font-family: var(--font-sans); font-size: clamp(32px, 4vw, 44px);
  font-weight: 700; color: var(--text); letter-spacing: -0.04em;
  line-height: 1.02; margin: 0 0 12px;
}
.phase .body { font-size: 17px; color: var(--text-dim); line-height: 1.65; max-width: 640px; letter-spacing: -0.01em; }
.phase .when {
  margin-top: 10px;
  font-family: var(--font-sans); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-mute);
}

/* ============================================================================
   Reduced motion — honor the OS/browser preference. Disables the flywheel
   spin, globe spin/pulse, hero drift, and reveal transitions; reveals show
   immediately so no content is gated behind motion.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .r { opacity: 1 !important; transform: none !important; }
}
