/* =========================================================================
   Forcematica Technologies — site stylesheet
   Hand-written, no frameworks, no web fonts, no third-party code.
   ========================================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand */
  --navy-900: #0b1d38;
  --navy-800: #102a52;
  --navy-700: #17396b;   /* logo navy */
  --blue-600: #1f5fbf;
  --blue-500: #2f74d8;
  --blue-100: #e6effb;
  --blue-50:  #f3f7fd;
  --amber-400: #f4b740;  /* small warm highlight, used sparingly */

  /* Neutrals */
  --ink:     #0f1e33;
  --text:    #3b4a60;
  --muted:   #66758b;
  --line:    #dde5ef;
  --paper:   #f6f8fb;
  --white:   #ffffff;

  /* Feedback */
  --ok:    #157f4c;
  --error: #b42318;

  /* Type */
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --fs-2xl: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);
  --fs-3xl: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);

  /* Space & shape */
  --shell: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section: clamp(4rem, 8vw, 7rem);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 30, 51, .06), 0 1px 3px rgba(15, 30, 51, .05);
  --shadow: 0 10px 30px -12px rgba(15, 30, 51, .18), 0 2px 6px rgba(15, 30, 51, .05);
  --shadow-lg: 0 30px 60px -20px rgba(11, 29, 56, .35);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; font-weight: 750; }
h1 { font-size: var(--fs-3xl); letter-spacing: -.035em; }
h2 { font-size: var(--fs-2xl); letter-spacing: -.03em; }
h3 { font-size: var(--fs-lg); }
p { margin: 0 0 1em; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
ul, ol.process { padding: 0; margin: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue-100); color: var(--navy-900); }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--navy-800); color: var(--white); padding: .75rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* ---------- 3. Layout helpers ---------- */
.shell { width: min(100% - 2 * var(--gutter), var(--shell)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tint { background: var(--paper); }
.section--navy { background: var(--navy-900); color: #c4d1e4; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head { max-width: 680px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head p { font-size: var(--fs-lg); color: var(--muted); margin: 0; }
.section--navy .section-head p { color: #a9b9d0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--navy .eyebrow, .hero .eyebrow { color: #8fb6f0; }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 650; font-size: var(--fs-sm); line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--blue-600); color: var(--white); box-shadow: 0 8px 20px -8px rgba(31, 95, 191, .7); }
.btn--primary:hover { background: var(--navy-700); color: var(--white); transform: translateY(-1px); }
.btn--light { background: var(--white); color: var(--navy-800); }
.btn--light:hover { background: var(--blue-100); color: var(--navy-900); transform: translateY(-1px); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .3); }
.btn--ghost:hover { color: var(--white); border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--outline { color: var(--navy-700); border-color: var(--line); background: var(--white); }
.btn--outline:hover { border-color: var(--navy-700); color: var(--navy-900); }
.btn--sm { min-height: 40px; padding: .5rem 1.05rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); /* solid: the logo PNG has a white background */
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -14px rgba(15, 30, 51, .25); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; margin-right: auto; }
.brand img { width: 196px; }

.site-nav ul { display: flex; align-items: center; gap: .25rem; }
.site-nav a {
  display: block; padding: .5rem .85rem; border-radius: 999px;
  color: var(--text); font-weight: 560; font-size: var(--fs-sm); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.site-nav a:hover { color: var(--navy-900); background: var(--blue-50); }
.site-nav a[aria-current="true"], .site-nav a[aria-current="page"] { color: var(--blue-600); background: var(--blue-50); }
.nav-cta-mobile { display: none; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 1rem var(--gutter) 1.5rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .site-nav a { padding: .85rem 1rem; font-size: var(--fs-base); border-radius: var(--radius-sm); }
  .nav-cta-mobile { display: block; margin-top: .75rem; }
  .nav-cta-mobile .btn { width: 100%; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 600px at 85% -10%, #1f4c8f 0%, transparent 60%),
              radial-gradient(900px 500px at -10% 110%, #143a72 0%, transparent 60%),
              var(--navy-900);
  color: #c4d1e4;
  padding-block: clamp(4rem, 9vw, 7.5rem) clamp(4.5rem, 9vw, 7rem);
}
.hero::before { /* faint grid texture */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero h1 em { font-style: normal; color: #9cc3ff; }
.hero-lead { font-size: var(--fs-lg); max-width: 36rem; color: #b8c7dd; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 2.25rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; font-size: var(--fs-sm); color: #a9bbd4; }
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points .icon { width: 18px; height: 18px; color: #7fb0f5; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero h1 { max-width: 18ch; } }

/* Hero visual: a little "connected systems" board built from HTML + SVG */
.hero-visual {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.hv-top { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: #93a8c6; margin-bottom: 1.25rem; }
.hv-dots { display: flex; gap: 5px; }
.hv-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.22); }
.hv-map { position: relative; aspect-ratio: 16 / 10; }
.hv-map svg.hv-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hv-lines path { fill: none; stroke: rgba(156, 195, 255, .45); stroke-width: 1.5; stroke-dasharray: 5 7; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.hv-node {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: .55rem;
  background: rgba(11, 29, 56, .85); border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px; padding: .55rem .8rem; white-space: nowrap;
  font-size: var(--fs-xs); font-weight: 600; color: #e4ecf8;
}
.hv-node .icon { width: 18px; height: 18px; color: #9cc3ff; }
.hv-core {
  background: var(--blue-600); border-color: transparent; color: var(--white);
  padding: .85rem 1.1rem; font-size: var(--fs-sm); box-shadow: 0 0 0 8px rgba(47, 116, 216, .18), 0 0 0 18px rgba(47, 116, 216, .08);
}
.hv-core .icon { color: var(--white); }
.hv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1.25rem; }
.hv-step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: .75rem .85rem; }
.hv-step b { display: block; font-size: var(--fs-xs); color: #e4ecf8; margin-bottom: .45rem; }
.hv-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; }
.hv-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #5d9bf0, #9cc3ff); transform-origin: left; animation: grow 1.4s var(--ease) both .4s; }
@keyframes grow { from { transform: scaleX(0); } }
@media (max-width: 520px) { .hv-node { font-size: .72rem; padding: .45rem .6rem; } .hv-node .icon { display: none; } .hv-core .icon { display: block; } }

/* ---------- 7. Platforms strip ---------- */
.platforms { border-bottom: 1px solid var(--line); background: var(--white); }
.platforms-inner { display: flex; align-items: center; gap: 1.5rem 2.5rem; flex-wrap: wrap; padding-block: 1.6rem; }
.platforms-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.platforms ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.platforms li {
  font-size: var(--fs-sm); font-weight: 600; color: var(--navy-700);
  border: 1px solid var(--line); background: var(--paper); padding: .4rem .85rem; border-radius: 999px;
}

/* ---------- 8. Cards ---------- */
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 1.85rem);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card p:last-child { margin-bottom: 0; }
.card-icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.1rem;
  border-radius: 14px; background: var(--blue-50); color: var(--blue-600); border: 1px solid var(--blue-100);
}
.card--link { display: flex; flex-direction: column; }
.card--link .card-meta { margin-top: auto; }
.card--link p { margin-bottom: 1.25rem; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c6d6ec; }
.card--link h3 a { color: inherit; text-decoration: none; }
.card--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole card clickable */
.card-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px dashed var(--line);
  font-size: var(--fs-xs); font-weight: 650; color: var(--muted);
}
.card-meta .icon { width: 18px; height: 18px; color: var(--blue-600); transition: transform .2s var(--ease); }
.card--link:hover .card-meta .icon { transform: translateX(4px); }

/* Problem → fix rows ("Sound familiar?") */
.problems-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.problems-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.problems-intro p:not(.eyebrow) { font-size: var(--fs-lg); color: var(--muted); }
.problems-intro .btn { margin-top: .75rem; }
@media (max-width: 980px) {
  .problems-grid { grid-template-columns: 1fr; }
  .problems-intro { position: static; }
}
.problem-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.problem {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .25s, border-color .25s, transform .25s var(--ease);
}
.problem:hover { box-shadow: var(--shadow); border-color: #c6d6ec; transform: translateY(-2px); }
.problem-before { background: var(--paper); border-right: 1px solid var(--line); padding: 1.4rem 2rem 1.4rem 1.5rem; box-shadow: inset 3px 0 0 var(--amber-400); }
.problem-after { padding: 1.4rem 1.5rem 1.4rem 2rem; display: flex; flex-direction: column; align-items: flex-start; }
.problem-label { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .6rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.problem-label .icon { width: 16px; height: 16px; }
.problem-before .problem-label { color: #a15c00; }
.problem-before .problem-label .icon { color: var(--amber-400); }
.problem-after .problem-label { color: var(--ok); }
.problem-quote { margin: 0 0 .5rem; color: var(--ink); font-weight: 700; font-size: var(--fs-base); line-height: 1.4; }
.problem-symptom { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.problem-after p { margin: 0 0 1rem; font-size: var(--fs-sm); line-height: 1.6; }
.problem-tag {
  margin-top: auto; display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--blue-100); background: var(--blue-50);
  color: var(--blue-600); font-size: var(--fs-xs); font-weight: 700; text-decoration: none;
}
.problem-tag .icon { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.problem-tag:hover { background: var(--blue-100); color: var(--navy-800); }
.problem-tag:hover .icon { transform: translateX(3px); }
.problem-arrow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line); color: var(--blue-600); box-shadow: var(--shadow-sm);
}
.problem-arrow .icon { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .problem { grid-template-columns: 1fr; }
  .problem-before { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.25rem 1.25rem 1.6rem; }
  .problem-after { padding: 1.6rem 1.25rem 1.25rem; }
  .problem-arrow { top: auto; bottom: auto; position: relative; left: auto; transform: rotate(90deg); margin: -17px auto; }
}

/* ---------- 9. Process timeline ---------- */
.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; position: relative; }
.process::before { /* connecting rail */
  content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px;
  background: linear-gradient(90deg, rgba(143,182,240,.15), rgba(143,182,240,.55), rgba(143,182,240,.15));
}
.process li { position: relative; }
.process-dot {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.25rem;
  border-radius: 50%; background: var(--navy-800); border: 1px solid rgba(143,182,240,.4); color: #9cc3ff;
}
.process-dot::after {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -6px; right: -10px; font-size: .7rem; font-weight: 800; letter-spacing: .04em;
  background: var(--amber-400); color: var(--navy-900); padding: .1rem .4rem; border-radius: 999px;
}
.process h3 { font-size: var(--fs-lg); }
.process p { font-size: var(--fs-sm); color: #a9b9d0; margin: 0; }
@media (max-width: 980px) {
  .process { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .process::before { display: none; }
}
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- 10. Engagement models ---------- */
.model { display: flex; flex-direction: column; }
.model .tag { align-self: flex-start; font-size: var(--fs-xs); font-weight: 700; color: var(--blue-600); background: var(--blue-50); padding: .25rem .65rem; border-radius: 999px; margin-bottom: 1rem; }
.model ul { display: grid; gap: .55rem; margin: 1rem 0 0; font-size: var(--fs-sm); }
.model li { display: flex; gap: .55rem; }
.model li .icon { width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }
.model--featured { border-color: var(--blue-500); box-shadow: 0 0 0 1px var(--blue-500), var(--shadow); }

/* ---------- 11. About ---------- */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: stretch; }
.about-grid > :last-child { align-self: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* About visual: example project tracker on a navy panel */
.about-visual {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center; min-height: 520px;
  padding: 5.5rem clamp(1.25rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: radial-gradient(500px 300px at 90% 0%, #1f4c8f 0%, transparent 70%), var(--navy-900);
}
.about-visual::before { /* same faint grid as the hero */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.av-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.av-main { width: min(100%, 400px); padding: 1.25rem 1.4rem .6rem; }
.av-head { display: flex; align-items: center; gap: .75rem; padding-bottom: 1rem; margin-bottom: .4rem; border-bottom: 1px solid var(--line); }
.av-head img { border-radius: 9px; border: 1px solid var(--line); }
.av-head strong, .av-phases b, .av-float b { display: block; color: var(--ink); font-size: var(--fs-sm); line-height: 1.3; }
.av-head small, .av-phases small, .av-float small { display: block; color: var(--muted); font-size: var(--fs-xs); line-height: 1.4; }
.av-pill { margin-left: auto; padding: .2rem .65rem; border-radius: 999px; background: #e7f6ee; color: var(--ok); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }
.av-phases li { position: relative; display: grid; grid-template-columns: 28px 1fr auto; gap: .8rem; align-items: start; padding: .75rem 0; }
.av-phases li:not(:last-child)::before { /* timeline rail */
  content: ""; position: absolute; left: 13px; top: 2.45rem; bottom: -.55rem; width: 2px; background: var(--line);
}
.av-phases li.done::before { background: var(--blue-500); }
.av-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); }
.av-dot .icon { width: 15px; height: 15px; stroke-width: 2.5; }
.done .av-dot { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.now .av-dot { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47, 116, 216, .15); }
.now .av-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-500); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.6); opacity: .6; } }
.av-phases em { font-style: normal; font-size: var(--fs-xs); font-weight: 700; color: var(--muted); padding-top: .1rem; }
.done em { color: var(--ok); }
.now em { color: var(--blue-600); }
.av-bar { display: block; height: 6px; margin-top: .55rem; border-radius: 6px; background: var(--blue-50); overflow: hidden; }
.av-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-600), #5d9bf0); }
.av-float { position: absolute; display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem .75rem .8rem; animation: bob 6s ease-in-out infinite; }
.av-float--top { top: 1.5rem; right: clamp(1rem, 4%, 2rem); }
.av-float--bottom { bottom: 1.5rem; left: clamp(1rem, 4%, 2rem); animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.av-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); }
.av-ico .icon { width: 18px; height: 18px; }
.av-ico--ok { background: #e7f6ee; color: var(--ok); }
@media (max-width: 520px) {
  .about-visual { min-height: 0; padding: 1.25rem; gap: .75rem; place-items: stretch; }
  .av-main { width: 100%; }
  .av-float { position: static; animation: none; }
}
.check-list { display: grid; gap: 1rem; margin-top: 1.75rem; }
.check-list li { display: grid; grid-template-columns: 32px 1fr; gap: .9rem; align-items: start; }
.check-list .tick { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); }
.check-list .tick .icon { width: 18px; height: 18px; }
.check-list strong { display: block; color: var(--ink); }
.check-list span { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- 12. Testimonials ---------- */
.quote { margin: 0; display: flex; flex-direction: column; height: 100%; }
.quote .icon-quote { width: 32px; height: 32px; color: var(--blue-100); fill: var(--blue-100); stroke: none; margin-bottom: 1rem; }
.quote blockquote { margin: 0 0 1.5rem; color: var(--ink); font-size: var(--fs-base); line-height: 1.6; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: .85rem; font-size: var(--fs-sm); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy-700); color: var(--white); font-weight: 700; font-size: .85rem; letter-spacing: .02em; }
.quote figcaption strong { display: block; color: var(--ink); }
.quote figcaption span { color: var(--muted); }

/* ---------- 13. FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.35fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-intro > p:not(.eyebrow) { font-size: var(--fs-lg); color: var(--muted); }
.faq-ask { margin-top: 2rem; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.faq-ask .card-icon { margin-bottom: .85rem; }
.faq-ask h3 { font-size: var(--fs-base); margin-bottom: .3rem; }
.faq-ask p { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1rem; }
.faq-ask .faq-ask-alt { margin: .85rem 0 0; font-size: var(--fs-xs); }
@media (max-width: 980px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .faq-ask { display: none; } /* the contact section follows right after on small screens */
}

.faq-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.faq-filters button {
  min-height: 40px; padding: .45rem 1rem; border-radius: 999px; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); color: var(--text); font-size: var(--fs-sm); font-weight: 600;
  transition: background-color .2s, border-color .2s, color .2s;
}
.faq-filters button:hover { border-color: #c6d6ec; color: var(--navy-900); }
.faq-filters button[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }

.faq { display: grid; gap: .75rem; interpolate-size: allow-keywords; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details:hover { border-color: #c6d6ec; }
.faq details[open] { border-color: var(--blue-500); box-shadow: 0 0 0 1px var(--blue-500), var(--shadow-sm); }
.faq details[hidden] { display: none; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.35rem; font-weight: 650; color: var(--ink); border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-600); transition: transform .3s var(--ease), background-color .2s, color .2s;
}
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--blue-600); color: var(--white); }
.faq .faq-body { padding: 0 1.35rem 1.3rem; color: var(--text); }
.faq .faq-body p { margin: 0; max-width: 62ch; }
/* Smooth open/close in browsers that support it; others just open instantly */
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ---------- 14. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy-800), var(--blue-600));
  color: #d6e3f5; padding: clamp(2rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  border: 40px solid rgba(255,255,255,.06);
}
.cta-band h2 { color: var(--white); margin-bottom: .4em; font-size: var(--fs-xl); }
.cta-band p { margin: 0; }
.cta-band .btn { position: relative; z-index: 1; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- 15. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 1rem; margin: 2rem 0; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: center; }
.contact-list .ci { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); color: var(--blue-600); }
.contact-list small { display: block; font-size: var(--fs-xs); color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a, .contact-list address { color: var(--ink); font-weight: 600; text-decoration: none; font-style: normal; }
.contact-list a:hover { color: var(--blue-600); }
.next-steps { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; }
.next-steps h3 { font-size: var(--fs-base); margin-bottom: .85rem; }
.next-steps ol { margin: 0; padding-left: 1.2rem; font-size: var(--fs-sm); display: grid; gap: .4rem; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s, background-color .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' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2366758b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47, 116, 216, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); background: #fff8f7; }
.field-error { display: none; color: var(--error); font-size: var(--fs-xs); margin-top: .35rem; }
.field.has-error .field-error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* spam trap */
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.form-foot p { margin: 0; font-size: var(--fs-xs); color: var(--muted); max-width: 32ch; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb0c8; padding-top: clamp(3.5rem, 7vw, 5rem); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: .7rem; color: var(--white); font-weight: 750; font-size: 1.05rem; letter-spacing: .02em; text-decoration: none; margin-bottom: 1rem; }
.footer-brand img { width: 36px; height: 36px; border-radius: 9px; background: var(--white); padding: 4px; }
.site-footer h4 { color: var(--white); font-size: var(--fs-sm); letter-spacing: .02em; margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: .55rem; }
.site-footer a { color: #c4d1e4; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.social { display: inline-flex; align-items: center; gap: .55rem; margin-top: .25rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); font-size: var(--fs-xs); }
.footer-bottom p { margin: 0; }

/* ---------- 17. Back to top ---------- */
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue-600); color: var(--white); border: 0; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy-700); }

/* ---------- 18. Services page ---------- */
.page-hero { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.breadcrumb { display: flex; align-items: center; gap: .4rem; font-size: var(--fs-sm); color: #93a8c6; margin-bottom: 1.25rem; }
.breadcrumb a { color: #c4d1e4; text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .icon { width: 16px; height: 16px; }

.svc-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 980px) { .svc-layout { grid-template-columns: 1fr; } }
.svc-nav { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.svc-nav p { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.svc-nav ul { display: grid; gap: .25rem; border-left: 2px solid var(--line); }
.svc-nav a { display: block; padding: .5rem .9rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--text); font-size: var(--fs-sm); font-weight: 560; text-decoration: none; }
.svc-nav a:hover { color: var(--navy-900); }
.svc-nav a[aria-current="true"] { color: var(--blue-600); border-left-color: var(--blue-600); }
@media (max-width: 980px) {
  .svc-nav { position: static; }
  .svc-nav ul { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; }
  .svc-nav a { border: 1px solid var(--line); border-radius: 999px; margin: 0; padding: .4rem .85rem; }
  .svc-nav a[aria-current="true"] { border-color: var(--blue-600); }
}
.svc { padding-block: 2.75rem; border-bottom: 1px solid var(--line); }
.svc:first-child { padding-top: 0; }
.svc:last-child { border-bottom: 0; }
.svc-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.svc-head .card-icon { margin: 0; }
.svc-head h2 { font-size: var(--fs-xl); margin: 0; }
.svc-lead { font-size: var(--fs-lg); color: var(--muted); }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.5rem; }
@media (max-width: 640px) { .svc-cols { grid-template-columns: 1fr; } }
.svc-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.35rem; }
.svc-box h3 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .85rem; }
.svc-box ul { display: grid; gap: .5rem; font-size: var(--fs-sm); }
.svc-box li { display: flex; gap: .55rem; }
.svc-box li .icon { width: 18px; height: 18px; color: var(--blue-600); margin-top: 3px; }
.svc-fit { margin-top: 1.25rem; font-size: var(--fs-sm); color: var(--muted); }
.svc-fit strong { color: var(--ink); }

/* ---------- 19. 404 / thank-you ---------- */
.center-page { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: 4rem var(--gutter); background: var(--paper); }
.center-page .big { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; letter-spacing: -.05em; color: var(--blue-100); line-height: 1; margin-bottom: .5rem; -webkit-text-stroke: 2px var(--blue-500); }
.center-page p { color: var(--muted); max-width: 46ch; margin-inline: auto; }
.center-page .actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }

/* ---------- 19b. Festival greetings (assets/js/festive.js) ---------- */
.festive-bar {
  --fb1: #0b1d38; --fb2: #1f5fbf;
  position: relative; display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .55rem 3.25rem; background: linear-gradient(90deg, var(--fb1), var(--fb2));
  color: var(--white); font-size: var(--fs-sm); font-weight: 600; text-align: center; line-height: 1.4;
  animation: festive-in .5s var(--ease) both;
}
@keyframes festive-in { from { opacity: 0; transform: translateY(-100%); } }
.festive-bar-icon { width: 22px; height: 22px; flex: none; }
.festive-close {
  position: absolute; right: .6rem; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: transparent; color: inherit; cursor: pointer; opacity: .8;
}
.festive-close:hover { opacity: 1; background: rgba(255, 255, 255, .15); }
.festive-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.festive--diwali .festive-bar       { --fb1: #6b2a0a; --fb2: #b45309; }
.festive--holi .festive-bar         { --fb1: #9d174d; --fb2: #6d28d9; }
.festive--easter .festive-bar       { --fb1: #6d28d9; --fb2: #be185d; }
.festive--christmas .festive-bar    { --fb1: #14532d; --fb2: #166534; }
.festive--thanksgiving .festive-bar { --fb1: #7c2d12; --fb2: #b45309; }
.festive--newyear .festive-bar      { --fb1: #0b1d38; --fb2: #1f5fbf; }
.festive--republic .festive-bar,
.festive--independence .festive-bar { --fb1: #0b1d38; --fb2: #17396b; box-shadow: inset 0 -3px 0 #138808, inset 0 -6px 0 #ffffff, inset 0 -9px 0 #ff9933; padding-bottom: .9rem; }

.brand { position: relative; }
.festive-badge {
  position: absolute; left: 26px; top: -6px; width: 24px; height: 24px;
  filter: drop-shadow(0 2px 3px rgba(15, 30, 51, .25));
  animation: festive-pop .6s var(--ease) .3s both;
}
.festive-badge svg { width: 100%; height: 100%; }
@keyframes festive-pop { from { opacity: 0; transform: scale(.3) rotate(-20deg); } }

.festive-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero > .shell { position: relative; z-index: 1; }

/* ---------- 20. Scroll reveal (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

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

/* ---------- 21. Print ---------- */
@media print {
  .site-header, .to-top, .hero-visual, form, .site-nav { display: none !important; }
  .hero, .section--navy, .site-footer { background: none !important; color: #000 !important; }
  .hero h1, .section--navy h2, .section--navy h3 { color: #000 !important; }
}
