/* ============================================================
   PRONOYA — marketing site
   Design system: editorial / high-contrast / premium-minimal
   ("blueprint ai" aesthetic — pure-black canvas, off-white ink,
    oversized grotesque, italic-serif accents, mono eyebrows)
   ============================================================ */

:root {
  /* ---- color ---- */
  --bg:          #000000;
  --bg-2:        #0a0a0a;   /* raised panels / cards */
  --ink:         #fafafa;   /* primary text */
  --ink-soft:    #bdbdbd;   /* secondary text */
  --dim:         #6b6b6b;   /* muted / captions */
  --faint:       #3a3a3a;   /* hairline accents on dark */
  --rule:        rgba(255,255,255,0.08);
  --rule-strong: rgba(255,255,255,0.16);

  /* One confident accent. Monochrome by default (faithful to the
     reference). To introduce a color accent later, change ONLY this
     token — e.g. --accent: #1f3df0 (cobalt) or #c98a2b (amber). */
  --accent:      #ffffff;

  /* ---- type ---- */
  --sans:  "Space Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* ---- rhythm ---- */
  --gutter: clamp(22px, 5vw, 120px);
  --section-y: clamp(96px, 16vh, 220px);
  --maxw: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

::selection { background: rgba(255,255,255,0.22); color: #fff; }

a { color: inherit; text-decoration: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

.section-pad { padding-block: var(--section-y); }

/* hairline divider between sections */
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  background: linear-gradient(to bottom, rgba(0,0,0,0.92), rgba(0,0,0,0.62) 70%, rgba(0,0,0,0));
  backdrop-filter: blur(6px);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}
.nav-links a { transition: color .25s ease; }
.nav-links a:hover { color: var(--ink); }

/* nav pill button ("The Blueprint AI") — bordered, uppercase, rounded */
.nav-cta {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 999px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  transition: border-color .3s ease, background .3s ease;
}
.nav-cta .bstar { font-size: 0.95em; line-height: 1; transition: transform .4s ease; }
.nav-cta:hover { border-color: var(--ink); background: rgba(255,255,255,0.05); }
.nav-cta:hover .bstar { transform: rotate(90deg); }

/* wordmark */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: lowercase;
  color: var(--ink);
}
.wordmark .mark {
  width: 7px; height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
  display: inline-block;
}

/* ============================================================
   TYPE PRIMITIVES
   ============================================================ */

/* mono eyebrow / section label */
.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 11px;
  font-weight: 500;
  color: var(--dim);
}

/* display headline — elegant serif (coherent across the site) */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
.display--sm {
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.14;
}

/* italic-serif accent — for emphasis fragments & payoff lines */
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* the giant stat number ("One in 5", "20%") */
.stat {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(56px, 10vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin: 0;
}

/* lead / subhead paragraph */
.lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  max-width: 22em;
  margin: 0;
}
.lead--wide { max-width: 30em; }

/* body paragraph */
.body {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0;
}

/* inline white emphasis inside dim text */
.hl { color: var(--ink); font-weight: 500; }
.hl-accent { color: var(--accent); font-weight: 500; }

/* staccato beats — short fragments stacked as visual rhythm */
.beats {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(19px, 2.3vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0;
}
.beats span { display: block; }
.beats .soft { color: var(--dim); }

/* a full-width payoff / mic-drop statement */
.payoff {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

/* ============================================================
   BUTTONS
   ============================================================ */

/* primary CTA — thin framed button, uppercase, with ✦ mark (used sitewide) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 40px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.34);
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color .3s ease, background .3s ease, color .3s ease;
}
.btn .bstar { font-size: 0.95em; line-height: 1; color: var(--ink); transition: transform .4s ease; }
.btn:hover { border-color: var(--ink); background: rgba(255,255,255,0.05); }
.btn:hover .bstar { transform: rotate(90deg); }
/* legacy trailing-glyph hooks (kept harmless for any button still using them) */
.btn .arr, .btn .down { opacity: 0.5; font-weight: 500; }

/* ghost pill — bordered, used for the fork buttons & secondary links */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 32px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  cursor: pointer;
  background: transparent;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.01em;
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.btn-ghost .arr { color: var(--dim); transition: transform .3s ease, color .3s ease; }
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(255,255,255,0.03);
}
.btn-ghost:hover .arr { color: var(--ink); transform: translateX(4px); }

/* ============================================================
   COMPONENTS
   ============================================================ */

/* numbered how-it-works step — rounded bordered card */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
.step {
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: clamp(34px, 3.4vw, 52px) clamp(22px, 2.4vw, 34px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-n {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 20px);
  letter-spacing: 0.02em;
  color: var(--dim);
  margin-bottom: clamp(22px, 3.4vh, 40px);
}
.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 16px;
}
.step p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 26ch;
}

/* "where we've built" name row */
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px clamp(18px, 2.6vw, 40px); }
.proof .name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(16px, 1.5vw, 21px);
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
}
.proof .name:not(:last-child)::after {
  content: "";
  width: 5px; height: 5px;
  background: var(--faint);
  transform: rotate(45deg);
}

/* founder block — centered, circular portrait */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); }
.founder { text-align: center; }
.founder-photo {
  width: clamp(190px, 24vw, 248px);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: #000;
  margin: 0 auto 26px;
}
.founder-photo img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #000;
}
.founder-mark { font-size: 13px; color: var(--dim); margin: 0 0 16px; }
.founder-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  margin: 0;
}
.founder-fullname {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--dim);
  margin: 8px 0 0;
}
.founder-role {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--ink-soft);
  margin: 14px 0 0;
}
.founder-bio {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 22px auto 0;
  max-width: 32ch;
}
.founder-bio .forfun { color: var(--dim); }

/* bold names inside body copy */
.body strong { color: var(--ink); font-weight: 600; }

/* social icon links */
.socials { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: var(--dim);
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.socials a:hover { color: var(--ink); border-color: var(--ink); background: rgba(255,255,255,0.04); }
.socials svg { width: 16px; height: 16px; fill: currentColor; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--rule);
  padding: clamp(48px, 8vh, 96px) var(--gutter) 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}
.footer .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.2;
  color: var(--ink);
  max-width: 14em;
}
.footer-right { display: flex; flex-direction: column; gap: 12px; text-align: right; }
.footer-right a { font-size: 15px; color: var(--dim); transition: color .25s ease; }
.footer-right a:hover { color: var(--ink); }

/* ============================================================
   PERSPECTIVE GRID (subtle hero backdrop)
   ============================================================ */
.grid-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  perspective: 480px;
  -webkit-mask-image: radial-gradient(135% 92% at 50% 38%, #000 0%, transparent 70%);
          mask-image: radial-gradient(135% 92% at 50% 38%, #000 0%, transparent 70%);
}
/* one-point perspective tunnel: a floor plane + a ceiling plane */
.grid-bg::before,
.grid-bg::after {
  content: "";
  position: absolute;
  left: -50%;
  width: 200%;
  height: 70%;
  background-image:
    repeating-linear-gradient(to right, rgba(255,255,255,0.085) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(to top,   rgba(255,255,255,0.085) 0 1px, transparent 1px 84px);
  opacity: 0.55;
}
.grid-bg::before { bottom: 0;  transform-origin: bottom center; transform: rotateX(76deg); }
.grid-bg::after  { top: 0;     transform-origin: top center;    transform: rotateX(-76deg); }
.hero-z { position: relative; z-index: 1; }

/* ============================================================
   REVEAL (scroll fade) — progressive enhancement
   ============================================================ */
/* ============================================================
   REVEAL — kept as a styling hook (content rests fully visible).
   No opacity-based entrance: it must never depend on JS or animation
   playback to be readable. To add scroll-reveal in production, see README.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .founders { grid-template-columns: 1fr; gap: 56px; }
  .nav-links { gap: 18px; }
}
/* entry fork */
.fork {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: min(640px, 100%);
}
@media (max-width: 620px) { .fork { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .footer { flex-direction: column; }
  .footer-right { text-align: left; }
  .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   HOMEPAGE (single-page flow)
   ============================================================ */

/* star motif — a quiet four-point dingbat used in eyebrows */
.star { color: var(--dim); font-style: normal; }

/* hero subline (italic serif) */
.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.15;
  color: var(--ink-soft);
  margin: 24px 0 0;
}

/* down-arrow on scroll CTAs */
.btn .down { opacity: 0.5; font-weight: 500; transition: transform .25s ease; }
.btn:hover .down { transform: translateY(2px); }

/* THE NAME — etymology (centered, elegant) */
.word {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(40px, 5.2vw, 72px);
  letter-spacing: 0.01em;
  line-height: 1;
  margin: 0;
}
.phonetic {
  font-family: var(--mono);
  font-size: clamp(12px, 1.3vw, 15px);
  letter-spacing: 0.14em;
  color: var(--dim);
  margin: 18px 0 0;
}
.name-def {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.5;
  letter-spacing: 0.005em;
  color: var(--ink-soft);
  margin: 0;
  text-wrap: balance;
}
.name-def em { font-style: italic; color: var(--ink); }
.name-affirm {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.25;
  margin: 12px 0 0;
}
.name-question {
  font-family: var(--serif);
  font-style: normal;
  color: var(--ink-soft);
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.3;
  letter-spacing: 0.005em;
  margin: 0;
}
/* story / manifesto emphasis line (serif italic) */
.story-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
}
.rule-short {
  width: 92px;
  height: 1px;
  background: var(--rule-strong);
  border: 0;
  margin: clamp(40px, 6vh, 72px) auto;
}
.definition {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
  max-width: 18ch;
}
/* THE OFFER / roles statement */
.roles {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.roles .soft { color: var(--dim); }

/* THE CONSPIRATOR — Blueprint AI */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: 8px 15px;
}
.tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.6);
  animation: tagPulse 2.6s ease-out infinite;
}
@keyframes tagPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@media (prefers-reduced-motion: reduce) { .tag::before { animation: none; } }

/* link with arrow (secondary text CTA) */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(16px, 1.5vw, 19px);
  letter-spacing: -0.01em;
  color: var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 4px;
  transition: gap .25s ease, border-color .25s ease;
}
.link-arrow .arr { color: var(--dim); transition: transform .25s ease, color .25s ease; }
.link-arrow:hover { gap: 14px; border-color: var(--ink); }
.link-arrow:hover .arr { transform: translateX(3px); color: var(--ink); }

/* TEAM teaser */
.team-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
.team-teaser .founder-photo { margin-bottom: 20px; }
.team-teaser h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}
.team-teaser h3 .role { color: var(--dim); font-weight: 400; }
.team-teaser .forfun {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-soft);
  margin: 0;
}
@media (max-width: 760px) { .team-teaser { grid-template-columns: 1fr; gap: 48px; } }
