/* ---------------------------------------------------------
   FALCON · Brand stylesheet v1
   INK + PAPER + FLAME · No grays · Tight tracking · Hot dot
   --------------------------------------------------------- */

:root {
  --ink: #0A0A0A;
  --paper: #F2EDE4;
  --flame: #FF4A1A;

  --ink-soft: rgba(10, 10, 10, 0.62);
  --paper-soft: rgba(242, 237, 228, 0.62);

  --rule-ink: rgba(10, 10, 10, 0.12);
  --rule-paper: rgba(242, 237, 228, 0.16);

  --max: 1280px;
  --gutter: clamp(24px, 4vw, 64px);
  --section-y: clamp(72px, 10vw, 144px);

  --type-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --type-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--type-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover { color: var(--flame); }

::selection { background: var(--flame); color: var(--paper); }

/* ---------- Layout primitives ---------- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.section--tight { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink ::selection { background: var(--paper); color: var(--ink); }
.section--flame { background: var(--flame); color: var(--ink); }

/* ---------- Wordmark ---------- */

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--type-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.025em;
  text-transform: none;
  line-height: 1;
}
.wordmark__text { letter-spacing: -0.04em; }
.wordmark__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--flame);
  display: inline-block;
  margin-left: 2px;
  margin-bottom: -1px;
}
.wordmark:hover { color: inherit; }
.wordmark:hover .wordmark__dot { transform: scale(1.18); }
.wordmark__dot { transition: transform 0.18s ease; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule-ink);
}
.section--ink + .nav, .nav--ink {
  background: var(--ink);
  color: var(--paper);
  border-bottom-color: var(--rule-paper);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}
.nav__links a { padding: 6px 0; }
.nav__links a.active { color: var(--flame); }

/* Mobile nav: pure-CSS hamburger via hidden checkbox toggle */
.nav__toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.nav__hamburger {
  display: none;
  cursor: pointer;
  padding: 10px;
  margin: -10px;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--type-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  padding: 14px 22px;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  line-height: 1;
}
.btn--flame {
  background: var(--flame);
  color: var(--ink);
}
.btn--flame:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}
.btn--ink {
  background: var(--ink);
  color: var(--paper);
}
.btn--ink:hover {
  background: var(--flame);
  color: var(--ink);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: inherit;
  padding-left: 0;
  padding-right: 0;
}
.btn--ghost::after {
  content: '→';
  display: inline-block;
  transition: transform 0.18s ease;
}
.btn--ghost:hover { color: var(--flame); }
.btn--ghost:hover::after { transform: translateX(4px); }

/* ---------- Type ---------- */

.eyebrow {
  display: inline-block;
  font-family: var(--type-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flame);
  margin-bottom: 24px;
}

.h-display {
  font-family: var(--type-display);
  font-weight: 800;
  font-size: clamp(40px, 7.2vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
}
.h-display .flame { color: var(--flame); }
.h-display .block { display: block; }

.h-section {
  font-family: var(--type-display);
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 24px 0;
}
.h-section .flame { color: var(--flame); }
.h-section .block { display: block; }

.h-card {
  font-family: var(--type-display);
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px 0;
}

.lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  max-width: 68ch;
  margin: 0;
}

p { margin: 0 0 16px 0; }
p:last-child { margin-bottom: 0; }

.muted-ink { color: var(--ink-soft); }
.muted-paper { color: var(--paper-soft); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(80px, 11vw, 160px);
  padding-bottom: clamp(80px, 11vw, 160px);
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; }
.hero__sub {
  margin-top: 28px;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
  max-width: 56ch;
}
.hero__cta {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Diagonal dive decoration */
.dive {
  position: absolute;
  top: 20%;
  right: -4%;
  width: 38vw;
  max-width: 520px;
  pointer-events: none;
  opacity: 0.9;
}
.dive--left {
  left: -2%;
  right: auto;
  transform: scaleX(-1);
}

/* ---------- Grid utilities ---------- */

.cols-2, .cols-3 {
  display: grid;
  gap: clamp(24px, 3vw, 48px);
}
.cols-2 { grid-template-columns: 1fr; }
.cols-3 { grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .cols-2 { grid-template-columns: 1fr 1fr; }
  .cols-3 { grid-template-columns: 1fr 1fr 1fr; }
}

/* ---------- Cards ---------- */

.card {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  border-top: 4px solid var(--flame);
}
.card--paper {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule-ink);
  border-top: 4px solid var(--flame);
}
.card__index {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--type-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--flame);
  letter-spacing: 0.02em;
}
.card__tag {
  font-family: var(--type-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flame);
  margin-bottom: 14px;
  display: inline-block;
}
.card__body { font-size: 16px; line-height: 1.55; }

/* ---------- Service row (arrow + label + body) ---------- */

.svc-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.svc-row:last-child { margin-bottom: 0; }
.svc-row__arrow {
  color: var(--flame);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
}
.svc-row__title {
  font-family: var(--type-display);
  font-weight: 800;
  font-size: 18px;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}
.svc-row__tag {
  display: inline-block;
  font-family: var(--type-display);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flame);
  margin-bottom: 6px;
}
.svc-row__body { font-size: 15.5px; line-height: 1.55; margin: 0; }

/* ---------- Bullets ---------- */

.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}
.bullets li {
  position: relative;
  padding-left: 28px;
}
.bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--flame);
}
.bullets b, .bullets strong {
  display: block;
  font-family: var(--type-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

/* ---------- Marquee row (the three claims) ---------- */

.claims {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .claims { grid-template-columns: 1fr 1fr 1fr; }
}
.claim {
  background: var(--ink);
  color: var(--paper);
  padding: 36px 32px;
  border-top: 4px solid var(--flame);
  position: relative;
}
.claim__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--type-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--flame);
}
.claim__title {
  font-family: var(--type-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
}
.claim__sub {
  color: var(--flame);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 18px 0;
}
.claim__divider {
  width: 36px;
  height: 1px;
  background: var(--paper-soft);
  margin: 18px 0;
}
.claim__stops {
  font-style: italic;
  color: var(--paper-soft);
  font-size: 14px;
  margin: 0 0 14px 0;
}
.claim__close { font-size: 15px; margin: 0; }

/* ---------- Powered by FOX ---------- */

.fox-anchor {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.fox-tag {
  font-family: var(--type-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flame);
}
.fox-mark {
  font-family: var(--type-display);
  font-weight: 900;
  font-size: 36px;
  letter-spacing: -0.04em;
  border-bottom: 3px solid var(--flame);
  padding-bottom: 2px;
}

/* ---------- Quote/callout band ---------- */

.callout {
  background: var(--flame);
  color: var(--ink);
  padding: clamp(48px, 6vw, 88px) 0;
}
.callout .h-section { letter-spacing: -0.03em; }

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 36px 0;
  font-size: 14px;
}
.footer__inner {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.footer__col h4 {
  font-family: var(--type-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flame);
  margin: 0 0 14px 0;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer__legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-paper);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--paper-soft);
}
.footer__legal a { color: var(--paper-soft); }
.footer__legal a:hover { color: var(--flame); }

/* ---------- Misc ---------- */

.divider-rule {
  width: 56px;
  height: 4px;
  background: var(--flame);
  margin-bottom: 22px;
}

.pill {
  display: inline-block;
  border: 1px solid var(--rule-ink);
  padding: 6px 12px;
  font-family: var(--type-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  border-radius: 999px;
}
.section--ink .pill { border-color: var(--rule-paper); }

.section--ink .h-section .flame { color: var(--flame); }
.section--ink .eyebrow { color: var(--flame); }
.section--ink .divider-rule { background: var(--flame); }

/* ---------- Contact form ---------- */

.form {
  display: grid;
  gap: 18px;
  max-width: 560px;
}
.form label {
  display: grid;
  gap: 6px;
  font-family: var(--type-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flame);
}
.form input,
.form textarea,
.form select {
  font-family: var(--type-body);
  font-size: 16px;
  padding: 14px 16px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule-ink);
  border-radius: 0;
  outline: none;
  transition: border-color 0.15s ease;
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--flame);
}
.form textarea { min-height: 140px; resize: vertical; }
.form-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* ---------- Legal / long-form prose ---------- */

.legal {
  max-width: 72ch;
  margin: 0 auto;
}
.legal p {
  font-size: 16.5px;
  line-height: 1.65;
  margin: 0 0 18px 0;
}
.legal ul {
  padding-left: 22px;
  margin: 0 0 18px 0;
}
.legal ul li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 16.5px;
}
.legal h2,
.legal h3 {
  scroll-margin-top: 80px;
}
.legal a {
  color: var(--flame);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Responsive: tablet + phone ---------- */

/* Tablet — trim hero spacing */
@media (max-width: 900px) {
  .hero {
    padding-top: clamp(56px, 9vw, 120px);
    padding-bottom: clamp(56px, 9vw, 120px);
  }
}

/* Phone — collapse nav into hamburger, hide decorative dive, tighten everything */
@media (max-width: 720px) {
  .nav__hamburger { display: inline-flex; }
  .nav__inner { flex-wrap: wrap; }

  .nav__links {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, margin-top 0.25s ease;
    margin-top: 0;
    font-size: 16px;
  }
  .nav__toggle:checked ~ .nav__links {
    max-height: 80vh;
    margin-top: 14px;
  }
  .nav--ink .nav__links a:not(.btn) {
    border-top: 1px solid var(--rule-paper);
  }
  .nav__links a:not(.btn) {
    padding: 14px 0;
    border-top: 1px solid var(--rule-ink);
  }
  .nav__links a.btn {
    margin-top: 14px;
    padding: 14px 22px !important;
    justify-content: center;
    text-align: center;
  }

  /* Hamburger → X when checked */
  .nav__toggle:checked ~ .nav__hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav__toggle:checked ~ .nav__hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle:checked ~ .nav__hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Diagonal decoration is too cluttered on phones */
  .dive { display: none; }

  /* Tighten section spacing */
  .hero { padding-top: 56px; padding-bottom: 56px; }
  .callout { padding: 48px 0; }

  /* Footer legal row stacks vertically */
  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Cards: less padding so they don't dwarf phone screens */
  .card,
  .card--paper,
  .claim {
    padding: 28px 24px;
  }
}

/* Extra-narrow phones — typography + CTA pass */
@media (max-width: 420px) {
  .h-display { font-size: clamp(34px, 9vw, 48px); }
  .legal p,
  .legal ul li { font-size: 15.5px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}
