/* =========================================================
   Holland Systems — styles
   Deep ink navy + electric blue on a refined light ground.
   Bricolage Grotesque (display) · Hanken Grotesk (body) · IBM Plex Mono (labels)
   ========================================================= */

:root {
  --ink: #0B2239;
  --navy: #0E2A47;
  --navy-700: #16365a;
  --blue: #2F7DF6;
  --blue-600: #1e6be6;
  --blue-300: #7fb0ff;
  --blue-100: #d7e6ff;

  --paper: #ffffff;
  --bg: #f6f8fc;
  --bg-soft: #eef2f8;
  --line: #e3e9f3;

  --text: #0e2a47;
  --muted: #54678a;
  --muted-2: #7a8aa6;

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-sm: 0 1px 2px rgba(14, 42, 71, .06), 0 4px 16px rgba(14, 42, 71, .05);
  --shadow-md: 0 10px 30px rgba(14, 42, 71, .10);
  --shadow-lg: 0 24px 60px rgba(14, 42, 71, .16);

  --font-display: "Bricolage Grotesque", ui-sans-serif, sans-serif;
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg);
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section[id], #top { scroll-margin-top: 90px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 300;
  background: linear-gradient(90deg, var(--blue), var(--blue-300));
  transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
}

/* ---------- shared ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .6; }
.section-head .eyebrow { justify-content: center; }
.eyebrow.on-dark { color: var(--blue-300); }

.accent {
  background: linear-gradient(100deg, var(--blue) 0%, #6aa3ff 45%, var(--blue) 75%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; overflow: hidden;
  transition: transform .2s var(--ease), background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(47, 125, 246, .28); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(47, 125, 246, .36); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-primary:hover::after { left: 150%; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); background: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); transform: translateY(-2px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(246, 248, 252, .72);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(246, 248, 252, .9); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; transition: height .3s var(--ease); }
.site-header.scrolled .header-inner { height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { border-radius: 9px; box-shadow: var(--shadow-sm); flex: none; transition: transform .35s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; color: var(--navy); }

.nav { display: flex; gap: 30px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--muted); transition: color .15s ease; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--blue); transition: width .25s var(--ease); border-radius: 2px; }
.nav a:hover, .nav a.active { color: var(--navy); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { width: 18px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 22px; border-bottom: 1px solid var(--line); background: var(--bg); }
.mobile-nav a { padding: 12px 4px; font-size: 16px; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--line); }
.mobile-nav a.btn { border: none; margin-top: 10px; justify-content: center; color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 96px; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background-image: radial-gradient(rgba(14, 42, 71, .05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
  mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.hero-bg::before, .hero-bg::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); }
.hero-bg::before { width: 540px; height: 540px; top: -150px; right: -90px; background: radial-gradient(circle, rgba(47, 125, 246, .42), transparent 62%); }
.hero-bg::after { width: 460px; height: 460px; bottom: -180px; left: -80px; background: radial-gradient(circle, rgba(127, 176, 255, .4), transparent 62%); }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 600px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.95rem); font-weight: 700; color: var(--navy); margin-bottom: 22px; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 52ch; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.hero-note { font-size: 14px; color: var(--muted-2); font-family: var(--font-mono); letter-spacing: .01em; }

.hero-visual { display: flex; justify-content: center; }
.funnel-card {
  width: 100%; max-width: 380px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 16px 18px 22px;
}
.funnel-head { display: flex; align-items: center; gap: 7px; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.funnel-head .dot { width: 9px; height: 9px; border-radius: 50%; }
.funnel-head .dot:nth-child(1) { background: #ff8a8a; }
.funnel-head .dot:nth-child(2) { background: #ffd166; }
.funnel-head .dot:nth-child(3) { background: #82d896; }
.funnel-title { margin-left: auto; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.funnel-svg { width: 100%; height: auto; }
.tier-1 { fill: var(--blue-100); }
.tier-2 { fill: #aecdfb; }
.tier-3 { fill: var(--blue); }
.tier-out { fill: var(--navy); }
.f-label { font-family: var(--font-body); font-weight: 600; font-size: 15px; fill: var(--navy-700); text-anchor: middle; }
.f-label.dark { fill: #fff; }
.flow { fill: var(--blue-600); opacity: 0; }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; }
.marquee-item { display: inline-flex; align-items: center; padding: 20px 0; }
.marquee-item > span { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.marquee-item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); opacity: .5; margin: 0 38px; }

/* ---------- stats ---------- */
.stats { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 120%, rgba(47, 125, 246, .35), transparent 45%); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 42px 24px; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -.03em; color: #fff; }
.stat-num .unit { font-size: .5em; font-weight: 600; color: var(--blue-300); margin-left: 2px; }
.stat-label { font-size: 14px; color: rgba(255, 255, 255, .72); margin-top: 4px; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--navy); margin-bottom: 16px; }
.section-sub { font-size: 1.08rem; color: var(--muted); }

/* ---------- service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(140deg, rgba(47, 125, 246, .9), rgba(127, 176, 255, .2) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card:hover::before { opacity: 1; }
.card-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); margin-bottom: 18px; transition: transform .3s var(--ease), background .3s ease, color .3s ease; }
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); background: var(--blue); color: #fff; }
.card h3 { font-size: 1.18rem; color: var(--navy); margin-bottom: 9px; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 26px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s ease; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .1em; color: #fff; background: var(--blue); width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 6px 16px rgba(47, 125, 246, .3); }
.step-ghost { position: absolute; top: -14px; right: 6px; font-family: var(--font-display); font-weight: 700; font-size: 86px; line-height: 1; color: var(--bg-soft); z-index: 0; user-select: none; }
.step h3 { position: relative; z-index: 1; font-size: 1.18rem; color: var(--navy); margin-bottom: 9px; }
.step p { position: relative; z-index: 1; font-size: 15px; color: var(--muted); }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 22px; transition: transform .25s var(--ease), box-shadow .25s ease; }
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.quote::before { content: "\201C"; position: absolute; top: 6px; right: 22px; font-family: var(--font-display); font-size: 80px; line-height: 1; color: var(--blue-100); }
.quote blockquote { margin: 0; position: relative; font-size: 1.04rem; line-height: 1.6; color: var(--navy); font-weight: 500; }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 18px; border-top: 1px solid var(--line); }
.q-name { font-weight: 600; color: var(--navy); }
.q-role { font-size: 13px; color: var(--muted-2); font-family: var(--font-mono); letter-spacing: .02em; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--navy); margin-bottom: 18px; }
.about-copy p { color: var(--muted); margin-bottom: 16px; max-width: 56ch; }
.about-points { display: flex; flex-direction: column; gap: 16px; }
.about-points li { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
.about-points li:hover { transform: translateX(4px); }
.about-points svg { color: var(--blue); margin-top: 2px; flex: none; }
.about-points svg path { stroke-dasharray: 30; stroke-dashoffset: 30; }
.about-points.in svg path { stroke-dashoffset: 0; transition: stroke-dashoffset .6s ease; }
.about-points.in li:nth-child(2) svg path { transition-delay: .12s; }
.about-points.in li:nth-child(3) svg path { transition-delay: .24s; }
.about-points.in li:nth-child(4) svg path { transition-delay: .36s; }
.about-points strong { color: var(--navy); font-weight: 600; }
.about-points div { font-size: 15px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(47, 125, 246, .4), transparent 50%), radial-gradient(circle at 0% 100%, rgba(47, 125, 246, .22), transparent 45%); }
.cta-inner { position: relative; text-align: center; max-width: 680px; margin: 0 auto; padding: 96px 24px; }
.cta-inner h2 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 18px; }
.cta-sub { font-size: 1.1rem; color: rgba(255, 255, 255, .78); margin-bottom: 34px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- booking ---------- */
.booking .section-head { margin-bottom: 36px; }
.calendly-inline-widget { max-width: 1000px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; padding: 52px 24px 30px; flex-wrap: wrap; }
.footer-tag { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 32ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; align-content: start; }
.footer-nav a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .15s; }
.footer-nav a:hover { color: var(--navy); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-2); font-family: var(--font-mono); letter-spacing: .02em; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); }
.reveal.in { opacity: 1; transform: none; filter: blur(0); }

/* ========== MOTION (opt-out via reduced-motion) ========== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s ease; transition-delay: calc(var(--d, 0) * 100ms); will-change: opacity, transform; }

  .accent { animation: shimmer 7s linear infinite; }
  @keyframes shimmer { to { background-position: 220% 0; } }

  .hero-bg::before { animation: floatA 16s ease-in-out infinite; }
  .hero-bg::after { animation: floatB 20s ease-in-out infinite; }
  @keyframes floatA { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-28px, 34px) scale(1.08); } }
  @keyframes floatB { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -26px) scale(1.1); } }

  .funnel-card { animation: bob 6s ease-in-out infinite; }
  @keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

  .flow { animation: drop 3.4s cubic-bezier(.6, .05, .3, 1) infinite; }
  .flow-2 { animation-delay: 1.1s; }
  .flow-3 { animation-delay: 2.2s; }
  @keyframes drop {
    0% { cy: 18px; opacity: 0; } 8% { opacity: 1; }
    28% { cy: 59px; } 50% { cy: 127px; } 72% { cy: 195px; }
    90% { cy: 264px; opacity: 1; } 100% { cy: 264px; opacity: 0; }
  }

  .marquee-track { animation: marquee 34s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .about-points svg path { stroke-dashoffset: 0; }
  .accent { background-position: 0 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; }
  .funnel-card { max-width: 340px; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
}
@media (max-width: 720px) {
  .nav, .header-actions .btn-sm { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.open { display: flex; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 66px 0; }
  .section-head { margin-bottom: 40px; }
  .footer-inner { flex-direction: column; gap: 28px; }
}
@media (max-width: 460px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .btn-lg { width: 100%; }
  .hero-cta, .cta-actions { width: 100%; }
}
