:root {
  --brand: #171d35;
  --bg: #171d35;
  --bg-2: #111526;
  --bg-3: #0b0e1b;
  --surface: #1e2541;
  --surface-2: #262f52;
  --surface-3: #2f3964;
  --border: rgba(255, 255, 255, 0.08); /* Smoother, premium borders */
  --border-2: rgba(255, 255, 255, 0.16);
  --text: #eef2f8;
  --text-2: #aeb9cd;
  --text-3: #78849b;
  --accent: #5a9efc;
  --accent-2: #89bafd;
  --white: #ffffff;
  --ok: #5bbe86;
  --danger: #e4695c;
  --font-head: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --maxw: 1220px;
  --radius: 4px;
  --radius-lg: 8px;
  --ring: 0 0 0 3px rgba(90, 158, 252, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1); /* More luxurious, weighty easing */
}
html[lang="th"] {
  --font-head: "Noto Sans Thai", sans-serif;
  --font-body: "Noto Sans Thai", sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0;
  overflow-wrap: break-word;
}
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg,
picture {
  display: block;
  max-width: 100%;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 28px;
}
@media (max-width: 600px) {
  .container {
    padding-inline: 20px;
  }
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--white);
  color: var(--brand);
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius);
  transition: top 0.3s;
}
.skip:focus {
  top: 16px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.grid-item-fix {
  min-width: 0;
}

/* Base / English eyebrow */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 16px; /* Increased by 1 size from the original 12px */
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

/* Thai-specific eyebrow override */
html[lang="th"] .eyebrow {
  font-size: 18px; /* Increased by 2 sizes from the original 12px */
}
/* buttons */
.btn {
  --bg: var(--white);
  --fg: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  min-height: 50px;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bg);
  cursor: pointer;
  transition:
    transform 0.3s var(--ease),
    background 0.3s,
    border-color 0.3s,
    color 0.3s,
    box-shadow 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  background: #e4eaf6;
  border-color: #e4eaf6;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -6px rgba(255, 255, 255, 0.2);
}
.btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.btn--ghost {
  --bg: transparent;
  --fg: var(--white);
  border-color: var(--border-2);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -6px rgba(255, 255, 255, 0.1);
}
.btn svg {
  width: 18px;
  height: 18px;
}

/* header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition:
    background 0.4s var(--ease),
    border-color 0.4s,
    backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(17, 21, 38, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  height: 30px;
  width: auto;
}
.brand-shield {
  display: none;
}
@media (max-width: 600px) {
  .brand img {
    height: 26px;
  }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  padding: 10px 15px;
  border-radius: var(--radius);
  transition:
    color 0.3s,
    background 0.3s;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--border);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--font-mono);
}
.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 8px 11px;
  min-height: 40px;
  transition:
    color 0.3s,
    background 0.3s;
}
.lang a:hover {
  color: var(--text);
}
.lang a.lang-current {
  background: var(--white);
  color: var(--brand);
  cursor: default;
}
.lang a.lang-current:hover {
  color: var(--brand);
}
.burger {
  display: none;
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition:
    background 0.3s,
    border-color 0.3s;
}
.burger:hover {
  background: rgba(255, 255, 255, 0.05);
}
.burger svg {
  width: 22px;
  height: 22px;
}
.mobile-menu {
  position: fixed;
  inset: 74px 0 0 0;
  z-index: 99;
  background: rgba(17, 21, 38, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
  padding: 32px 24px;
  overflow-y: auto;
}
.mobile-menu.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.mobile-menu a {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  color: var(--text);
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.mobile-menu.open a {
  opacity: 1;
  transform: none;
}
.mobile-menu.open a:nth-child(1) {
  transition-delay: 0.05s;
}
.mobile-menu.open a:nth-child(2) {
  transition-delay: 0.1s;
}
.mobile-menu.open a:nth-child(3) {
  transition-delay: 0.15s;
}
.mobile-menu.open a:nth-child(4) {
  transition-delay: 0.2s;
}
.mobile-menu.open .btn {
  transition-delay: 0.25s;
  opacity: 1;
  transform: none;
}
.mobile-menu .btn {
  width: 100%;
  margin-top: 24px;
}
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
}
@media (max-width: 560px) {
  .nav-actions .btn {
    display: none;
  }
  .nav {
    gap: 12px;
  }
}
@media (max-width: 420px) {
  .brand-lockup {
    display: none;
  }
  .brand-shield {
    display: block;
    height: 28px;
  }
  .nav {
    gap: 8px;
  }
  .nav-actions {
    gap: 8px;
  }
  .lang a {
    padding: 8px 9px;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: clamp(600px, 92vh, 940px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 150px 84px;
}
.hero .eyebrow {
  display: block;
  margin-bottom: 22px;
  font-weight: bold;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.hero h1 {
  font-size: clamp(34px, 6.4vw, 74px);
  font-weight: 800;
  letter-spacing: -0.025em;
  max-width: 16ch;
  margin-bottom: 22px;
  text-shadow:
    0 4px 30px rgba(0, 0, 0, 0.6),
    0 1px 4px rgba(0, 0, 0, 0.8);
}
.hero h1 .hl {
  color: var(--accent);
}
.hero .lede {
  font-size: clamp(16px, 2vw, 20px);
  color: #d5deec;
  max-width: 56ch;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.emblem-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, var(--surface-2) 0%, var(--bg-3) 100%);
}

#heroEmblem {
  width: clamp(250px, 40vw, 450px);
  filter: drop-shadow(0 24px 48px rgba(90, 158, 252, 0.4));
  opacity: 0.95;
}

/* sections & transitions */
.section {
  padding: clamp(80px, 10vw, 130px) 0;
  position: relative;
}
.section--tint {
  background: var(--bg-2);
}
.section--deep {
  background: var(--bg-3);
}

/* Elegant gradient divider at the top of tinted sections */
.section--tint::before,
.section--deep::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(90, 158, 252, 0.25), transparent);
}

.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head .eyebrow {
  display: block;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 20px;
}
.section-head p {
  color: var(--text-2);
  font-size: 17.5px;
}

/* values */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 30px);
  margin-top: 48px;
}
@media (max-width: 820px) {
  .values {
    grid-template-columns: 1fr;
  }
}
.value {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(30, 37, 65, 0.6) 0%, rgba(17, 21, 38, 0.8) 100%);
  backdrop-filter: blur(10px);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  min-width: 0;
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.value:hover {
  transform: translateY(-8px);
  border-color: rgba(90, 158, 252, 0.3);
  box-shadow:
    0 24px 48px -12px rgba(0, 0, 0, 0.5),
    0 12px 24px -6px rgba(90, 158, 252, 0.15);
}
.value .letter {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.06;
  position: absolute;
  top: 24px;
  right: 28px;
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.value:hover .letter {
  opacity: 0.2;
  transform: scale(1.1) rotate(5deg);
}
.value .tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.value h3 {
  font-size: 22px;
  margin: 12px 0 14px;
}
.value p {
  color: var(--text-2);
  font-size: 15.5px;
}

/* vision/mission */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 30px);
}
@media (max-width: 820px) {
  .vm-grid {
    grid-template-columns: 1fr;
  }
}
.vm {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  background: linear-gradient(145deg, rgba(30, 37, 65, 0.6) 0%, rgba(17, 21, 38, 0.8) 100%);
  min-width: 0;
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.vm:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}
.vm .ico {
  width: 42px;
  height: 42px;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0.9;
}
.vm h3 {
  font-size: 22px;
  margin-bottom: 16px;
}
.vm p {
  color: var(--text-2);
  font-size: 17px;
}

/* vision/mission & newsroom: animated dot-grid background */
#vision-mission,
#news {
  isolation: isolate;
}
#vision-mission .container,
#news .container {
  position: relative;
  z-index: 1;
}
.vm-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}
@media (prefers-reduced-motion: reduce) {
  .vm-bg-canvas {
    display: none;
  }
}

/* principles */
.prin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 30px);
}
@media (max-width: 820px) {
  .prin-grid {
    grid-template-columns: 1fr;
  }
}
.prin {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  background: linear-gradient(145deg, rgba(30, 37, 65, 0.6) 0%, rgba(17, 21, 38, 0.8) 100%);
  transition:
    border-color 0.4s var(--ease),
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
  min-width: 0;
}
.prin:hover {
  border-color: rgba(90, 158, 252, 0.3);
  transform: translateY(-8px);
  box-shadow:
    0 24px 48px -12px rgba(0, 0, 0, 0.5),
    0 12px 24px -6px rgba(90, 158, 252, 0.15);
}
.prin .ico {
  width: 38px;
  height: 38px;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.9;
}
.prin h4 {
  font-size: 19px;
  margin-bottom: 12px;
}
.prin p {
  color: var(--text-2);
  font-size: 15px;
}

/* capability image tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 30px);
}
@media (max-width: 920px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .tiles {
    grid-template-columns: 1fr;
  }
}
.tile {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  border: 1px solid var(--border);
  min-width: 0;
  isolation: isolate;
  transition:
    border-color 0.4s var(--ease),
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.tile:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow:
    0 24px 48px -12px rgba(0, 0, 0, 0.6),
    0 12px 24px -6px rgba(90, 158, 252, 0.2);
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    0deg,
    rgba(11, 14, 27, 0.98) 5%,
    rgba(17, 21, 38, 0.65) 45%,
    rgba(23, 29, 53, 0.2) 100%
  );
  transition: background 0.4s var(--ease);
}
.tile:hover img {
  transform: scale(1.08);
}
.tile:hover::after {
  background: linear-gradient(
    0deg,
    rgba(11, 14, 27, 0.98) 5%,
    rgba(23, 29, 53, 0.7) 50%,
    rgba(23, 29, 53, 0.3) 100%
  );
}
.tile-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 28px;
}
.tile .idx {
  position: absolute;
  top: 24px;
  left: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.16em;
  font-weight: 500;
}
.tile h3 {
  font-size: 21px;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tile h3 .arw {
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
  color: var(--accent);
}
.tile:hover h3 .arw {
  opacity: 1;
  transform: none;
}
.tile h3 svg {
  width: 20px;
  height: 20px;
}
.tile p {
  color: #c4cddd;
  font-size: 14.5px;
  max-width: 40ch;
  line-height: 1.6;
}

/* newsroom */
/* Creates a row with 3 equal columns */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; /* Adjust this value to change the spacing between cards */
  align-items: stretch; /* Ensures all cards are the same height */
}

/* Optional: Make it responsive so it stacks on mobile devices */
@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr; /* Stacks the cards into a single column on small screens */
  }
}
@media (max-width: 620px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}
.news-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(30, 37, 65, 0.4) 0%, rgba(17, 21, 38, 0.8) 100%);
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
  min-width: 0;
}
.news-card:hover {
  transform: translateY(-8px);
  border-color: rgba(90, 158, 252, 0.3);
  box-shadow:
    0 24px 48px -12px rgba(0, 0, 0, 0.5),
    0 12px 24px -6px rgba(90, 158, 252, 0.15);
}
.news-media {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.news-card:hover .news-media img {
  transform: scale(1.06);
}
.news-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.news-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  gap: 14px;
  font-weight: 500;
}
.news-meta .date {
  color: var(--text-3);
}
.news-card h3 {
  font-size: 20px;
  line-height: 1.35;
}
.news-card .excerpt {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

/* trust bar */
.trust {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  position: relative;
}
.trust::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(90, 158, 252, 0.15), transparent);
}
.trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
}
.trust-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 4vw, 40px);
  align-items: stretch;
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
}
@media (max-width: 760px) {
  .trust-logos {
    grid-template-columns: repeat(2, 1fr);
  }
}
.trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background: linear-gradient(180deg, rgba(30, 37, 65, 0.4) 0%, rgba(17, 21, 38, 0.8) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  min-width: 0;
  min-height: 172px;
  transition:
    border-color 0.4s var(--ease),
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.trust-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.4);
}
.trust-card img {
  height: 60px;
  width: auto;
  max-width: 100%;
  margin-bottom: 16px;
  opacity: 0.85;
  object-fit: contain;
  transition:
    opacity 0.4s,
    transform 0.4s var(--ease);
}
.trust-card:hover img {
  transform: scale(1.05);
}
.trust-card span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--text-2);
  text-transform: uppercase;
  line-height: 1.2;
  min-height: 2.4em;
  display: flex;
  align-items: flex-start;
  transition: color 0.3s;
}
.trust-card:hover span {
  color: var(--text);
}

/* cta */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}
.cta-band .inner {
  padding: clamp(72px, 10vw, 120px) 0;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 820px) {
  .cta-band .inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.cta-band h2 {
  font-size: clamp(30px, 4.5vw, 44px);
  margin-top: 16px;
}
.cta-band p {
  color: var(--text-2);
  margin-top: 16px;
  max-width: 48ch;
  font-size: 17px;
}
.cta-band .actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 820px) {
  .cta-band .actions {
    justify-content: flex-start;
  }
}
.cta-band .btn--ghost {
  --fg: var(--text);
  border-color: var(--border-2);
}
.cta-band .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
.contact-info {
  min-width: 0;
}
.contact-info .eyebrow {
  display: block;
  margin-bottom: 16px;
}
.contact-info .row {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info .row:first-of-type {
  border-top: 1px solid var(--border);
}
.contact-info .ico {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.9;
}
.contact-info .k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
}
.contact-info .v {
  color: var(--text);
  font-size: 16.5px;
  margin-top: 6px;
}
.contact-info .v a {
  transition: color 0.3s;
}
.contact-info .v a:hover {
  color: var(--accent);
}
.form {
  background: linear-gradient(145deg, rgba(30, 37, 65, 0.4) 0%, rgba(17, 21, 38, 0.7) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  min-width: 0;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.3);
}
.field {
  margin-bottom: 24px;
}
.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 10px;
}
.field label .req {
  color: var(--accent);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(17, 21, 38, 0.6);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 14px 16px;
  min-height: 52px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}
.field textarea {
  resize: vertical;
  min-height: 140px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: rgba(17, 21, 38, 0.9);
  outline: none;
  box-shadow: 0 0 0 3px rgba(90, 158, 252, 0.15);
}
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: var(--danger);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 520px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}
.field .err {
  color: var(--danger);
  font-size: 13.5px;
  margin-top: 8px;
  display: none;
  font-weight: 500;
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(228, 105, 92, 0.15);
}
.field.invalid .err {
  display: block;
}
.form .btn {
  width: 100%;
  margin-top: 8px;
}
.form-note {
  font-size: 13.5px;
  color: var(--text-3);
  margin-top: 16px;
  text-align: center;
}
.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(91, 190, 134, 0.12);
  border: 1px solid rgba(91, 190, 134, 0.4);
  color: var(--ok);
  font-size: 15.5px;
  margin-bottom: 16px;
  font-weight: 500;
}
.form-success.show {
  display: block;
}
.form-error {
  display: none;
  text-align: center;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(228, 105, 92, 0.12);
  border: 1px solid rgba(228, 105, 92, 0.4);
  color: var(--danger);
  font-size: 15.5px;
  margin-bottom: 16px;
  font-weight: 500;
}
.form-error.show {
  display: block;
}
.form .btn[disabled] {
  opacity: 0.75;
  cursor: progress;
}
.form .btn .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(23, 29, 53, 0.35);
  border-top-color: var(--brand);
  animation: spin 0.7s linear infinite;
}
.form .btn[disabled] .spinner {
  display: inline-block;
}
.form .btn[disabled] .btn-label {
  opacity: 0.85;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* footer */
.footer {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}
@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer .brand img {
  height: 28px;
}
.footer h5 {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 20px;
  font-weight: 600;
}
.footer li {
  margin-bottom: 14px;
}
.footer a {
  color: var(--text-2);
  font-size: 15px;
  transition: color 0.3s;
}
.footer a:hover {
  color: var(--accent);
}
.footer .about {
  color: var(--text-2);
  font-size: 15px;
  max-width: 40ch;
  margin-top: 20px;
  line-height: 1.6;
}
.footer-bottom {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-bottom p {
  color: var(--text-3);
  font-size: 13.5px;
}
.footer-disclaimer {
  margin-top: 24px;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.7;
  max-width: 84ch;
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- utilities (consolidated from inline styles) ---------- */
.text-muted {
  color: var(--text-2);
}
.micro-note {
  color: var(--text-3);
  font-size: 13.5px;
  margin-top: 6px;
  display: block;
}
.footer-note {
  color: var(--text-2);
  font-size: 15px;
}

/* header: smaller "Contact Us" button in the nav bar */
.nav-actions .btn {
  min-height: 44px;
  padding: 11px 20px;
}

/* "Who We Are" intro line (icon + copy) */
.intro-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text-2);
  margin-top: 16px;
}
.intro-row svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* newsroom: certificate image is a clickable link */
.news-media a {
  display: block;
  width: 100%;
  height: 100%;
}
.corsight-thumb {
  object-position: center 22%;
}

/* contact section spacing, scoped to avoid affecting other h2/p */
.contact-info h2 {
  margin: 0 0 22px;
}
.contact-details {
  margin-top: 16px;
}

/* --- Vision & Mission Blockquote Styling --- */
.vm blockquote {
  position: relative;
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
  color: var(--text);
  margin: 0 0 1.25rem;
  padding: 2px 1.5rem 6px 1.25rem;
  border-left: 3px solid var(--accent);
}
.vm blockquote::before,
.vm blockquote::after {
  position: absolute;
  font-style: normal;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
}
.vm blockquote::before {
  content: "\201C";
  left: -6px;
  top: -22px;
  font-size: 3.2rem;
}
.vm blockquote::after {
  content: "\201D";
  right: 0;
  bottom: -14px;
  font-size: 3.2rem;
}

.vm p {
  line-height: 1.6;
}

.hero .lede {
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* honeypot field: visually hidden from sighted users, still present in the DOM for bots to fill in */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
