:root {
  --black:      #000000;
  --near-black: #0a0a0a;
  --panel:      #111111;
  --panel-2:    #161616;
  --line:       rgba(255, 255, 255, 0.12);
  --line-soft:  rgba(255, 255, 255, 0.08);
  --white:      #f5f5f7;
  --text:       #f5f5f7;
  --text-mid:   rgba(245, 245, 247, 0.66);
  --text-dim:   rgba(245, 245, 247, 0.42);
  --maxw:       1000px;
  --maxw-wide:  1200px;
  --r:          18px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: var(--maxw-wide); }

.dt { display: inline; }

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: 16px;
  text-transform: none;
}

.accent { color: var(--white); }

.section { padding: clamp(90px, 13vw, 160px) 0; position: relative; }

.section__title {
  font-weight: 600;
  font-size: clamp(2.2rem, 5.6vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

/* ── NAV ──────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 16px 0;
  transition: background .4s ease, border-color .4s ease, backdrop-filter .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand__mark { color: var(--white); flex-shrink: 0; }
.brand__text { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand__amp { color: var(--text-mid); font-weight: 400; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { color: var(--text-mid); text-decoration: none; font-size: 0.9rem; font-weight: 400; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  color: var(--black) !important;
  background: var(--white);
  padding: 8px 18px;
  border-radius: 980px;
  font-weight: 500;
  transition: opacity .2s;
}
.nav__cta:hover { opacity: 0.82; }

/* ── HERO ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 0 60px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url('hero-mono.png') center/cover no-repeat;
  opacity: 0.9;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 70%),
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0.2) 55%, rgba(0,0,0,0.85) 100%);
}
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero__title {
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  max-width: 16ch;
}
.hero__sub { font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--text-mid); max-width: 44ch; margin-bottom: 34px; font-weight: 400; line-height: 1.42; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 26px;
  border-radius: 980px;
  font-weight: 500; font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer; border: none;
  transition: opacity .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.btn--gold { background: var(--white); color: var(--black); }
.btn--gold:hover { opacity: 0.85; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--white); }

.hero__stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 68px;
  padding-top: 40px;
  border-top: 1px solid var(--line-soft);
  width: 100%;
  max-width: var(--maxw);
  padding-left: 24px; padding-right: 24px;
}
.stat { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.stat__num { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: var(--white); line-height: 1; letter-spacing: -0.03em; }
.stat__label { font-size: 0.82rem; color: var(--text-dim); }

/* ── ABOUT ────────────────────────────────────── */
.about { background: var(--black); }
.about__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; }
.about__lede p { color: var(--text-mid); margin-bottom: 18px; font-size: 1.06rem; line-height: 1.6; }
.about__lede p:first-child { color: var(--text); font-size: 1.28rem; line-height: 1.5; font-weight: 400; }
.about__aside { position: sticky; top: 96px; }
.about__aside blockquote {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 28px 30px;
  margin-bottom: 24px;
}
.about__aside blockquote p { font-size: 1.16rem; line-height: 1.5; color: var(--text); margin-bottom: 16px; font-weight: 400; letter-spacing: -0.015em; }
.about__aside blockquote footer { font-size: 1rem; font-weight: 500; color: var(--white); }
.about__arc { display: flex; flex-direction: column; }
.arc__row { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-soft); align-items: baseline; }
.arc__row:first-child { border-top: none; }
.arc__row span { color: var(--white); font-weight: 600; font-size: 0.9rem; letter-spacing: -0.01em; }
.arc__row p { font-size: 0.92rem; color: var(--text-mid); }
.arc__row--now p { color: var(--text); font-weight: 500; }
.about__witness {
  margin-top: 56px;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.32;
  color: var(--text);
  max-width: 24ch;
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* ── SERVICES ─────────────────────────────────── */
.services { background: var(--near-black); }
.services__intro { color: var(--text-mid); max-width: 58ch; font-size: 1.16rem; margin-bottom: 60px; line-height: 1.55; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 34px 30px;
  transition: transform .3s ease, background .3s ease;
}
.card:hover { transform: translateY(-4px); background: var(--panel-2); }
.card__ico { font-size: 1.4rem; color: var(--white); margin-bottom: 18px; opacity: 0.9; }
.card h3 { font-weight: 600; font-size: 1.32rem; margin-bottom: 10px; letter-spacing: -0.02em; }
.card p { color: var(--text-mid); font-size: 0.98rem; line-height: 1.55; }

/* ── CONTACT ──────────────────────────────────── */
.contact { background: var(--black); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.contact__copy p { color: var(--text-mid); font-size: 1.1rem; margin-bottom: 16px; line-height: 1.55; }
.contact__note { color: var(--white) !important; font-size: 0.98rem !important; font-weight: 500; }
.form { display: flex; flex-direction: column; gap: 18px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 22px; padding: 34px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 0.86rem; font-weight: 500; color: var(--text-mid); }
.form input, .form textarea {
  font-family: inherit; font-size: 1rem; letter-spacing: -0.01em;
  background: var(--near-black);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: rgba(255,255,255,0.6); box-shadow: 0 0 0 4px rgba(255,255,255,0.08); }
.form input::placeholder, .form textarea::placeholder { color: var(--text-dim); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__submit { margin-top: 4px; justify-content: center; width: 100%; }
.form__submit:disabled { opacity: .55; cursor: not-allowed; }
.form__status { font-size: 0.92rem; min-height: 1.2em; }
.form__status.ok { color: var(--white); }
.form__status.err { color: #ff9a9a; }

/* ── FOOTER ───────────────────────────────────── */
.footer { border-top: 1px solid var(--line-soft); padding: 34px 0; background: var(--black); }
.footer__disclaimer { color: var(--text-dim); font-size: 0.78rem; line-height: 1.55; max-width: 82ch; margin-bottom: 22px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.footer__brand { font-weight: 600; letter-spacing: -0.01em; }
.footer__meta { color: var(--text-dim); font-size: 0.84rem; }

/* ── REVEAL ANIMATION ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.16,.8,.3,1), transform .8s cubic-bezier(.16,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 44px; }
  .about__aside { position: static; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .about__witness { max-width: none; }
}
@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .nav__links { gap: 16px; }
  .nav__links a:not(.nav__cta) { display: none; }
  .cards { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .dt { display: none; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
