/* ===== Tokens ===== */
:root {
  --navy: #0f1b2d;
  --navy-2: #16263d;
  --ink: #1a2433;
  --slate: #5b6b7a;
  --muted: #7c8798;
  --line: #e7eaef;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --accent: #ff9a3c;
  --accent-deep: #f5821f;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16,27,45,.04), 0 12px 32px rgba(16,27,45,.06);
  --container: 1120px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: all .2s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: var(--navy); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(245,130,31,.28); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); background: var(--bg-soft); }
.btn--lg { padding: 14px 26px; font-size: 16px; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand__mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: var(--navy); color: var(--accent); font-weight: 800; font-size: 14px; letter-spacing: .02em;
}
.brand__name { color: var(--navy); font-size: 16px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links > a:not(.btn) { font-size: 15px; color: var(--slate); font-weight: 500; transition: color .2s; }
.nav__links > a:not(.btn):hover { color: var(--navy); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s var(--ease); }
.nav__mobile { display: none; flex-direction: column; gap: 4px; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.nav__mobile a:not(.btn) { padding: 12px 4px; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
.nav__mobile .btn { margin-top: 12px; }

/* ===== Hero ===== */
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-deep); margin-bottom: 18px;
}
.hero { padding: 92px 0 72px; background:
  radial-gradient(1200px 500px at 70% -10%, rgba(255,154,60,.10), transparent 60%),
  linear-gradient(180deg, var(--bg-soft), #fff); }
.hero__inner { max-width: 820px; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 800; margin-bottom: 22px; }
.hero__lede { font-size: clamp(17px, 2.2vw, 21px); color: var(--slate); max-width: 640px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 50px; }
.hero__stats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 34px; }
.hero__stats strong { display: block; font-size: clamp(26px, 4vw, 36px); font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.hero__stats span { font-size: 14px; color: var(--muted); }

/* ===== Brand logo wall ===== */
.band { padding: 46px 0 50px; border-bottom: 1px solid var(--line); background: #fff; }
.band__label { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 30px; }
.logos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 48px; }
.logo {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 56px; transition: transform .2s var(--ease);
}
/* definite height (not max-height) so percentage-sized SVGs don't collapse to 0 */
.logo img { height: 48px; width: auto; max-width: 150px; object-fit: contain; display: block; }
/* wide wordmarks read better shorter; square badges keep the full height */
.logo--wordmark img { height: 30px; }
/* darken a too-light wordmark (e.g. Olympia) so it reads on white */
.logo--ink img { filter: brightness(0) opacity(0.78); }
.logo:hover { transform: translateY(-2px); }
.logo__tag {
  position: absolute; left: 50%; top: -18px; transform: translateX(-50%);
  font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent-deep); background: #fff6ec; border: 1px solid #ffe2c2; border-radius: 999px;
  padding: 2px 8px; white-space: nowrap;
}

/* ===== Performance / charts ===== */
.perf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.perf__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.perf__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.perf__head h3 { font-size: 17px; }
.perf__note { color: var(--muted); font-size: 13px; margin-top: 12px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pill--up { color: #0a7d4d; background: #e7f7ee; }
.pill--down { color: var(--accent-deep); background: #fff1e4; }

/* chart primitives (shared) */
.chart { width: 100%; height: auto; display: block; }
.chart .axis { stroke: #d7dde6; stroke-width: 1.5; }
.chart .grid line { stroke: #eef1f5; stroke-width: 1; }
.chart .line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart .line--accent { stroke: var(--accent-deep); }
.chart .line--navy { stroke: var(--navy); }
.chart .bar--accent { fill: var(--accent); }
.chart .bar--navy { fill: #c2cad6; }
.chart .dot--accent { fill: var(--accent-deep); }
.chart .dot--navy { fill: var(--navy); }
.chart .lbl { font: 700 12px "Inter", sans-serif; fill: var(--slate); }
.chart .lbl--accent { fill: var(--accent-deep); }
.swatch { display: inline-block; width: 11px; height: 11px; border-radius: 3px; vertical-align: -1px; }
.swatch--navy { background: #c2cad6; }
.swatch--accent { background: var(--accent); }

/* ===== Case studies (media + body) ===== */
.cases { display: grid; gap: 22px; }
.case2 { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.case2--reverse .case2__media { order: 2; }
.case2__media { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.case2__body h3 { font-size: 22px; margin: 10px 0 12px; }
.case2__body p { color: var(--slate); font-size: 15px; }
.case2__metrics { display: flex; gap: 32px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.case2__metrics strong { display: block; font-size: 20px; font-weight: 800; color: var(--navy); }
.case2__metrics span { font-size: 13px; color: var(--muted); }

/* ===== Process ===== */
.process { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.process__step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.process__num { display: inline-block; font-size: 13px; font-weight: 800; color: var(--accent-deep); letter-spacing: .06em; margin-bottom: 12px; }
.process__step h3 { font-size: 18px; margin-bottom: 8px; }
.process__step p { color: var(--slate); font-size: 14.5px; }

/* ===== Tools ===== */
.tools { text-align: center; border-top: 1px solid var(--line); padding-top: 44px; }
.tools__title { font-size: 15px; color: var(--muted); font-weight: 600; margin-bottom: 20px; letter-spacing: .03em; }
.tools .chips { justify-content: center; }

/* résumé brands line */
.band__more { text-align: center; margin-top: 26px; font-size: 13.5px; color: var(--muted); }

/* ===== Contact + form ===== */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.contact__intro h2 { color: #fff; font-size: clamp(27px, 4vw, 40px); }
.contact__intro p { color: #aeb9c9; font-size: 18px; margin-top: 14px; }
.contact__alt { margin-top: 28px; }
.contact__email { color: #aeb9c9; font-size: 15px; margin-top: 18px; }
.contact__email a { color: var(--accent); font-weight: 600; }
.contact__email a:hover { text-decoration: underline; }

.form { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 600; color: var(--navy); }
.form input, .form textarea {
  font: inherit; font-weight: 400; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form input::placeholder, .form textarea::placeholder { color: #aab2bf; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,154,60,.18); }
.form textarea { resize: vertical; min-height: 112px; }
.form__honey { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form__submit { margin-top: 4px; align-self: flex-start; }
.form__status { font-size: 14px; margin: 2px 0 0; }
.form__status.is-ok { color: #0a7d4d; }
.form__status.is-error { color: #c0392b; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section--alt { background: var(--bg-soft); }
.section__head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.section__head h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; }
.section__sub { color: var(--slate); font-size: 18px; margin-top: 14px; }

/* ===== Grid + cards ===== */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d7dde6; }
.card__icon { font-size: 26px; margin-bottom: 16px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 15px; }

/* ===== Case studies ===== */
.case {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column;
}
.case__tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 12px; }
.case h3 { font-size: 21px; margin-bottom: 12px; }
.case__body { color: var(--slate); font-size: 15px; flex-grow: 1; }
.case__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.case__metrics strong { display: block; font-size: 20px; font-weight: 800; color: var(--navy); }
.case__metrics span { font-size: 12.5px; color: var(--muted); }
.case__disclaimer { text-align: center; color: var(--muted); font-size: 13px; margin-top: 30px; }

/* ===== About ===== */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.about h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 20px; }
.about__text p { color: var(--slate); margin-bottom: 16px; }
.about__list { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 10px; }
.about__list li { position: relative; padding-left: 26px; color: var(--ink); font-size: 15px; }
.about__list li::before { content: "→"; position: absolute; left: 0; color: var(--accent-deep); font-weight: 700; }
.about__tools { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.about__tools h3 { font-size: 16px; margin-bottom: 18px; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; color: var(--ink); font-weight: 500; }

/* ===== CTA ===== */
.cta { background: var(--navy); }
.cta__inner { text-align: center; max-width: 680px; margin: 0 auto; }
.cta h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); }
.cta p { color: #aeb9c9; font-size: 18px; margin-top: 14px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 32px 0 18px; }
.cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.cta .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.cta__meta { color: #6b7a90; font-size: 14px; }

/* ===== Footer ===== */
.footer { padding: 28px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 14px; }
.footer a:hover { color: var(--navy); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .perf { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
  .process { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .case2, .case2--reverse { grid-template-columns: 1fr; gap: 22px; }
  .case2--reverse .case2__media { order: 0; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__mobile { display: flex; }
  .hero { padding: 56px 0 48px; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 22px; }
  .grid--3 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .logos { gap: 18px 30px; }
  .logo { height: 46px; }
  .logo img { height: 40px; }
  .logo--wordmark img { height: 26px; }
  .case2 { padding: 22px; }
  .case2__metrics { gap: 24px; }
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 38px; }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { gap: 18px 16px; }
  .contact__alt .btn { width: 100%; }
  .form__submit { align-self: stretch; width: 100%; }
  .logos { gap: 16px 24px; }
  .footer__inner { flex-direction: column; gap: 6px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
