/* Infinite Books — brand: Navy #0D1242, Red #FF3131, Blush #F6E0DD, cool grey neutrals */

@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@700,800,500&f[]=satoshi@400,500,700&display=swap');

:root {
  --navy: #0d1242;
  --navy-800: #161c58;
  --navy-700: #222a72;
  --red: #ff3131;
  --red-dark: #d81f1f;
  --blush: #f6e0dd;
  --slate: #5a6079;
  --mist: #e0e3ef;
  --cloud: #f4f5f8;
  --pearl: #fafbfc;
  --white: #ffffff;

  --font-display: 'Cabinet Grotesk', 'Satoshi', system-ui, sans-serif;
  --font-body: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 56px);
  --sec: clamp(64px, 9vw, 128px);
  --r: 4px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 92px; } /* keep anchored sections clear of the sticky header */
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.narrow { max-width: 760px; }
.section { padding-block: var(--sec); }

.eyebrow {
  font-family: var(--font-body);
  word-spacing: .22em;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 18px;
}
.eyebrow--light { color: #ff6b6b; }

.h-sec { font-size: clamp(30px, 4vw, 46px); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--slate); line-height: 1.6; }
.lede--light { color: #c3c8de; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  padding: 14px 26px; border-radius: var(--r);
  text-decoration: none; border: 1.5px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { border-color: var(--mist); color: var(--navy); background: transparent; }
.btn--ghost:hover { border-color: var(--navy); }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--red);
  text-decoration: none; border-bottom: 1.5px solid transparent; padding-bottom: 2px;
}
.tlink:hover { border-bottom-color: var(--red); }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--mist);
  transition: box-shadow .3s var(--ease);
}
.hdr.is-scrolled { box-shadow: 0 6px 24px rgba(13,18,66,.07); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 78px; }
.hdr__logo img { width: 190px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.5vw, 26px); margin-left: auto; }
.nav > a:not(.btn) { flex: 0 0 auto; white-space: nowrap; }
.nav a {
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--navy);
  padding: 6px 0; border-bottom: 1.5px solid transparent; transition: border-color .2s, color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--red); }
.nav .btn { flex: 0 0 auto; white-space: nowrap; padding: 12px 22px; font-size: 14.5px; }
.nav .btn--primary { color: #fff; border-bottom: 0; }
.nav .btn--primary:hover { border-bottom: 0; }
.burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(32px, 5vw, 72px); padding-block: clamp(52px, 6vw, 86px);
}
.hero h1 { font-size: clamp(33px, 4.1vw, 52px); color: #fff; margin-bottom: 22px; max-width: 22ch; }
.hero__sub { font-size: clamp(16px, 1.45vw, 19px); color: #c3c8de; max-width: 36em; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__fig { position: relative; }
.hero__fig img { border-radius: var(--r); width: 100%; aspect-ratio: 4/3.6; max-height: 470px; object-fit: cover; }
.hero__mark {
  position: absolute; right: -14%; top: -18%; width: 62%; opacity: .1;
  pointer-events: none; user-select: none;
}

/* credibility strip */
.strip { background: var(--navy-800); color: #fff; border-top: 1px solid rgba(255,255,255,.1); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); }
.strip__cell { background: var(--navy-800); padding: 30px clamp(16px, 2.4vw, 34px); }
.strip__fig { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); color: #fff; letter-spacing: -0.02em; }
.strip__lbl { font-size: 13px; color: #a7aec9; line-height: 1.45; margin-top: 6px; }

/* ---------- generic blocks ---------- */
.bg-cloud { background: var(--cloud); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }

.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; align-items: center; }

.prose p { font-size: 17px; line-height: 1.7; }
.prose .big { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.55; color: var(--navy); font-weight: 500; }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--mist); border: 1px solid var(--mist); }
.card--wide { grid-column: 1 / -1; }
.card { background: #fff; padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 12px; }
.card__num { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--red); }
.card h3 { font-size: 19px; letter-spacing: -0.01em; }
.card p { font-size: 15.5px; line-height: 1.6; color: var(--slate); }

/* why-us rows */
.rows { border-top: 1px solid rgba(255,255,255,.18); }
.row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(20px, 4vw, 56px); padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.row h3 { font-size: clamp(20px, 2.1vw, 25px); }
.row p { color: #c3c8de; font-size: 16.5px; margin: 0; }

/* audience */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.aud__item { border-top: 2px solid var(--navy); padding-top: 20px; }
.aud__item h3 { font-size: 19px; margin-bottom: 10px; }
.aud__item p { font-size: 15.5px; color: var(--slate); margin: 0; }

/* list */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16.5px; line-height: 1.55; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .52em;
  width: 13px; height: 13px; border: 2px solid var(--red); border-radius: 50%;
}
.ticks--light li { color: #d3d7e8; }

/* callout */
.callout { background: var(--blush); padding: clamp(22px, 3vw, 32px); border-radius: var(--r); }
.callout p { margin: 0; font-size: 16.5px; color: var(--navy); }
.callout strong { color: var(--red); }

/* CTA band */
.cta { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta__in { position: relative; z-index: 2; text-align: center; max-width: 720px; margin: 0 auto; }
.cta h2 { font-size: clamp(30px, 4vw, 46px); color: #fff; margin-bottom: 18px; }
.cta p { color: #c3c8de; font-size: 17.5px; margin-bottom: 32px; }
.cta__mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(620px, 90%); opacity: .07; z-index: 1; }

/* page header (interior) */
.phead { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.phead__in { padding-block: clamp(56px, 7vw, 92px); position: relative; z-index: 2; max-width: 820px; }
.phead h1 { font-size: clamp(32px, 4.6vw, 54px); color: #fff; margin-bottom: 20px; }
.phead p { color: #c3c8de; font-size: clamp(16px, 1.5vw, 19px); max-width: 34em; margin: 0; }
.phead__mark { position: absolute; right: -6%; top: -30%; width: 42%; opacity: .1; z-index: 1; }

/* figure */
.figure img { border-radius: var(--r); width: 100%; object-fit: cover; }
.figure figcaption { font-size: 13px; color: var(--slate); margin-top: 10px; }

/* steps */
.steps { counter-reset: s; display: grid; gap: 0; border-top: 1px solid var(--mist); }
.steps li { counter-increment: s; list-style: none; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--mist); align-items: baseline; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; color: var(--red); font-size: 15px; }
.steps li span { font-size: 16.5px; line-height: 1.55; }
.steps--light { border-top-color: rgba(255,255,255,.2); }
.steps--light li { border-bottom-color: rgba(255,255,255,.2); }
.steps--light li span { color: #d3d7e8; }
.steps--light li::before { color: #ff6b6b; }

/* footer */
.ftr { background: var(--navy); color: #fff; padding-block: clamp(48px, 6vw, 76px) 32px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.ftr__logo img { width: 200px; margin-bottom: 18px; }
.ftr p, .ftr li { font-size: 14.5px; color: #a7aec9; line-height: 1.7; }
.ftr h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-family: var(--font-body); font-weight: 700; margin-bottom: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr a { color: #c3c8de; text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr__base { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; }
.ftr__base p { margin: 0; font-size: 13px; }

.pill {
  display: inline-block; background: var(--blush); color: var(--red);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
}

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card--wide { grid-column: 1 / -1; }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .aud { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; left: 0; right: 0; top: 78px; background: #fff;
    border-bottom: 1px solid var(--mist); padding: 18px var(--gut) 26px;
  }
  .nav.is-open a { width: 100%; padding: 11px 0; border-bottom: 1px solid var(--mist); }
  .nav.is-open .btn { margin-top: 12px; border-bottom: 0; justify-content: center; }
  .nav.is-open .btn--primary { color: #fff; }
  .burger { display: block; }
  .hdr { position: sticky; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__fig { order: -1; }
  .hero__mark { display: none; }
  .split, .split--even { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }
  .strip__grid { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; }
  .hdr__logo img { width: 158px; }
  .steps li { grid-template-columns: 40px 1fr; gap: 12px; }
}

/* ---------- client quotes ---------- */
.quotes { background: var(--cloud); }
.quotes__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.quote { margin: 0; background: var(--white); border-top: 3px solid var(--red); padding: clamp(26px, 3vw, 38px); }
.quote blockquote { margin: 0; }
.quote blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--navy);
}
.quote figcaption {
  margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--mist);
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--slate);
}
@media (max-width: 860px) { .quotes__grid { grid-template-columns: 1fr; } }

/* ---------- Benchmark review form ---------- */
.bform { background: var(--white); color: var(--navy); text-align: left; border-radius: var(--r); padding: clamp(22px, 3vw, 36px); margin-top: 6px; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.bform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.fld { display: block; margin: 0; padding: 0; border: 0; min-width: 0; }
.fld > span, .fld legend { display: block; font-size: 13.5px; font-weight: 700; letter-spacing: .02em; color: var(--slate); margin-bottom: 7px; padding: 0; }
.fld input[type="text"], .fld input[type="tel"], .fld input[type="email"], .fld select {
  width: 100%; font: inherit; font-size: 16px; color: var(--navy); background: var(--pearl);
  border: 1.5px solid var(--mist); border-radius: var(--r); padding: 12px 14px; outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.fld select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230d1242' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.fld input:focus, .fld select:focus { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(13,18,66,.12); }
.bform.was-validated input:invalid, .bform.was-validated select:invalid { border-color: var(--red); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { position: relative; display: block; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; text-align: center; font-size: 15.5px; font-weight: 500; padding: 12px 10px; border: 1.5px solid var(--mist); border-radius: var(--r); background: var(--pearl); color: var(--navy); transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease); }
.seg input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(13,18,66,.18); }
.bform.was-validated .seg:has(input:invalid) span { border-color: var(--red); }
.bform__hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.bform__foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 24px; }
.bform__foot .btn { border: 0; cursor: pointer; }
.bform__foot .btn:disabled { opacity: .7; cursor: default; transform: none; }
.bform .bform__note { margin: 0; flex: 1 1 260px; font-size: 13.5px; line-height: 1.5; color: var(--slate); }
.bform .bform__note a { color: var(--navy); font-weight: 500; }
.bform .bform__msg { margin: 16px 0 0; font-size: 15.5px; color: var(--navy); min-height: 0; }
.bform .bform__msg:empty { display: none; }
.bform .bform__msg a { color: var(--red); font-weight: 700; }
.bform.is-sent .bform__grid, .bform.is-sent .bform__foot { display: none; }
.bform.is-sent .bform__msg { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; padding: 6px 0; }
.bform.is-error .bform__msg { color: var(--red-dark); }
@media (max-width: 600px) {
  .bform__grid { grid-template-columns: 1fr; gap: 16px; }
  .bform__foot .btn { width: 100%; justify-content: center; }
}
