/* =====================================================================
   EMMA Aerospace Consulting LLP — styles.css
   Vanilla CSS, no frameworks, no build step.
   Design: modern aerospace/institutional, deep-space palette,
   restrained steel-blue + muted-gold accents, serif headlines,
   clean sans body, CSS-only animation/texture (no image files).
   --------------------------------------------------------------------
   Sections:
     1. Design tokens
     2. Base / reset / typography
     3. Utilities (container, reveal, gradient text)
     4. Header / navigation
     5. Hero + animated starfield/orbit backdrop
     6. Metrics band
     7. Cards (about / services / leadership / standards)
     8. Trusted-by + contact
     9. Footer
    10. Cookie banner
    11. Focus states + responsive breakpoints
    12. Reduced-motion overrides
   ===================================================================== */

/* ----------------------------- 1. Tokens ----------------------------- */
:root {
  --bg: #070b14;
  --bg-soft: #0d1524;
  --surface: #111b2f;
  --surface-2: #0b1323;
  --text: #edf2ff;
  --text-muted: #aebbd6;
  --accent: #6f86a9;          /* steel blue */
  --accent-strong: #9fb6da;   /* brighter steel blue */
  --gold: #c8a86a;            /* muted gold */
  --border: #25324a;
  --border-soft: rgba(159, 182, 218, 0.14);
  --shadow: 0 1.4rem 3rem rgba(3, 6, 14, 0.55);
  --shadow-soft: 0 0.5rem 1.4rem rgba(4, 8, 18, 0.4);
  --max-width: 1140px;
  --header-height: 4.75rem;
  --radius: 1rem;
  --radius-sm: 0.55rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 12% -10%, rgba(31, 56, 102, 0.55), transparent 55%),
    radial-gradient(ellipse at 95% 0%, rgba(40, 36, 70, 0.4), transparent 45%);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
.wordmark-text,
.footer-wordmark {
  font-family: Georgia, "Times New Roman", "Nimbus Roman", serif;
  line-height: 1.18;
  letter-spacing: 0.01em;
  font-weight: 600;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

/* ---------------------------- 3. Utilities --------------------------- */
.container {
  width: min(var(--max-width), calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(15, 26, 47, 0.65), rgba(9, 15, 28, 0.9));
  border-block: 1px solid var(--border-soft);
}

.section-header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 46rem;
}

.section-header h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
}

.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.kicker::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.lead-copy {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 1.05rem;
}

.text-gradient {
  background: linear-gradient(100deg, var(--accent-strong) 0%, var(--gold) 55%, var(--accent-strong) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 7s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 220% center;
  }
}

/* Scroll-reveal: elements rise + fade in when observed by JS */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children within a grid for a refined cascade */
.services-grid .reveal.is-visible,
.about-grid .reveal.is-visible,
.capability-ledger .reveal.is-visible,
.standards-grid .reveal.is-visible,
.metrics-grid .reveal.is-visible {
  transition-delay: 0.05s;
}
.reveal:nth-child(2).is-visible { transition-delay: 0.12s; }
.reveal:nth-child(3).is-visible { transition-delay: 0.19s; }
.reveal:nth-child(4).is-visible { transition-delay: 0.26s; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent-strong), var(--gold));
  z-index: 1000;
  pointer-events: none;
}

.skip-link {
  position: fixed;
  left: 0.75rem;
  top: -3.5rem;
  background: var(--accent-strong);
  color: #0a1220;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 1100;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0.75rem;
}

/* --------------------------- 4. Header / nav -------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  min-height: var(--header-height);
  background: rgba(6, 10, 19, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(6, 10, 19, 0.92);
  border-bottom-color: var(--border-soft);
  box-shadow: 0 0.6rem 1.6rem rgba(3, 6, 14, 0.45);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1rem;
}

.wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

/* Faint Tsiolkovsky rocket-equation watermark behind the brand lockup.
   Decorative only (aria-hidden); the mark and text sit above it. */
.wordmark-eq {
  position: absolute;
  left: 0.1rem;
  top: 50%;
  z-index: 0;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: var(--gold);
  opacity: 0.16;
  pointer-events: none;
}

.wordmark-eq sub {
  font-size: 0.72em;
}

.wordmark-mark,
.wordmark-text {
  position: relative;
  z-index: 1;
}

.wordmark-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.6rem;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #0a1220;
  background: linear-gradient(135deg, var(--accent-strong), var(--gold));
  box-shadow: 0 0.3rem 0.9rem rgba(159, 182, 218, 0.35);
}

.wordmark-text {
  font-size: clamp(0.98rem, 1.6vw, 1.2rem);
  letter-spacing: 0.02em;
}

.wordmark-text span {
  color: var(--text-muted);
  font-weight: 400;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.32rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  width: 2.75rem;
  height: 2.6rem;
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}

.menu-toggle:hover {
  border-color: var(--accent);
}

.menu-toggle-bar {
  width: 1.2rem;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  transform: translateY(0.42rem) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  transform: translateY(-0.42rem) rotate(-45deg);
}

.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--header-height) - 1px);
  background: rgba(8, 13, 25, 0.98);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: none;
  flex-direction: column;
  padding: 0.85rem 1.25rem 1.1rem;
  gap: 0.35rem;
}

.site-nav.is-open {
  display: flex;
  animation: navDrop 0.35s var(--ease);
}

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

.nav-link {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.5rem 0.2rem;
  transition: color 0.2s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  bottom: 0.25rem;
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent-strong), var(--gold));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link-cta {
  color: var(--text);
}

/* ----------------------- 5. Hero + space backdrop -------------------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 760px);
  display: flex;
  align-items: center;
  padding-top: clamp(5rem, 10vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Starfields: tiny radial-gradient "stars" tiled and slowly drifting */
.stars {
  position: absolute;
  inset: -50%;
  background-repeat: repeat;
}

.stars-far {
  background-image: radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 90px 120px, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 160px 70px, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 230px 180px, rgba(255, 255, 255, 0.4), transparent);
  background-size: 260px 260px;
  opacity: 0.5;
  animation: drift 140s linear infinite;
}

.stars-mid {
  background-image: radial-gradient(1.4px 1.4px at 40px 60px, rgba(200, 220, 255, 0.85), transparent),
    radial-gradient(1.4px 1.4px at 130px 10px, rgba(200, 220, 255, 0.7), transparent),
    radial-gradient(1.6px 1.6px at 80px 160px, rgba(255, 255, 255, 0.8), transparent);
  background-size: 200px 200px;
  opacity: 0.55;
  animation: drift 90s linear infinite, twinkle 6s ease-in-out infinite;
}

.stars-near {
  background-image: radial-gradient(2px 2px at 60px 50px, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(2.2px 2.2px at 180px 140px, rgba(200, 168, 106, 0.7), transparent);
  background-size: 320px 320px;
  opacity: 0.7;
  animation: drift 60s linear infinite;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-120px, -80px, 0); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

/* Faint orbital rings */
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(159, 182, 218, 0.12);
  top: 50%;
  left: 70%;
}

.orbit-1 {
  width: 38rem;
  height: 38rem;
  margin: -19rem 0 0 -19rem;
  animation: spin 50s linear infinite;
}

.orbit-1::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 2px rgba(200, 168, 106, 0.7);
}

.orbit-2 {
  width: 56rem;
  height: 56rem;
  margin: -28rem 0 0 -28rem;
  border-color: rgba(159, 182, 218, 0.07);
  animation: spin 90s linear infinite reverse;
}

.orbit-2::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 10px 2px rgba(159, 182, 218, 0.7);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 45rem;
  height: 45rem;
  background: radial-gradient(circle, rgba(111, 134, 169, 0.22), transparent 60%);
  filter: blur(20px);
  animation: pulse 9s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.06); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(159, 182, 218, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 182, 218, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 50rem;
}

.eyebrow-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(200, 168, 106, 0.6);
  animation: ping 2.6s ease-out infinite;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(200, 168, 106, 0.55); }
  70%, 100% { box-shadow: 0 0 0 0.6rem rgba(200, 168, 106, 0); }
}

.hero h1 {
  margin: 1rem 0 1.1rem;
  font-size: clamp(2.2rem, 6.4vw, 4.1rem);
}

.hero-subhead {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  max-width: 44rem;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #0a1220;
  box-shadow: 0 0.6rem 1.4rem rgba(111, 134, 169, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0.9rem 1.9rem rgba(111, 134, 169, 0.45);
}

.btn-arrow {
  transition: transform 0.25s var(--ease);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary {
  background: rgba(159, 182, 218, 0.06);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--accent-strong);
  transform: translateY(-2px);
}

.standards-row {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.standards-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-right: 0.4rem;
}

.standard-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  color: var(--text);
  background: rgba(12, 20, 37, 0.7);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.standard-chip:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll-mouse {
  display: block;
  width: 1.5rem;
  height: 2.5rem;
  border: 1.5px solid var(--border);
  border-radius: 1rem;
  position: relative;
}

.hero-scroll-mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.45rem;
  width: 3px;
  height: 0.5rem;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--accent-strong);
  animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(0.7rem); }
}

/* ---------------------------- 6. Metrics band ------------------------ */
.metrics-band {
  border-block: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(13, 21, 36, 0.7), rgba(9, 15, 28, 0.7));
  padding: clamp(2.2rem, 4vw, 3rem) 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
  text-align: center;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.metric-value {
  font-family: Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-strong), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.metric-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* ------------------------------- 7. Cards ---------------------------- */
.about-grid,
.services-grid,
.standards-grid {
  display: grid;
  gap: 1.15rem;
}

.info-card,
.service-card,
.standard-item,
.contact-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 28, 49, 0.92), rgba(10, 17, 32, 0.92));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

/* Subtle top accent line that brightens on hover */
.info-card::before,
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-strong), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.info-card:hover,
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.info-card:hover::before,
.service-card:hover::before {
  opacity: 1;
}

.info-card,
.service-card,
.contact-card {
  padding: 1.6rem 1.4rem;
}

.info-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1rem;
  border-radius: 0.7rem;
  font-size: 1.3rem;
  color: var(--accent-strong);
  background: rgba(159, 182, 218, 0.1);
  border: 1px solid var(--border-soft);
}

.info-card h3,
.service-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.3rem;
}

.info-card p {
  margin: 0;
  color: var(--text-muted);
}

.service-number {
  margin: 0 0 0.8rem;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-strong), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.service-card ul {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
}

.service-card li {
  position: relative;
  padding-left: 1.4rem;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.service-card li + li {
  margin-top: 0.55rem;
}

/* Leadership — an editorial "track-record ledger" (full-width rows with large
   gradient numerals and hairline dividers), deliberately distinct from the
   boxed Services card grid. */
.capability-ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.capability-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 0.6rem 1.6rem;
  padding: 1.7rem 0.25rem;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.35s var(--ease), background 0.35s var(--ease);
}

.capability-row:hover {
  padding-left: 1rem;
  background: linear-gradient(90deg, rgba(159, 182, 218, 0.06), transparent 70%);
}

.capability-num {
  font-family: Georgia, serif;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  min-width: 3.2rem;
  background: linear-gradient(135deg, var(--accent-strong), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.capability-detail h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  transition: color 0.35s var(--ease);
}

.capability-row:hover .capability-detail h3 {
  color: var(--accent-strong);
}

.capability-detail p {
  margin: 0;
  max-width: 52rem;
  color: var(--text-muted);
}

/* Standards grid */
.standards-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.standard-item {
  padding: 1.5rem 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.standard-item:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.standard-item-name {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.standard-item-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --------------------- 8. Trusted-by + contact ----------------------- */
.trusted-by {
  margin-top: 2.4rem;
  text-align: center;
}

.trusted-by h3 {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
}

.trusted-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.trusted-row span {
  background: rgba(159, 182, 218, 0.07);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
    background 0.25s var(--ease);
}

.trusted-row span:hover {
  border-color: var(--accent-strong);
  background: rgba(159, 182, 218, 0.13);
  transform: translateY(-2px);
}

.contact-card {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: grid;
  gap: 1.3rem;
  max-width: 40rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--border-soft);
}

.contact-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.contact-value {
  font-size: 1.15rem;
  color: var(--text);
}

.contact-value a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.contact-value a:hover {
  border-bottom-color: var(--gold);
}

/* ----------------------- 8b. Insights / featured article ------------- */
.insight-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 28, 49, 0.92), rgba(10, 17, 32, 0.92));
  box-shadow: var(--shadow-soft);
  padding: clamp(1.4rem, 3vw, 2rem);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.insight-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-strong), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.insight-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.insight-card:hover::before {
  opacity: 1;
}

.insight-card-body {
  flex: 1 1 22rem;
}

.insight-tag {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0a1220;
  background: linear-gradient(135deg, var(--accent-strong), var(--gold));
}

.insight-card-title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.insight-card-deck {
  margin: 0 0 1rem;
  max-width: 42rem;
  color: var(--text-muted);
}

.insight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.insight-meta .dot {
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
}

.insight-readmore {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.insight-card:hover .insight-readmore .btn-arrow {
  transform: translateX(4px);
}

/* ----------------------- 8c. Closing CTA band ------------------------ */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  text-align: center;
  border-top: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(15, 26, 47, 0.7), rgba(9, 15, 28, 0.92));
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.cta-glow {
  position: absolute;
  inset: -40% 0 auto 0;
  height: 80%;
  background: radial-gradient(60% 100% at 50% 0%, rgba(159, 182, 218, 0.22), transparent 70%);
  pointer-events: none;
  animation: pulse 9s ease-in-out infinite;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}

.cta-band .kicker {
  justify-content: center;
}

.cta-band .kicker::before {
  display: none;
}

.cta-band h2 {
  margin: 0.6rem 0 0;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.cta-lead {
  margin: 1rem auto 1.8rem;
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.cta-mail {
  font-size: 1.02rem;
}

.cta-mail:hover .btn-arrow {
  transform: translateX(4px);
}

/* ------------------------------ 9. Footer ---------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(8, 13, 25, 1), rgba(5, 9, 17, 1));
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-wordmark {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.footer-tagline,
.footer-motto {
  margin: 0;
  color: var(--gold);
  font-style: italic;
  letter-spacing: 0.04em;
}

.site-footer h3 {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  font-family: "Inter", sans-serif;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.5rem;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

.footer-legal {
  margin: 2.2rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.55;
  opacity: 0.85;
}

.footer-bottom {
  margin-top: 1.4rem;
  padding: 1.3rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

/* --------------------------- 10. Cookie banner ----------------------- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  background: rgba(8, 13, 25, 0.97);
  backdrop-filter: blur(10px);
  border-radius: 0.85rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: none;
}

.cookie-banner p {
  margin: 0;
  color: var(--text-muted);
  max-width: 44rem;
  font-size: 0.92rem;
}

/* --------------------- 11. Focus + responsive ------------------------ */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (min-width: 42rem) {
  .container {
    width: min(var(--max-width), calc(100% - 3.5rem));
  }

  .about-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .standards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.6fr repeat(3, 1fr);
  }
}

@media (min-width: 62rem) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: transparent;
    backdrop-filter: none;
    border: 0;
    padding: 0;
    gap: 1.6rem;
  }

  .about-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ----------------------- 12. Reduced motion -------------------------- */
@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
