/* ============================================================
   Parallax Systems — style.css
   Palette: mist / paper / ink / haze / cobalt / solar
   Type: Archivo (variable width — the "perspective" axis)
         Instrument Sans (body)
   ============================================================ */

:root {
  --mist:   #E9ECF5;
  --paper:  #F7F8FC;
  --ink:    #12122B;
  --ink-soft: #4C5070;
  --haze:   #B7BEDC;
  --haze-soft: #D4D9EC;
  --cobalt: #2B2BE0;
  --solar:  #FF4B1F;

  --font-display: "Archivo", "Helvetica Neue", sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", sans-serif;

  --pad-x: clamp(1.25rem, 5vw, 5rem);
  --measure: 34rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* faint grain so the mist doesn't read as flat vector */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- shared bits ---------- */

.eyebrow {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

.section-title {
  font-family: var(--font-display);
  font-stretch: 68%;            /* condensed: the compressed vantage */
  font-weight: 800;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-top: 0.35rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-stretch: 105%;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-solid {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(18, 18, 43, 0.4);
}
.btn-solid:hover {
  background: var(--cobalt);
  box-shadow: 0 10px 24px -10px rgba(43, 43, 224, 0.55);
}

.btn-ghost {
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--haze);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

.btn-big {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  padding: 1.1rem 2.2rem;
}

/* ---------- header ---------- */

.site-head {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem var(--pad-x);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-stretch: 122%;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-decoration: none;
}
.wordmark em {
  font-style: normal;
  font-weight: 500;
  color: var(--ink-soft);
  margin-left: 0.45em;
}

/* two offset lenses = the mark */
.wordmark-glyph {
  position: relative;
  width: 22px;
  height: 16px;
  flex: none;
}
.wordmark-glyph::before,
.wordmark-glyph::after {
  content: "";
  position: absolute;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--ink);
}
.wordmark-glyph::before { left: 0; border-color: var(--cobalt); }
.wordmark-glyph::after { right: 0; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.2rem);
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 500;
  font-size: 0.9rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--cobalt);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.site-nav .nav-cta {
  color: var(--ink);
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--haze);
  transition: box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.site-nav .nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 7rem var(--pad-x) 5rem;
  isolation: isolate;
}

.depth-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.ring,
.mote {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.ring { border: 1px solid var(--haze); }

.ring-1 { width: 34vw; height: 34vw; right: 4vw;  top: 12%; }
.ring-2 { width: 52vw; height: 52vw; right: -6vw; top: -4%;  border-color: var(--haze-soft); }
.ring-3 { width: 21vw; height: 21vw; right: 13vw; top: 34%;  border-color: var(--cobalt); opacity: 0.5; }
.ring-4 { width: 78vw; height: 78vw; right: -20vw; top: -22%; border-color: var(--haze-soft); opacity: 0.7; }

.mote { background: var(--cobalt); }
.mote-1 { width: 9px;  height: 9px;  right: 22vw; top: 24%; }
.mote-2 { width: 6px;  height: 6px;  right: 9vw;  top: 56%; background: var(--haze); }
.mote-3 { width: 12px; height: 12px; right: 30vw; top: 66%; background: var(--solar); }

.hero-eyebrow { margin-bottom: 1.6rem; }

/* the layered headline — the site's signature */
.hero-title {
  position: relative;
  font-family: var(--font-display);
  font-stretch: 92%;
  font-weight: 780;
  font-size: clamp(3rem, 9.5vw, 8.2rem);
  line-height: 0.96;
  letter-spacing: -0.028em;
  max-width: 12ch;
}

.hero-title .layer {
  display: block;
  will-change: transform;
}
.hero-title .layer-haze,
.hero-title .layer-cobalt {
  position: absolute;
  inset: 0;
  z-index: -1;
  mix-blend-mode: multiply;
}
.hero-title .layer-haze  { color: var(--haze); }
.hero-title .layer-cobalt { color: var(--cobalt); opacity: 0.85; }
.hero-title .layer-ink   { color: var(--ink); }

/* static offsets so depth reads even before the pointer moves */
.hero-title .layer-haze   { transform: translate(0.055em, 0.05em); }
.hero-title .layer-cobalt { transform: translate(0.028em, 0.025em); }

.hero-sub {
  margin-top: 2rem;
  max-width: var(--measure);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.4rem;
}

/* ---------- definition ---------- */

.definition {
  padding: clamp(5rem, 12vw, 9rem) var(--pad-x);
  border-top: 1px solid var(--haze-soft);
  max-width: 62rem;
}

.dict {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-display);
}
.dict-word {
  font-stretch: 74%;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}
.dict-phon { color: var(--cobalt); font-weight: 500; }
.dict-pos { color: var(--ink-soft); font-style: italic; font-family: var(--font-body); }

.dict-def {
  margin-top: 1.2rem;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.35;
  max-width: 26em;
  text-wrap: balance;
}

.dict-gloss {
  margin-top: 1.4rem;
  max-width: var(--measure);
  color: var(--ink-soft);
}

/* ---------- ventures ---------- */

.ventures {
  padding: clamp(4rem, 10vw, 8rem) var(--pad-x);
  border-top: 1px solid var(--haze-soft);
}

.venture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
}

/* stacked-plane card: the depth motif again */
.venture-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--haze-soft);
  border-radius: 14px;
  padding: 1.8rem 1.7rem 2rem;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.venture-card::before,
.venture-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 14px;
  border: 1px solid var(--haze-soft);
  background: var(--paper);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.venture-card::before { transform: translate(7px, 7px); opacity: 0.75; }
.venture-card::after  { transform: translate(14px, 14px); opacity: 0.45; }
.venture-card:hover { transform: translate(-4px, -4px); }
.venture-card:hover::before { transform: translate(12px, 12px); }
.venture-card:hover::after  { transform: translate(22px, 22px); }

.venture-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--haze);
  flex: none;
}
.dot-live { background: var(--cobalt); }
.dot-open { background: var(--solar); }

.venture-name {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-stretch: 72%;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.venture-kind {
  margin-top: 0.3rem;
  font-family: var(--font-body);
  font-style: italic;
  color: var(--cobalt);
}

.venture-copy {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.venture-copy a {
  color: var(--ink);
  text-decoration-color: var(--cobalt);
  text-underline-offset: 3px;
}

/* ---------- approach ---------- */

.approach {
  padding: clamp(4rem, 10vw, 8rem) var(--pad-x);
  border-top: 1px solid var(--haze-soft);
}

.approach-list {
  list-style: none;
  max-width: 62rem;
}

.approach-item {
  display: grid;
  grid-template-columns: minmax(12rem, 22rem) 1fr;
  gap: 1.5rem 3rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--haze-soft);
  align-items: start;
}
.approach-item:last-child { border-bottom: none; }

/* each principle sits one step deeper — indentation as depth */
.approach-item:nth-child(2) { padding-left: clamp(0rem, 6vw, 4rem); }
.approach-item:nth-child(3) { padding-left: clamp(0rem, 12vw, 8rem); }

.approach-name {
  font-family: var(--font-display);
  font-stretch: 68%;
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.approach-copy {
  color: var(--ink-soft);
  max-width: var(--measure);
}

/* ---------- contact ---------- */

.contact {
  padding: clamp(5rem, 13vw, 10rem) var(--pad-x);
  border-top: 1px solid var(--haze-soft);
  text-align: left;
}

.contact-title {
  margin: 0.6rem 0 2.2rem;
  font-family: var(--font-display);
  font-stretch: 88%;
  font-weight: 780;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.contact-title em {
  font-style: italic;
  color: var(--cobalt);
}

/* ---------- subpages ---------- */

.page {
  padding: clamp(8rem, 16vh, 11rem) var(--pad-x) clamp(4rem, 10vw, 7rem);
  min-height: 72svh;
}

.page-lead {
  margin-top: 1.4rem;
  max-width: var(--measure);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  text-wrap: balance;
}

.about { max-width: 46rem; }

.about-lead {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.35;
  text-wrap: balance;
}

.about-copy {
  margin-top: 1.4rem;
  color: var(--ink-soft);
  max-width: var(--measure);
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 4rem;
  margin: 2.6rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--haze-soft);
}

.stat dt {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.stat dd {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-stretch: 72%;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--cobalt);
}

/* ---------- footer ---------- */

.site-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  padding: 1.6rem var(--pad-x) 2rem;
  border-top: 1px solid var(--haze-soft);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.foot-note { font-style: italic; }

.foot-address {
  font-style: normal;
}
.foot-address a {
  color: inherit;
  text-decoration: none;
}
.foot-address a:hover { color: var(--ink); }

/* ---------- reveals ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- responsive ---------- */

@media (max-width: 720px) {
  .approach-item { grid-template-columns: 1fr; gap: 0.6rem; }
  .approach-item:nth-child(2),
  .approach-item:nth-child(3) { padding-left: 0; }
  .hero { padding-top: 6rem; }
  .ring-3 { right: -8vw; top: 55%; width: 38vw; height: 38vw; }
  .depth-field { opacity: 0.65; }
  .site-nav a:not(.nav-cta) { display: none; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .venture-card, .venture-card::before, .venture-card::after { transition: none; }
}
