/* =========================================================
   STUDIO Z AI — Design System
   Human Intelligence. AI Amplified.
   ========================================================= */

:root {
  /* Palette */
  --black:        #0B0B0B;   /* deep matte black */
  --black-soft:   #111112;
  --ivory:        #F5F1E8;   /* warm ivory */
  --ivory-deep:   #ECE6D8;
  --gold:         #C9A227;   /* North Star gold */
  --gold-bright:  #E3C15A;
  --gold-deep:    #A8871C;
  --aurora:       #6FA8DC;   /* Aurora Blue — micro accent only, never dominant */
  --charcoal:     #1C1C1E;
  --gray:         #8A8A8F;
  --gray-light:   #B9B9C0;
  --line:         rgba(201, 162, 39, 0.20);
  --glass:        rgba(255, 255, 255, 0.035);
  --glass-border: rgba(255, 255, 255, 0.07);

  /* Type */
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Rhythm — more breathing room */
  --maxw: 1140px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(5.5rem, 12vw, 11rem);
  --radius: 16px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip (not hidden) so the body doesn't become a scroll container,
     which would break position: sticky on the nav */
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Constellation canvas (background starfield) */
#constellation {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
/* Cursor particle trail — drawn above content, never intercepts clicks */
#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 60;
  pointer-events: none;
}

main, .nav, .footer { position: relative; z-index: 1; }

/* ---------- Utility ---------- */
.text-gold { color: var(--gold); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
.eyebrow.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  --btn-py: 0.85rem;
  --btn-px: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: var(--btn-py) var(--btn-px);
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.35s var(--ease), color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn--lg { --btn-py: 1.05rem; --btn-px: 2.1rem; font-size: 1rem; }
.btn--sm { --btn-py: 0.6rem; --btn-px: 1.15rem; font-size: 0.85rem; }

/* Metallic gold — soft gradient, inner highlight, layered shadow.
   Think Apple Vision Pro / Bang & Olufsen: expensive, not flat. */
.btn--gold {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28), transparent 42%),
    linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 48%, var(--gold-deep) 100%);
  color: #1a1400;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 6px 22px rgba(201, 162, 39, 0.28),
    0 2px 6px rgba(0,0,0,0.3);
  text-shadow: 0 1px 0 rgba(255,255,255,0.25);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 12px 38px rgba(201, 162, 39, 0.42),
    0 3px 10px rgba(0,0,0,0.35);
}

/* soft gold shimmer sweep */
.btn--gold::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
}
.btn--gold:hover::after { left: 130%; }

.btn--ghost {
  background: var(--glass);
  border-color: var(--line);
  color: var(--ivory);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--gold); transform: translateY(-2px); }

.link-gold {
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.link-gold:hover { border-color: var(--gold); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  position: -webkit-sticky; /* Safari */
  top: 0;
  z-index: 100; /* above hero art (0), content, and particle canvas (60) */
  backdrop-filter: blur(14px);
  background: rgba(11, 11, 11, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(11, 11, 11, 0.85);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.02em; }
.brand__logo { width: 30px; height: 30px; display: block; }
.brand__star { color: var(--gold); font-size: 1.1rem; }
.brand__accent { color: var(--gold); }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-family: var(--font-head); font-size: 0.92rem; font-weight: 400; color: var(--gray-light); transition: color 0.3s var(--ease); }
.nav__links a:hover { color: var(--ivory); }
.nav__links .btn { color: #1a1400; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 0.4rem; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ivory); transition: 0.3s var(--ease); }
.nav__mobile { display: none; flex-direction: column; gap: 0.4rem; padding: 1rem var(--pad) 1.6rem; border-bottom: 1px solid var(--line); background: rgba(11,11,11,0.95); }
.nav__mobile a { font-family: var(--font-head); padding: 0.6rem 0; color: var(--gray-light); }
.nav__mobile .btn { color: #1a1400; margin-top: 0.5rem; }

/* ---------- Abstract hero art layer ----------
   Brand-native art (glass/orb/constellation/aurora) behind heroes.
   Fixed opacity, sits above the base black but below content. */
.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  opacity: 0.85;
  /* fade the art into the black at the edges so it never looks like a photo box */
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 45%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 80% at 50% 45%, #000 55%, transparent 100%);
}
.hero-art--orb    { background-image: url("../assets/art-orb.svg"); }
.hero-art--arcs   { background-image: url("../assets/art-arcs.svg"); }
.hero-art--aurora { background-image: url("../assets/art-aurora.svg"); }
/* gentle parallax drift, disabled for reduced motion below */
.hero-art--drift { animation: artDrift 26s ease-in-out infinite alternate; }
@keyframes artDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.06) translate3d(0, -1.4%, 0); }
}

/* ---------- Hero (cinematic) ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-block: clamp(6rem, 14vw, 11rem) var(--section-y);
  overflow: hidden;
}
/* The star that glows and breathes above the headline */
.hero__star {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold);
  display: inline-block;
  margin-bottom: 1.6rem;
  filter: drop-shadow(0 0 16px rgba(201,162,39,0.6));
  animation: starGlow 6s ease-in-out infinite;
}
/* Very faint pool of light behind the star — centered on the content,
   subtle, not an oval slab */
.hero__glow {
  position: absolute;
  top: 50%; left: 50%;
  width: min(560px, 72vw); height: 560px;
  transform: translate(-50%, -60%);
  background: radial-gradient(circle at center, rgba(201,162,39,0.11), transparent 60%);
  filter: blur(34px);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; text-align: center; width: 100%; }
.hero__title {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 700;
  margin: 0.5rem 0 1.8rem;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero__lede { font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 42ch; margin-inline: auto; color: var(--gray-light); }
.hero__sub { color: var(--gray-light); max-width: 46ch; margin: 1rem auto 2.6rem; font-size: 1.02rem; opacity: 0.85; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.trustbar {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  justify-content: center;
  padding: 0;
  margin: 3.5rem 0 0;
}
.trustbar li {
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--gray-light);
  position: relative;
  padding-left: 1.3rem;
}
.trustbar li::before { content: "✦"; color: var(--gold); position: absolute; left: 0; }

/* ---------- Philosophy strip ---------- */
.philosophy { padding-block: var(--section-y); text-align: center; }
.philosophy__inner { max-width: 780px; }
.philosophy__star {
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 1.4rem;
  display: inline-block;
  filter: drop-shadow(0 0 14px rgba(201,162,39,0.55));
  animation: starGlow 5s ease-in-out infinite;
}
.philosophy__headline { font-size: clamp(1.7rem, 4vw, 2.7rem); margin-bottom: 1.5rem; }
.philosophy__body { color: var(--gray-light); font-size: 1.12rem; max-width: 52ch; margin-inline: auto; }
.philosophy__signature { font-family: var(--font-head); color: var(--gold); font-size: 1.15rem; margin-top: 1.6rem; letter-spacing: 0.02em; }

/* ---------- Dividers ---------- */
.divider {
  height: 1px;
  max-width: var(--maxw);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section__head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__title { font-size: clamp(1.9rem, 4.5vw, 3rem); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--line); background: rgba(255,255,255,0.06); }
.card__num { font-family: var(--font-head); color: var(--gold); font-size: 0.9rem; letter-spacing: 0.1em; }
.card h3 { font-size: 1.4rem; margin: 0.7rem 0 0.8rem; }
.card p { color: var(--gray-light); margin: 0; }

/* ---------- Ivory bands ---------- */
.band-ivory {
  background: var(--ivory);
  color: var(--charcoal);
  padding-block: var(--section-y);
}
.band-ivory .eyebrow { color: #9a7b12; }
.band-ivory strong { color: var(--charcoal); }

.why { max-width: 760px; }
.why__title { font-size: clamp(1.9rem, 4.5vw, 3rem); color: var(--charcoal); margin-bottom: 1.2rem; }
.why__tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.6rem; }
.why__tags span {
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(28,28,30,0.15);
  border-radius: 999px;
  color: #55524a;
}
.why__body { color: #46443d; font-size: 1.1rem; }

/* ---------- Chips ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.8rem; padding: 0; margin: 0; }
.chips li {
  font-family: var(--font-head);
  font-size: 0.92rem;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass);
  color: var(--ivory);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.chips li:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }

/* ---------- Tiles (industries) ---------- */
.tile {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-head);
  font-size: 1.1rem;
  padding: 1.6rem 1.6rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--glass);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.tile span { color: var(--gold); }
.tile:hover { border-color: var(--line); transform: translateY(-3px); }

/* ---------- Process ---------- */
.process { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.process__step { position: relative; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.process__num { font-family: var(--font-head); color: var(--gold); font-size: 0.95rem; letter-spacing: 0.15em; }
.process__step h3 { font-size: 1.35rem; margin: 0.8rem 0 0.6rem; }
.process__step p { color: var(--gray-light); font-size: 0.98rem; margin: 0; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 120px 1fr; gap: 2.5rem; align-items: start; max-width: 900px; }
.founder__mark {
  font-size: 3.4rem;
  color: var(--gold);
  filter: drop-shadow(0 0 16px rgba(201,162,39,0.45));
  line-height: 1;
}
.founder__name { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--charcoal); }
.founder__role { font-family: var(--font-head); color: #9a7b12; margin-bottom: 1.4rem; font-size: 1rem; }
.founder__body p { color: #46443d; }
.founder .link-gold { color: #9a7b12; }
.founder .link-gold:hover { border-color: #9a7b12; }

/* Founder with photo — portrait on the left, text on the right */
.founder--photo { grid-template-columns: 280px 1fr; gap: clamp(2rem, 4vw, 3.5rem); max-width: 980px; align-items: center; }
.founder__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201,162,39,0.35);
  box-shadow: 0 16px 44px rgba(0,0,0,0.22);
  background: linear-gradient(160deg, #1c1c1e, #0b0b0b);
}
.founder__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* graceful empty state before the photo file is added */
.founder__photo-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  font-size: 3.4rem;
  color: var(--gold);
  filter: drop-shadow(0 0 16px rgba(201,162,39,0.45));
}
.founder__photo.is-empty { border-style: dashed; }
.founder__photo.is-empty .founder__photo-fallback { display: grid; }

/* ---------- Why we exist ---------- */
.exist { max-width: 820px; margin-inline: auto; text-align: center; }
.exist__lead {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}
.exist__lead .text-gold { color: var(--gold); }
.exist__body { color: var(--gray-light); font-size: 1.12rem; max-width: 56ch; margin-inline: auto; }

/* ---------- Selected clients ---------- */
.clients { text-align: center; }
.clients__grid {
  list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.clients__grid li {
  background: var(--black);
  padding: 2.2rem 1rem;
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.clients__grid li:hover { color: var(--ivory); background: var(--black-soft); }
.clients__note { color: var(--gray); font-size: 0.9rem; margin-top: 1.4rem; font-style: italic; }

/* ---------- Insights ---------- */
.insights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.insight {
  display: block;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.insight:hover { transform: translateY(-4px); border-color: var(--line); }
.insight__tag { font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--aurora); }
.insight h3 { font-size: 1.3rem; margin: 0.8rem 0 0.6rem; }
.insight p { color: var(--gray-light); font-size: 0.98rem; margin: 0 0 1rem; }
.insight__more { font-family: var(--font-head); font-size: 0.9rem; color: var(--gold); }

/* ---------- Final CTA ---------- */
.cta { position: relative; padding-block: clamp(5rem, 11vw, 8rem); text-align: center; overflow: hidden; }
.cta__glow {
  position: absolute;
  bottom: -40%; left: 50%;
  width: min(800px, 90vw); height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(201,162,39,0.2), transparent 65%);
  filter: blur(24px);
  pointer-events: none;
}
.cta__inner { position: relative; max-width: 620px; }
.cta__title { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 1.2rem; }
.cta__body { color: var(--gray-light); font-size: 1.12rem; margin-bottom: 2.2rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 3rem; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; text-align: center; }
.footer__brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.footer__tag { color: var(--gray-light); font-size: 0.95rem; margin: 0; }
.footer__links { display: flex; gap: 1.6rem; flex-wrap: wrap; justify-content: center; }
.footer__links a { font-family: var(--font-head); font-size: 0.88rem; color: var(--gray-light); transition: color 0.3s var(--ease); }
.footer__links a:hover { color: var(--gold); }
.footer__signature { font-family: var(--font-head); color: var(--gold); font-size: 0.88rem; letter-spacing: 0.06em; margin: 0.5rem 0 0; }

/* =========================================================
   Our North Star page
   ========================================================= */
.ns-hero { position: relative; padding-block: clamp(5rem, 12vw, 9rem) var(--section-y); text-align: center; overflow: hidden; }
.ns-hero__inner { position: relative; z-index: 1; max-width: 820px; margin-inline: auto; }
.ns-hero__star {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 1.4rem;
  display: inline-block;
  filter: drop-shadow(0 0 20px rgba(201,162,39,0.6));
  animation: starGlow 5s ease-in-out infinite;
}
.ns-hero__title { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 1.6rem; }
.ns-hero__lede { color: var(--gray-light); font-size: clamp(1.1rem, 2.2vw, 1.3rem); max-width: 52ch; margin-inline: auto; }

.ns-beliefs { max-width: 760px; text-align: center; }
.ns-beliefs__list {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.8rem 1.4rem;
  margin: 1.8rem 0 2.4rem;
}
.ns-beliefs__list li {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.ns-beliefs__list span { color: var(--gold); font-size: 0.7em; }
.ns-beliefs__closer { color: var(--gray-light); font-size: 1.12rem; max-width: 54ch; margin-inline: auto; }

/* Long-form scrolling manifesto */
.manifesto-long { padding-block: clamp(2rem, 5vw, 4rem); }
.ms { padding-block: clamp(3.5rem, 9vw, 7rem); }
.ms__inner { max-width: 760px; }
.ms__num {
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 1.4rem;
}
.ms__lead {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.6rem;
}
.ms__text { color: var(--gray-light); font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 58ch; }
.text-gold-soft { color: var(--gold-bright); font-family: var(--font-head); font-weight: 500; }
.ms__pillars { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.4rem; }
.ms__pillars li {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.ms__pillars span { color: var(--gold); font-size: 1.1rem; }
.ms__pillars strong { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.3rem, 3vw, 1.9rem); color: var(--ivory); }
.ms__pillars em { color: var(--gray-light); font-style: normal; font-size: 1.02rem; }

.manifesto { max-width: 820px; text-align: center; }
.manifesto__title { font-size: clamp(1.7rem, 4vw, 2.6rem); color: var(--charcoal); margin-bottom: 2.2rem; }
.manifesto__list { list-style: none; padding: 0; margin: 0; text-align: left; display: grid; gap: 1.1rem; }
.manifesto__list li {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  line-height: 1.4;
  color: var(--charcoal);
  padding-left: 2rem;
  position: relative;
}
.manifesto__list li::before { content: "✦"; color: var(--gold); position: absolute; left: 0; top: 0.15em; }

.ns-promise .card h3 { font-size: 1.25rem; }

/* =========================================================
   Capabilities — annual-report style
   Huge type. Lots of whitespace. Minimal ornament.
   ========================================================= */
.report__cover { position: relative; overflow: hidden; padding-block: clamp(6rem, 14vw, 12rem) clamp(3rem, 7vw, 6rem); }
.report__cover .container { position: relative; z-index: 1; }
.report__title {
  font-size: clamp(4rem, 16vw, 12rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin: 0.5rem 0 1.5rem;
}
.report__subtitle { color: var(--gray-light); font-size: clamp(1.1rem, 2.4vw, 1.5rem); max-width: 40ch; margin-bottom: 2.2rem; }
.report__print { margin-top: 0.5rem; }

.report__statement { padding-block: clamp(4rem, 10vw, 8rem); }
.report__big {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2rem, 7vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.report__section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.report__section--ivory { background: var(--ivory); color: var(--charcoal); }
.report__section--ivory .eyebrow { color: #9a7b12; }

.report__rows { margin-top: 2rem; }
.report__row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: baseline;
  padding: clamp(1.6rem, 3vw, 2.6rem) 0;
  border-top: 1px solid var(--line);
}
.report__row:last-child { border-bottom: 1px solid var(--line); }
.report__row h2 { font-size: clamp(1.8rem, 4.5vw, 3.2rem); font-weight: 600; letter-spacing: -0.02em; }
.report__row p { color: var(--gray-light); font-size: 1.08rem; margin: 0; }

.report__matrix {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.report__matrix li {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 500;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(28,28,30,0.12);
}
.report__matrix li::before { content: "✦ "; color: var(--gold); font-size: 0.7em; vertical-align: middle; }

.report__industries { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; margin-top: 2rem; }
.report__industries span {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.6vw, 1.8rem);
  font-weight: 500;
  color: var(--ivory);
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--line);
}

.report__process {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.8rem, 6vw, 4rem);
  letter-spacing: -0.02em;
  margin: 2rem 0 1rem;
}
.report__process span { color: var(--gold); margin: 0 0.3em; }
.report__process-note { color: var(--gray-light); font-size: 1.05rem; max-width: 60ch; }

.report__quote { padding-block: clamp(5rem, 12vw, 9rem); text-align: center; }
.report__quote-text {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.8rem, 5.5vw, 4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.report__quote-attr { font-family: var(--font-head); color: var(--gray); margin-top: 1.4rem; letter-spacing: 0.1em; }

/* =========================================================
   Contact — conversational form
   ========================================================= */
.contact { position: relative; padding-block: clamp(6rem, 13vw, 10rem) var(--section-y); overflow: hidden; }
.contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact__intro { position: sticky; top: 6rem; }
.contact__title { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; letter-spacing: -0.03em; margin: 0.5rem 0 1.2rem; }
.contact__lede { color: var(--gray-light); font-size: 1.15rem; max-width: 42ch; }
.contact__alt { color: var(--gray-light); margin-top: 1.6rem; }
.contact__signature { font-family: var(--font-head); color: var(--gold); letter-spacing: 0.06em; margin-top: 2rem; font-size: 0.9rem; }

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  backdrop-filter: blur(10px);
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-size: 0.9rem; color: var(--ivory); font-weight: 500; }
.field__opt { color: var(--gray); font-weight: 400; }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ivory);
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; }
.field select { appearance: none; cursor: pointer; }
.field input::placeholder,
.field textarea::placeholder { color: var(--gray); }
/* Gold focus states — accessible and on-brand */
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.25);
}
.field__note { color: var(--gray); font-size: 0.88rem; margin: 0.9rem 0 0; }
.hidden { position: absolute; left: -9999px; }

/* =========================================================
   Illustration & Animation — portfolio gallery
   ========================================================= */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.4rem, 3vw, 2.2rem); }
.work {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--card, #121214);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
  position: relative;
}
.work:hover { transform: translateY(-5px); border-color: var(--line); box-shadow: 0 18px 50px rgba(0,0,0,0.4); }
.work__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.work__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.work:hover .work__media img { transform: scale(1.04); }
/* play glyph overlay — signals motion/animation */
.work__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.work:hover .work__play { opacity: 1; }
.work__play span {
  width: 66px; height: 66px;
  border-radius: 999px;
  background: rgba(11,11,11,0.55);
  border: 1px solid var(--gold);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
}
.work__play span::before {
  content: "";
  width: 0; height: 0;
  border-left: 18px solid var(--gold-bright);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}
.work__body { padding: 1.3rem 1.5rem 1.5rem; }
.work__cat { font-family: var(--font-head); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.work__title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; margin: 0.5rem 0 0.4rem; color: var(--ivory); }
.work__desc { color: var(--gray-light); font-size: 0.96rem; margin: 0; }
.gallery-note { color: var(--gray); font-size: 0.95rem; font-style: italic; text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* =========================================================
   Lightbox
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox[hidden] { display: none; }
.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 7, 0.86);
  backdrop-filter: blur(8px);
  animation: lbFade 0.3s var(--ease);
}
.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1000px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--black-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  overflow: hidden;
  animation: lbRise 0.4s var(--ease);
}
.lightbox__close {
  position: absolute;
  top: 0.6rem; right: 0.9rem;
  z-index: 3;
  width: 44px; height: 44px;
  font-size: 2rem;
  line-height: 1;
  color: var(--ivory);
  background: rgba(11,11,11,0.5);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.lightbox__close:hover { color: var(--gold); border-color: var(--gold); transform: scale(1.05); }
.lightbox__stage {
  background: #000;
  display: grid;
  place-items: center;
  min-height: 200px;
}
.lightbox__stage img,
.lightbox__stage video {
  width: 100%;
  height: auto;
  max-height: 74vh;
  display: block;
  object-fit: contain;
}
.lightbox__caption { padding: 1.1rem 1.5rem 1.3rem; border-top: 1px solid var(--line); }
.lightbox__cat { font-family: var(--font-head); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 0 0 0.3rem; }
.lightbox__title { font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; color: var(--ivory); margin: 0; }
body.lightbox-open { overflow: hidden; }

@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbRise { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }

/* =========================================================
   Email reveal + popup (email is assembled in JS, not in source)
   ========================================================= */
/* trigger buttons styled to match their surroundings */
.email-reveal {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}
.link-gold.email-reveal { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease); }
.link-gold.email-reveal:hover { border-color: var(--gold); }
.footer__contact {
  font-family: var(--font-head);
  font-size: 0.88rem;
  color: var(--gray-light);
  transition: color 0.3s var(--ease);
}
.footer__contact:hover { color: var(--gold); }

.emailpop { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 1.5rem; }
.emailpop[hidden] { display: none; }
.emailpop__overlay { position: absolute; inset: 0; background: rgba(6,6,7,0.82); backdrop-filter: blur(6px); animation: lbFade 0.3s var(--ease); }
.emailpop__dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: var(--black-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0,0,0,0.6);
  padding: 2rem 1.8rem 1.8rem;
  text-align: center;
  animation: lbRise 0.4s var(--ease);
}
.emailpop__close {
  position: absolute;
  top: 0.5rem; right: 0.7rem;
  width: 40px; height: 40px;
  font-size: 1.7rem; line-height: 1;
  color: var(--gray-light);
  background: none; border: 0; cursor: pointer;
  transition: color 0.3s var(--ease);
}
.emailpop__close:hover { color: var(--gold); }
.emailpop__eyebrow { font-family: var(--font-head); font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 0.7rem; }
.emailpop__addr { display: block; font-family: var(--font-head); font-size: clamp(1.1rem, 3.5vw, 1.5rem); color: var(--ivory); word-break: break-all; margin-bottom: 1.4rem; border-bottom: 1px solid transparent; }
.emailpop__addr:hover { color: var(--gold-bright); }
.emailpop__actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.emailpop__actions .btn { cursor: pointer; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Star glow keyframe ---------- */
@keyframes starGlow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(201,162,39,0.4)); transform: scale(1); }
  50%      { filter: drop-shadow(0 0 22px rgba(201,162,39,0.85)); transform: scale(1.06); }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .insights__grid { grid-template-columns: 1fr; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__mobile { display: flex; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; gap: 1.4rem; }
  .founder__mark { font-size: 2.6rem; }
  .founder--photo { grid-template-columns: 1fr; }
  .founder__photo { width: min(260px, 70%); }
  .clients__grid { grid-template-columns: 1fr; }
  .ms__pillars li { grid-template-columns: auto 1fr; }
  .ms__pillars em { grid-column: 1 / -1; }
  .contact__inner { grid-template-columns: 1fr; }
  .contact__intro { position: static; }
  .contact__form { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
}

/* =========================================================
   Reduced motion — respect the user
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  #constellation, #particles { display: none; }
  .hero__star { animation: none; }
  .hero-art--drift { animation: none; }
  .lightbox__overlay, .lightbox__dialog { animation: none; }
  .emailpop__overlay, .emailpop__dialog { animation: none; }
}

@media (max-width: 720px) {
  .report__row { grid-template-columns: 1fr; gap: 0.6rem; }
  .report__matrix { grid-template-columns: 1fr; }
}

/* =========================================================
   Print — Capabilities exports to a clean PDF leave-behind
   ========================================================= */
@media print {
  @page { size: letter; margin: 0.55in; }
  .nav, .footer, #constellation, #particles, .report__print, .cta { display: none !important; }
  html, body { background: #0B0B0B !important; color: #F5F1E8 !important; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .report__cover { padding: 0 0 1.2rem !important; }
  .report__title { font-size: 3.4rem !important; }
  .report__statement, .report__section, .report__quote { padding-block: 1rem !important; page-break-inside: avoid; }
  .report__section--ivory { background: #F5F1E8 !important; color: #1C1C1E !important; }
  .report__big { font-size: 2rem !important; }
  .report__row h2 { font-size: 1.5rem !important; }
  .report__quote-text { font-size: 1.8rem !important; }
  .divider { display: none; }
  a { color: inherit !important; text-decoration: none !important; }
}
