/* HRB Capital — Variant A: Performance lead-generation agency
   Light modern-editorial. Warm paper, ink text, tangerine accent.
   Display: Bricolage Grotesque. Body: Spline Sans. */

:root {
  --paper:    #f4f1ea;   /* page base */
  --paper-2:  #eae5da;   /* raised surface */
  --card:     #fbf9f4;   /* card */
  --ink:      #16181c;   /* primary text */
  --ink-soft: #3b3f47;
  --line:     #ddd6c8;   /* hairlines */
  --accent:   #e8552a;   /* tangerine */
  --accent-d: #cf441d;
  --muted:    #6e6a60;   /* secondary text */
  --max:      1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Spline Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 520px at 88% -6%, rgba(232,85,42,0.10), transparent 58%),
    radial-gradient(760px 600px at -4% 4%, rgba(232,85,42,0.05), transparent 55%),
    var(--paper);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; opacity: 0.5;
  pointer-events: none; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }
a { color: inherit; text-decoration: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(244,241,234,0.7);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 32px; height: 32px; display: block; }
.brand .name {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700; font-size: 20px; letter-spacing: -0.02em;
}
.brand .name span { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); transition: color 0.2s ease; }
.nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Spline Sans", sans-serif; font-size: 14.5px; font-weight: 600; letter-spacing: 0.01em;
  padding: 12px 22px; border-radius: 100px;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { background: var(--accent-d); border-color: var(--accent-d); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(232,85,42,0.25); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: none; }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.nav .btn { padding: 9px 18px; }

/* ---------- hero ---------- */
.hero { padding: 116px 0 92px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  color: var(--accent); margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }

.hero h1 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700; font-size: clamp(44px, 7vw, 88px); line-height: 0.98; letter-spacing: -0.035em;
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin-top: 28px; font-size: clamp(17px, 1.7vw, 20px); color: var(--muted); max-width: 54ch; }
.hero .cta-row { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(18px); animation: rise 0.85s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: 0.05s; } .d2 { animation-delay: 0.15s; } .d3 { animation-delay: 0.26s; } .d4 { animation-delay: 0.37s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } }

/* ---------- stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 32px 0 32px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .k { font-family: "Bricolage Grotesque", sans-serif; font-size: 27px; font-weight: 700; letter-spacing: -0.02em; }
.stat .l { font-size: 13px; letter-spacing: 0.05em; color: var(--muted); margin-top: 6px; text-transform: uppercase; }

/* ---------- sections ---------- */
section { padding: 100px 0; }
.section-head { max-width: 62ch; margin-bottom: 54px; }
.section-head .tag { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.section-head h2 {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
  font-size: clamp(30px, 4.2vw, 50px); line-height: 1.02; letter-spacing: -0.03em; margin-top: 14px;
}
.section-head p { color: var(--muted); margin-top: 16px; font-size: 18px; }

/* ---------- services ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 38px 34px; transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22,24,28,0.08); border-color: var(--accent); }
.card .idx {
  display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center;
  border-radius: 100px; background: var(--paper-2); color: var(--accent);
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 14px;
}
.card h3 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 23px; letter-spacing: -0.02em; margin: 20px 0 11px; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.62; }

/* ---------- approach ---------- */
.approach { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; counter-reset: step; }
.step { counter-increment: step; }
.step .num {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.step .num::before { content: "0" counter(step); }
.step .num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step h3 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.about-grid .label { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.about-grid .lead {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: clamp(23px, 2.8vw, 32px);
  line-height: 1.22; letter-spacing: -0.025em;
}
.about-grid .body { color: var(--muted); margin-top: 20px; font-size: 16.5px; }
.about-grid .body p + p { margin-top: 14px; }

/* ---------- contact ---------- */
.contact { text-align: center; }
.contact .tag { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.contact h2 {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
  font-size: clamp(36px, 5.4vw, 64px); line-height: 0.98; letter-spacing: -0.035em; margin: 16px 0 14px;
}
.contact p { color: var(--muted); max-width: 46ch; margin: 0 auto 34px; font-size: 18px; }
.contact .email {
  display: inline-block; margin-top: 28px; font-family: "Bricolage Grotesque", sans-serif; font-weight: 600;
  font-size: 22px; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 3px;
  transition: color 0.2s ease;
}
.contact .email:hover { color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer .brand .name { font-size: 18px; }
.site-footer .copy { color: var(--muted); font-size: 13.5px; }
.foot-nav { display: flex; gap: 26px; }
.foot-nav a { color: var(--ink-soft); font-size: 13.5px; transition: color 0.2s ease; }
.foot-nav a:hover { color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; padding-left: 0; }
  .stat:nth-child(odd) { padding-right: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .about-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 22px; }
  section { padding: 74px 0; }
  .hero { padding: 78px 0 60px; }
}
