/* ==========================================================================
   Strategy Technologies — Design System
   ========================================================================== */

:root {
  /* Brand — sampled from the Strategy Technologies logo */
  --navy-900: #0A1B2D;
  --navy-800: #0E2438;
  --navy-700: #143349;
  --navy-600: #1D4361;
  --gold-600: #C9761A;
  --gold-500: #E08A22;
  --gold-400: #F0A63F;

  --ink:      #101922;
  --body:     #46545F;
  --muted:    #6D7A85;
  --line:     #E2E5E9;
  --line-2:   #EEF0F3;
  --surface:  #FFFFFF;
  --shell:    #F7F6F3;
  --shell-2:  #F1EFEA;

  --on-dark:      #FFFFFF;
  --on-dark-soft: rgba(255,255,255,.72);
  --on-dark-line: rgba(255,255,255,.14);

  --ff-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --sec-y: clamp(64px, 8vw, 120px);

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  --shadow-1: 0 1px 2px rgba(16,25,34,.05), 0 6px 20px -12px rgba(16,25,34,.18);
  --shadow-2: 0 2px 4px rgba(16,25,34,.05), 0 24px 48px -24px rgba(16,25,34,.28);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; max-width: 100%; }
body {
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--ff-display); color: var(--ink); font-weight: 700; line-height: 1.12; letter-spacing: -.022em; text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 12px 20px;
  border-radius: var(--r-md); font-weight: 600; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

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

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec-y); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--shell { background: var(--shell); }
.section--dark { background: var(--navy-900); color: var(--on-dark-soft); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--on-dark); }
.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- Type scale ---------- */
.display-1 { font-size: clamp(2.55rem, 6.2vw, 4.75rem); line-height: 1.03; letter-spacing: -.035em; }
.display-2 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); line-height: 1.07; letter-spacing: -.03em; }
.h2        { font-size: clamp(1.75rem, 3.2vw, 2.6rem); letter-spacing: -.028em; }
.h3        { font-size: clamp(1.25rem, 1.9vw, 1.55rem); letter-spacing: -.02em; }
.h4        { font-size: 1.09rem; letter-spacing: -.012em; }
.lead      { font-size: clamp(1.06rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--body); }
.small     { font-size: .93rem; }
.eyebrow {
  font-family: var(--ff-display);
  font-size: .765rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-600);
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold-500); flex: none; }
.section--dark .eyebrow { color: var(--gold-400); }

.section-head { max-width: 62ch; margin-bottom: clamp(36px, 4.5vw, 60px); }
.section-head p { margin-top: 18px; }
.section-head--wide { max-width: 74ch; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy-900); --btn-fg: #fff; --btn-bd: var(--navy-900);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 26px;
  font-family: var(--ff-display); font-size: .985rem; font-weight: 600; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd); border-radius: var(--r-md);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--navy-700); border-color: var(--navy-700); transform: translateY(-1px); }
.btn--gold { --btn-bg: var(--gold-500); --btn-bd: var(--gold-500); --btn-fg: #16202A; }
.btn--gold:hover { background: var(--gold-400); border-color: var(--gold-400); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--on-dark { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.32); }
.btn--on-dark:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.6); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-display); font-weight: 600; font-size: .95rem;
  color: var(--navy-700); text-decoration: none;
  border-bottom: 1.5px solid transparent; padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease), gap .2s var(--ease);
}
.link-arrow:hover { color: var(--gold-600); border-color: var(--gold-500); gap: 12px; }
.section--dark .link-arrow { color: var(--gold-400); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 1px 20px -6px rgba(16,25,34,.18); border-color: transparent; }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; margin-right: auto; }
.brand img { width: 38px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--ff-display); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .055em; text-transform: uppercase; color: var(--navy-900);
}
.brand-name em { font-style: normal; color: var(--gold-600); }
.brand-tag { font-size: .655rem; letter-spacing: .17em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  display: block; padding: 9px 12px; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 500; color: var(--body); text-decoration: none;
  white-space: nowrap; transition: color .18s var(--ease), background .18s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--shell-2); }
.nav a[aria-current="page"] { color: var(--navy-900); font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold-500); border-radius: 0; }
.header-cta { flex: none; margin-left: 8px; }

.nav-toggle {
  display: none; flex: none; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 10px 16px; background: var(--navy-900); color: #fff;
  border: 0; border-radius: var(--r-md); font-family: var(--ff-display);
  font-size: .9rem; font-weight: 600; cursor: pointer;
}
.nav-toggle .bars { display: block; width: 16px; height: 10px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1120px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner { min-height: 68px; }

  .site-header.is-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-top: 1px solid var(--line-2);
    border-bottom: 1px solid var(--line-2);
    padding: 10px var(--gutter) 22px;
    max-height: calc(100dvh - 68px); overflow-y: auto;
    box-shadow: 0 24px 40px -24px rgba(16,25,34,.35);
    animation: navIn .22s var(--ease) both;
  }
  .site-header.is-open .nav a { padding: 14px 4px; font-size: 1.02rem; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .site-header.is-open .nav a:hover { background: transparent; }
  .site-header.is-open .nav a[aria-current="page"] { box-shadow: none; color: var(--gold-600); }
  .site-header.is-open .header-cta { display: block; margin: 20px 0 0; }
  .site-header.is-open .header-cta .btn { width: 100%; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: var(--navy-900); color: var(--on-dark-soft); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(90% 120% at 88% 8%, rgba(224,138,34,.20), transparent 58%),
    radial-gradient(70% 100% at 0% 100%, rgba(29,67,97,.85), transparent 62%),
    var(--navy-900);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 100% at 20% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 100% at 20% 0%, #000 20%, transparent 78%);
}
.hero-inner { padding-block: clamp(72px, 10vw, 132px); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lead { color: var(--on-dark-soft); max-width: 56ch; margin-top: 26px; }
.hero-sub { color: var(--gold-400); font-family: var(--ff-display); font-weight: 600; font-size: clamp(1rem,1.6vw,1.18rem); letter-spacing: -.01em; margin-top: 20px; max-width: 44ch; }

.hero--home .hero-inner { display: grid; gap: clamp(44px, 5vw, 72px); grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; }
@media (max-width: 900px) { .hero--home .hero-inner { grid-template-columns: 1fr; } }

.hero-panel {
  border: 1px solid var(--on-dark-line); border-radius: var(--r-lg);
  background: rgba(255,255,255,.04); padding: clamp(24px, 3vw, 34px);
  backdrop-filter: blur(2px);
}
.hero-panel h2 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 20px; }
.hero-panel ul { display: grid; gap: 2px; }
.hero-panel li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--on-dark-line); font-size: .97rem; color: var(--on-dark-soft); }
.hero-panel li:last-child { border-bottom: 0; }
.hero-panel li b { color: #fff; font-family: var(--ff-display); font-weight: 700; font-size: .82rem; letter-spacing: .1em; min-width: 26px; color: var(--gold-400); }

.hero-strip {
  border-top: 1px solid var(--on-dark-line);
  display: flex; flex-wrap: wrap; gap: 0;
}
.hero-strip .wrap { display: flex; flex-wrap: wrap; }
.hero-strip .item { flex: 1 1 190px; padding: 22px 26px 22px 0; }
.hero-strip .item + .item { padding-left: 26px; border-left: 1px solid var(--on-dark-line); }
.hero-strip .num { font-family: var(--ff-display); font-weight: 700; font-size: 1.6rem; color: #fff; letter-spacing: -.03em; }
.hero-strip .lbl { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-soft); margin-top: 4px; }
@media (max-width: 640px) {
  .hero-strip .item { flex: 1 1 100%; padding: 16px 0; border-top: 1px solid var(--on-dark-line); }
  .hero-strip .item + .item { padding-left: 0; border-left: 0; }
  .hero-strip .wrap > .item:first-child { border-top: 0; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--navy-900); color: var(--on-dark-soft); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(80% 130% at 92% 0%, rgba(224,138,34,.17), transparent 60%);
}
.page-hero .wrap { padding-block: clamp(56px, 7vw, 96px); }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lead { color: var(--on-dark-soft); max-width: 62ch; margin-top: 22px; }

.crumbs { font-size: .84rem; color: var(--on-dark-soft); margin-bottom: 20px; }
.crumbs a { text-decoration: none; border-bottom: 1px solid transparent; }
.crumbs a:hover { border-color: currentColor; }
.crumbs span { opacity: .5; margin-inline: 8px; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stat-feature { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: clamp(40px,5vw,80px); align-items: center; }
@media (max-width: 860px) { .stat-feature { grid-template-columns: 1fr; } }
.stat-hero .num {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(4.5rem, 15vw, 9.5rem); line-height: .88;
  letter-spacing: -.05em; color: var(--navy-900);
  display: flex; align-items: baseline;
}
.section--dark .stat-hero .num { color: #fff; }
.stat-hero .num .plus { color: var(--gold-500); }
.stat-hero .cap { font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.1rem,2vw,1.5rem); color: var(--ink); margin-top: 18px; letter-spacing: -.02em; }
.section--dark .stat-hero .cap { color: #fff; }
.stat-hero .sub { margin-top: 10px; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--line); }
.section--dark .stat-grid { border-color: var(--on-dark-line); }
.stat-cell { padding: 30px 26px 30px 0; border-bottom: 1px solid var(--line); }
.section--dark .stat-cell { border-color: var(--on-dark-line); }
.stat-cell .k { font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.7rem,3vw,2.3rem); color: var(--navy-900); letter-spacing: -.035em; }
.section--dark .stat-cell .k { color: #fff; }
.stat-cell .k .plus { color: var(--gold-500); }
.stat-cell .v { font-size: .93rem; margin-top: 6px; }

/* ==========================================================================
   Services
   ========================================================================== */
.svc-list { border-top: 1px solid var(--line); }
.svc-item {
  display: grid; grid-template-columns: 76px minmax(0,1fr) auto;
  gap: clamp(18px,3vw,44px); align-items: start;
  padding: clamp(26px,3vw,38px) 0; border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease);
}
.svc-item:hover { background: linear-gradient(90deg, rgba(224,138,34,.05), transparent 55%); }
.svc-item .idx { font-family: var(--ff-display); font-weight: 700; font-size: .84rem; letter-spacing: .12em; color: var(--gold-600); padding-top: 7px; }
.svc-item h3 { margin-bottom: 12px; }
.svc-item p { max-width: 68ch; }
.svc-item .go { padding-top: 6px; }
@media (max-width: 760px) {
  .svc-item { grid-template-columns: 1fr; gap: 10px; }
  .svc-item .idx { padding-top: 0; }
  .svc-item .go { padding-top: 8px; }
}

/* Detailed service blocks (Services page) */
.svc-block { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(28px,4vw,64px); padding-block: clamp(44px,5vw,72px); border-top: 1px solid var(--line); }
.svc-block:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 860px) { .svc-block { grid-template-columns: 1fr; gap: 22px; } }
.svc-block .aside .idx { font-family: var(--ff-display); font-weight: 700; font-size: .8rem; letter-spacing: .14em; color: var(--gold-600); margin-bottom: 14px; }
.svc-block h2 { font-size: clamp(1.5rem,2.6vw,2.05rem); }
.svc-block .body > p + p { margin-top: 16px; }

.tick-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 2px 32px; margin-top: 26px; }
.tick-list li { position: relative; padding: 10px 0 10px 26px; font-size: .96rem; border-bottom: 1px solid var(--line-2); }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 19px; width: 9px; height: 9px;
  border: 2px solid var(--gold-500); border-top: 0; border-left: 0;
  transform: rotate(45deg) translateY(-2px);
}
.section--dark .tick-list li { border-color: var(--on-dark-line); }

/* ==========================================================================
   Languages
   ========================================================================== */
.lang-band { background: var(--navy-900); color: var(--on-dark-soft); position: relative; overflow: hidden; }
.lang-band::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 120% at 50% 0%, rgba(224,138,34,.16), transparent 62%); }
.lang-band .wrap { position: relative; }
.lang-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.lang-chip {
  font-family: var(--ff-display); font-weight: 600; font-size: clamp(1rem,2vw,1.35rem);
  letter-spacing: -.01em; color: #fff;
  border: 1px solid var(--on-dark-line); border-radius: 999px;
  padding: 12px 28px; background: rgba(255,255,255,.05);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.lang-chip:hover { border-color: var(--gold-500); background: rgba(224,138,34,.14); transform: translateY(-2px); }

/* ==========================================================================
   Industries
   ========================================================================== */
.ind-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.ind-cell {
  background: #fff; padding: 30px 28px; min-height: 168px;
  display: flex; flex-direction: column; gap: 10px; text-decoration: none;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.ind-cell:hover { background: var(--shell); }
.ind-cell .ic { color: var(--gold-600); }
.ind-cell h3 { font-size: 1.06rem; letter-spacing: -.012em; }
.ind-cell p { font-size: .92rem; color: var(--muted); }

.ind-block { padding-block: clamp(38px,4.5vw,58px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 64px minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(20px,3vw,48px); }
@media (max-width: 900px) { .ind-block { grid-template-columns: 1fr; gap: 16px; } }
.ind-block .ic { color: var(--gold-600); }
.ind-block h2 { font-size: clamp(1.35rem,2.3vw,1.8rem); margin-bottom: 12px; }
.ind-block .tick-list { margin-top: 0; }
.ind-block .eg { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.ind-block .eg b { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Process timeline
   ========================================================================== */
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.tl-step { position: relative; display: grid; grid-template-columns: 56px minmax(0,1fr); gap: clamp(18px,3vw,40px); padding-block: clamp(22px,3vw,34px); }
.tl-step .dot {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--line); color: var(--navy-900);
  display: grid; place-items: center;
  font-family: var(--ff-display); font-weight: 700; font-size: .95rem; letter-spacing: -.01em;
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.tl-step.is-in .dot { border-color: var(--gold-500); background: var(--gold-500); color: #16202A; }
.tl-step h3 { margin-bottom: 10px; }
.tl-step p { max-width: 68ch; }
.section--shell .timeline::before { background: var(--line); }
.section--shell .tl-step .dot { background: var(--shell); }
.section--shell .tl-step.is-in .dot { background: var(--gold-500); }
@media (max-width: 620px) {
  .timeline::before { left: 21px; }
  .tl-step { grid-template-columns: 44px minmax(0,1fr); gap: 16px; }
  .tl-step .dot { width: 44px; height: 44px; font-size: .85rem; }
}

/* ==========================================================================
   Split / model
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--on-dark-line); border: 1px solid var(--on-dark-line); border-radius: var(--r-lg); overflow: hidden; }
@media (max-width: 780px) { .split { grid-template-columns: 1fr; } }
.split .col { background: var(--navy-900); padding: clamp(26px,3.4vw,40px); }
.split .col--alt { background: var(--navy-800); }
.split h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 22px; }
.split li { padding: 12px 0; border-bottom: 1px solid var(--on-dark-line); color: var(--on-dark-soft); font-size: .97rem; }
.split li:last-child { border-bottom: 0; }
.model-result {
  margin-top: 28px; padding: 26px clamp(22px,3vw,34px);
  border: 1px solid var(--on-dark-line); border-left: 3px solid var(--gold-500);
  border-radius: var(--r-md); background: rgba(224,138,34,.07);
}
.model-result p { color: #fff; font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.02rem,1.8vw,1.24rem); letter-spacing: -.015em; }

/* Feature grid (Why us) */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.feat-cell { background: #fff; padding: clamp(26px,3vw,38px) clamp(22px,2.4vw,32px); }
.section--shell .feat-cell { background: var(--shell); }
.feat-cell .n { font-family: var(--ff-display); font-weight: 700; font-size: .8rem; letter-spacing: .14em; color: var(--gold-600); margin-bottom: 16px; }
.feat-cell h3 { font-size: 1.14rem; margin-bottom: 10px; }
.feat-cell p { font-size: .96rem; }

/* Editorial split with image */
.editorial { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px,5vw,72px); align-items: center; }
@media (max-width: 860px) { .editorial { grid-template-columns: 1fr; } }
.editorial .fig { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; padding: clamp(20px,3vw,34px); }
.editorial .fig img { margin-inline: auto; }

/* ==========================================================================
   Clients banner
   ========================================================================== */
.clients-fig { margin: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.clients-fig img { width: 100%; }
.clients-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.clients-scroll img { min-width: 760px; }
.clients-fig figcaption { font-size: .84rem; color: var(--muted); padding: 14px 20px; border-top: 1px solid var(--line); background: var(--shell); }

/* ==========================================================================
   Careers
   ========================================================================== */
.job-list { border-top: 1px solid var(--line); }
.job {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px 32px; align-items: center;
  padding: clamp(24px,3vw,32px) 0; border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .job { grid-template-columns: 1fr; align-items: start; } }
.job h3 { font-size: 1.18rem; margin-bottom: 8px; }
.job p { font-size: .96rem; }
.job .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  font-size: .78rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  color: var(--navy-700); background: var(--shell-2); border-radius: 999px; padding: 5px 12px;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px,3.2vw,40px); box-shadow: var(--shadow-1); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 660px) { .field-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--ff-display); font-size: .88rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--gold-600); }
.field .hint { font-size: .82rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 13px 15px;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md);
  font-size: 1rem; color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #A3ACB4; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #C7CDD3; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(29,67,97,.13);
}
.field input[type="file"] { padding: 11px 14px; font-size: .93rem; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #C0392B; }
.field .err { font-size: .84rem; color: #C0392B; min-height: 0; }
.field .err:empty { display: none; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.check { display: inline-flex; align-items: center; gap: 9px; font-size: .95rem; cursor: pointer; padding: 6px 0; }
.check input { width: 20px; height: 20px; min-height: 0; flex: none; accent-color: var(--navy-700); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.form-note { font-size: .86rem; color: var(--muted); max-width: 46ch; }

.form-status { display: none; margin-top: 22px; padding: 16px 18px; border-radius: var(--r-md); font-size: .95rem; border: 1px solid; }
.form-status.is-on { display: block; }
.form-status[data-state="success"] { background: #F0F7F1; border-color: #C3DEC8; color: #24603A; }
.form-status[data-state="error"] { background: #FDF2F1; border-color: #F0CCC7; color: #96382C; }
.btn[aria-busy="true"] { opacity: .72; pointer-events: none; }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Modal
   ========================================================================== */
.modal { border: 0; padding: 0; max-width: 720px; width: min(92vw, 720px); border-radius: var(--r-lg); box-shadow: var(--shadow-2); background: #fff; }
.modal::backdrop { background: rgba(10,27,45,.6); backdrop-filter: blur(3px); }
.modal-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 24px clamp(20px,3vw,32px); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
.modal-head h2 { font-size: 1.25rem; }
.modal-head p { font-size: .9rem; color: var(--muted); margin-top: 4px; }
.modal-close { flex: none; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: var(--r-md); cursor: pointer; font-size: 1.2rem; line-height: 1; color: var(--body); }
.modal-close:hover { background: var(--shell); color: var(--ink); }
.modal-body { padding: clamp(20px,3vw,32px); max-height: min(70vh, 720px); overflow-y: auto; }
.modal .form-card { border: 0; padding: 0; box-shadow: none; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { background: var(--navy-900); color: var(--on-dark-soft); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 130% at 85% 10%, rgba(224,138,34,.20), transparent 60%); }
.cta .wrap { position: relative; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: clamp(28px,4vw,60px); align-items: center; }
@media (max-width: 820px) { .cta .wrap { grid-template-columns: 1fr; } }
.cta h2 { color: #fff; }
.cta p { margin-top: 16px; max-width: 52ch; }
.cta .btn-row { margin-top: 0; justify-content: flex-start; }
@media (min-width: 821px) { .cta .btn-row { justify-content: flex-end; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-900); color: var(--on-dark-soft); border-top: 1px solid var(--on-dark-line); }
.footer-top { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr) minmax(0,1fr); gap: clamp(32px,4vw,56px); padding-block: clamp(52px,6vw,76px); }
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand-name { color: #fff; font-size: 1.06rem; }
.footer-brand .brand img { width: 42px; }
.footer-brand .brand-tag { color: var(--on-dark-soft); }
.footer-brand .tagline { margin-top: 22px; font-size: .95rem; max-width: 34ch; }
.footer-langs { margin-top: 20px; font-size: .9rem; color: #fff; letter-spacing: .02em; }
.footer-langs span { color: var(--gold-400); margin-inline: 6px; }
.footer-col h2 { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 20px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: .95rem; text-decoration: none; border-bottom: 1px solid transparent; }
.footer-col a:hover { color: #fff; border-color: var(--gold-500); }
.footer-col address { font-style: normal; font-size: .95rem; line-height: 1.75; }
.footer-contact-item { margin-top: 18px; font-size: .95rem; }
.footer-contact-item b { display: block; color: #fff; font-family: var(--ff-display); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.placeholder-val { color: var(--on-dark-soft); font-style: italic; opacity: .85; }
.footer-bottom { border-top: 1px solid var(--on-dark-line); padding-block: 24px; display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between; font-size: .87rem; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

@media print {
  .site-header, .site-footer, .cta, .btn, .nav-toggle { display: none !important; }
  body { color: #000; }
}

/* ==========================================================================
   Hero banner (homepage)
   ========================================================================== */
.hero--banner { --hero-min: 74svh; }
.hero--banner::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: image-set(
    url("/assets/img/hero-banner.webp") type("image/webp"),
    url("/assets/img/hero-banner.jpg")  type("image/jpeg"));
  background-image: -webkit-image-set(
    url("/assets/img/hero-banner.webp") type("image/webp"),
    url("/assets/img/hero-banner.jpg")  type("image/jpeg"));
  background-size: cover; background-position: 62% center;
}
/* Phones get a 800px-wide file: 25 KB instead of 176 KB */
@media (max-width: 900px) {
  .hero--banner::before {
    background-image: image-set(
      url("/assets/img/hero-banner-800.webp") type("image/webp"),
      url("/assets/img/hero-banner-800.jpg")  type("image/jpeg"));
    background-image: -webkit-image-set(
      url("/assets/img/hero-banner-800.webp") type("image/webp"),
      url("/assets/img/hero-banner-800.jpg")  type("image/jpeg"));
  }
}
.hero--banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(10,27,45,.94) 0%, rgba(10,27,45,.86) 38%, rgba(10,27,45,.55) 68%, rgba(10,27,45,.42) 100%),
    linear-gradient(to top, rgba(10,27,45,.85), transparent 45%);
  mask-image: none; -webkit-mask-image: none;
}
.hero--banner .hero-inner { min-height: var(--hero-min); display: flex; align-items: center; }
.hero--banner .hero-inner > div { max-width: 62ch; }
@media (max-width: 900px) {
  .hero--banner { --hero-min: 62svh; }
  .hero--banner::before { background-position: 68% center; }
}

/* ==========================================================================
   Mobile density — target a materially shorter page on phones
   ========================================================================== */
@media (max-width: 780px) {
  :root { --sec-y: 46px; --gutter: 20px; }
  body { font-size: 16px; }

  .section--tight { padding-block: 38px; }
  .section-head { margin-bottom: 26px; }
  .section-head p { margin-top: 12px; }
  .eyebrow { margin-bottom: 12px; font-size: .7rem; letter-spacing: .13em; }

  .display-1 { font-size: clamp(2.1rem, 9vw, 2.9rem); }
  .display-2 { font-size: clamp(1.85rem, 7.5vw, 2.4rem); }
  .h2 { font-size: clamp(1.45rem, 5.6vw, 1.9rem); }
  .lead { font-size: 1rem; line-height: 1.55; }

  .hero-inner { padding-block: 54px; }
  .hero .lead { margin-top: 16px; }
  .hero-sub { margin-top: 12px; }
  .btn-row { margin-top: 22px; gap: 10px; }
  .btn-row .btn { flex: 1 1 100%; }

  /* Hero side panel is supporting detail — fold it on phones */
  .hero-panel { padding: 18px 20px; }
  .hero-panel li { padding: 9px 0; font-size: .92rem; }

  /* Stats 2-up instead of stacked */
  .hero-strip .wrap { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-strip .item,
  .hero-strip .wrap > .item:first-child { flex: none; padding: 14px 0; border-top: 1px solid var(--on-dark-line); border-left: 0; padding-left: 0; }
  .hero-strip .num { font-size: 1.35rem; }
  .hero-strip .lbl { font-size: .74rem; }

  .stat-grid { grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .stat-cell { padding: 18px 0; }
  .stat-cell .k { font-size: 1.5rem; }
  .stat-cell .v { font-size: .85rem; margin-top: 2px; }
  .stat-feature { gap: 28px; }
  .stat-hero .num { font-size: clamp(3.6rem, 22vw, 5.5rem); }
  .stat-hero .cap { font-size: 1.05rem; margin-top: 10px; }

  /* Services: compact rows */
  .svc-item { padding: 18px 0; gap: 6px; }
  .svc-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
  .svc-item p { font-size: .93rem; }
  .svc-item .idx { font-size: .72rem; }
  .svc-item .go { padding-top: 4px; }

  /* Industries: 2-up compact tiles */
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .ind-cell { min-height: 0; padding: 16px 14px; gap: 6px; }
  .ind-cell .ic { width: 22px; height: 22px; }
  .ind-cell h3 { font-size: .93rem; line-height: 1.25; }
  .ind-cell p { display: none; }
  .ind-grid--rich .ind-cell p { display: block; font-size: .82rem; }

  /* Feature cells */
  .feat-cell { padding: 20px 16px; }
  .feat-cell .n { margin-bottom: 8px; font-size: .72rem; }
  .feat-cell h3 { font-size: 1.02rem; margin-bottom: 6px; }
  .feat-cell p { font-size: .92rem; }

  /* Language chips */
  .lang-row { gap: 8px; margin-top: 20px; }
  .lang-chip { padding: 9px 18px; font-size: .95rem; }

  /* Service model split */
  .split .col { padding: 20px 18px; }
  .split h3 { margin-bottom: 12px; }
  .split li { padding: 8px 0; font-size: .92rem; }
  .model-result { margin-top: 18px; padding: 18px 20px; }

  /* Timeline */
  .tl-step { padding-block: 16px; }
  .tl-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
  .tl-step p { font-size: .93rem; }

  /* Tick lists */
  .tick-list li { padding: 8px 0 8px 22px; font-size: .91rem; }
  .tick-list li::before { top: 16px; }

  /* Editorial + figures */
  .editorial { gap: 26px; }
  .editorial .fig { padding: 16px; }

  /* Jobs */
  .job { padding: 18px 0; gap: 12px; }
  .job h3 { font-size: 1.05rem; }
  .job p { font-size: .93rem; }

  /* Footer */
  .footer-top { padding-block: 40px; gap: 28px; }
  .footer-col h2 { margin-bottom: 12px; }
  .footer-col li { margin-bottom: 8px; }
}

/* Collapsible section wrapper for phones */
.m-fold { border: 0; padding: 0; margin: 0; }
.m-fold > summary { display: none; }
@media (max-width: 780px) {
  .m-fold > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    cursor: pointer; list-style: none;
    padding: 14px 0; border-top: 1px solid var(--line);
    font-family: var(--ff-display); font-weight: 600; font-size: .98rem; color: var(--ink);
  }
  .m-fold > summary::-webkit-details-marker { display: none; }
  .m-fold > summary::after {
    content: ""; width: 9px; height: 9px; flex: none;
    border: 2px solid var(--gold-500); border-top: 0; border-left: 0;
    transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--ease);
  }
  .m-fold[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
  .section--dark .m-fold > summary { color: #fff; border-color: var(--on-dark-line); }
}
