/* styles.css — Forte Media LLC
   Design system:
   - Type: Inter Display (headings) + Inter (body)
   - Palette: off-white #F7F5F2 paper, deep ink #1A1A18, terracotta accent #B85C3A
   - Content column: 760px on desktop, full-width on mobile
   - Section "AI-first" inverts to deep ink with off-white text
*/

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

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  background: #F7F5F2;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}

.forte {
  --accent: #B85C3A;
  --ink: #1A1A18;
  --paper: #F7F5F2;
  --paper-2: #EFEBE5;
  --muted: #6B6862;
  --rule: rgba(26, 26, 24, 0.12);
  --heading-font: 'Inter Display', 'Inter', system-ui, sans-serif;

  width: 100%;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

.forte h1, .forte h2, .forte h3 {
  font-family: var(--heading-font);
  font-weight: 500;
  letter-spacing: -0.022em;
  margin: 0;
  color: var(--ink);
}
.forte p { margin: 0; }

.forte em {
  font-style: normal;
  color: var(--accent);
  font-weight: inherit;
}

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

/* ── container ───────────────────────────────────────── */
.forte .container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── nav ────────────────────────────────────────────── */
.forte .nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(247, 245, 242, 0.78);
  border-bottom: 1px solid var(--rule);
}
.forte .nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.forte .wordmark {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.forte .nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.forte .nav-links a { color: var(--ink); opacity: 0.78; transition: opacity 0.15s; }
.forte .nav-links a:hover { opacity: 1; }
.forte .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px 7px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: var(--paper);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.forte .nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  opacity: 1 !important;
}

/* ── hero ───────────────────────────────────────────── */
.forte .hero {
  padding: 96px 0 80px;
  position: relative;
  border-bottom: 1px solid var(--rule);
}

.forte .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 36px;
}
.forte .hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: var(--accent);
  display: inline-block;
}

.forte .hero-h {
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  font-weight: 500;
  display: block;
  margin: 0 0 32px;
}
.forte .hero-h span { display: block; }

.forte .hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.72;
  max-width: 560px;
  margin-bottom: 44px;
}

.forte .hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.forte .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px 14px 26px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  transition: transform 0.12s, background 0.15s;
}
.forte .btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
}
.forte .btn-quiet {
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}
.forte .btn-quiet:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.forte .hero-meta {
  display: flex;
  gap: 56px;
  margin-top: 88px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  font-size: 13px;
  color: var(--muted);
}
.forte .hero-meta .meta-k {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10.5px;
  color: var(--muted);
  opacity: 0.65;
  margin-bottom: 4px;
}

/* ── section common ─────────────────────────────────── */
.forte .sec {
  padding: 112px 0;
  border-bottom: 1px solid var(--rule);
}

.forte .sec-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 36px;
  font-family: 'Inter', system-ui, sans-serif;
}

.forte .sec-h {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 500;
  max-width: 700px;
  margin-bottom: 48px;
}
.forte .sec-h-xl {
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 760px;
}

.forte .sec-body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.78;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ── 02 What we do ──────────────────────────────────── */
.forte .domains {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 56px;
  font-size: 14px;
  color: var(--ink);
  opacity: 0.85;
  font-weight: 500;
}
.forte .domains .dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.7;
  display: inline-block;
}

/* ── 03 Stats ───────────────────────────────────────── */
.forte .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 32px;
}
.forte .stat .stat-num {
  font-family: var(--heading-font);
  font-size: clamp(48px, 5.5vw, 68px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  font-feature-settings: 'tnum' on;
  margin-bottom: 12px;
}
.forte .stat .stat-lbl {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted);
  letter-spacing: -0.005em;
}

/* ── 04 Partners ────────────────────────────────────── */
.forte .partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 44px;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0;
}
.forte .partner-logo {
  display: inline-flex;
  align-items: center;
  height: 22px;
  opacity: 0.7;
  transition: opacity 0.18s;
}
.forte .partner-logo:hover { opacity: 1; }
.forte .partner-logo img {
  height: 100%;
  width: auto;
  display: block;
  filter: brightness(0);
}
.forte .partner-logo--text {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}
.forte .partner-logo--gyg { height: 30px; }
.forte .partner-logo--discovercars { height: 24px; }

/* ── 05 AI-first (DARK) ─────────────────────────────── */
.forte .sec-ai.is-dark {
  background: var(--ink);
  color: var(--paper);
  border-color: rgba(247, 245, 242, 0.08);
  padding: 128px 0;
}
.forte .sec-ai.is-dark h2,
.forte .sec-ai.is-dark h3 { color: var(--paper); }
.forte .sec-ai.is-dark .sec-label { color: rgba(247, 245, 242, 0.55); }
.forte .sec-ai.is-dark p { color: rgba(247, 245, 242, 0.78); }

.forte .ai-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 620px;
  margin: 0 0 88px;
  font-size: 17px;
  line-height: 1.6;
}

.forte .ai-claim {
  font-family: var(--heading-font);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--paper) !important;
  opacity: 1 !important;
  letter-spacing: -0.015em;
  padding-top: 12px;
  border-top: 1px solid rgba(247, 245, 242, 0.14);
  max-width: 520px;
  margin: 0;
}

.forte .principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 48px;
  border-top: 1px solid rgba(247, 245, 242, 0.14);
  padding-top: 56px;
}
.forte .principle .p-num {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0;
}
.forte .principle h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.forte .principle p {
  font-size: 15px;
  line-height: 1.55;
}

/* ── 06 How we work ─────────────────────────────────── */
.forte .how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 56px;
}
.forte .how-item h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.forte .how-item p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ── 07 Open roles ──────────────────────────────────── */
.forte .open-intro {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 56px;
  max-width: 540px;
}

.forte .roles {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.forte .role {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 4px;
  border-bottom: 1px solid var(--rule);
  transition: background 0.18s, padding 0.18s;
  position: relative;
}
.forte .role:hover {
  padding-left: 16px;
  padding-right: 16px;
  background: var(--paper-2);
}

.forte .role-title {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin-bottom: 4px;
}
.forte .role-kicker {
  font-size: 13.5px;
  color: var(--muted);
}
.forte .role-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
  transition: gap 0.18s;
}
.forte .role:hover .role-cta { gap: 12px; }

/* ── footer ─────────────────────────────────────────── */
.forte .footer {
  background: var(--paper);
  padding: 80px 0 40px;
}
.forte .footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 56px;
}
.forte .footer .wordmark {
  font-size: 22px;
  margin-bottom: 16px;
  display: block;
}
.forte .footer-meta {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}
.forte .footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.forte .footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  opacity: 0.78;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 3px;
  transition: opacity 0.15s, border-color 0.15s;
}
.forte .footer-links a:hover {
  opacity: 1;
  border-color: var(--ink);
}
.forte .footer-rule {
  height: 1px;
  background: var(--rule);
  margin-bottom: 24px;
}
.forte .footer-bot {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  opacity: 0.7;
}

/* ── density modifiers ──────────────────────────────── */
.forte.density-compact .sec { padding-top: 80px; padding-bottom: 80px; }
.forte.density-compact .hero { padding-top: 72px; padding-bottom: 64px; }
.forte.density-compact .sec-h { margin-bottom: 32px; }

.forte.density-comfy .sec { padding-top: 144px; padding-bottom: 144px; }
.forte.density-comfy .hero { padding-top: 128px; padding-bottom: 112px; }
.forte.density-comfy .sec-h { margin-bottom: 64px; }

/* ── mobile ─────────────────────────────────────────── */
@media (max-width: 720px) {
  .forte .container { padding: 0 24px; }

  .forte .nav-inner { padding: 12px 20px; }

  .forte .hero { padding: 56px 0 56px; }
  .forte .hero-eyebrow { margin-bottom: 28px; }
  .forte .hero-h { font-size: 38px; line-height: 1.05; margin-bottom: 24px; }
  .forte .hero-sub { font-size: 16px; margin-bottom: 32px; }
  .forte .hero-sub br { display: none; }

  .forte .hero-meta {
    margin-top: 56px;
    gap: 24px;
    padding-left: 24px;
    padding-right: 24px;
    flex-wrap: wrap;
  }

  .forte .sec { padding: 72px 0; }
  .forte .sec-label { margin-bottom: 24px; font-size: 10.5px; }
  .forte .sec-h { font-size: 30px; line-height: 1.1; margin-bottom: 32px; }
  .forte .sec-h-xl { font-size: 36px; line-height: 1.06; }
  .forte .sec-body { font-size: 15.5px; gap: 16px; }

  .forte .domains { gap: 10px; font-size: 13px; }

  .forte .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .forte .stat .stat-num { font-size: 44px; margin-bottom: 8px; }
  .forte .stat .stat-lbl { font-size: 12.5px; }

  .forte .partners-row { gap: 22px 28px; padding: 28px 0; }
  .forte .partner-logo { height: 18px; }
  .forte .partner-logo--text { font-size: 18px; }
  .forte .partner-logo--gyg { height: 24px; }
  .forte .partner-logo--discovercars { height: 20px; }

  .forte .sec-ai.is-dark { padding: 80px 0; }
  .forte .sec-ai .container { padding: 0 24px; }
  .forte .ai-body {
    width: auto;
    max-width: 620px;
    margin: 0 auto 56px;
    font-size: 15.5px;
    gap: 28px;
  }
  .forte .ai-claim { font-size: 19px; padding-top: 12px; }
  .forte .principles { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }

  .forte .how-grid { grid-template-columns: 1fr; gap: 32px; }

  .forte .open-intro { font-size: 15px; margin-bottom: 36px; }
  .forte .open-intro br { display: none; }

  .forte .role { padding: 22px 0; flex-direction: column; align-items: flex-start; gap: 12px; }
  .forte .role:hover { padding-left: 0; padding-right: 0; background: transparent; }
  .forte .role-title { font-size: 20px; }

  .forte .footer { padding: 56px 0 32px; }
  .forte .footer-grid { flex-direction: column; gap: 32px; margin-bottom: 32px; }
  .forte .footer-bot { flex-direction: column; gap: 6px; }
}

/* hide desktop-only nav link on small screens */
@media (max-width: 480px) {
  .forte .nav-links .nav-link { display: none; }
  .forte .sec-ai .sec-h {
    overflow-wrap: break-word;
  }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .forte * {
    transition: none !important;
    animation: none !important;
  }
}
