/* TACIT — expert data, licensed.
   Palette: near-black, off-white, haze blue. */

:root {
  --black: #0a0c0e;
  --black-2: #0d1013;
  --white: #f2f1ec;
  --white-dim: rgba(242, 241, 236, 0.64);
  --white-faint: rgba(242, 241, 236, 0.4);
  --haze: #9db4c4;
  --haze-dim: rgba(157, 180, 196, 0.55);
  --hairline: rgba(242, 241, 236, 0.12);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(157, 180, 196, 0.3); }

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

/* ---- nav ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 44px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--white);
}

.wordmark img { width: 30px; height: auto; display: block; }

.nav .nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white-dim);
  transition: color 0.3s ease;
}

.nav .nav-link:hover { color: var(--white); }

/* ---- hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../assets/hero.jpg") center 62% / cover no-repeat var(--black);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 70% at 32% 55%, rgba(10,12,14,0.5) 0%, rgba(10,12,14,0) 70%),
    linear-gradient(180deg, rgba(10,12,14,0.45) 0%, rgba(10,12,14,0.15) 40%, rgba(10,12,14,0.55) 100%);
}

.hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 44px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 15ch;
  margin-bottom: 28px;
  text-shadow: 0 2px 32px rgba(10, 12, 14, 0.6);
}

.hero .sub {
  font-size: clamp(17px, 1.4vw, 19px);
  color: rgba(242, 241, 236, 0.92);
  max-width: 46ch;
  line-height: 1.7;
  margin-bottom: 44px;
  text-shadow: 0 1px 18px rgba(10, 12, 14, 0.85), 0 0 42px rgba(10, 12, 14, 0.6);
}

.cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--black);
  background: var(--white);
  padding: 15px 34px;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.cta:hover { background: var(--haze); }

/* ---- below the fold ---- */
.about {
  background: var(--black-2);
  border-top: 1px solid var(--hairline);
  padding: 140px 0 120px;
}

.shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 44px;
}

.about .lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.5;
  max-width: 30ch;
  margin-bottom: 96px;
}

.about .lede .accent { color: var(--haze); }

.offer-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--hairline);
}

.offer h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}

.offer p {
  font-size: 15.5px;
  color: var(--white-dim);
  line-height: 1.7;
}

.about .contact-line {
  margin-top: 110px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(21px, 2vw, 27px);
}

.about .contact-line a {
  color: var(--haze);
  border-bottom: 1px solid var(--haze-dim);
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}

.about .contact-line a:hover { border-color: var(--haze); }

/* ---- footer ---- */
footer {
  background: var(--black);
  border-top: 1px solid var(--hairline);
  padding: 44px;
}

.foot-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.foot-inner .wordmark { font-size: 12px; color: var(--white-dim); gap: 9px; }

.foot-inner .wordmark img { width: 24px; height: auto; }

.foot-links {
  display: flex;
  gap: 32px;
  font-size: 13px;
}

.foot-links a { color: var(--white-faint); transition: color 0.3s ease; }
.foot-links a:hover { color: var(--white); }

.foot-note { font-size: 13px; color: var(--white-faint); }

/* ---- legal pages ---- */
.legal-hero {
  padding: 190px 0 70px;
  border-bottom: 1px solid var(--hairline);
  background: var(--black-2);
}

.legal-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.1;
}

.legal-hero .effective {
  margin-top: 16px;
  font-size: 13px;
  color: var(--white-faint);
}

.legal-body { padding: 80px 0 130px; }

.legal-body .shell { max-width: 760px; }

.legal-body h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 56px 0 16px;
}

.legal-body h2 .no { color: var(--haze-dim); margin-right: 10px; }

.legal-body p, .legal-body li {
  font-size: 16px;
  color: var(--white-dim);
  line-height: 1.75;
}

.legal-body p + p { margin-top: 0.9em; }

.legal-body ul { margin: 0.9em 0 0.9em 1.2em; }

.legal-body li { margin-bottom: 0.5em; }

.legal-body strong { color: var(--white); font-weight: 600; }

.legal-body a { color: var(--haze); border-bottom: 1px solid rgba(157, 180, 196, 0.3); }

/* ---- reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- responsive ---- */
@media (max-width: 800px) {
  .nav { padding: 20px 24px; }
  .hero-inner, .shell { padding-left: 24px; padding-right: 24px; }
  footer { padding: 36px 24px; }
  .about { padding: 96px 0 88px; }
  .about .lede { margin-bottom: 64px; }
  .offer-row { grid-template-columns: 1fr; gap: 40px; }
  .about .contact-line { margin-top: 72px; }
  .foot-inner { flex-direction: column; text-align: center; }
  .legal-hero { padding: 150px 0 56px; }
}
