/* =========================================================
   Dezyn Spectrum — design tokens
   ========================================================= */
:root {
  /* Brand */
  --navy-950: #0B111D;
  --navy-900: #141C2E;   /* logo navy */
  --navy-800: #1B2539;
  --navy-700: #26324B;
  --steel:    #3E6491;   /* logo blue — brand highlight */
  --steel-400:#4A74A6;
  --steel-200:#7FA6D6;   /* lifted tint for text/icons on navy */
  --steel-300:#8FAACB;
  --cream:    #F6F3EC;
  --white:    #FFFFFF;

  /* Semantic */
  --bg-dark: var(--navy-950);
  --surface-dark: var(--navy-900);
  --surface-dark-2: var(--navy-800);
  --border-dark: rgba(255,255,255,.09);
  --text-on-dark: #F3F5F9;
  --muted-on-dark: #A6B0C2;

  --bg-light: var(--cream);
  --surface-light: var(--white);
  --border-light: #E6E1D6;
  --text-on-light: var(--navy-900);
  --muted-on-light: #545E70;

  --accent: var(--steel);          /* fills: buttons, chips, cards */
  --accent-hover: var(--steel-400);
  --on-accent: var(--white);
  --accent-bright: var(--steel-200); /* text, strokes, focus on dark */
  --accent-glow: 127,166,214;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(20,28,46,.04), 0 8px 24px rgba(20,28,46,.06);
  --shadow-float: 0 24px 60px rgba(0,0,0,.45);

  --ease-out: cubic-bezier(.22,1,.36,1);
  --dur-fast: 160ms;
  --dur: 260ms;
  --dur-slow: 700ms;

  --container: 1200px;
  --nav-h: 76px;
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-on-dark);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 6px; }

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

.skip-link {
  position: absolute; left: var(--s-4); top: -60px; z-index: 1000;
  background: var(--accent); color: var(--on-accent); padding: var(--s-2) var(--s-4);
  border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: var(--s-4); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.icon {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.hl { color: var(--accent-bright); }
.section--light .hl { color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel-300);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright);
}
.section--light .eyebrow { color: var(--steel); }
.section--light .eyebrow::before { background: var(--accent); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  border-radius: var(--radius-pill); border: 1px solid transparent; background: transparent;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease,
              border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn .icon { transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon { transform: translateX(2px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: rgba(255,255,255,.22); color: var(--text-on-dark); }
.btn--ghost:hover { border-color: var(--accent-bright); color: var(--accent-bright); }
.btn--dark { background: var(--navy-900); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); }
.btn--sm { min-height: 44px; padding: 0 var(--s-4); font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: progress; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid currentColor; border-color: rgba(127,140,160,.35);
  background: transparent;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.icon-btn:hover { border-color: var(--accent-bright); color: var(--accent-bright); }
.section--light .icon-btn:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color var(--dur) ease, border-color var(--dur) ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11,17,29,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border-dark);
}
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: var(--s-6); }
.nav__brand img { height: 40px; width: auto; }
.nav__links { display: flex; gap: var(--s-6); margin-left: auto; }
.nav__links a {
  font-size: 15px; font-weight: 500; color: var(--muted-on-dark);
  padding: var(--s-2) 0; position: relative; transition: color var(--dur-fast) ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--accent-bright); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__toggle { display: none; }
.nav__mobile { display: none; }

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px; margin-left: auto;
    width: 44px; height: 44px; border-radius: 50%; background: transparent;
    border: 1px solid var(--border-dark);
  }
  .nav__toggle span { width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform var(--dur) var(--ease-out); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav.is-open { background: var(--navy-950); }
  .nav__mobile:not([hidden]) {
    display: flex; flex-direction: column; gap: var(--s-2);
    padding: var(--s-4) var(--s-5) var(--s-6);
    background: var(--navy-950); border-bottom: 1px solid var(--border-dark);
  }
  .nav__mobile a:not(.btn) { padding: var(--s-3) 0; font-size: 18px; border-bottom: 1px solid var(--border-dark); }
  .nav__mobile .btn { margin-top: var(--s-4); }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + var(--s-8)) 0 var(--s-8);
  background:
    radial-gradient(60% 50% at 85% 30%, rgba(62,100,145,.28), transparent 70%),
    var(--bg-dark);
}
.hero__glow {
  position: absolute; width: 520px; height: 520px; right: -120px; top: 60px;
  background: radial-gradient(circle, rgba(var(--accent-glow),.16), transparent 60%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-7); align-items: center;
  min-height: 560px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.4vw, 84px);
  font-weight: 500; letter-spacing: -.02em; line-height: 1.02;
  text-wrap: balance;
}
.hero__title em { font-style: italic; font-weight: 400; color: var(--white); }
.hero__sub {
  margin-top: var(--s-5); max-width: 520px;
  font-size: 18px; color: var(--muted-on-dark);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

.hero__visual { position: relative; height: 560px; }
.hero__ribbon { position: absolute; inset: -20px -40px auto auto; width: 120%; height: 120%; }
.phone {
  position: absolute; overflow: hidden;
  width: 230px; aspect-ratio: 9 / 16;
  border-radius: 28px; border: 6px solid #0E1524;
  background: var(--navy-800);
  box-shadow: var(--shadow-float);
}
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; }
.phone--front { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 260px; z-index: 2; }
.phone--back { top: 50%; opacity: .55; filter: saturate(.8); }
.phone--l { left: 0; transform: translateY(-46%) rotate(-8deg); }
.phone--r { right: 0; transform: translateY(-54%) rotate(8deg); }
.phone__tag {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: var(--radius-pill);
  background: rgba(11,17,29,.75); backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 600;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 3px rgba(var(--accent-glow),.3); }

.trust {
  margin-top: var(--s-8);
  display: flex; align-items: center; gap: var(--s-6); flex-wrap: wrap;
  padding: var(--s-5) var(--s-6);
  background: var(--surface-dark); border: 1px solid var(--border-dark); border-radius: var(--radius-lg);
}
.trust { flex-wrap: nowrap; gap: var(--s-5); }
.trust__label { flex: none; font-size: 13px; color: var(--muted-on-dark); max-width: 110px; line-height: 1.4; }

/* Logo marquee */
.marquee {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; align-items: center; width: max-content;
  animation: marquee 60s linear infinite;
}
/* per-item spacing (not gap) so the -50% loop seam is seamless */
.marquee__track li { padding-right: var(--s-8); }
.trust.is-paused .marquee__track, .marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__track li { flex: none; display: flex; align-items: center; height: 56px; }
.marquee__track img {
  height: 44px; width: auto; max-width: 170px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .72;
  transition: opacity var(--dur) ease;
}
.marquee__track li:hover img { opacity: 1; }
/* very wide text-only wordmarks */
.marquee__wide img { height: 30px; max-width: 240px; }
.marquee__text {
  font-family: var(--font-display); font-size: 20px; font-weight: 500; white-space: nowrap;
  color: rgba(243,245,249,.78); letter-spacing: -.01em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.trust__pause { flex: none; width: 40px; height: 40px; }
.trust__pause .icon { width: 16px; height: 16px; }
.trust__pause .icon--play { display: none; fill: currentColor; stroke: none; }
.trust.is-paused .trust__pause .icon--pause { display: none; }
.trust.is-paused .trust__pause .icon--play { display: block; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__visual { height: 460px; max-width: 520px; width: 100%; margin: 0 auto; }
  .phone { width: 180px; }
  .phone--front { width: 210px; }
}
@media (max-width: 520px) {
  .hero { padding-top: calc(var(--nav-h) + var(--s-6)); }
  .hero__sub { font-size: 16px; }
  .hero__visual { height: 400px; }
  .phone { width: 150px; border-radius: 22px; border-width: 5px; }
  .phone--front { width: 190px; }
  .trust { padding: var(--s-4); flex-wrap: wrap; gap: var(--s-3); }
  .trust__label { max-width: none; flex: 1; }
  .marquee { order: 3; flex-basis: 100%; }
  .marquee__track li { padding-right: var(--s-7); }
  .marquee__track img { height: 36px; max-width: 140px; }
  .marquee__wide img { height: 24px; max-width: 190px; }
  .marquee__text { font-size: 17px; }
}

/* =========================================================
   Sections
   ========================================================= */
.section { padding: var(--s-10) 0; position: relative; }
.section--light { background: var(--bg-light); color: var(--text-on-light); }
.section--dark { background: var(--bg-dark); }
.section__head { margin-bottom: var(--s-7); }
.section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-6); flex-wrap: wrap; }
.section__head--center { text-align: center; max-width: 640px; margin-inline: auto; }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 500; letter-spacing: -.02em; line-height: 1.06;
  color: var(--text-on-light);
}
.section__title--light { color: var(--text-on-dark); }
.section__lede { max-width: 420px; color: var(--muted-on-light); font-size: 17px; }
.section__lede--light { color: var(--muted-on-dark); margin: var(--s-4) auto 0; }

@media (max-width: 640px) {
  .section { padding: var(--s-9) 0; }
  .section__head { margin-bottom: var(--s-6); }
}

/* =========================================================
   Services
   ========================================================= */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.service {
  display: flex; flex-direction: column;
  padding: var(--s-6) var(--s-5) var(--s-5);
  background: var(--surface-light); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease, border-color var(--dur) ease;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,28,46,.1); border-color: #D9D2C2; }
.service__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: rgba(62,100,145,.1); color: var(--steel); margin-bottom: var(--s-6);
}
.service__icon .icon { width: 22px; height: 22px; }
.service h3 { font-family: var(--font-body); font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin-bottom: var(--s-3); }
.service p { color: var(--muted-on-light); font-size: 15px; flex: 1; }
.service__link {
  display: inline-flex; align-items: center; justify-content: space-between;
  margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--border-light);
  font-size: 14px; font-weight: 700; min-height: 44px;
}
.service__link .icon { transition: transform var(--dur) var(--ease-out); }
.service__link:hover .icon { transform: translateX(4px); }

.service--feature { background: var(--navy-900); border-color: var(--navy-900); color: var(--text-on-dark); }
.service--feature:hover { border-color: var(--navy-900); }
.service--feature .service__icon { background: rgba(var(--accent-glow),.14); color: var(--accent-bright); }
.service--feature h3 { color: var(--accent-bright); }
.service--feature p { color: var(--muted-on-dark); }
.service--feature .service__link { border-top-color: var(--border-dark); }

@media (max-width: 1024px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .services { grid-template-columns: 1fr; } }

/* Impact */
.impact {
  margin-top: var(--s-8);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--s-7);
  padding: var(--s-7);
  background: var(--navy-900); color: var(--text-on-dark);
  border-radius: 28px; overflow: hidden;
}
.impact__lede { margin-top: var(--s-4); max-width: 440px; color: var(--muted-on-dark); font-size: 16px; }
.impact__stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-6);
  margin: var(--s-6) 0 var(--s-7);
}
.impact__stats div { display: flex; flex-direction: column-reverse; gap: 2px; padding-left: var(--s-4); border-left: 2px solid var(--steel); }
.impact__stats dd {
  margin: 0; font-family: var(--font-display); font-size: 40px; line-height: 1; font-weight: 500;
  font-variant-numeric: tabular-nums; color: var(--white);
}
.impact__stats .star { color: var(--accent-bright); font-size: .6em; vertical-align: .35em; margin-left: 2px; }
.impact__stats dt { font-size: 14px; color: var(--muted-on-dark); }

.impact__media {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; align-content: center; gap: var(--s-4);
}
.impact__main {
  grid-column: 1 / -1; width: 100%; height: 100%; min-height: 260px; max-height: 340px;
  object-fit: cover; border-radius: var(--radius-lg);
}
.impact__tile {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 190px;
  transition: transform var(--dur) var(--ease-out);
}
.impact__tile:hover { transform: translateY(-3px); }
.impact__tile--accent {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--s-5); background: var(--accent); color: var(--on-accent);
}
.impact__tile-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.impact__tile strong { font-size: 20px; line-height: 1.2; font-weight: 700; }
.impact__tile-arrow {
  position: absolute; right: var(--s-4); bottom: var(--s-4);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-900); color: var(--accent-bright);
}
.impact__tile--img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 980px) {
  .impact { grid-template-columns: 1fr; padding: var(--s-6); }
}
@media (max-width: 520px) {
  .impact { padding: var(--s-5); border-radius: var(--radius-lg); }
  .impact__stats dd { font-size: 32px; }
  .impact__tile { height: 150px; }
}

/* =========================================================
   Work
   ========================================================= */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip {
  min-height: 40px; padding: 0 var(--s-4);
  border-radius: var(--radius-pill); border: 1px solid var(--border-dark);
  background: var(--surface-dark); color: var(--muted-on-dark);
  font-size: 14px; font-weight: 600;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.chip:hover { color: var(--white); border-color: rgba(255,255,255,.25); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.work { columns: 3 300px; column-gap: var(--s-4); }
.work__item {
  break-inside: avoid; margin-bottom: var(--s-4);
  display: block; width: 100%; padding: 0; border: 0; text-align: left;
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--surface-dark);
  animation: workIn var(--dur-slow) var(--ease-out) both;
}
.work__item[hidden] { display: none; }
.work__item img { width: 100%; height: auto; transition: transform 900ms var(--ease-out); }
.work__item:hover img { transform: scale(1.04); }
.work__meta {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-7) var(--s-4) var(--s-4);
  background: linear-gradient(to top, rgba(11,17,29,.92), rgba(11,17,29,0));
}
.work__meta strong { display: block; font-size: 16px; font-weight: 700; color: var(--white); line-height: 1.25; }
.work__meta span { font-size: 13px; color: var(--muted-on-dark); }
.work__open {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: var(--white);
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.work__item:hover .work__open, .work__item:focus-visible .work__open { background: var(--accent); color: var(--on-accent); }
.work__badge {
  position: absolute; top: var(--s-3); left: var(--s-3);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: var(--radius-pill);
  background: rgba(11,17,29,.72); backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 700; color: var(--white);
}
.work__badge .icon { width: 12px; height: 12px; fill: var(--accent-bright); stroke: none; }

.work__footer { display: flex; justify-content: center; margin-top: var(--s-6); }
.work__footer .btn[hidden] { display: none; }
.filters .chip.is-active:hover { color: var(--on-accent); }

@media (max-width: 640px) {
  .work { columns: 2; column-gap: var(--s-3); }
  .work__item { margin-bottom: var(--s-3); border-radius: var(--radius); }
  .work__meta { padding: var(--s-6) var(--s-3) var(--s-3); }
  .work__meta strong { font-size: 13px; }
  .work__meta span { font-size: 11px; }
  .work__open { display: none; }
}

@keyframes workIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Lightbox */
.lightbox {
  width: min(92vw, 1100px); max-height: 92vh; padding: 0; border: 0;
  background: transparent; color: var(--white); overflow: visible;
}
.lightbox::backdrop { background: rgba(5,8,15,.88); backdrop-filter: blur(4px); }
.lightbox[open] { animation: lbIn var(--dur) var(--ease-out); }
.lightbox__body { display: grid; place-items: center; }
.lightbox__body img, .lightbox__body video {
  max-width: 100%; max-height: 80vh; width: auto; border-radius: var(--radius); background: #000;
}
.lightbox__caption { text-align: center; margin-top: var(--s-3); color: var(--muted-on-dark); font-size: 14px; }
.lightbox__close {
  position: absolute; top: -56px; right: 0; background: rgba(255,255,255,.08); color: var(--white);
}
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* =========================================================
   Reviews
   ========================================================= */
.reviews { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s-6); align-items: stretch; }
.quote { position: relative; margin-top: var(--s-6); }
.quote__mark { width: 44px; height: 33px; fill: var(--accent); margin-bottom: var(--s-4); }
.quote__viewport { position: relative; min-height: 220px; }
.quote__slide { display: none; margin: 0; }
.quote__text { margin: 0; }
.quote__slide.is-active { display: block; animation: fadeIn var(--dur-slow) var(--ease-out); }
.quote__text {
  font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45;
  font-weight: 400; color: var(--text-on-light); max-width: 600px;
}
.quote__who { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-5); }
.quote__avatar {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-900); color: var(--accent-bright); font-weight: 700; text-transform: uppercase;
}
.quote__name { font-weight: 700; font-size: 15px; }
.quote__from { font-size: 13px; color: var(--muted-on-light); }
.quote__stars { display: inline-flex; gap: 2px; margin-left: auto; color: var(--accent); }
.quote__stars svg { width: 16px; height: 16px; fill: currentColor; }
.quote__controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--border-light);
}
.quote__dots { display: flex; gap: var(--s-2); }
.quote__dot {
  width: 24px; height: 24px; padding: 0; border: 0; background: transparent; position: relative;
}
.quote__dot::before {
  content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #C9C2B2;
  transition: background-color var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.quote__dot[aria-selected="true"]::before { background: var(--navy-900); transform: scale(1.3); }
.quote__arrows { display: flex; gap: var(--s-2); }

.cta-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 420px; padding: var(--s-7) var(--s-6);
  border-radius: 28px; background: var(--accent); color: var(--on-accent);
}
.cta-card__mark {
  position: absolute; right: -60px; top: -40px; width: 300px; opacity: .22; pointer-events: none; mix-blend-mode: multiply;
}
.cta-card h3 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 38px); font-weight: 500; letter-spacing: -.02em; }
.cta-card p { margin: var(--s-4) 0 var(--s-6); max-width: 340px; color: rgba(255,255,255,.86); }
.cta-card .btn { align-self: flex-start; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .reviews { grid-template-columns: 1fr; }
  .cta-card { min-height: 320px; }
}

/* =========================================================
   Book a call
   ========================================================= */
#book {
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(62,100,145,.22), transparent 70%),
    var(--bg-dark);
}
.book { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.book__panel {
  padding: var(--s-6); border-radius: var(--radius-lg);
  background: var(--surface-dark); border: 1px solid var(--border-dark);
}
.book__panel-head { display: flex; align-items: center; gap: var(--s-4); margin-bottom: var(--s-5); }
.book__panel-head > .icon {
  width: 44px; height: 44px; padding: 11px; border-radius: 12px;
  background: rgba(var(--accent-glow),.12); color: var(--accent-bright);
}
.book__panel-head h3 { font-family: var(--font-body); font-size: 18px; font-weight: 700; }
.book__panel-head p { font-size: 14px; color: var(--muted-on-dark); }

.calendly { min-height: 560px; border-radius: var(--radius); overflow: hidden; background: var(--white); }
.calendly iframe { width: 100%; height: 640px; border: 0; display: block; }
.calendly--placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: var(--s-4); padding: var(--s-6);
  background: var(--navy-800); border: 1px dashed rgba(255,255,255,.2);
}
.calendly--placeholder p { color: var(--muted-on-dark); max-width: 300px; font-size: 15px; }
.calendly--placeholder code { color: var(--accent-bright); font-size: 13px; }

.form { display: flex; flex-direction: column; gap: var(--s-4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-on-dark); }
.field label span { color: var(--accent-bright); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--text-on-dark);
  background: var(--navy-950); border: 1px solid var(--navy-700); border-radius: 12px;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A6B0C2' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-bright); box-shadow: 0 0 0 3px rgba(var(--accent-glow),.25);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #FF8A80; }
.field__error { font-size: 13px; color: #FF9E95; min-height: 0; }
.field__error:empty { display: none; }
.form__status { font-size: 14px; text-align: center; }
.form__status.is-success { color: #8BE3A8; }
.form__status.is-error { color: #FF9E95; }

@media (max-width: 900px) { .book { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .book__panel { padding: var(--s-5); }
  .form__row { grid-template-columns: 1fr; }
}

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--navy-950); border-top: 1px solid var(--border-dark); padding: var(--s-8) 0 var(--s-5); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s-6); }
.footer__brand img { height: 44px; width: auto; }
.footer__brand p { margin: var(--s-4) 0 var(--s-5); color: var(--muted-on-dark); max-width: 320px; font-size: 15px; }
.footer__social { display: flex; gap: var(--s-2); }
.footer h4 { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--white); margin-bottom: var(--s-4); }
.footer ul { display: flex; flex-direction: column; gap: var(--s-2); }
.footer ul a { color: var(--muted-on-dark); font-size: 15px; transition: color var(--dur-fast) ease; display: inline-block; padding: 4px 0; }
.footer ul a:hover { color: var(--accent-bright); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3);
  margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--border-dark);
  font-size: 14px; color: var(--muted-on-dark);
}
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .work__item:hover img { transform: none; }
  /* Static, wrapped logo wall instead of scrolling */
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; gap: var(--s-4) var(--s-6); animation: none; }
  .marquee__track li { padding-right: 0; }
  .marquee__track [aria-hidden="true"] { display: none; }
  .trust__pause { display: none; }
}
