/*
  FCS Infotech — design system
  Signature direction: infrastructure schematic. Enterprise IT services company —
  the visual language borrows from network topology diagrams, rack elevation
  drawings, and ops/status boards, rendered in a disciplined navy + signal-amber
  system. No stock gradients, no rounded 3D icon sets.
*/

/* ---------- Tokens ---------- */
:root {
  /* Color: navy anchor preserved from existing brand (#394c75) */
  --ink: #16213a;
  --navy: #394c75;
  --navy-deep: #232f4b;
  --navy-mid: #5a72a0;
  --steel-100: #eef1f7;
  --steel-200: #dfe4ee;
  --steel-300: #c7cedc;
  --paper: #f8f7f4;
  --white: #ffffff;
  --amber: #c8842e;
  --amber-deep: #9c631f;
  --signal-green: #2e9e6b;
  --signal-red: #b3492f;

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;

  /* Scale */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.4vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.9rem + 2.2vw, 3.6rem);
  --step-5: clamp(3rem, 2.2rem + 3.6vw, 4.8rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 3px;
  --border: 1px solid var(--steel-300);
  --shadow-card: 0 1px 0 rgba(22, 33, 58, 0.04), 0 8px 24px -16px rgba(22, 33, 58, 0.25);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * , *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-mid);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--amber);
  display: inline-block;
}

section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-alt { background: var(--steel-100); }
.section-dark { background: var(--navy-deep); color: var(--steel-100); }
.section-dark .eyebrow { color: var(--steel-300); }

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.section-head h2 { font-size: var(--step-3); max-width: 26ch; margin-bottom: 0.7rem; }
.section-head .lede { max-width: 60ch; color: var(--navy); }
.section-dark .section-head .lede { color: var(--steel-200); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9em 1.4em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--amber); color: var(--white); }
.btn-primary:hover { background: var(--amber-deep); }
.btn-outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.section-dark .btn-outline { color: var(--steel-100); }
.section-dark .btn-outline:hover { background: var(--steel-100); color: var(--navy-deep); }
.btn-arrow::after { content: "→"; }

/* ---------- Header ---------- */
.utility-bar {
  background: var(--navy-deep);
  color: var(--steel-200);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.utility-bar a { text-decoration: none; opacity: 0.9; }
.utility-bar a:hover { opacity: 1; text-decoration: underline; }
.utility-locations { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.status-pill { display: inline-flex; align-items: center; gap: 0.5em; color: var(--steel-100); }
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal-green);
  box-shadow: 0 0 0 0 rgba(46,158,107,0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,158,107,0.5); }
  70% { box-shadow: 0 0 0 6px rgba(46,158,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,158,107,0); }
}

.site-header {
  background: var(--paper);
  border-bottom: var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1.5rem;
}
.logo {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  margin-right: 1rem;
  padding-right: 1.25rem;
  border-right: 1px solid var(--steel-300);
  transition: opacity 0.18s var(--ease);
}
.logo:hover { opacity: 0.85; }
.logo-img { height: 54px; width: auto; display: block; transition: transform 0.2s var(--ease); }
.logo:hover .logo-img { transform: scale(1.03); }
@media (max-width: 1000px) { .logo { border-right: none; padding-right: 0; margin-right: 0.5rem; } }
@media (max-width: 640px) { .logo-img { height: 42px; } }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav > ul { display: flex; align-items: stretch; }
.main-nav > ul > li { position: relative; display: flex; align-items: center; }
.main-nav > ul > li > a,
.main-nav > ul > li > button.nav-toggle {
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.9rem 0.75rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.open > button.nav-toggle,
.main-nav > ul > li > a[aria-current="page"] {
  color: var(--navy);
}
.main-nav > ul > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber); }
.caret { width: 9px; height: 9px; transition: transform 0.18s var(--ease); }
li.open > button.nav-toggle .caret { transform: rotate(180deg); }

.nav-cta { margin-left: 0.5rem; }

/* Mega menu */
.mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 90vw);
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
  display: none;
  gap: 2.5rem;
  grid-template-columns: 1.3fr 1fr;
}
li.open > .mega-panel { display: grid; }
.mega-col-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-bottom: 0.9rem;
  display: block;
}
.mega-list { display: flex; flex-direction: column; gap: 0.2rem; }
.mega-list a {
  display: flex;
  align-items: center;
  gap: 0.7em;
  text-decoration: none;
  color: var(--ink);
  padding: 0.55rem 0.5rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  transition: background-color 0.15s var(--ease), padding-left 0.15s var(--ease);
}
.mega-list a:hover { background: var(--steel-100); padding-left: 0.75rem; }
.mega-code {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--navy-mid);
  border: 1px solid var(--steel-300);
  border-radius: 2px;
  padding: 0.15em 0.4em;
  min-width: 2.6em;
  text-align: center;
  flex-shrink: 0;
}
.mega-sub {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: var(--border);
}
.mega-sub .mega-col-title { margin-bottom: 0.6rem; }
.mega-nested { padding-left: 0.9rem; border-left: 2px solid var(--steel-200); margin-top: 0.2rem; }

.nav-toggle-mobile {
  display: none;
  background: none;
  border: 1px solid var(--steel-300);
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius);
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(3rem, 8vw, 5.5rem);
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(57,76,117,0.08), transparent 60%),
    var(--paper);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 2rem + 3.6vw, 5.2rem);
  line-height: 1.03;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-block: 0.5rem 1rem;
}

.hero h1 em { font-style: normal; color: var(--navy); }
.hero .lede { font-size: var(--step-1); color: var(--navy); max-width: 46ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1.6rem;
  font-family: var(--font-mono);
  border-top: var(--border);
  padding-top: 1.2rem;
}
.hero-stats dt { font-size: 1.5rem; color: var(--navy); font-weight: 600; }
.hero-stats dd { margin: 0.2rem 0 0; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); opacity: 0.7; }

.hero-diagram { position: relative; }
.hero-diagram svg { width: 100%; height: auto; }

/* ---------- Systems index / service rows ---------- */
.service-index { border-top: var(--border); }
.service-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0.5rem;
  border-bottom: var(--border);
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: padding-left 0.2s var(--ease);
}
.service-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--amber);
  transform: scaleY(0);
  transition: transform 0.2s var(--ease);
}
.service-row:hover { padding-left: 1.1rem; }
.service-row:hover::before { transform: scaleY(1); }
.service-row .code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--navy-mid);
  border: 1px solid var(--steel-300);
  padding: 0.3em 0.1em;
  text-align: center;
  border-radius: 2px;
}
.service-row h3 { font-size: var(--step-1); margin-bottom: 0.3rem; font-family: var(--font-display); }
.service-row p { margin: 0; color: var(--navy); font-size: 0.92rem; max-width: 56ch; }
.service-row .goto { font-family: var(--font-mono); font-size: 0.8rem; color: var(--navy-mid); white-space: nowrap; }

/* ---------- Donut wheel infographic (reused across pages) ---------- */
.wheel-wrap { max-width: 620px; margin: 0 auto; }
.wheel-wrap svg { width: 100%; height: auto; }
.wheel-label text, .wheel-label tspan {
  font-family: var(--font-body);
  font-weight: 700;
  fill: var(--navy-deep, #232f4b);
  text-anchor: middle;
}
.wheel-label .la-start, .wheel-label .la-start tspan { text-anchor: start; }
.wheel-label .la-end, .wheel-label .la-end tspan { text-anchor: end; }
.wheel-leader { stroke-width: 1.5; opacity: 0.55; }

/* ---------- Defense-in-depth layer legend (Cyber Security) ---------- */
.defense-wrap { display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: center; justify-content: center; max-width: 1040px; margin: 0 auto; }
.defense-arch { flex: 0 0 300px; max-width: 300px; }
.defense-arch svg { width: 100%; height: auto; }
.defense-legend { flex: 1 1 440px; display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.defense-layer { display: flex; flex-direction: column; gap: 0.5rem; padding: 1rem 1.3rem; border-left: 4px solid var(--layer-color, var(--navy)); background: var(--paper); }
.defense-layer .layer-index { font-family: var(--font-mono); font-size: 0.72rem; color: var(--layer-color, var(--navy)); font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; }
.defense-layer h3 { font-family: var(--font-display); font-size: 1.05rem; margin: 0; }
.defense-layer .layer-items { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.2rem; }
.defense-layer .layer-chip { font-size: 0.8rem; font-family: var(--font-mono); padding: 0.3rem 0.7rem; border: 1px solid var(--steel-200); border-radius: 2px; color: var(--navy-deep); background: #fff; }

/* ---------- Continuity lifecycle flow (HA/DR) ---------- */
.lifecycle-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem 1.2rem; max-width: 1020px; margin: 0 auto; }
.lifecycle-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.7rem; position: relative; }
.lifecycle-step .step-badge { width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; position: relative; z-index: 2; box-shadow: 0 4px 14px rgba(35,47,75,0.22); flex-shrink: 0; }
.lifecycle-step .step-num { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--step-color, var(--navy)); color: var(--step-color, var(--navy)); font-family: var(--font-mono); font-size: 0.65rem; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.lifecycle-step h3 { font-size: 0.88rem; margin: 0; line-height: 1.3; }
.lifecycle-step:not(:nth-child(4n))::after { content: ""; position: absolute; top: 31px; left: calc(50% + 31px); width: calc(100% - 31px); height: 2px; background: repeating-linear-gradient(90deg, var(--steel-300) 0 6px, transparent 6px 11px); z-index: 1; }
@media (max-width: 860px) { .lifecycle-flow { grid-template-columns: repeat(2, 1fr); } .lifecycle-step::after { display: none !important; } }

/* ---------- Hex capability grid (AI & App Development) ---------- */
.hex-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.7rem 1.2rem; max-width: 1020px; margin: 0 auto; }
.hex-tile { aspect-ratio: 1 / 0.95; clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 0 1.3rem; }
.hex-tile h3 { font-size: 0.85rem; margin: 0.55rem 0 0; color: #fff; line-height: 1.28; }
@media (max-width: 860px) { .hex-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .hex-grid { grid-template-columns: 1fr; }
  .hex-tile { clip-path: none; border-radius: 10px; aspect-ratio: auto; padding: 1.1rem 1.3rem; flex-direction: row; justify-content: flex-start; gap: 1rem; text-align: left; }
  .hex-tile h3 { text-align: left; }
}

/* ---------- Bento capability grid (Managed Services) ---------- */
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 1.1rem; max-width: 1040px; margin: 0 auto; }
.bento-tile { border-radius: 3px; padding: 1.2rem 1.3rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.4rem; color: #fff; }
.bento-tile .bento-icon { width: 34px; height: 34px; opacity: 0.95; }
.bento-tile h3 { font-size: 0.92rem; margin: 0; color: #fff; line-height: 1.3; }
.bento-tile p { font-size: 0.78rem; color: rgba(255,255,255,0.82); margin: 0; }
.bento-tile.bento-lg { grid-column: span 2; grid-row: span 2; }
.bento-tile.bento-lg .bento-icon { width: 46px; height: 46px; }
.bento-tile.bento-lg h3 { font-size: 1.25rem; }
.bento-tile.bento-wide { grid-column: span 2; grid-row: span 1; }
@media (max-width: 920px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .bento-tile.bento-lg { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-tile, .bento-tile.bento-lg, .bento-tile.bento-wide { grid-column: span 1; grid-row: span 1; min-height: 108px; }
}

/* ---------- Editorial numbered grid (Database Engineering) ---------- */
.numbered-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1040px; margin: 0 auto; border-top: var(--border); border-left: var(--border); }
.numbered-tile { border-right: var(--border); border-bottom: var(--border); padding: 1.7rem 1.5rem; text-align: left; }
.numbered-tile .num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: var(--steel-200); line-height: 1; display: block; margin-bottom: 0.9rem; }
.numbered-tile .num-icon { width: 26px; height: 26px; color: var(--tile-color, var(--navy)); margin-bottom: 0.7rem; display: block; }
.numbered-tile h3 { font-size: 0.95rem; margin: 0; line-height: 1.35; }
@media (max-width: 760px) { .numbered-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .numbered-grid { grid-template-columns: 1fr; } }

/* ---------- "At a glance" card variants (unique per service) ---------- */
.glance-stat { display: flex; align-items: baseline; gap: 0.6rem; margin: 0.9rem 0 1.2rem; }
.glance-stat-value { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--navy); line-height: 1; }
.glance-stat-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-mid); max-width: 16ch; }

.glance-dualstat { display: flex; gap: 1.4rem; margin: 0.9rem 0 1.2rem; }
.glance-dualstat > div { flex: 1; border-left: 3px solid var(--amber); padding-left: 0.8rem; }
.glance-dualstat .val { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--navy); display: block; line-height: 1.25; }
.glance-dualstat .lbl { font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy-mid); }

.glance-pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.9rem 0 1.2rem; }
.glance-pill { font-family: var(--font-mono); font-size: 0.74rem; padding: 0.35rem 0.75rem; border: 1px solid var(--steel-200); border-radius: 2px; color: var(--navy-deep); background: #fff; }

.glance-spectrum { margin: 1.1rem 0 1.3rem; }
.glance-spectrum-track { position: relative; height: 6px; background: var(--steel-100); border-radius: 3px; margin-bottom: 0.6rem; overflow: hidden; }
.glance-spectrum-fill { position: absolute; top: 0; left: 0; height: 100%; width: 100%; background: linear-gradient(90deg, var(--navy), var(--amber)); border-radius: 3px; }
.glance-spectrum-labels { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--navy-mid); }

.glance-tagcloud { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.9rem 0 1.2rem; }
.glance-tag { font-family: var(--font-body); font-size: 0.8rem; padding: 0.4rem 0.85rem; border-radius: 20px; background: var(--paper); border: 1px solid var(--steel-200); color: var(--navy-deep); }

.glance-checklist { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.9rem 0 1.2rem; padding: 0; }
.glance-checklist li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--navy-deep); list-style: none; }
.glance-checklist svg { flex-shrink: 0; color: var(--amber); width: 15px; height: 15px; }

.glance-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin: 0.9rem 0 1.2rem; }
.glance-module { text-align: center; padding: 0.55rem 0.3rem; background: var(--navy); color: #fff; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; border-radius: 2px; letter-spacing: 0.02em; }

/* ---------- ERP module grid (Oracle EBS) ---------- */
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; max-width: 1020px; margin: 0 auto; }
.module-tile { background: #fff; border: var(--border); border-top: 4px solid var(--tile-color, var(--navy)); padding: 1.5rem 1.2rem; text-align: center; }
.module-tile .module-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--tile-color, var(--navy)); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.module-tile h3 { font-size: 0.9rem; margin: 0; line-height: 1.3; }
@media (max-width: 860px) { .module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .module-grid { grid-template-columns: 1fr; } }

/* ---------- Technology Services — enterprise capability tiles ---------- */
.tsvc-section {
  --tsvc-azure: #2563eb;
  --tsvc-azure-soft: rgba(37, 99, 235, 0.08);
  --tsvc-emerald: #10b981;
  --tsvc-bg: #f8fafc;
  --tsvc-border: #e5eaf1;
  --tsvc-muted: #5b6b82;
  background: var(--tsvc-bg);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Faint blueprint grid, masked to fade toward the edges */
.tsvc-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(35, 47, 75, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 47, 75, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 40%, transparent 88%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 40%, transparent 88%);
  z-index: 0;
}
/* Soft directional light — azure top-right, emerald bottom-left */
.tsvc-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 560px at 92% -8%, rgba(37, 99, 235, 0.08), transparent 70%),
    radial-gradient(480px 480px at -6% 108%, rgba(16, 185, 129, 0.07), transparent 70%);
  z-index: 0;
}
.tsvc-section .container { position: relative; z-index: 1; }

.tsvc-head { max-width: 660px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.tsvc-head .eyebrow { justify-content: center; margin-bottom: 0.9rem; }
.tsvc-head h2 { font-size: var(--step-3); color: var(--navy-deep); margin-bottom: 0.9rem; }
.tsvc-head .lede { color: var(--tsvc-muted); max-width: 56ch; margin-inline: auto; }

.tsvc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin-inline: auto;
}

.tsvc-card {
  --glow-opacity: 0;
  background: #fff;
  border: 1px solid var(--tsvc-border);
  border-radius: 16px;
  padding: 2rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 1px rgba(16, 24, 40, 0.03);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}
/* Animated gradient border ring — hidden by default, fades in on hover (mask-composite technique) */
.tsvc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(125deg, var(--tsvc-azure), var(--tsvc-emerald) 55%, var(--tsvc-azure));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
  z-index: 2;
}
/* Diagonal light sweep across the card face on hover */
.tsvc-card::after {
  content: "";
  position: absolute;
  top: 0; left: -70%;
  width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(37, 99, 235, 0.06), transparent);
  transform: skewX(-18deg);
  transition: left 0.75s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.tsvc-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 56px -20px rgba(16, 30, 60, 0.22), 0 8px 18px -8px rgba(37, 99, 235, 0.16);
  border-color: transparent;
}
.tsvc-card:hover::before { opacity: 1; }
.tsvc-card:hover::after { left: 125%; }

.tsvc-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--tsvc-azure-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.32s var(--ease);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.tsvc-card:hover .tsvc-icon { transform: scale(1.06) rotate(5deg); }
.tsvc-icon svg { width: 26px; height: 26px; stroke: var(--navy-deep); fill: none; }

.tsvc-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.35;
  margin-bottom: 0.65rem;
  min-height: 2.7em;
  position: relative;
  z-index: 1;
}
.tsvc-card .tsvc-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--tsvc-muted);
  margin: 0 0 1.1rem;
  position: relative;
  z-index: 1;
}
.tsvc-outcome {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.45;
  margin: 0 0 1.2rem;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}
.tsvc-outcome svg { width: 14px; height: 14px; color: var(--tsvc-emerald); flex-shrink: 0; margin-top: 0.2em; }

.tsvc-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.4rem; position: relative; z-index: 1; }
.tsvc-tags span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  padding: 0.32em 0.7em;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--tsvc-border);
  color: #475569;
  transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}
.tsvc-tags span:hover {
  background: var(--tsvc-azure-soft);
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--tsvc-azure);
}
.tsvc-link {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--tsvc-azure);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  position: relative;
  z-index: 1;
  width: fit-content;
}
.tsvc-link svg { width: 13px; height: 13px; transition: transform 0.25s var(--ease); }
.tsvc-card:hover .tsvc-link svg { transform: translateX(3px); }
.tsvc-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1.5px;
  background: var(--tsvc-azure);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.tsvc-card:hover .tsvc-link::after { transform: scaleX(1); }

/* Staggered fade-up on scroll reveal */
.tsvc-grid.reveal .tsvc-card { opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.tsvc-grid.reveal.is-visible .tsvc-card { opacity: 1; transform: translateY(0); }
.tsvc-grid.reveal.is-visible .tsvc-card:nth-child(1) { transition-delay: 0.04s; }
.tsvc-grid.reveal.is-visible .tsvc-card:nth-child(2) { transition-delay: 0.09s; }
.tsvc-grid.reveal.is-visible .tsvc-card:nth-child(3) { transition-delay: 0.14s; }
.tsvc-grid.reveal.is-visible .tsvc-card:nth-child(4) { transition-delay: 0.19s; }
.tsvc-grid.reveal.is-visible .tsvc-card:nth-child(5) { transition-delay: 0.24s; }
.tsvc-grid.reveal.is-visible .tsvc-card:nth-child(6) { transition-delay: 0.29s; }
.tsvc-grid.reveal.is-visible .tsvc-card:nth-child(7) { transition-delay: 0.34s; }
.tsvc-grid.reveal.is-visible .tsvc-card:nth-child(8) { transition-delay: 0.39s; }

@media (max-width: 1080px) {
  .tsvc-grid { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
}
@media (max-width: 560px) {
  .tsvc-grid { grid-template-columns: 1fr; }
  .tsvc-card h3 { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tsvc-grid.reveal .tsvc-card { transition-delay: 0s !important; }
  .tsvc-card, .tsvc-card::before, .tsvc-card::after, .tsvc-icon { transition-duration: 0.01ms !important; }
}

/* ---------- Insight cards (services / insights grid, big-consulting pattern) ---------- */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.insight-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--navy-mid); }
.insight-card .panel {
  position: relative;
  height: 108px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-left: 1.6rem;
}
.insight-card .panel::before {
  content: "";
  position: absolute;
  right: -30px; top: -30px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.insight-card .panel::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--amber);
}
.insight-card .panel-icon {
  position: relative;
  z-index: 1;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.insight-card .panel-icon svg { width: 24px; height: 24px; color: #fff; }
.insight-card .panel-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}
.insight-meta {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--navy-mid);
  margin: 0 0 1.1rem;
  padding-top: 0.9rem;
  border-top: var(--border);
}
.insight-meta span { display: inline-flex; align-items: center; gap: 0.4em; }
.insight-meta svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ---------- Article body (Insights posts) ---------- */
.article-body { font-size: 1.02rem; color: var(--ink); }
.article-body p { margin-bottom: 1.3rem; }
.article-body h2 { font-size: var(--step-1); margin: 2.4rem 0 1rem; color: var(--navy-deep); }
.article-body h2:first-child { margin-top: 0; }
.article-body a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--steel-300); }
.article-body a:hover { text-decoration-color: var(--navy); }

.insight-card .body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex-grow: 1; }
.insight-card .body .eyebrow { margin-bottom: 0.7rem; }
.insight-card h3 { font-size: 1.2rem; margin-bottom: 0.55rem; }
.insight-card p { color: var(--navy); font-size: 0.92rem; margin: 0 0 1.2rem; flex-grow: 1; }
.insight-card .read-more { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); display: inline-flex; align-items: center; gap: 0.4em; }
.insight-card .read-more::after { content: "→"; transition: transform 0.2s var(--ease); }
.insight-card:hover .read-more::after { transform: translateX(3px); }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card {
  background: var(--white);
  border: var(--border);
  padding: 1.8rem;
  border-radius: var(--radius);
}
.card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.card .icon { width: 40px; height: 40px; color: var(--navy); margin-bottom: 1.1rem; }

.partner-logo {
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 1.4rem;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-strip > div {
  padding: 1.6rem 1.4rem;
  border-left: var(--border);
}
.stat-strip > div:first-child { border-left: none; }
.stat-strip dt { font-family: var(--font-mono); font-size: 1.9rem; color: var(--navy); }
.stat-strip dd { margin: 0.3rem 0 0; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink); opacity: 0.75; }

/* ---------- About page company-facts card ---------- */
.about-facts { border: var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-card); }
.about-fact { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.5rem 1.6rem; }
.about-fact:not(:last-child) { border-bottom: var(--border); }
.about-fact-icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--paper); display: flex; align-items: center; justify-content: center; color: var(--navy); }
.about-fact-icon svg { width: 20px; height: 20px; }
.about-fact dt { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--navy); margin: 0; line-height: 1.2; }
.about-fact dd { margin: 0.25rem 0 0; font-size: 0.8rem; letter-spacing: 0.02em; color: var(--ink); opacity: 0.75; }

blockquote.testimonial {
  margin: 0;
  padding: 1.8rem;
  background: var(--white);
  border: var(--border);
  border-left: 3px solid var(--amber);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}
blockquote.testimonial footer {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy-mid);
}

/* Breadcrumb / page header for interior pages */
.page-head {
  background: var(--navy-deep);
  color: var(--steel-100);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.page-head .breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--steel-300);
  margin-bottom: 1rem;
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
}
.page-head .breadcrumb a { color: var(--steel-200); text-decoration: none; }
.page-head .breadcrumb a:hover { text-decoration: underline; }
.page-head h1 { font-size: var(--step-4); max-width: 22ch; }
.page-head .lede { color: var(--steel-200); max-width: 55ch; font-size: var(--step-1); margin-top: 1rem; }

.page-head .container.with-visual {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.page-head-visual svg { width: 100%; height: auto; max-width: 210px; margin-inline: auto; display: block; }
@media (max-width: 860px) {
  .page-head .container.with-visual { grid-template-columns: 1fr; }
  .page-head-visual { order: -1; max-width: 150px; margin-inline: auto; }
}
.page-head .container.with-visual.wide { grid-template-columns: 1.1fr 0.9fr; }
.page-head-visual svg.ops-illustration { max-width: 460px; }
@media (max-width: 860px) {
  .page-head .container.with-visual.wide { grid-template-columns: 1fr; }
  .page-head .container.with-visual.wide .page-head-visual { max-width: 340px; order: -1; margin-inline: auto; }
}

/* ---------- Page-head mark (Big 4 style report-tab badge) ---------- */
.page-head-mark {
  width: 168px; height: 168px;
  max-width: 100%;
  margin-inline: auto;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.03);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-head-mark::before, .page-head-mark::after {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  background: var(--accent-color, var(--amber));
}
.page-head-mark::before { width: 34px; height: 3px; }
.page-head-mark::after { width: 3px; height: 34px; }
.page-head-mark svg { width: 58px; height: 58px; }
.page-head-mark .mark-code {
  position: absolute;
  bottom: 11px; right: 15px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: var(--accent-color, var(--amber));
  font-weight: 600;
}
@media (max-width: 860px) { .page-head-mark { width: 130px; height: 130px; } .page-head-mark svg { width: 46px; height: 46px; } }

.capability-list { display: flex; flex-direction: column; }
.capability-list li {
  padding: 1.1rem 0;
  border-bottom: var(--border);
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.9rem;
}
.capability-list li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--amber);
  margin-top: 0.5em;
}
.capability-list h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.capability-list p { margin: 0; color: var(--navy); font-size: 0.92rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.related-strip {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.related-chip {
  border: var(--border);
  border-radius: 2px;
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-mono);
}
.related-chip:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* CTA band */
.cta-band {
  background: var(--navy-deep);
  color: var(--steel-100);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: var(--step-3); max-width: 20ch; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--steel-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--steel-200); padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h3 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel-300);
  margin-bottom: 1rem;
}
.footer-grid ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-grid a { text-decoration: none; color: var(--steel-200); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-office { font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.7; color: var(--steel-300); }
.footer-office strong { color: var(--white); display: block; font-family: var(--font-body); margin-bottom: 0.3rem; }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--steel-300);
}
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: var(--steel-300); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-diagram { order: -1; max-width: 420px; }
  .grid-3, .grid-2, .two-col { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip > div:nth-child(3) { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .insight-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1000px) {
  .utility-bar .utility-locations { display: none; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--white); flex-direction: column; align-items: stretch; padding: 1.2rem; transform: translateX(100%); transition: transform 0.25s var(--ease); overflow-y: auto; box-shadow: -12px 0 32px rgba(0,0,0,0.15); }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .main-nav > ul > li { flex-direction: column; align-items: stretch; }
  .main-nav > ul > li > a, .main-nav > ul > li > button.nav-toggle { padding: 0.9rem 0.4rem; justify-content: space-between; border-bottom: var(--border); }
  .mega-panel { position: static; width: 100%; transform: none; box-shadow: none; border: none; border-bottom: var(--border); grid-template-columns: 1fr; padding: 0.5rem 0.4rem 1rem; }
  .nav-toggle-mobile { display: inline-flex; }
  .nav-cta { margin: 1rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}

/* ---------- "Get in Touch" consultation modal (site-wide) ---------- */
.gt-modal { position: fixed; inset: 0; z-index: 300; display: none; }
.gt-modal.open { display: block; }
.gt-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(22, 33, 58, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.gt-modal.open .gt-modal-backdrop { opacity: 1; }
.gt-modal-panel {
  position: relative;
  z-index: 1;
  margin: clamp(1.5rem, 8vh, 6rem) auto;
  width: min(480px, calc(100vw - 2rem));
  max-height: calc(100vh - clamp(3rem, 16vh, 12rem));
  overflow-y: auto;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 30px 80px -20px rgba(22, 33, 58, 0.45), 0 10px 30px -10px rgba(22, 33, 58, 0.3);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.gt-modal.open .gt-modal-panel { opacity: 1; transform: none; }
.gt-modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper);
  border: 1px solid var(--steel-300);
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.18s var(--ease), transform 0.18s var(--ease), color 0.18s var(--ease);
}
.gt-modal-close:hover { background: var(--navy); color: var(--white); transform: rotate(90deg); }
.gt-modal-head { margin-bottom: 1.4rem; padding-right: 2rem; }
.gt-modal-head h2 { font-size: var(--step-2); color: var(--navy-deep); margin: 0.35rem 0 0.6rem; }
.gt-modal-sub { color: var(--navy); font-size: 0.88rem; margin: 0; }

.gt-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.gt-field { position: relative; margin-bottom: 1.1rem; }
.gt-field input, .gt-field textarea {
  width: 100%;
  padding: 1.35rem 0.9rem 0.55rem;
  border: 1px solid var(--steel-300);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.gt-field textarea { resize: vertical; min-height: 4.2rem; padding-top: 1.5rem; }
.gt-field label {
  position: absolute;
  left: 0.9rem; top: 0.95rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy-mid);
  pointer-events: none;
  transition: top 0.16s var(--ease), font-size 0.16s var(--ease), color 0.16s var(--ease);
  background: transparent;
}
.gt-field input:focus, .gt-field textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(57, 76, 117, 0.12);
}
.gt-field input:focus ~ label,
.gt-field input:not(:placeholder-shown) ~ label,
.gt-field textarea:focus ~ label,
.gt-field textarea:not(:placeholder-shown) ~ label {
  top: 0.4rem;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
}
.gt-field.invalid input, .gt-field.invalid textarea, .gt-field.invalid select { border-color: var(--signal-red); }
.gt-field.invalid label, .gt-field.invalid .gt-static-label { color: var(--signal-red); }
.gt-field-error { display: block; min-height: 1.1em; font-size: 0.76rem; color: var(--signal-red); margin-top: 0.3rem; }
.gt-static-label {
  font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--navy); display: block; margin-bottom: 0.4rem;
}
.gt-field select {
  width: 100%; padding: 0.75rem 0.9rem; border: 1px solid var(--steel-300);
  border-radius: var(--radius); background: var(--white); font-family: var(--font-body);
  font-size: 1rem; color: var(--ink);
}
.gt-field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(57, 76, 117, 0.12); }

.gt-modal-footer { margin-top: 0.4rem; }
.gt-status { font-size: 0.85rem; margin: 0 0 0.9rem; color: var(--signal-red); }
.gt-submit-btn { position: relative; overflow: hidden; width: 100%; justify-content: center; background: linear-gradient(135deg, var(--amber), var(--amber-deep)); border: none; }
.gt-submit-btn:hover { background: linear-gradient(135deg, var(--amber-deep), var(--amber)); }
.gt-submit-btn:disabled { cursor: progress; opacity: 0.85; }
.gt-submit-btn .gt-spinner {
  width: 15px; height: 15px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff;
  border-radius: 50%; animation: gtSpin 0.7s linear infinite;
}
.gt-submit-btn[hidden] { display: none; }
@keyframes gtSpin { to { transform: rotate(360deg); } }
.gt-ripple {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.55);
  transform: scale(0); animation: gtRipple 0.55s var(--ease); pointer-events: none;
}
@keyframes gtRipple { to { transform: scale(2.6); opacity: 0; } }

.gt-success { text-align: center; padding: 0.5rem 0.25rem; }
.gt-success-icon {
  width: 64px; height: 64px; margin: 0 auto 1.1rem; border-radius: 50%;
  background: var(--signal-green); color: #fff; display: flex; align-items: center; justify-content: center;
  animation: gtPop 0.45s var(--ease);
}
@keyframes gtPop {
  0% { transform: scale(0.4); opacity: 0; }
  70% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}
.gt-success h2 { font-size: var(--step-2); color: var(--navy-deep); margin-bottom: 0.7rem; }
.gt-success p { color: var(--navy); max-width: 38ch; margin: 0 auto 1.4rem; }

@media (max-width: 560px) {
  .gt-modal-panel { margin: 0; width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; }
}

body.gt-modal-locked { overflow: hidden; }

/* ---------- FAQ accordion (native <details>, no JS required) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 0.3rem 1.4rem;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy-deep);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--amber);
  transition: transform 0.2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--navy); font-size: 0.94rem; margin: 0 0 1.2rem; max-width: 68ch; }
