/* ==========================================================================
   Guided Arrows Consulting Ltd (GAC) - site stylesheet
   Brand: Corporate Blue #003399 · Signal Orange #F58138
   Type: Instrument Serif (display) · Hanken Grotesk (text)
   ========================================================================== */

/* Self-hosted fonts (faster, no third-party requests) */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Brand */
  --blue: #003399;
  --blue-700: #002a80;
  --blue-900: #0a1a46;
  --ink: #0b1430;
  --orange: #f58138;
  --orange-600: #e06a1f;
  --orange-50: #fff3ea;
  --blue-50: #eef2fb;

  /* Neutrals */
  --paper: #faf8f4;
  --surface: #ffffff;
  --sand: #efe9df;
  --line: #e4ded3;
  --line-dark: rgba(255, 255, 255, 0.14);
  --text: #1b2238;
  --muted: #5a6178;
  --muted-light: rgba(255, 255, 255, 0.72);

  /* Type */
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;
  --section: clamp(72px, 10vw, 128px);
  --shadow: 0 1px 2px rgba(11, 20, 48, 0.04), 0 12px 32px -12px rgba(11, 20, 48, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * 0.65) 0; }
.section--sand { background: var(--sand); }
.section--white { background: var(--surface); }
.section--dark { background: var(--ink); color: var(--muted-light); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; }

/* ---------- Type scale ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
}
.display em, .h2 em, .h3 em { font-style: italic; }
.accent-orange { color: var(--orange); }
.accent-blue { color: var(--blue); }

.h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 7vw, 92px); line-height: 1; letter-spacing: -0.02em; }
.h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4.8vw, 62px); line-height: 1.04; letter-spacing: -0.015em; }
.h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; }
.h4 { font-family: var(--font-text); font-weight: 700; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.section--dark .lead { color: var(--muted-light); }
.small { font-size: 14px; }
.muted { color: var(--muted); }

/* Eyebrow with the logo's chevron trail */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 10px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 10'%3E%3Cg fill='none' stroke='%23F58138' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 1l4 4-4 4M10 1l4 4-4 4M18 1l4 4-4 4M26 1l4 4-4 4'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
  flex: none;
}
.section--dark .eyebrow, .eyebrow--light { color: #fff; }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
}
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .lead { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:active { transform: translateY(1px); }

.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-700); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: #f79352; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--paper); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--blue);
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translate(2px, -2px); }
.section--dark .link-arrow { color: var(--orange); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.topbar {
  background: var(--ink); color: var(--muted-light); font-size: 13.5px;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a:hover { color: #fff; }
.topbar__contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__contact a { display: inline-flex; gap: 7px; align-items: center; }
.topbar svg { width: 14px; height: 14px; color: var(--orange); }
.topbar__tag { display: none; }
@media (min-width: 900px) { .topbar__tag { display: block; } }
@media (max-width: 600px) { .topbar__contact a:nth-child(n+2) { display: none; } }

.nav { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 24px; }
.nav__logo img { height: 56px; width: auto; }
.nav__menu { display: none; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__cta { display: none; }

@media (min-width: 1100px) {
  .nav__menu { display: flex; align-items: center; gap: 4px; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
}

.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); border-radius: 8px; background: none; border: 0;
}
.nav__link:hover { color: var(--blue); }
.nav__link[aria-current="page"] { color: var(--blue); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--orange); border-radius: 2px;
}
.nav__link--highlight { color: var(--orange-600); }
.nav__link svg { width: 12px; height: 12px; transition: transform .2s; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0;
  width: 420px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover .nav__link svg, .has-dropdown.is-open .nav__link svg { transform: rotate(180deg); }
.dropdown a {
  display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start;
  padding: 12px; border-radius: 10px;
}
.dropdown a:hover { background: var(--paper); }
.dropdown__num { font-family: var(--font-display); font-size: 22px; color: var(--orange); line-height: 1.1; }
.dropdown strong { display: block; font-size: 15px; color: var(--ink); line-height: 1.3; }
.dropdown span.small { color: var(--muted); line-height: 1.4; display: block; margin-top: 2px; }

.nav__toggle {
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  display: inline-grid; place-items: center;
}
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: background .2s; }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: transform .25s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav-open .nav__toggle span { background: transparent; }
.nav-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--paper);
  padding: 140px var(--gutter) 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.nav-open .mobile-nav { opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }
.mobile-nav a, .mobile-nav summary {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-size: 34px; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--line);
  cursor: pointer; list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details a { font-family: var(--font-text); font-size: 17px; padding: 12px 0 12px 16px; }
.mobile-nav .btn-row { margin-top: 28px; }
.mobile-nav .btn-row .btn { flex: 1 1 200px; font-family: var(--font-text); font-size: 16px; border-bottom: 0; justify-content: center; }
@media (min-width: 1100px) { .mobile-nav { display: none; } }

/* ---------- Hero (home) ---------- */
.hero { padding: 12px 0 0; }
.hero__frame {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  min-height: min(760px, calc(100svh - 140px));
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; isolation: isolate;
}
.hero__frame > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 15, 40, .88) 0%, rgba(8, 15, 40, .62) 45%, rgba(8, 15, 40, .15) 100%),
    linear-gradient(0deg, rgba(8, 15, 40, .7) 0%, rgba(8, 15, 40, 0) 50%);
}
.hero__body { padding: clamp(28px, 6vw, 72px); max-width: 860px; }
.hero__body .eyebrow { color: #fff; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { color: var(--orange); }
.hero__sub { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.84); max-width: 58ch; margin-bottom: 32px; }
.hero__strip {
  display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center;
  padding: 18px clamp(28px, 6vw, 72px); border-top: 1px solid rgba(255,255,255,.16);
  background: rgba(8, 15, 40, .38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 14px; color: rgba(255,255,255,.78);
}
.hero__strip strong { color: #fff; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px; }
.hero__strip span { display: inline-flex; align-items: center; gap: 28px; }
.hero__strip span + span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); margin-left: -16px; margin-right: -12px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); position: relative; }
.page-hero__grid { display: grid; gap: 40px; align-items: end; }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 72px; } }
.page-hero h1 { margin-bottom: 0; }
.page-hero .lead { margin-bottom: 28px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--blue); }
.crumbs span[aria-hidden] { color: var(--orange); }
.page-hero__media { margin-top: clamp(40px, 6vw, 64px); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 8; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
@media (max-width: 700px) { .page-hero__media { aspect-ratio: 4 / 3; } }

.page-hero--dark { background: var(--ink); color: var(--muted-light); }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lead { color: var(--muted-light); }
.page-hero--dark .crumbs { color: var(--muted-light); }
.page-hero--dark .eyebrow { color: #fff; }

/* ---------- Problems ---------- */
.problems { display: grid; gap: 48px; }
@media (min-width: 960px) { .problems { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } }
.problem-list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 600px) { .problem-list { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.problem-list li {
  display: flex; gap: 14px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line);
  font-weight: 500; color: var(--ink);
}
.problem-list li::before {
  content: counter(prob, decimal-leading-zero); counter-increment: prob;
  font-family: var(--font-display); font-size: 18px; color: var(--orange); min-width: 26px;
}
.problem-list { counter-reset: prob; }
.problems__message {
  margin-top: 36px; padding: 28px; border-radius: var(--radius); background: var(--ink); color: #fff;
  font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2;
}
.problems__message em { color: var(--orange); }

/* ---------- Service explorer (home) ---------- */
.explorer { display: grid; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); }
@media (min-width: 960px) { .explorer { grid-template-columns: 1fr 1fr; min-height: 640px; } }
.explorer__media { position: relative; min-height: 320px; background: var(--ink); }
.explorer__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s var(--ease), transform 1.2s var(--ease); transform: scale(1.03);
}
.explorer__media img.is-active { opacity: 1; transform: none; }
.explorer__media::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,15,40,.5), transparent 50%);
}
.explorer__tag {
  position: absolute; left: 24px; bottom: 24px; z-index: 1; color: #fff;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
}
.explorer__list { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.explorer__item { border-bottom: 1px solid rgba(11,20,48,.12); }
.explorer__item:first-child { border-top: 1px solid rgba(11,20,48,.12); }
.explorer__btn {
  width: 100%; display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; gap: 16px;
  padding: 20px 0; background: none; border: 0; text-align: left; color: var(--muted);
  transition: color .2s;
}
.explorer__btn:hover, .explorer__item.is-active .explorer__btn { color: var(--ink); }
.explorer__num {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(11,20,48,.2);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 18px; transition: all .25s;
}
.explorer__item.is-active .explorer__num { background: var(--blue); border-color: var(--blue); color: #fff; }
.explorer__title { font-weight: 700; font-size: 18px; line-height: 1.3; }
.explorer__btn svg { width: 18px; height: 18px; transition: transform .25s; }
.explorer__item.is-active .explorer__btn svg { transform: rotate(45deg); color: var(--orange); }
.explorer__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.explorer__item.is-active .explorer__panel { grid-template-rows: 1fr; }
.explorer__panel > div { overflow: hidden; }
.explorer__panel-inner { padding: 0 0 24px 60px; }
.explorer__panel p { color: var(--muted); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
.tag {
  font-size: 13px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid rgba(11,20,48,.08); color: var(--ink);
}
.section--dark .tag { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: #fff; }
@media (max-width: 600px) { .explorer__panel-inner { padding-left: 0; } }

/* ---------- Outsourcing feature band ---------- */
.outsource { position: relative; overflow: hidden; }
.outsource::before {
  /* oversized arrow motif */
  content: ""; position: absolute; right: -120px; top: -80px; width: 560px; height: 560px; opacity: .07; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 90 L70 20M52 18 L72 18 L72 38M30 95 L90 30M72 28 L92 28 L92 48'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
.outsource__grid { display: grid; gap: 48px; position: relative; }
@media (min-width: 960px) { .outsource__grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.outsource__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(245,129,56,.14); color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 24px;
}
.outsource__badge b { background: var(--orange); color: var(--ink); border-radius: 999px; padding: 3px 10px; }
.check-list { display: grid; gap: 0; }
.check-list li {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line);
}
.section--dark .check-list li { border-color: var(--line-dark); color: #fff; }
.check-list li svg { flex: none; width: 20px; height: 20px; color: var(--orange); margin-top: 3px; }
.check-list--2 { grid-template-columns: 1fr; column-gap: 32px; }
@media (min-width: 600px) { .check-list--2 { grid-template-columns: 1fr 1fr; } }

.why-grid { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; margin-top: 56px; }
@media (min-width: 600px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-grid div { background: var(--ink); padding: 26px; display: flex; gap: 16px; align-items: flex-start; color: #fff; font-weight: 600; }
.why-grid span { font-family: var(--font-display); color: var(--orange); font-size: 24px; line-height: 1; font-weight: 400; }

/* Industries marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 22px 0; margin-top: 64px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); color: #fff; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: "›››"; color: var(--orange); font-family: var(--font-text); font-size: 20px; letter-spacing: -2px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Philosophy steps ---------- */
.philosophy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .philosophy { grid-template-columns: repeat(5, 1fr); } }
.philosophy li {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px 26px; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between;
}
.philosophy li:last-child { background: var(--blue); border-color: var(--blue); color: #fff; }
.philosophy li:last-child h3 { color: #fff; }
.philosophy small { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--orange); }
.philosophy h3 { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1; }
.philosophy p { font-size: 14.5px; color: var(--muted); margin-top: 8px; }
.philosophy li:last-child p { color: rgba(255,255,255,.8); }
@media (max-width: 759px) { .philosophy li:last-child { grid-column: span 2; } }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) and (max-width: 959px) { .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px;
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { border-color: rgba(0,51,153,.35); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue);
}
.card__icon svg { width: 24px; height: 24px; }
.card--feature { background: var(--ink); color: var(--muted-light); border-color: var(--ink); }
.card--feature h3 { color: #fff; }
.card--feature .card__icon { background: rgba(245,129,56,.16); color: var(--orange); }
.card__kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); }
.card--feature .card__kicker { color: var(--orange); }
.card .h3 { font-size: clamp(26px, 2.4vw, 32px); }
.card p { color: var(--muted); }
.card--feature p { color: var(--muted-light); }
.card__foot { margin-top: auto; padding-top: 10px; }

/* Process */
.process { display: grid; gap: 16px; }
@media (min-width: 760px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-height: 280px; background: var(--surface);
  display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
}
.process li.process__photo { color: #fff; border: 0; isolation: isolate; }
.process li.process__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; z-index: -2; }
.process li.process__photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,15,40,.92) 10%, rgba(8,15,40,.2)); }
.process li.process__photo h3, .process li.process__photo .process__n { color: #fff; }
.process li.process__photo p { color: rgba(255,255,255,.8); }
.process__n { font-family: var(--font-display); font-size: 64px; line-height: .9; color: var(--ink); }
.process h3 { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.1; margin-bottom: 6px; }
.process p { font-size: 15px; color: var(--muted); }

/* Why GAC rows */
.why-rows { border-top: 1px solid var(--line); }
.why-rows li {
  display: grid; gap: 8px 40px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
@media (min-width: 760px) { .why-rows li { grid-template-columns: 70px 1fr 1.3fr; } }
.why-rows .n { font-family: var(--font-display); color: var(--orange); font-size: 26px; }
.why-rows h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 2.8vw, 36px); line-height: 1.05; }
.why-rows p { color: var(--muted); }

/* Statement band */
.statement { text-align: center; position: relative; }
.statement__text { font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 64px); line-height: 1.08; color: #fff; max-width: 22ch; margin: 0 auto 28px; }
.statement__text em { color: var(--orange); }
.statement__photos img { position: absolute; width: clamp(90px, 11vw, 150px); aspect-ratio: 4/5; object-fit: cover; border-radius: 12px; opacity: .9; }
@media (max-width: 899px) { .statement__photos { display: none; } }

/* Industries / logo grid */
.logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 760px) { .logo-grid { grid-template-columns: repeat(5, 1fr); } }
.logo-grid li {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 18px; min-height: 140px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: var(--surface);
  transition: background .25s;
}
.logo-grid li:hover { background: var(--paper); }
.logo-slot {
  height: 40px; border: 1.5px dashed var(--line); border-radius: 8px; display: grid; place-items: center;
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #9aa0b2;
}
.logo-slot img { max-height: 36px; width: auto; }
.logo-grid strong { font-size: 15px; color: var(--ink); line-height: 1.3; }

/* Testimonials */
.testimonials { display: grid; gap: 40px; }
@media (min-width: 960px) { .testimonials { grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: center; } }
.t-carousel { position: relative; }
.t-track { position: relative; min-height: 340px; }
.t-slide {
  position: absolute; inset: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  opacity: 0; visibility: hidden; transform: translateX(16px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
.t-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.t-quote { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 31px); line-height: 1.22; color: var(--ink); }
.t-quote::before { content: "\201C"; display: block; color: var(--orange); font-size: 64px; line-height: .6; margin-bottom: 8px; }
.t-person { display: flex; align-items: center; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.t-person strong { display: block; color: var(--ink); }
.t-person span { font-size: 14.5px; color: var(--muted); }
.t-logo { height: 40px; min-width: 120px; padding: 0 14px; border: 1.5px dashed var(--line); border-radius: 8px; display: grid; place-items: center; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #9aa0b2; }
.t-logo img { max-height: 32px; width: auto; }
.t-sample { display: inline-block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--orange-600); background: var(--orange-50); padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.t-controls { display: flex; gap: 10px; align-items: center; margin-top: 20px; }
.t-controls button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--ink);
}
.t-controls button:hover { border-color: var(--ink); }
.t-controls svg { width: 18px; height: 18px; }
.t-dots { display: flex; gap: 6px; margin-left: 10px; }
.t-dots button { width: 8px; height: 8px; border-radius: 99px; padding: 0; border: 0; background: var(--line); transition: width .3s, background .3s; }
.t-dots button.is-active { width: 24px; background: var(--orange); }
@media (max-width: 600px) { .t-track { min-height: 440px; } }

/* Split block (image + text) */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } .split--rev > :first-child { order: 2; } }
.split__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--wide { aspect-ratio: 5/4; }
.split__media--wide img { object-position: 50% 28%; }
.split__note {
  position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(255,255,255,.95); border-radius: 12px; padding: 18px 20px;
  font-family: var(--font-display); font-size: 22px; line-height: 1.2; color: var(--ink);
}
.split__note em { color: var(--orange-600); }

/* Blog cards */
.post-grid { display: grid; gap: 28px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; gap: 16px; }
.post-card__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/11; background: var(--sand); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__meta { display: flex; gap: 12px; font-size: 13.5px; color: var(--muted); align-items: center; }
.post-card__meta b { color: var(--blue); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.post-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 27px; line-height: 1.12; }
.post-card:hover h3 { color: var(--blue); }
.post-card p { color: var(--muted); font-size: 15.5px; }

/* CTA band */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff; isolation: isolate; padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 80px); text-align: center; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 15, 40, .74); }
.cta-band h2 { color: #fff; max-width: 18ch; margin: 0 auto 18px; }
.cta-band h2 em { color: var(--orange); }
.cta-band p { color: rgba(255,255,255,.82); max-width: 56ch; margin: 0 auto 30px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-light); padding-top: clamp(64px, 8vw, 96px); position: relative; overflow: hidden; }
.footer__top { display: grid; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 960px) { .footer__top { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; } }
.footer__brand img { height: 64px; width: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 36ch; font-size: 15.5px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.footer__links li { margin-bottom: 10px; font-size: 15.5px; }
.footer__links a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 15px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; color: var(--orange); margin-top: 5px; flex: none; }
.footer__contact a:hover { color: #fff; }
.newsletter { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.newsletter input { flex: 1 1 180px; min-width: 0; height: 48px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.06); color: #fff; padding: 0 18px; font: inherit; font-size: 15px; }
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter .btn { min-height: 48px; }
.social { display: flex; gap: 8px; margin-top: 22px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: #fff; transition: background .2s, border-color .2s; }
.social a:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.social svg { width: 17px; height: 17px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding: 26px 0; font-size: 14px; position: relative; z-index: 1; }
.footer__bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__bottom a:hover { color: #fff; }

/* Powered by LightHouse Digital Flow (LightHouse standard on every build) */
.lh-credit {
  --lh-accent: #f2a93b;
  display: inline-flex; align-items: center; gap: 11px;
  min-height: 44px; padding: 6px 15px 6px 7px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  color: #fff; text-decoration: none; position: relative; z-index: 1;
  transition: border-color .45s cubic-bezier(.22, 1, .36, 1), background-color .45s cubic-bezier(.22, 1, .36, 1);
}
.lh-credit:hover, .lh-credit:focus-visible { border-color: var(--lh-accent); background: rgba(255, 255, 255, .08); color: #fff; }
.lh-credit:focus-visible { outline: 2px solid var(--lh-accent); outline-offset: 3px; }
.lh-credit__icon { position: relative; flex: none; width: 26px; height: 26px; display: grid; place-items: center; }
.lh-credit__icon svg { display: block; position: relative; z-index: 1; }
.lh-credit__icon::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; opacity: 0;
  background: conic-gradient(from 0deg, rgba(242, 169, 59, .85), rgba(242, 169, 59, 0) 22%, rgba(242, 169, 59, 0) 100%);
  transition: opacity .45s cubic-bezier(.22, 1, .36, 1);
}
.lh-credit:hover .lh-credit__icon::after, .lh-credit:focus-visible .lh-credit__icon::after { opacity: 1; animation: lh-beam 2.6s linear infinite; }
@keyframes lh-beam { to { transform: rotate(1turn); } }
.lh-credit__text { display: block; }
.lh-credit__label { display: block; font-size: 9px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: rgba(255, 255, 255, .55); line-height: 1; margin-bottom: 4px; }
.lh-credit__name {
  position: relative; display: inline-block;
  font-family: "Space Grotesk", "Hanken Grotesk", system-ui, sans-serif;
  font-weight: 700; font-size: 14px; line-height: 1; letter-spacing: -.01em; color: #fff;
}
.lh-credit__name span { color: var(--lh-accent); }
.lh-credit__name::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1.5px;
  background: var(--lh-accent); transition: right .45s cubic-bezier(.22, 1, .36, 1);
}
.lh-credit:hover .lh-credit__name::after, .lh-credit:focus-visible .lh-credit__name::after { right: 0; }
.lh-credit__arrow { flex: none; color: rgba(255, 255, 255, .45); transition: transform .45s cubic-bezier(.22, 1, .36, 1), color .45s cubic-bezier(.22, 1, .36, 1); }
.lh-credit:hover .lh-credit__arrow, .lh-credit:focus-visible .lh-credit__arrow { transform: translate(2px, -2px); color: var(--lh-accent); }
@media (prefers-reduced-motion: reduce) {
  .lh-credit, .lh-credit__name::after, .lh-credit__arrow, .lh-credit__icon::after { transition: none; }
  .lh-credit:hover .lh-credit__icon::after, .lh-credit:focus-visible .lh-credit__icon::after { animation: none; }
}
@media (max-width: 860px) {
  .footer__bottom { gap: 16px 24px; }
  .lh-credit { margin-top: 2px; }
}
.footer__mark {
  font-family: var(--font-display); font-size: clamp(80px, 17vw, 250px); line-height: .78; white-space: nowrap;
  color: rgba(255,255,255,.05); letter-spacing: -0.03em; user-select: none; pointer-events: none; text-align: center; margin-top: 12px;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  background: #25d366; color: #0b3d1f; font-weight: 700; font-size: 15px; box-shadow: 0 10px 30px -8px rgba(0,0,0,.35);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 0; width: 56px; justify-content: center; } }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--orange-600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
  padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.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='%230b1430' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field input[type="file"] { padding: 12px; background: #fff; border-style: dashed; cursor: pointer; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c2410c; }
.field .error-msg { color: #b4380a; font-size: 13px; margin-top: 6px; display: none; }
.field.has-error .error-msg { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.form-status { display: none; padding: 16px 18px; border-radius: 10px; font-size: 15px; margin-top: 16px; }
.form-status.is-success { display: block; background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.form-status.is-error { display: block; background: #fff1ec; color: #9a3412; border: 1px solid #fed7c3; }

.tabs { display: flex; gap: 6px; padding: 6px; background: var(--sand); border-radius: 999px; margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 1 0 auto; border: 0; background: none; padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); white-space: nowrap; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,20,48,.1); }
.tab-panel[hidden] { display: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 0.75fr 1.25fr; gap: 64px; align-items: start; } }
.contact-info { display: grid; gap: 14px; }
.contact-info .item { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
.contact-info .item svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }
.contact-info small { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.contact-info a { display: block; color: var(--ink); font-weight: 600; word-break: break-word; }
.contact-info a:hover { color: var(--blue); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; }

.booking { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .booking { grid-template-columns: 1fr 1fr; gap: 64px; } }
.booking__embed { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); min-height: 420px; overflow: hidden; display: grid; place-items: center; text-align: center; padding: 32px; }
.booking__embed iframe { width: 100%; min-height: 640px; border: 0; }

/* ---------- Careers ---------- */
.job-tools { display: grid; gap: 12px; margin-bottom: 28px; }
@media (min-width: 760px) { .job-tools { grid-template-columns: 1.6fr 1fr 1fr; } }
.job-tools input, .job-tools select { width: 100%; height: 54px; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 0 16px; font: inherit; color: var(--ink); }
.job-tools .search { position: relative; }
.job-tools .search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); }
.job-tools .search input { padding-left: 46px; }
.job-list { display: grid; gap: 12px; }
.job {
  display: grid; gap: 14px; align-items: center; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s;
}
.job:hover { border-color: rgba(0,51,153,.4); }
@media (min-width: 820px) { .job { grid-template-columns: 1fr auto; } }
.job h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.job__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: var(--muted); margin-top: 6px; }
.job__meta span { display: inline-flex; align-items: center; gap: 6px; }
.job__meta svg { width: 15px; height: 15px; color: var(--orange-600); }
.job__type { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue); }
.job__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.job details { grid-column: 1 / -1; }
.job details summary { cursor: pointer; font-weight: 600; color: var(--blue); font-size: 15px; }
.job details div { padding-top: 12px; color: var(--muted); font-size: 15.5px; }
.job details ul { list-style: disc; padding-left: 20px; margin: 8px 0; }
.empty { padding: 40px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 150; display: none; align-items: flex-start; justify-content: center; padding: 24px 16px; background: rgba(8,15,40,.6); overflow-y: auto; }
.modal.is-open { display: flex; }
.modal__box { width: 100%; max-width: 720px; background: var(--paper); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); position: relative; margin: auto 0; }
.modal__close { position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.modal__close svg { width: 18px; height: 18px; }

/* Questions and answers */
.faq { max-width: 860px; margin: 0 auto; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s var(--ease); }
.faq__item[open] { border-color: rgba(0,51,153,.3); }
.faq__item:hover { border-color: rgba(0,51,153,.3); }
.faq__item > summary { cursor: pointer; list-style: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 20px clamp(18px, 3vw, 26px); }
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary h3 { font-family: var(--font-text); font-size: 17.5px; font-weight: 600; color: var(--ink); line-height: 1.4; margin: 0; }
.faq__item > summary svg { flex: none; width: 20px; height: 20px; color: var(--blue); margin-top: 2px; transition: transform .3s var(--ease); }
.faq__item[open] > summary svg { transform: rotate(45deg); }
.faq__answer { padding: 0 clamp(18px, 3vw, 26px) 22px; }
.faq__answer p { color: var(--muted); font-size: 16.5px; line-height: 1.7; margin: 0; max-width: 68ch; }

/* Blog filters + article */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { border: 1px solid var(--line); background: var(--surface); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.article { max-width: 740px; margin: 0 auto; }
.article__body { font-size: 18.5px; line-height: 1.75; }
.article__body h2 { font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 1.1; margin: 1.6em 0 .5em; }
.article__body ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.article__body li { margin-bottom: .4em; }
.article__cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/8; margin: 40px 0; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* Values */
.values { display: grid; gap: 16px; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.value__n { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.value__n span { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--orange); }
.value h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 15.5px; }
.value--wide { background: var(--blue); border-color: var(--blue); color: rgba(255,255,255,.85); }
.value--wide h3 { color: #fff; }
.value--wide p { color: rgba(255,255,255,.85); }
.value--wide .value__n span { color: var(--orange); }
@media (min-width: 1080px) { .value--wide { grid-column: span 2; } }

.mv { display: grid; gap: 16px; }
@media (min-width: 760px) { .mv { grid-template-columns: 1fr 1fr; } }
.mv div { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); }
.mv div:last-child { background: var(--ink); border-color: var(--ink); }
.mv div:last-child p { color: #fff; }
.mv small { display: block; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--orange-600); margin-bottom: 18px; }
.mv div:last-child small { color: var(--orange); }
.mv p { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.18; color: var(--ink); }

.serve-list { display: flex; flex-wrap: wrap; gap: 10px; }
.serve-list li { padding: 12px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; color: var(--ink); }

/* Service detail blocks */
.pillar { padding: var(--section) 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.pillar:first-of-type { border-top: 0; }
.pillar__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .pillar__grid { grid-template-columns: 0.95fr 1.05fr; gap: 80px; } }
.pillar__num { font-family: var(--font-display); font-size: 20px; color: var(--orange-600); margin-bottom: 14px; display: block; }
.pillar__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/11; margin-top: 32px; }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; }
.pillar h3.h4 { margin-bottom: 14px; }
.pillar__sub { font-family: var(--font-display); font-style: italic; font-size: 26px; color: var(--blue); margin: 10px 0 18px; display: block; line-height: 1.2; }

.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14.5px; }
.jump a:hover { border-color: var(--blue); color: var(--blue); }
.jump a.is-hot { background: var(--orange); border-color: var(--orange); color: var(--ink); }

/* Stats (outsourcing page) */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts div { background: var(--surface); padding: 26px; }
.facts b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 38px; color: var(--blue); line-height: 1; margin-bottom: 8px; }
.facts span { font-size: 14.5px; color: var(--muted); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Utility spacing */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.center { text-align: center; }

/* ---------- Overrides & fixes ---------- */
@media (min-width: 1100px) { .nav__toggle { display: none; } }
.card--feature .link-arrow { color: var(--orange); }

/* Testimonials: stack slides in one grid cell so the box grows with the longest quote */
.t-track { display: grid; min-height: 0; }
.t-slide { position: relative; inset: auto; grid-area: 1 / 1; }
@media (max-width: 600px) { .t-track { min-height: 0; } }
.t-sample { font-family: var(--font-text); }
.t-quote .t-sample + br { display: none; }
.t-quote .t-sample { display: table; margin-bottom: 12px; }

/* Footer newsletter on dark */
.site-footer .newsletter .field input {
  min-height: 48px; border-radius: 999px; border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .06); color: #fff; padding: 0 18px;
}
.site-footer .newsletter .field input:focus { background: rgba(255, 255, 255, .1); border-color: var(--orange); }
.newsletter .field .error-msg { padding-left: 18px; }
/* Long email addresses must wrap on small screens */
.contact-grid > *, .split > *, .problems > *, .outsource__grid > *, .pillar__grid > *, .footer__top > * { min-width: 0; }
.contact-info .item > div { min-width: 0; }
.contact-info a, .footer__contact a { overflow-wrap: anywhere; }
.page-hero__grid { align-items: start; }
@media (min-width: 960px) { .page-hero__grid > :last-child { padding-top: 10px; } }
.contact-info .item > div > span { display: block; }
@media (max-width: 759px) { .process li { min-height: 0; gap: 40px; } .process li.process__photo { min-height: 300px; } }
.hero__strip span + span::before { display: none; }
.hero__strip { gap: 6px 22px; }
.hero__strip span { gap: 0; }
.hero__strip span + span { position: relative; padding-left: 14px; }
.hero__strip span + span::after { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--orange); }
.job-tools select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1430' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 16px; padding-right: 44px; }
.mobile-nav .btn--blue { color: #fff; } .mobile-nav .btn--orange { color: var(--ink); }

/* ==========================================================================
   WordPress theme additions
   ========================================================================== */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.dropdown a.dropdown__all { grid-template-columns: 1fr; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; }
.dropdown a.dropdown__all strong { color: var(--blue); }

/* Trusted-by logo strip (homepage) */
.trusted { padding: clamp(36px, 5vw, 56px) 0 8px; }
.trusted--bare { padding-bottom: clamp(36px, 5vw, 56px); }
.trusted__title { font-family: var(--font-text); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 22px; }
.logo-strip { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-strip__track { display: flex; align-items: center; gap: 18px; width: max-content; animation: marquee 50s linear infinite; padding: 6px 0; }
.logo-strip:hover .logo-strip__track { animation-play-state: paused; }
.logo-strip__item { flex: none; width: 190px; height: 92px; display: grid; place-items: center; padding: 16px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.logo-strip__item img { max-width: 100%; max-height: 58px; width: auto; height: auto; object-fit: contain; }
.logo-strip__item span { font-weight: 700; color: var(--ink); text-align: center; font-size: 14px; }
@media (max-width: 600px) { .logo-strip__item { width: 150px; height: 76px; padding: 12px 16px; } .logo-strip__item img { max-height: 46px; } }

/* Client grid (About page) */
.client-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1020px) { .client-grid { grid-template-columns: repeat(4, 1fr); } }
.client-grid li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, transform .3s var(--ease); }
.client-grid li:hover { border-color: rgba(0,51,153,.35); transform: translateY(-2px); }
.client-grid__logo { height: 150px; display: grid; place-items: center; padding: 24px 28px; }
.client-grid__logo img { max-width: 100%; max-height: 92px; width: auto; height: auto; object-fit: contain; }
.client-grid__logo a { display: grid; place-items: center; width: 100%; height: 100%; }
.client-grid__meta { border-top: 1px solid var(--line); padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; background: var(--paper); }
.client-grid__meta strong { font-size: 15px; color: var(--ink); line-height: 1.3; }
.client-grid__meta span { font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .client-grid__logo { height: 110px; padding: 16px; } .client-grid__logo img { max-height: 64px; } }

.t-logo--img { border: 0; padding: 0; min-width: 0; }
.t-logo--img img { max-height: 40px; width: auto; }

/* Newsletter card on light backgrounds */
.newsletter-card { display: grid; gap: 24px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.newsletter--light { margin: 0; }
.newsletter--light .field { flex: 1 1 220px; margin: 0; }
.newsletter--light .field input { min-height: 48px; border-radius: 999px; padding: 0 18px; }

/* Blog category filter links + pagination */
.filters a { border: 1px solid var(--line); background: var(--surface); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--muted); }
.filters a:hover { color: var(--ink); border-color: var(--ink); }
.filters a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 48px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Jobs */
.job[hidden] { display: none; }
.job h3 a:hover { color: var(--blue); }
.job-single { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .job-single { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } .job-single__apply { position: sticky; top: 110px; } }
.job-single .form-grid { grid-template-columns: 1fr; }
.job-single .article__body { font-size: 17.5px; }

/* Consent error state */
.consent.has-error span { color: #b4380a; }
.consent.has-error input { outline: 2px solid #c2410c; outline-offset: 2px; }

/* WordPress content inside article bodies */
.article__body img { border-radius: var(--radius); height: auto; }
.article__body a { color: var(--blue); text-decoration: underline; }
.article__body blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--orange); font-family: var(--font-display); font-size: 26px; line-height: 1.25; color: var(--ink); }
.article__body h3 { font-size: 22px; margin: 1.4em 0 .4em; }
.article__body ol { padding-left: 22px; }
.alignwide { margin-left: -8vw; margin-right: -8vw; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image figcaption, .wp-caption-text { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.pillar__body p { font-size: 18px; color: var(--muted); }
a.eyebrow:hover { color: var(--orange-600); }
.newsletter--light .field input { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }

/* ---------- Full-width hero slider (homepage) ---------- */
.hero-full {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--ink);
  min-height: 560px; height: min(86svh, 820px);
  display: flex; align-items: flex-end;
}
.hero-full__slides { position: absolute; inset: 0; z-index: -2; }
.hero-full__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform-origin: 50% 0;
  opacity: 0; transform: scale(1.04); transition: opacity 1.4s var(--ease), transform 7s linear;
}
.hero-full__slide.is-active { opacity: 1; transform: scale(1); }
.hero-full::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 15, 40, .86) 0%, rgba(8, 15, 40, .55) 50%, rgba(8, 15, 40, .15) 100%),
    linear-gradient(0deg, rgba(8, 15, 40, .75) 0%, rgba(8, 15, 40, 0) 55%);
}
.hero-full__inner { position: relative; width: 100%; padding-bottom: clamp(48px, 8vh, 88px); }
.hero-full__body { max-width: 820px; }
.hero-full .eyebrow { color: #fff; }
.hero-full h1 { color: #fff; margin-bottom: 32px; }
.hero-full h1 em { color: var(--orange); }
.hero-full__dots { position: absolute; right: var(--gutter); bottom: clamp(48px, 8vh, 88px); display: flex; gap: 8px; }
.hero-full__dots button { width: 44px; height: 24px; padding: 0; background: none; border: 0; display: grid; align-items: center; }
.hero-full__dots span { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; position: relative; }
.hero-full__dots span::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.hero-full__dots .is-active span::after { animation: heroProgress 6s linear forwards; }
.hero-full.is-paused .hero-full__dots .is-active span::after { animation-play-state: paused; }
@keyframes heroProgress { to { transform: scaleX(1); } }
.btn-row--quad { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 540px; }
.btn-row--quad .btn { font-size: 15.5px; padding: 0 20px; }
@media (min-width: 560px) { .btn-row--quad { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 760px) {
  .hero-full { height: auto; min-height: calc(100svh - 120px); }
  .hero-full__inner { padding-top: 120px; padding-bottom: 96px; }
  .hero-full__dots { left: var(--gutter); right: auto; bottom: 36px; }
  .hero-full .btn-row .btn { flex: 1 1 100%; }
  .btn-row--quad .btn { min-height: 46px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-full__slide { transition: opacity 1s ease !important; transform: none !important; }
}

/* ---------- Outsourcing facts: number + noun read as one phrase ---------- */
.facts b { font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; }
@media (max-width: 600px) {
  .facts { grid-template-columns: 1fr; }
  .facts div { padding: 20px 22px; }
}

/* ---------- Scrolling strips keep moving even with "reduce motion" on (slower) ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: marquee 80s linear infinite !important; }
  .logo-strip__track { animation: marquee 90s linear infinite !important; }
}
