/* ==========================================================================
   Forsine Capital — public site
   site.css | standalone: shares nothing with the portal stylesheet
   ========================================================================== */

:root {
  --ink-950: #060B14;
  --ink-900: #0A1220;
  --ink-850: #0C1626;
  --ink-800: #101B2E;
  --ink-700: #16233A;

  --line: #1F2E48;
  --line-soft: rgba(255, 255, 255, 0.055);

  --text: #E9EEF6;
  --text-dim: #A6B4C8;
  --muted: #77879F;

  --brass: #C2A46B;
  --brass-soft: rgba(194, 164, 107, 0.14);
  --brass-dim: #7C6A3E;

  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }

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

::selection { background: var(--brass-soft); color: var(--text); }

a { color: inherit; }

.eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------- navigation ---- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(20px, 5vw, 56px);
  background: rgba(6, 11, 20, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__mark {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.nav__mark em { font-style: italic; color: var(--brass); }

.nav__links { display: flex; align-items: center; gap: 8px; }

.nav__link {
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: none;
  border-radius: 3px;
  transition: color 140ms var(--ease), background-color 140ms var(--ease);
}

.nav__link:hover { color: var(--text); background: var(--ink-700); }

.nav__cta {
  margin-left: 6px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-950);
  background: var(--brass);
  text-decoration: none;
  border-radius: 3px;
  white-space: nowrap;
  transition: background-color 140ms var(--ease);
}

.nav__cta:hover { background: #CFB37C; }

@media (max-width: 720px) {
  .nav__link { display: none; }
}

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

.hero {
  position: relative;
  overflow: hidden;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 116px) clamp(20px, 5vw, 56px) clamp(40px, 6vw, 72px);
}

/* Ruled-ledger backdrop, near invisible — accounting paper. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom, transparent 0, transparent 33px,
    var(--line-soft) 33px, var(--line-soft) 34px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 12% 0%, rgba(29, 44, 70, 0.6) 0%, transparent 62%);
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 1; max-width: 44rem; }

.hero__title {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 6.4vw, 68px);
  line-height: 1.06;
  letter-spacing: 0.005em;
}

.hero__title em { font-style: italic; color: var(--brass); }

.hero__lede {
  margin: 24px 0 0;
  max-width: 38rem;
  font-size: clamp(16px, 1.7vw, 18px);
  color: var(--text-dim);
}

.hero__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.btn {
  display: inline-block;
  padding: 13px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: background-color 140ms var(--ease), color 140ms var(--ease), border-color 140ms var(--ease);
}

.btn--solid { color: var(--ink-950); background: var(--brass); border-color: var(--brass); }
.btn--solid:hover { background: #CFB37C; border-color: #CFB37C; }

.btn--line { color: var(--text-dim); border-color: var(--line); }
.btn--line:hover { color: var(--text); border-color: var(--brass-dim); background: var(--ink-800); }

.hero__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  margin-top: clamp(44px, 7vw, 78px);
  border-top: 1px solid var(--line);
}

.stat {
  padding: 26px 26px 26px 0;
  border-right: 1px solid var(--line);
}

.stat:last-child { border-right: 0; }

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 48px);
  line-height: 1;
  color: var(--brass);
}

.stat__cap {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--muted);
}

@media (max-width: 680px) {
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .stat:last-child { border-bottom: 0; }
}

/* -------------------------------------------------------- quote band ---- */

.quote-band {
  padding: clamp(44px, 7vw, 80px) clamp(20px, 5vw, 56px);
  background: var(--ink-900);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-band blockquote { max-width: var(--wrap); margin: 0 auto; }

.quote-band p {
  margin: 0;
  max-width: 32rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(21px, 3.1vw, 32px);
  line-height: 1.42;
  color: var(--text);
}

.quote-band cite {
  display: block;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ------------------------------------------------------------ sections -- */

.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 56px);
}

.section--alt { max-width: none; background: var(--ink-900); border-top: 1px solid var(--line); }
.section--alt > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }

.section__head { max-width: 40rem; }

.section__title {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(26px, 3.7vw, 40px);
  line-height: 1.16;
}

.section__lede { margin: 18px 0 0; color: var(--text-dim); }

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

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.card {
  padding: 30px 26px;
  background: var(--ink-850);
  border: 1px solid var(--line);
  border-radius: 5px;
  transition: border-color 160ms var(--ease);
}

.card:hover { border-color: var(--brass-dim); }

.card__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  color: var(--text);
}

.card p { margin: 0; font-size: 15px; color: var(--text-dim); }

/* -------------------------------------------------------------- steps --- */

.steps {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.steps__item { padding: 30px 26px 30px 0; border-right: 1px solid var(--line); }
.steps__item:last-child { border-right: 0; }

.steps__n {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--brass);
}

.steps__title {
  margin: 14px 0 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
}

.steps__item p { margin: 0; font-size: 14px; color: var(--text-dim); }

@media (max-width: 900px) {
  .steps__item { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .steps__item:last-child { border-bottom: 0; }
}

/* ------------------------------------------------------------ contact --- */

.contact { margin-top: 38px; }

.contact__mail {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 32px);
  color: var(--brass);
  text-decoration: none;
  border-bottom: 1px solid var(--brass-dim);
  overflow-wrap: anywhere;
}

.contact__mail:hover { border-bottom-color: var(--brass); }

.contact__where {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* --------------------------------------------------------------- foot --- */

.foot { padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 56px); border-top: 1px solid var(--line); }
.foot__inner { max-width: var(--wrap); margin: 0 auto; }

.foot__mark { font-family: var(--font-display); font-size: 18px; color: var(--text-dim); }
.foot__mark em { font-style: italic; color: var(--brass); }

.foot__legal {
  margin: 20px 0 0;
  max-width: 52rem;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.foot__meta { margin: 20px 0 0; font-size: 12px; color: var(--muted); }
.foot__meta a { color: var(--text-dim); text-decoration: none; border-bottom: 1px solid var(--line); }
.foot__meta a:hover { color: var(--brass); border-bottom-color: var(--brass-dim); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001ms !important; }
}
