/* ==========================================================================
   COUNSEL — briefcounsel.ai
   Black & gold. Minimal, discreet, precise.
   ========================================================================== */

:root {
  --bg: #05070d;
  --bg-alt: #070a12;
  --surface: #0b0e17;
  --surface-2: #10131d;
  --gold: #c9a24a;
  --gold-light: #e8c877;
  --gold-bright: #f8eed6;
  --ink: #f2ede3;
  --body: #a9b0c2;
  --muted: #8f96a8;
  --faint: #6d6455;
  --hairline: rgba(201, 162, 74, 0.14);
  --border-gold: rgba(201, 162, 74, 0.35);
  --btn-ink: #0c0d12;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Work Sans', -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(201, 162, 74, 0.35); color: var(--ink); }

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

a { color: var(--gold-light); }
a:hover { color: var(--gold-bright); }

/* ---- type ---- */

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; }

.display {
  font-size: clamp(48px, 5.8vw, 84px);
  line-height: 1.04;
  cursor: default;
  transition: text-shadow 0.5s ease, color 0.5s ease;
}
.display:hover { color: var(--gold-bright); text-shadow: 0 0 48px rgba(232, 200, 119, 0.5); }

.h2 {
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.06;
  cursor: default;
  transition: text-shadow 0.5s ease, color 0.5s ease;
}
.h2:hover { color: var(--gold-bright); text-shadow: 0 0 44px rgba(232, 200, 119, 0.45); }

.kicker {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.lede { font-size: 17px; line-height: 1.7; color: var(--body); margin: 0; max-width: 560px; }

.slogan {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-light);
}

/* ---- layout ---- */

.container { max-width: 1160px; margin: 0 auto; padding: 0 6vw; }

section { position: relative; }

.section { padding: clamp(80px, 10vw, 130px) 0; border-top: 1px solid var(--hairline); }
.section--alt { background: var(--bg-alt); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 820px; margin-bottom: clamp(40px, 6vw, 64px); }

/* ---- buttons ---- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: box-shadow 0.35s ease, filter 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}
.btn--gold {
  color: var(--btn-ink);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 34px rgba(201, 162, 74, 0.25);
}
.btn--gold:hover { filter: brightness(1.1); box-shadow: 0 0 52px rgba(232, 200, 119, 0.5); color: var(--btn-ink); }
.btn--ghost {
  color: var(--ink);
  background: rgba(232, 200, 119, 0.02);
  border: 1px solid rgba(201, 162, 74, 0.4);
}
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); box-shadow: 0 0 30px rgba(232, 200, 119, 0.18); }

.textlink {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 200, 119, 0.4);
  padding-bottom: 3px;
  transition: text-shadow 0.35s ease, border-color 0.35s ease;
}
.textlink:hover { border-color: var(--gold-light); text-shadow: 0 0 18px rgba(232, 200, 119, 0.6); }

/* ---- nav ---- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 44px;
  background: rgba(5, 7, 13, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
}
.nav__brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.nav__brand img, .nav__brand svg { width: 26px; height: 26px; }
.nav__wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.26em;
  color: var(--ink);
}
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  position: relative;
  font-family: 'Cinzel', var(--serif);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c2b79f;
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 2px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
/* understated: a fine gold underline that draws in on hover/active */
.nav__links a:not(.nav__cta)::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0;
  transition: left 0.35s ease, right 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}
.nav__links a:hover { color: var(--gold-light); }
.nav__links a:hover:not(.nav__cta)::after { left: 0; right: 0; opacity: 0.55; }
.nav__links a.active { color: var(--gold-light); }
.nav__links a.active:not(.nav__cta)::after { left: 0; right: 0; opacity: 1; }
.nav__cta {
  font-weight: 600 !important;
  font-size: 12.5px !important;
  color: var(--btn-ink) !important;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  padding: 9px 18px;
  border-radius: 6px;
  transition: filter 0.3s ease;
}
.nav__cta:hover { filter: brightness(1.08); }

.nav__burger {
  display: none;
  background: none;
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  width: 40px;
  height: 36px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav__burger span { display: block; width: 16px; height: 1.5px; background: var(--gold-light); transition: transform 0.3s ease, opacity 0.3s ease; }

@media (max-width: 920px) {
  .nav { padding: 14px 5vw; }
  .nav__links a:not(.nav__cta)::after { display: none; }
  .nav__burger { display: flex; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #05070d;
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.55);
    padding: 8px 5vw 20px;
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 0; font-size: 15px; width: 100%; }
  .nav__links .nav__cta { margin-top: 10px; width: auto; padding: 12px 24px; }
  .nav.menu-open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ---- hero (home) ---- */

.hero {
  position: relative;
  min-height: calc(100vh - 65px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  right: -18vw;
  top: -30vh;
  width: 62vw;
  height: 120vh;
  background: radial-gradient(ellipse at center, rgba(201, 162, 74, 0.09) 0%, rgba(201, 162, 74, 0.03) 45%, transparent 70%);
  pointer-events: none;
}
.hero__quill {
  position: absolute;
  right: 5vw;
  top: 50%;
  transform: translateY(-52%);
  width: clamp(260px, 34vw, 520px);
  opacity: 0.85;
  filter: drop-shadow(0 0 60px rgba(232, 200, 119, 0.22));
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 22px; max-width: 640px; padding: 90px 0 110px; }
.hero__wordmark { display: flex; align-items: flex-end; gap: clamp(12px, 1.4vw, 20px); }
.hero__wordmark svg, .hero__wordmark img { width: clamp(40px, 3.6vw, 56px); height: auto; margin-bottom: 10px; filter: drop-shadow(0 0 22px rgba(232, 200, 119, 0.45)); }
.hero__title {
  font-size: clamp(54px, 6.2vw, 100px);
  line-height: 0.98;
  letter-spacing: 0.07em;
  white-space: nowrap;
  cursor: default;
  transition: text-shadow 0.5s ease, color 0.5s ease;
}
.hero__title:hover { color: var(--gold-bright); text-shadow: 0 0 48px rgba(232, 200, 119, 0.55), 0 0 14px rgba(232, 200, 119, 0.3); }
.hero__slogan { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; margin: 0; }
.hero__punchline-box { height: 24px; }
.hero__punchline {
  font-weight: 600;
  font-size: clamp(12px, 1.1vw, 15px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.45s ease;
}
.hero__copy { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.7; margin: 0; max-width: 480px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scrollcue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce-down 2.2s ease-in-out infinite;
}
.hero__scrollcue::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: translateY(-2px) rotate(45deg);
}

@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}

/* hero intro sequence */
.intro-rise { opacity: 0; animation: fade-up 0.8s ease-out forwards; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 920px) {
  .hero__quill { right: -14vw; opacity: 0.22; width: 340px; }
  .hero__title { white-space: normal; }
}

/* ---- ledger rows (features) ---- */

.ledger { display: flex; flex-direction: column; border-bottom: 1px solid var(--hairline); }
.ledger__row {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr;
  gap: 28px;
  align-items: baseline;
  padding: 30px 18px;
  border-top: 1px solid var(--hairline);
  transition: background 0.4s ease, padding-left 0.4s ease;
}
.ledger__row:hover { background: linear-gradient(90deg, rgba(232, 200, 119, 0.05), rgba(232, 200, 119, 0)); padding-left: 30px; }
.ledger__num { font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: 0.1em; }
.ledger__title { font-size: clamp(22px, 2.2vw, 30px); }
.ledger__desc { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0; }

@media (max-width: 720px) {
  .ledger__row { grid-template-columns: 44px 1fr; }
  .ledger__desc { grid-column: 2; }
}

/* ---- privacy points ---- */

.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 64px; }
.point {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 22px 6px;
  border-top: 1px solid var(--hairline);
  transition: background 0.4s ease;
}
.point:hover { background: linear-gradient(90deg, rgba(232, 200, 119, 0.04), rgba(232, 200, 119, 0)); }
.point__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 12px rgba(232, 200, 119, 0.8);
  flex-shrink: 0;
  transform: translateY(-2px);
}
.point span:last-child { font-size: 16px; line-height: 1.6; color: #cfd4e0; }

/* ---- pillars ---- */

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 44px; }
.pillar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(201, 162, 74, 0.3);
  transition: border-color 0.4s ease;
}
.pillar:hover { border-color: var(--gold-light); }
.pillar__num { font-family: var(--serif); font-size: 14px; letter-spacing: 0.14em; color: var(--gold); }
.pillar__title { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 1.9vw, 26px); color: var(--ink); }
.pillar__desc { font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* ---- centered statement sections ---- */

.statement { text-align: center; display: flex; flex-direction: column; gap: 22px; align-items: center; max-width: 960px; margin: 0 auto; }
.statement .h2 { font-size: clamp(48px, 6.4vw, 96px); line-height: 1.02; }
.glow-bottom {
  position: absolute;
  left: 0; right: 0; bottom: -160px;
  height: 320px;
  background: radial-gradient(ellipse at 50% 100%, rgba(201, 162, 74, 0.16) 0%, rgba(201, 162, 74, 0) 65%);
  pointer-events: none;
}

/* ---- city flythrough / final CTA ---- */

.cityscape {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  min-height: 560px;
  display: flex;
  align-items: center;
  /* static fallback while three.js loads (or if it can't) */
  background:
    radial-gradient(ellipse at 50% 110%, rgba(201, 162, 74, 0.18) 0%, rgba(201, 162, 74, 0) 60%),
    linear-gradient(0deg, #0a0c14 0%, var(--bg) 70%);
}
.cityscape__canvas { position: absolute; inset: 0; }
.cityscape__canvas canvas { display: block; width: 100%; height: 100%; }
.cityscape__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 7, 13, 0.25) 0%, rgba(5, 7, 13, 0.5) 55%, rgba(5, 7, 13, 0.96) 100%);
  pointer-events: none;
}
.cityscape__content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  padding: 120px 6vw 140px;
}
.cityscape__content .slogan {
  font-size: clamp(48px, 6.2vw, 92px);
  line-height: 1.02;
  cursor: default;
  transition: text-shadow 0.5s ease;
}
.cityscape__content .slogan:hover { text-shadow: 0 0 64px rgba(232, 200, 119, 0.65); }
.cityscape__content .lede { max-width: 460px; text-align: center; }

/* ---- cards (team, industries, pricing side) ---- */

.card {
  background: rgba(11, 14, 23, 0.86);
  border: 1px solid rgba(201, 162, 74, 0.16);
  border-radius: 14px;
  padding: 30px 26px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.card:hover { border-color: rgba(201, 162, 74, 0.45); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.team-card { display: flex; flex-direction: column; gap: 14px; }
.team-card__avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #151927;
  border: 1px solid var(--border-gold);
  position: relative;
  overflow: hidden;
}
.team-card__avatar::before {
  content: '';
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(201, 162, 74, 0.4);
}
.team-card__avatar::after {
  content: '';
  position: absolute;
  bottom: -14px; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 34px;
  border-radius: 24px 24px 0 0;
  background: rgba(201, 162, 74, 0.4);
}
.team-card h3 { font-family: var(--sans); font-weight: 600; font-size: 17px; margin: 0 0 3px; }
.team-card__role { font-size: 13px; color: var(--gold); }

/* ---- pricing ---- */

.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch; }
.tier {
  background: var(--surface);
  border: 1px solid rgba(201, 162, 74, 0.18);
  border-radius: 14px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.tier:hover { border-color: rgba(201, 162, 74, 0.5); transform: translateY(-4px); }
.tier--featured {
  border-color: rgba(201, 162, 74, 0.55);
  background: linear-gradient(180deg, rgba(201, 162, 74, 0.06), rgba(11, 14, 23, 0.9));
  box-shadow: 0 0 44px rgba(201, 162, 74, 0.12);
}
.tier__badge {
  align-self: flex-start;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--btn-ink);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 4px;
  padding: 4px 10px;
}
.tier__name { font-family: var(--serif); font-weight: 500; font-size: 28px; color: var(--ink); }
.tier__for { font-size: 13.5px; color: var(--muted); margin: -12px 0 0; }
.tier__price { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--gold-light); }
.tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; flex-grow: 1; }
.tier li { display: flex; gap: 12px; align-items: baseline; font-size: 14px; line-height: 1.55; color: #cfd4e0; }
.tier li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 10px rgba(232, 200, 119, 0.7);
  flex-shrink: 0;
  transform: translateY(-2px);
}
.tier .btn { text-align: center; }

.callout {
  background: rgba(201, 162, 74, 0.05);
  border: 1px solid rgba(201, 162, 74, 0.4);
  border-radius: 14px;
  padding: 30px 28px;
}
.callout h3 { font-family: var(--sans); font-weight: 600; font-size: 15.5px; color: var(--gold-light); margin: 0 0 10px; }
.callout p { font-size: 13.5px; line-height: 1.65; margin: 0 0 14px; }

/* ---- sneak peek: steps ---- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 44px; counter-reset: step; }
.step { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(201, 162, 74, 0.3); transition: border-color 0.4s ease; }
.step:hover { border-color: var(--gold-light); }
.step__num { font-family: var(--serif); font-size: 14px; letter-spacing: 0.14em; color: var(--gold); }
.step__title { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 1.9vw, 26px); color: var(--ink); }
.step__desc { font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* ---- sneak peek: live redaction demo ---- */

.demo {
  background: var(--surface);
  border: 1px solid rgba(201, 162, 74, 0.22);
  border-radius: 14px;
  overflow: hidden;
}
.demo__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--hairline);
  background: var(--surface-2);
}
.demo__bar-title { font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.demo__body {
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.9;
  color: #d8dce6;
  padding: 30px clamp(22px, 3vw, 40px) 36px;
}
.demo__actions { display: flex; gap: 10px; }
.demo__btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12.5px;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid rgba(201, 162, 74, 0.4);
  background: rgba(232, 200, 119, 0.03);
  color: var(--gold-light);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.demo__btn:hover { border-color: var(--gold-light); box-shadow: 0 0 22px rgba(232, 200, 119, 0.2); }
.demo__btn--primary { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--btn-ink); border: none; }
.demo__btn--primary:hover { filter: brightness(1.08); }
.demo__btn[disabled] { opacity: 0.35; cursor: default; box-shadow: none; }

.pii { position: relative; border-radius: 3px; padding: 0 2px; transition: background 0.4s ease, color 0.4s ease; white-space: nowrap; }
.pii.scanning { background: rgba(232, 200, 119, 0.22); box-shadow: 0 0 16px rgba(232, 200, 119, 0.25); }
.pii.redacted { background: #1a1d28; color: transparent; user-select: none; }
.pii.redacted::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.demo__status { font-family: var(--sans); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); padding: 0 22px 18px; min-height: 18px; }
.demo__status.active { color: var(--gold); }

/* ---- forms (contact) ---- */

.form-panel {
  background: var(--surface);
  border: 1px solid rgba(201, 162, 74, 0.18);
  border-radius: 14px;
  padding: 34px 32px;
}
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 12px; color: #c6cddc; }
.field input {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid rgba(201, 162, 74, 0.25);
  border-radius: 8px;
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.3s ease;
}
.field input:focus { border-color: rgba(232, 200, 119, 0.6); }
.field input::placeholder { color: #5c5445; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; margin-bottom: 20px; }
.check input { margin-top: 3px; accent-color: var(--gold); }
.check span { font-size: 12.5px; line-height: 1.5; }
.form-success {
  padding: 22px 24px;
  border: 1px solid rgba(201, 162, 74, 0.4);
  border-radius: 10px;
  background: rgba(201, 162, 74, 0.07);
}
.form-success strong { display: block; font-weight: 600; font-size: 14.5px; color: var(--gold-light); margin-bottom: 4px; }
.form-success p { font-size: 13px; margin: 0; }
.form-error { font-size: 13px; color: #d98c8c; margin: 10px 0 0; display: none; }

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.privacy-strip {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 26px;
  border: 1px solid rgba(201, 162, 74, 0.2);
  border-radius: 12px;
  background: rgba(201, 162, 74, 0.04);
  font-size: 13px;
}

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

.footer { border-top: 1px solid var(--hairline); padding: 64px 44px 28px; }
.footer__grid { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; max-width: 1160px; margin: 0 auto; }
.footer__brand { max-width: 300px; display: flex; flex-direction: column; gap: 18px; }
.footer__brand svg, .footer__brand img { width: 44px; height: 44px; }
.footer__wordmark { font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: 0.3em; color: var(--ink); }
.footer__brand p { font-size: 13px; line-height: 1.65; margin: 0; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col-title {
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 4px;
}
.footer__col a { font-size: 13px; color: var(--body); text-decoration: none; transition: color 0.3s ease; }
.footer__col a:hover { color: var(--gold-light); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 74, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--body);
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.footer__social a:hover { border-color: var(--gold-light); color: var(--gold-light); box-shadow: 0 0 18px rgba(232, 200, 119, 0.25); }
.footer__social svg { width: 15px; height: 15px; fill: currentColor; }
.footer__base {
  border-top: 1px solid rgba(201, 162, 74, 0.1);
  margin-top: 48px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  font-size: 12px;
  color: var(--faint);
}

/* ---- scroll reveal ---- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- page headers (inner pages) ---- */

.page-head { padding: clamp(70px, 9vw, 110px) 0 clamp(40px, 6vw, 70px); }
.page-head .container > * + * { margin-top: 18px; }

/* ==========================================================================
   V2 — depth & texture: globe hero, chips, cards, mockup, marquee
   ========================================================================== */

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

/* ---- video hero: full-bleed film behind the text ---- */

.hero--video { background: var(--bg); align-items: center; }
.hero--video .container { max-width: none; padding: 0 4vw; }
.hero--video .hero__inner { padding: 12vh 0 16vh; max-width: 640px; }
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__video-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,7,13,0.72) 0%, rgba(5,7,13,0.35) 45%, rgba(5,7,13,0.15) 70%, rgba(5,7,13,0.35) 100%),
    linear-gradient(0deg, rgba(5,7,13,0.95) 0%, rgba(5,7,13,0) 22%),
    linear-gradient(180deg, rgba(5,7,13,0.55) 0%, rgba(5,7,13,0) 24%);
  pointer-events: none;
}
@media (max-width: 920px) {
  .hero--video .hero__inner { padding: 9vh 0 14vh; }
  .hero__video-scrim {
    background:
      linear-gradient(0deg, rgba(5,7,13,0.95) 0%, rgba(5,7,13,0.35) 30%, rgba(5,7,13,0.45) 100%);
  }
}

/* horizon framing: text sits top-left, only the top arc of the earth rises
   from the bottom of the hero */
.hero--globe { background: var(--bg); align-items: flex-start; }
.hero--globe .container { max-width: none; padding: 0 4vw; }
.hero--globe .hero__inner { padding: 10vh 0 42vh; max-width: 620px; }
.hero__globe-mount { position: absolute; inset: 0; z-index: 0; }
.hero__globe-mount canvas { display: block; }
.hero__globe-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5,7,13,0.72) 0%, rgba(5,7,13,0.25) 26%, rgba(5,7,13,0) 46%, rgba(5,7,13,0) 86%, rgba(5,7,13,0.85) 100%),
    linear-gradient(90deg, rgba(5,7,13,0.55) 0%, rgba(5,7,13,0) 42%);
  pointer-events: none;
}
@media (max-width: 920px) {
  .hero--globe .hero__inner { padding: 8vh 0 46vh; }
  .hero__globe-scrim {
    background:
      linear-gradient(180deg, rgba(5,7,13,0.8) 0%, rgba(5,7,13,0.35) 30%, rgba(5,7,13,0) 52%, rgba(5,7,13,0) 86%, rgba(5,7,13,0.9) 100%);
  }
}

/* ---- status chips ---- */

.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cfd4e0;
  background: rgba(11, 14, 23, 0.72);
  border: 1px solid rgba(201, 162, 74, 0.28);
  border-radius: 999px;
  padding: 8px 15px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.chip:hover { border-color: rgba(232, 200, 119, 0.6); box-shadow: 0 0 22px rgba(232, 200, 119, 0.18); }
.chip__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 10px rgba(232, 200, 119, 0.9);
  animation: chip-pulse 2.4s ease-in-out infinite;
}
@keyframes chip-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ---- capability marquee ---- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: rgba(7, 10, 18, 0.7);
  padding: 15px 0;
  position: relative;
  z-index: 2;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__item::after {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.7;
}
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

/* ---- icon cards ---- */

.icards { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 18px; }
.icard {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 19, 29, 0.92), rgba(11, 14, 23, 0.92));
  border: 1px solid rgba(201, 162, 74, 0.16);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.icard:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 200, 119, 0.55);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 30px rgba(201, 162, 74, 0.14);
}
.icard::before {
  content: '';
  position: absolute;
  top: 0; left: 22px; right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 200, 119, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.icard:hover::before { opacity: 1; }
.icard__icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(201, 162, 74, 0.4);
  background: rgba(201, 162, 74, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}
.icard__icon svg { width: 20px; height: 20px; }
.icard__num { font-family: var(--serif); font-size: 14px; letter-spacing: 0.14em; color: var(--gold); }
.icard h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin: 0; }
.icard p { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0; }

/* ---- feature rows (home, next to mockup) ---- */

.fcards { display: flex; flex-direction: column; gap: 14px; }
.fcards--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.fcard {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
  background: rgba(11, 14, 23, 0.78);
  border: 1px solid rgba(201, 162, 74, 0.14);
  border-radius: 12px;
  padding: 20px 22px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.fcard:hover {
  transform: translateX(6px);
  border-color: rgba(232, 200, 119, 0.5);
  background: linear-gradient(90deg, rgba(232, 200, 119, 0.06), rgba(11, 14, 23, 0.78) 60%);
  box-shadow: 0 0 28px rgba(201, 162, 74, 0.1);
}
.fcard__num {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid rgba(201, 162, 74, 0.35);
  border-radius: 9px;
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fcard h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin: 0 0 5px; }
.fcard p { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---- app mockup window ---- */

.split { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 48px; align-items: start; }
.sticky-col { position: sticky; top: 96px; }
@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; }
  .sticky-col { position: static; }
}

.mockup {
  background: var(--surface);
  border: 1px solid rgba(201, 162, 74, 0.28);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.65), 0 0 70px rgba(201, 162, 74, 0.09);
}
.mockup__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--hairline);
}
.mockup__dot { width: 10px; height: 10px; border-radius: 50%; background: #23283a; }
.mockup__dot--gold { background: rgba(201, 162, 74, 0.55); }
.mockup__title {
  margin-left: 10px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.mockup__body { padding: 24px 22px; display: flex; flex-direction: column; gap: 18px; }
.mockup__label { font-weight: 600; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.mockup__para { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mline { height: 9px; border-radius: 5px; background: #1b2030; }
.mline--gold { background: rgba(201, 162, 74, 0.35); }
.mredact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 19px;
  padding: 0 9px;
  border-radius: 4px;
  background: #171a26;
  border: 1px solid rgba(201, 162, 74, 0.4);
  color: var(--gold);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mockup__status {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--hairline);
  padding: 13px 16px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ---- background texture (fine gold grid) ---- */

.texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201, 162, 74, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 74, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 72%);
}

/* ==========================================================================
   REDESIGN v2 — plain hero, three-stages, transition prompt, flow diagram
   ========================================================================== */

/* plain hero (no video/globe) */
.hero--plain { background: var(--bg); align-items: center; }
.hero--plain .hero__inner { padding: 12vh 0 12vh; max-width: 720px; }
.hero__label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(12px, 1.2vw, 15px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero__label--sub { color: #cfd4e0; }

/* three stages of AI adoption */
.stages-index {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(12px, 1.3vw, 15px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 22px 0 44px;
}
.stages-index span { position: relative; }
.stages-index span + span::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  background: rgba(201,162,74,0.5);
  transform: rotate(45deg);
  margin: 0 20px 2px 0;
}
.stages { display: flex; flex-direction: column; gap: 42px; max-width: 820px; }
.stage { display: flex; flex-direction: column; gap: 12px; }
.stage__h {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.05;
  color: var(--ink);
  cursor: default;
  transition: text-shadow 0.5s ease, color 0.5s ease;
}
.stage:hover .stage__h { color: var(--gold-bright); text-shadow: 0 0 40px rgba(232,200,119,0.4); }
.stage p { font-size: 17px; line-height: 1.7; color: var(--body); margin: 0; max-width: 680px; }

/* big transition prompt */
.transition-prompt {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 50px);
  line-height: 1.2;
  color: var(--ink);
}
.transition-prompt a {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 2px solid rgba(232,200,119,0.4);
  transition: text-shadow 0.35s ease, border-color 0.35s ease;
}
.transition-prompt a:hover { border-color: var(--gold-light); text-shadow: 0 0 22px rgba(232,200,119,0.6); }

/* flow diagram */
.flow { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; margin-top: 8px; }
.flow__step {
  flex: 1 1 180px;
  position: relative;
  background: linear-gradient(180deg, rgba(16,19,29,0.92), rgba(11,14,23,0.92));
  border: 1px solid rgba(201,162,74,0.2);
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.flow__step:hover { border-color: rgba(232,200,119,0.5); box-shadow: 0 12px 34px rgba(0,0,0,0.45), 0 0 24px rgba(201,162,74,0.12); transform: translateY(-3px); }
.flow__step:not(:last-child)::after {
  content: '›';
  position: absolute;
  right: -13px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  line-height: 1;
  color: var(--gold);
  z-index: 2;
}
.flow__n {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(201,162,74,0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 14px; color: var(--gold);
}
.flow__step p { margin: 0; font-size: 14px; line-height: 1.55; color: #cfd4e0; }
@media (max-width: 860px) {
  .flow { flex-direction: column; }
  .flow__step:not(:last-child)::after { content: '⌄'; right: 50%; top: auto; bottom: -15px; transform: translateX(50%); }
}

/* ---- living-still atmosphere (real photo + motion overlay) ---- */
.atmo-sec{ position:relative; overflow:hidden; }
.atmo{ position:absolute; inset:0; z-index:0; pointer-events:none; }
.atmo__img{ position:absolute; inset:0; background-repeat:no-repeat; }
.atmo__fx{ position:absolute; inset:0; width:100%; height:100%; }

/* full-bleed (abstract glow) */
.atmo--cover .atmo__img{ background-size:cover; background-position:center; opacity:.5;
  animation:atmo-drift 34s ease-in-out infinite alternate; }
/* right-anchored, whole subject visible (globe / africa) */
.atmo--right{ left:auto; right:0; width:64%; }
.atmo--right .atmo__img{ background-size:contain; background-position:center; opacity:.55;
  animation:atmo-drift 42s ease-in-out infinite alternate; }
@media(max-width:820px){ .atmo--right{ width:100%; opacity:.7; } .atmo--right .atmo__img{ background-size:cover; } }

@keyframes atmo-drift{ from{ transform:scale(1);} to{ transform:scale(1.06) translate(1.2%, -1.4%);} }

.atmo-scrim{ position:absolute; inset:0; z-index:1; pointer-events:none; }
.atmo-scrim--left{ background:linear-gradient(90deg, rgba(5,7,13,.94) 0%, rgba(5,7,13,.72) 30%, rgba(5,7,13,.2) 60%, rgba(5,7,13,0) 80%); }
.atmo-scrim--center{ background:radial-gradient(ellipse at 50% 50%, rgba(5,7,13,.82) 0%, rgba(5,7,13,.5) 45%, rgba(5,7,13,.12) 72%, rgba(5,7,13,0) 100%); }
/* glow: keep the text zone (top) dark, reveal the wave only along the bottom */
.atmo-scrim--glow{ background:linear-gradient(180deg, rgba(5,7,13,.99) 0%, rgba(5,7,13,.95) 38%, rgba(5,7,13,.55) 70%, rgba(5,7,13,.1) 92%, rgba(5,7,13,0) 100%); }
.atmo--bottom .atmo__img{ background-position:center bottom !important; }
.atmo-sec .container{ position:relative; z-index:2; }
@media(max-width:820px){
  .atmo-scrim--left{ background:linear-gradient(0deg, rgba(5,7,13,.9), rgba(5,7,13,.55) 55%, rgba(5,7,13,.25)); }
}
@media(prefers-reduced-motion:reduce){ .atmo__img{ animation:none; } }

/* ---- pipeline (Confidential without compromise) ---- */
.pipeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 30px; }
.pipeline__track {
  position: absolute;
  top: 38px;
  left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(201,162,74,0.12), rgba(201,162,74,0.5) 20%, rgba(201,162,74,0.5) 80%, rgba(201,162,74,0.12));
  overflow: visible;
  z-index: 0;
}
.pipeline__pulse {
  position: absolute;
  top: 50%;
  width: 9px; height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 14px 2px rgba(232,200,119,0.9);
  animation: pipe-run 5s cubic-bezier(.55,0,.45,1) infinite;
}
@keyframes pipe-run {
  0% { left: 0; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.pipe-node { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 0 10px; }
.pipe-ico {
  position: relative;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #141826, #0b0e17);
  border: 1px solid rgba(201,162,74,0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.pipe-ico svg { width: 30px; height: 30px; }
.pipe-node:hover .pipe-ico { transform: translateY(-4px); border-color: var(--gold-light); box-shadow: 0 0 30px rgba(201,162,74,0.35); }
.pipe-num {
  position: absolute;
  top: -6px; right: -6px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--btn-ink);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.pipe-node h4 { font-family: var(--serif); font-weight: 500; font-size: 16px; color: var(--ink); margin: 4px 0 0; }
.pipe-node p { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 0; max-width: 150px; }
@media (max-width: 860px) {
  .pipeline { grid-template-columns: 1fr; gap: 26px; justify-items: start; }
  .pipeline__track { top: 0; bottom: 0; left: 37px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, rgba(201,162,74,0.12), rgba(201,162,74,0.5) 15%, rgba(201,162,74,0.5) 85%, rgba(201,162,74,0.12)); }
  .pipeline__pulse { left: 50% !important; margin-left: -4.5px; animation: pipe-run-v 5s cubic-bezier(.55,0,.45,1) infinite; }
  @keyframes pipe-run-v { 0% { top: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
  .pipe-node { flex-direction: row; text-align: left; gap: 16px; }
  .pipe-node p { max-width: none; }
  .pipe-num { top: -4px; right: auto; left: 54px; }
}

/* footer tagline (replaces the old description paragraph) */
.footer__tagline {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #cfd4e0;
  margin: 0;
}

/* centered video hero — scrim balanced for centre-set text */
.hero--video .hero__video-scrim{
  background:
    radial-gradient(ellipse at 50% 45%, rgba(5,7,13,.42) 0%, rgba(5,7,13,.72) 68%, rgba(5,7,13,.9) 100%),
    linear-gradient(0deg, rgba(5,7,13,.85), rgba(5,7,13,0) 32%);
}

/* three stages with a vertical process rail — same node design as the
   What Is Counsel pipeline, running top-to-bottom, equally spaced */
.stages-x{ display:grid; grid-template-columns:1fr 96px; gap:0 56px; align-items:stretch; max-width:1000px; }
.stages-col{ display:flex; flex-direction:column; gap:40px; }
.stages-col .stage{ display:flex; flex-direction:column; gap:12px; }
.vpipe{ position:relative; display:flex; flex-direction:column; align-items:center; justify-content:space-between; padding:6px 0; }
.vpipe .pipe-ico{ position:relative; z-index:2; }
.vpipe__track{ position:absolute; left:50%; transform:translateX(-50%); top:44px; bottom:44px; width:2px;
  background:linear-gradient(180deg, rgba(201,162,74,.55), rgba(201,162,74,.2)); z-index:0; }
.vpipe__pulse{ position:absolute; left:50%; transform:translateX(-50%); width:9px; height:9px; margin-top:-4.5px;
  border-radius:50%; background:var(--gold-light); box-shadow:0 0 14px 2px rgba(232,200,119,.9); z-index:1;
  animation:vpipe-run 4.6s cubic-bezier(.55,0,.45,1) infinite; }
@keyframes vpipe-run{ 0%{ top:44px; opacity:0; } 8%{ opacity:1; } 92%{ opacity:1; } 100%{ top:calc(100% - 44px); opacity:0; } }
@media(max-width:760px){ .stages-x{ grid-template-columns:1fr; } .vpipe{ display:none; } }

/* founder cards with photos + bios */
.founders{ display:flex; flex-direction:column; gap:44px; }
.founder{ display:grid; grid-template-columns:156px 1fr; gap:30px; align-items:start; }
.founder__photo{ width:156px; height:196px; border-radius:12px; object-fit:cover; object-position:50% 15%;
  border:1px solid rgba(201,162,74,.35); background:#10131d; filter:grayscale(1) contrast(1.02); }
.founder h3{ font-family:var(--sans); font-weight:600; font-size:20px; margin:0; color:var(--ink); }
.founder .role{ font-size:13px; color:var(--gold); display:block; margin:2px 0 12px; }
.founder p{ font-size:15px; line-height:1.7; color:var(--body); margin:0; max-width:660px; }
@media(max-width:600px){ .founder{ grid-template-columns:1fr; } .founder__photo{ width:130px; height:164px; } }

/* ==========================================================================
   PLATFORM WALKTHROUGH (Sneak Peek) — recreated product UI, light mode with
   dark slate sidebar, driven by a cursor like a screen recording.
   Scoped under .walk / .app to keep it away from the dark marketing site.
   ========================================================================== */

.walk__grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 40px; align-items: center; }
@media (max-width: 940px) { .walk__grid { grid-template-columns: 1fr; gap: 26px; } }

/* left caption column */
.walk__caption { display: flex; flex-direction: column; gap: 16px; }
.walk__step {
  font-family: var(--serif); font-size: 15px; letter-spacing: 0.1em; color: var(--gold);
}
.walk__title { font-size: clamp(28px, 3vw, 40px); line-height: 1.08; transition: opacity 0.4s ease; }
.walk__desc { font-size: 16px; line-height: 1.65; color: var(--body); margin: 0; transition: opacity 0.4s ease; }
.walk__bullets { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; transition: opacity 0.4s ease; }
.walk__bullets li { display: flex; gap: 11px; align-items: baseline; font-size: 14px; color: #cfd4e0; }
.walk__bullets li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 9px rgba(232,200,119,0.7); flex-shrink: 0; transform: translateY(-2px); }
.walk.fade .walk__title, .walk.fade .walk__desc, .walk.fade .walk__bullets { opacity: 0; }
.walk__dots { display: flex; gap: 8px; margin-top: 12px; }
.walk__dot { width: 26px; height: 3px; border-radius: 2px; background: rgba(201,162,74,0.25); transition: background 0.3s ease; cursor: pointer; }
.walk__dot.on { background: var(--gold-light); }

/* the app window */
.walk__stage { position: relative; }
.app-win {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(201,162,74,0.28);
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,0,0,0.3), 0 0 70px rgba(201,162,74,0.08);
  aspect-ratio: 16 / 10.4;
  font-family: 'Inter', var(--sans);
  color: #0f1115;
  -webkit-font-smoothing: antialiased;
}
.app-topbar {
  height: 30px; background: #0b0e17; border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 7px; padding: 0 12px;
}
.app-topbar .tl { width: 9px; height: 9px; border-radius: 50%; background: #2a2f3d; }
.app-priv {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: #e8c877; border: 1px solid rgba(201,162,74,0.4); border-radius: 999px; padding: 3px 9px;
}
.app-priv::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #e8c877; box-shadow: 0 0 7px #e8c877; }
.app-body { display: flex; height: calc(100% - 30px); }

/* sidebar */
.app-side { width: 27%; max-width: 190px; background: #0f1115; color: #cdd3df; display: flex; flex-direction: column; padding: 14px 12px; gap: 3px; }
.app-side__brand { display: flex; align-items: center; gap: 8px; padding: 2px 6px 12px; }
.app-side__brand img { width: 15px; height: 15px; }
.app-side__brand span { font-family: var(--serif); font-size: 12px; letter-spacing: 0.22em; color: #f2ede3; }
.app-nav { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 7px; font-size: 11.5px; color: #aeb6c6; transition: background 0.3s ease, color 0.3s ease; }
.app-nav svg { width: 13px; height: 13px; flex-shrink: 0; stroke: currentColor; }
.app-nav.on { background: rgba(201,162,74,0.16); color: #f0d9a6; }
.app-side__spacer { flex: 1; }
.app-user { display: flex; align-items: center; gap: 8px; padding: 9px 6px 2px; border-top: 1px solid rgba(255,255,255,0.07); margin-top: 6px; }
.app-user__av { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg,#c9a24a,#7a5a24); flex-shrink: 0; }
.app-user__t { line-height: 1.25; }
.app-user__t b { font-size: 10.5px; color: #f2ede3; font-weight: 600; display: block; }
.app-user__t span { font-size: 9px; color: #7f8798; }

/* main stage where screens swap */
.app-main { flex: 1; position: relative; background: #fbfbfc; overflow: hidden; }
.screen { position: absolute; inset: 0; padding: 22px 26px; opacity: 0; visibility: hidden; transition: opacity 0.5s ease; overflow: hidden; }
.screen.is-active { opacity: 1; visibility: visible; }

/* generic product bits */
.scr-h1 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 0; color: #0f1115; }
.scr-sub { font-size: 12.5px; color: #64748b; margin: 5px 0 0; }
.scr-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #94a0b3; }
.scr-card { background: #fff; border: 1px solid #e7ebf1; border-radius: 10px; box-shadow: 0 1px 2px rgba(15,23,42,0.04); }
.gold-btn { background: linear-gradient(135deg,#c9a24a,#a97f2f); color: #fff; border: none; border-radius: 7px; font-size: 11px; font-weight: 600; padding: 7px 13px; }
.ghost-btn { background: #fff; border: 1px solid #dde3ec; border-radius: 7px; font-size: 11px; font-weight: 600; color: #334155; padding: 6px 12px; }

/* HOME screen */
.scr-prompt { margin-top: 16px; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 15px; box-shadow: 0 6px 20px rgba(15,23,42,0.05); background: #fff; }
.scr-prompt__ph { font-size: 12.5px; color: #9aa5b5; min-height: 16px; }
.scr-prompt__bar { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.scr-prompt__bar .pill { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; color: #64748b; }
.scr-prompt__send { margin-left: auto; width: 28px; height: 24px; border-radius: 6px; background: linear-gradient(135deg,#c9a24a,#a97f2f); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; }
.scr-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 18px; }
.scr-action { padding: 11px 12px; cursor: default; transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; }
.scr-action.hot { border-color: #c9a24a; box-shadow: 0 6px 18px rgba(201,162,74,0.18); transform: translateY(-2px); }
.scr-action b { font-size: 11.5px; font-weight: 600; color: #0f1115; display: block; margin-bottom: 3px; }
.scr-action span { font-size: 10px; color: #7c8798; line-height: 1.4; }
.scr-recent { margin-top: 18px; }
.scr-recent__row { display: flex; justify-content: space-between; font-size: 11.5px; color: #475569; padding: 8px 2px; border-top: 1px solid #eef1f6; }
.scr-recent__row span:last-child { color: #94a0b3; }

/* CHAT screen */
.scr-chatwrap { display: flex; flex-direction: column; height: 100%; }
.scr-chat__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #eef1f6; }
.scr-chat__head b { font-size: 12.5px; font-weight: 600; }
.scr-bubble-me { align-self: flex-end; max-width: 70%; background: #f3ede0; border: 1px solid #e6d9bd; color: #33322c; font-size: 12px; line-height: 1.5; padding: 9px 12px; border-radius: 12px 12px 3px 12px; margin: 14px 0 0; }
.scr-answer { font-size: 12px; line-height: 1.55; color: #334155; margin: 12px 0 0; }
.scr-draftcard { margin-top: 12px; padding: 13px 14px; }
.scr-draftcard__t { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; color: #0f1115; }
.scr-draftcard__t svg { width: 13px; height: 13px; color: #a97f2f; }
.scr-draftcard__meta { font-size: 9.5px; color: #94a0b3; margin: 3px 0 8px 21px; }
.scr-lines { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 12px; }
.scr-line { height: 6px; border-radius: 4px; background: #eaeef3; }
.scr-draftcard__acts { display: flex; gap: 14px; border-top: 1px solid #eef1f6; padding-top: 9px; }
.scr-draftcard__acts .a { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; color: #475569; transition: color 0.3s ease; }
.scr-draftcard__acts .a.hot { color: #a97f2f; }
.scr-chat__input { margin-top: auto; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; font-size: 11px; color: #9aa5b5; }

/* STUDIO screen */
.scr-studio { display: flex; flex-direction: column; height: 100%; }
.scr-studio__bar { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #eef1f6; }
.scr-studio__bar b { font-size: 12px; font-weight: 600; }
.scr-studio__bar .saved { font-size: 9.5px; color: #4a9d6b; display: inline-flex; align-items: center; gap: 4px; }
.scr-studio__bar .saved::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #4a9d6b; }
.scr-studio__toolbar { display: flex; gap: 5px; padding: 7px 0; border-bottom: 1px solid #f1f4f8; }
.scr-studio__toolbar span { font-size: 9px; color: #64748b; padding: 3px 6px; border-radius: 4px; background: #f4f6f9; }
.scr-studio__body { display: flex; gap: 14px; flex: 1; margin-top: 10px; min-height: 0; }
.scr-outline { width: 34%; border-right: 1px solid #eef1f6; padding-right: 12px; font-size: 10px; color: #64748b; }
.scr-outline b { font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #94a0b3; display: block; margin: 0 0 6px; }
.scr-outline ol { margin: 0 0 12px; padding-left: 16px; display: flex; flex-direction: column; gap: 4px; }
.scr-doc { flex: 1; font-size: 10.5px; line-height: 1.65; color: #2b3648; overflow: hidden; }
.scr-doc h4 { font-size: 11px; margin: 0 0 7px; }
.scr-rail { position: absolute; top: 44px; right: 8px; display: flex; flex-direction: column; gap: 14px; }
.scr-rail__i { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 7.5px; color: #94a0b3; cursor: default; transition: color 0.3s ease; }
.scr-rail__i svg { width: 16px; height: 16px; padding: 5px; border-radius: 7px; border: 1px solid transparent; transition: border-color 0.3s ease, background 0.3s ease; }
.scr-rail__i.hot { color: #a97f2f; }
.scr-rail__i.hot svg { border-color: #d9b877; background: rgba(201,162,74,0.1); }

/* REVIEW screen */
.scr-tabs { display: flex; gap: 18px; border-bottom: 1px solid #eef1f6; padding-bottom: 9px; }
.scr-tab { font-size: 11.5px; color: #64748b; font-weight: 500; position: relative; }
.scr-tab.on { color: #0f1115; font-weight: 600; }
.scr-tab.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: #a97f2f; }
.scr-tab .cnt { font-size: 8.5px; background: #eef1f6; border-radius: 999px; padding: 1px 5px; margin-left: 4px; }
.scr-review { display: flex; gap: 22px; margin-top: 16px; }
.scr-gauge { width: 108px; height: 108px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: conic-gradient(#c9a24a var(--p, 0%), #edf0f4 0); position: relative; }
.scr-gauge::before { content: ''; position: absolute; inset: 11px; border-radius: 50%; background: #fbfbfc; }
.scr-gauge__n { position: relative; text-align: center; }
.scr-gauge__n b { font-size: 26px; font-weight: 700; color: #0f1115; }
.scr-gauge__n span { display: block; font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #a97f2f; }
.scr-issues b, .scr-auth b { font-size: 11px; font-weight: 600; display: block; margin-bottom: 8px; }
.scr-issue { display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; color: #475569; padding: 6px 0; opacity: 0; transform: translateY(4px); }
.scr-issue.show { opacity: 1; transform: none; transition: opacity 0.4s ease, transform 0.4s ease; }
.scr-issue .tag { font-size: 8.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px; }
.scr-issue .tag.med { color: #a97f2f; background: rgba(201,162,74,0.14); }
.scr-issue .tag.low { color: #64748b; background: #eef1f6; }
.scr-issue .dot { width: 6px; height: 6px; border-radius: 50%; background: #c9a24a; margin-right: 8px; display: inline-block; }

/* TONE screen */
.scr-tone__profiles { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; margin-top: 14px; }
.scr-prof { padding: 11px; cursor: default; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.scr-prof.on { border-color: #c9a24a; box-shadow: 0 0 0 1px #c9a24a inset; }
.scr-prof b { font-size: 11px; font-weight: 600; display: block; margin-bottom: 3px; }
.scr-prof b em { color: #a97f2f; font-style: normal; font-size: 8px; font-weight: 700; letter-spacing: 0.06em; }
.scr-prof span { font-size: 9px; color: #7c8798; line-height: 1.4; }
.scr-sliders { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.scr-slider__lab { display: flex; justify-content: space-between; font-size: 10.5px; margin-bottom: 6px; }
.scr-slider__lab b { font-weight: 600; color: #0f1115; }
.scr-slider__lab span { color: #94a0b3; }
.scr-slider__track { height: 4px; border-radius: 3px; background: #e7ebf1; position: relative; }
.scr-slider__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: #c9a24a; width: 30%; transition: width 0.9s cubic-bezier(.5,0,.2,1); }
.scr-slider__knob { position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: #a97f2f; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.2); transform: translate(-50%,-50%); left: 30%; transition: left 0.9s cubic-bezier(.5,0,.2,1); }
.scr-regen { display: flex; justify-content: flex-end; margin-top: 18px; }

/* DICTATION screen */
.scr-dict { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 12px; }
.scr-dict__label { font-size: 11px; color: #64748b; }
.scr-wave { display: flex; align-items: center; gap: 3px; height: 60px; }
.scr-wave i { width: 3px; border-radius: 2px; background: #c9a24a; animation: wave 1s ease-in-out infinite; }
@keyframes wave { 0%,100% { height: 10px; } 50% { height: 46px; } }
.scr-dict__time { font-size: 12px; font-weight: 600; color: #0f1115; }
.scr-dict__rec { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,#c9a24a,#a97f2f); display: flex; align-items: center; justify-content: center; }
.scr-dict__rec::before { content: ''; width: 13px; height: 13px; border-radius: 3px; background: #fff; }
.scr-dict__trans { position: absolute; right: 22px; top: 22px; width: 34%; font-size: 9.5px; line-height: 1.55; color: #475569; }
.scr-dict__trans b { font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: #94a0b3; display: block; margin-bottom: 6px; }

/* cursor */
.app-cursor { position: absolute; left: 0; top: 0; z-index: 40; width: 20px; height: 20px; pointer-events: none; transition: transform 0.75s cubic-bezier(.5,0,.2,1); filter: drop-shadow(0 2px 3px rgba(0,0,0,0.35)); transform: translate(40px, 60px); }
.app-cursor.click { transform: translate(var(--cx), var(--cy)) scale(0.82); }
.app-cursor svg { width: 100%; height: 100%; }
.app-ripple { position: absolute; z-index: 39; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 2px solid rgba(201,162,74,0.9); opacity: 0; pointer-events: none; }
.app-ripple.go { animation: ripple 0.5s ease-out; }
@keyframes ripple { 0% { opacity: 0.9; transform: scale(0.4); } 100% { opacity: 0; transform: scale(2.8); } }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .intro-rise { opacity: 1; animation: none; }
  .hero__scrollcue { animation: none; }
  .pipeline__pulse, .vpipe__pulse { animation: none; opacity: 0; }
  * { transition-duration: 0.01ms !important; }
}
