/* ============================================================================
   FRST public landing (fcbfrst.com /). Dark, modern agency one-pager.
   Everything is namespaced under .fl-* / body.frst-body so it never collides
   with the app stylesheet. Photographic assets are PLACEHOLDERS (.fl-ph) —
   swap them for real images when available (see data-asset hints in the view).
   ========================================================================== */

/* Brand font (only the Book weight ships; heavier headings are synthesized —
   swap in real Bold/Black faces here when available). */
@font-face {
  font-family: "Benton Sans";
  src: url("/assets/BentonSans-Book-e48f18e9.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --fl-bg: #0b0b0d;
  --fl-bg-2: #141417;
  --fl-cream: #efe9dd;
  --fl-cream-2: #e4ddcd;
  --fl-blue: #2b5bff;
  --fl-blue-soft: #4f78ff;
  --fl-gold: #e7c64c;
  --fl-white: #f5f4f1;
  --fl-muted: #9a9aa2;
  --fl-ink: #16161a;
  --fl-ink-muted: #5a564c;
  --fl-line: rgba(255,255,255,.12);
  --fl-radius: 18px;
  --fl-max: 1240px;
}

.frst-body {
  font-family: "Benton Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--fl-bg);
  color: var(--fl-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.fl-display { font-family: "Benton Sans", sans-serif; font-weight: 700; letter-spacing: -.02em; line-height: .95; }

/* Real assets extracted from FRST_WEB.psd */
.fl-hero__logo { width: clamp(260px, 42vw, 540px); height: auto; display: block; }
.fl-nav__logo-img { height: 20px; width: auto; display: block; }
.fl-footer__logo-img { height: 20px; width: auto; }
.fl-eco-strip { width: 100%; max-width: 1000px; height: auto; margin-top: 34px; }
.fl-globe-img { width: 100%; max-width: 460px; height: auto; margin: 0 auto; display: block; }
.fl-hero__photo, .fl-cta__photo { width: 100%; height: auto; border-radius: var(--fl-radius); display: block; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.fl-wrap { width: 100%; max-width: var(--fl-max); margin: 0 auto; padding: 0 24px; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.fl-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,13,.72); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--fl-line);
}
.fl-nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.fl-logo {
  font-family: "Benton Sans", sans-serif; font-weight: 900; font-size: 18px; letter-spacing: .04em;
  border: 2px solid var(--fl-white); border-radius: 8px; padding: 4px 8px; line-height: 1;
}
.fl-nav__links { display: flex; gap: 28px; align-items: center; }
.fl-nav__links a { font-size: 14px; color: var(--fl-muted); transition: color .15s; }
.fl-nav__links a:hover { color: var(--fl-white); }
.fl-nav__cta { display: flex; gap: 10px; align-items: center; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.fl-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px; padding: 11px 20px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s;
}
.fl-btn:hover { transform: translateY(-1px); }
.fl-btn--primary { background: var(--fl-blue); color: #fff; }
.fl-btn--primary:hover { background: var(--fl-blue-soft); }
.fl-btn--gold { background: var(--fl-gold); color: var(--fl-ink); }
.fl-btn--ghost { border-color: var(--fl-line); color: var(--fl-white); }
.fl-btn--ghost:hover { background: rgba(255,255,255,.06); }
.fl-btn--ink { background: var(--fl-ink); color: var(--fl-white); }

/* ── Section scaffolding ─────────────────────────────────────────────────── */
.fl-section { padding: 96px 0; position: relative; }
.fl-section--cream { background: var(--fl-cream); color: var(--fl-ink); }
.fl-section--cream .fl-eyebrow { color: var(--fl-ink-muted); }
.fl-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--fl-blue-soft); margin-bottom: 18px;
}
.fl-h2 { font-size: clamp(30px, 5vw, 58px); margin-bottom: 18px; }
.fl-h2 em { font-style: normal; color: var(--fl-blue); }
.fl-section--cream .fl-h2 em { color: var(--fl-blue); }
.fl-lead { font-size: clamp(16px, 2vw, 20px); color: var(--fl-muted); max-width: 720px; }
.fl-section--cream .fl-lead { color: var(--fl-ink-muted); }

/* ── Placeholder for images ──────────────────────────────────────────────── */
.fl-ph {
  position: relative; border-radius: var(--fl-radius); overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 12px, rgba(255,255,255,.06) 12px 24px),
    linear-gradient(135deg, #1b1b22, #0e0e12);
  border: 1px dashed rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; min-height: 220px;
}
.fl-ph::after {
  content: attr(data-label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.fl-section--cream .fl-ph { background:
  repeating-linear-gradient(45deg, rgba(0,0,0,.03) 0 12px, rgba(0,0,0,.06) 12px 24px),
  linear-gradient(135deg, #d8d0bd, #cdc4ad); border-color: rgba(0,0,0,.2); }
.fl-section--cream .fl-ph::after { color: rgba(0,0,0,.4); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.fl-hero { padding: 72px 0 64px; position: relative; }
.fl-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.fl-hero__word { font-size: clamp(96px, 22vw, 280px); line-height: .82; letter-spacing: -.04em; }
.fl-hero__word span { color: var(--fl-blue); }
.fl-hero__copy { font-size: 17px; color: var(--fl-muted); max-width: 460px; margin: 22px 0 26px; }
.fl-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.fl-hero__visual { min-height: 340px; }
.fl-hero__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.fl-tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fl-muted);
  border: 1px solid var(--fl-line); border-radius: 999px; padding: 5px 12px; }

/* ── Stats strip ─────────────────────────────────────────────────────────── */
.fl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--fl-line);
  border: 1px solid var(--fl-line); border-radius: var(--fl-radius); overflow: hidden; margin-top: 8px; }
.fl-stat { background: var(--fl-bg); padding: 26px 24px; }
.fl-stat__num { font-family: "Benton Sans", sans-serif; font-weight: 800; font-size: 40px; }
.fl-stat__num em { font-style: normal; color: var(--fl-blue); }
.fl-stat__label { font-size: 13px; color: var(--fl-muted); margin-top: 4px; }

/* ── Card grids (services / process) ─────────────────────────────────────── */
.fl-grid { display: grid; gap: 18px; }
.fl-grid--4 { grid-template-columns: repeat(4, 1fr); }
.fl-grid--3 { grid-template-columns: repeat(3, 1fr); }
.fl-card {
  background: var(--fl-bg-2); border: 1px solid var(--fl-line); border-radius: var(--fl-radius);
  padding: 24px; transition: border-color .15s, transform .15s;
}
.fl-card:hover { border-color: var(--fl-blue); transform: translateY(-2px); }
.fl-card__tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fl-blue-soft); }
.fl-card__title { font-family: "Benton Sans", sans-serif; font-weight: 700; font-size: 19px; margin: 10px 0 8px; }
.fl-card__text { font-size: 14px; color: var(--fl-muted); }

/* ── Ecosystem brands (cream) ────────────────────────────────────────────── */
.fl-brands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.fl-brand { border: 1px solid rgba(0,0,0,.14); border-radius: 14px; padding: 20px 16px; background: rgba(255,255,255,.35); }
.fl-brand__name { font-family: "Benton Sans", sans-serif; font-weight: 800; font-size: 16px; color: var(--fl-ink); }
.fl-brand__desc { font-size: 12px; color: var(--fl-ink-muted); margin-top: 6px; }

/* ── FRST GO letters ─────────────────────────────────────────────────────── */
.fl-go { display: flex; align-items: baseline; gap: clamp(6px, 2vw, 22px); flex-wrap: wrap; margin-top: 28px; }
.fl-go__letter { font-family: "Benton Sans", sans-serif; font-weight: 900; font-size: clamp(64px, 14vw, 180px);
  line-height: .9; color: var(--fl-white); }
.fl-go__letter:last-child { color: var(--fl-blue); }
.fl-go__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.fl-go__step { border-top: 2px solid var(--fl-blue); padding-top: 12px; }
.fl-go__step b { display: block; font-family: "Benton Sans", sans-serif; font-size: 15px; letter-spacing: .06em; }
.fl-go__step span { font-size: 13px; color: var(--fl-muted); }

/* ── Timeline ────────────────────────────────────────────────────────────── */
.fl-timeline { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 16px; margin-top: 40px;
  overflow-x: auto; padding-bottom: 8px; }
.fl-tl { border-top: 2px solid var(--fl-line); padding-top: 14px; min-width: 110px; }
.fl-tl__year { font-family: "Benton Sans", sans-serif; font-weight: 800; font-size: 22px; color: var(--fl-blue); }
.fl-tl__text { font-size: 13px; color: var(--fl-muted); margin-top: 6px; }

/* ── Offices ─────────────────────────────────────────────────────────────── */
.fl-offices__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.fl-cities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.fl-city { border: 1px solid var(--fl-line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; }

/* ── Case stats (cream) ──────────────────────────────────────────────────── */
.fl-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.fl-case { border-top: 3px solid var(--fl-blue); padding-top: 16px; }
.fl-case__tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--fl-blue); }
.fl-case__num { font-family: "Benton Sans", sans-serif; font-weight: 900; font-size: clamp(40px, 6vw, 64px); color: var(--fl-ink); line-height: 1; margin: 6px 0; }
.fl-case__text { font-size: 14px; color: var(--fl-ink-muted); }

/* ── AI section ──────────────────────────────────────────────────────────── */
.fl-ai { background: radial-gradient(120% 120% at 70% 20%, #1a1a20 0%, var(--fl-bg) 60%); }
.fl-ai__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.fl-ai__orb { width: 92px; height: 92px; border-radius: 50%; margin-bottom: 24px;
  background: radial-gradient(circle at 35% 30%, var(--fl-gold), #8a6f12); box-shadow: 0 0 60px rgba(231,198,76,.35); }
.fl-ai__bar { display: flex; gap: 10px; align-items: center; background: var(--fl-bg-2);
  border: 1px solid var(--fl-line); border-radius: 999px; padding: 10px 10px 10px 18px; max-width: 460px; }
.fl-ai__bar input { flex: 1; background: transparent; border: 0; color: var(--fl-white); font-size: 14px; outline: none; }
.fl-ai__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.fl-chip { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fl-gold);
  border: 1px solid rgba(231,198,76,.4); border-radius: 999px; padding: 5px 12px; }
.fl-wave { display: flex; align-items: center; justify-content: center; gap: 5px; height: 220px; }
.fl-wave span { width: 5px; border-radius: 4px; background: var(--fl-gold); opacity: .8;
  animation: fl-eq 1.1s ease-in-out infinite; }
@keyframes fl-eq { 0%,100% { height: 18px; } 50% { height: 120px; } }

/* ── Final CTA (cream) ───────────────────────────────────────────────────── */
.fl-cta__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.fl-cta__title { font-size: clamp(40px, 8vw, 92px); }
.fl-cta__title em { font-style: normal; color: var(--fl-gold); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.fl-footer { background: var(--fl-bg); border-top: 1px solid var(--fl-line); padding: 40px 0; }
.fl-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.fl-footer small { color: var(--fl-muted); font-size: 13px; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .fl-hero__grid, .fl-offices__grid, .fl-ai__panel, .fl-cta__inner { grid-template-columns: 1fr; }
  .fl-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .fl-grid--3, .fl-cases { grid-template-columns: 1fr; }
  .fl-brands { grid-template-columns: repeat(2, 1fr); }
  .fl-stats { grid-template-columns: repeat(2, 1fr); }
  .fl-go__steps { grid-template-columns: repeat(2, 1fr); }
  .fl-nav__links { display: none; }
  .fl-section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .fl-grid--4 { grid-template-columns: 1fr; }
  .fl-stats { grid-template-columns: 1fr 1fr; }
}
