/* ==========================================================================
   About page — light theme + shared atmosphere with products/home
   Driven by html[data-theme="light"] on body.ta-about-route
   ========================================================================== */

body.ta-about-route {
  background-color: #0a141c !important;
  background-image: none !important;
  transition: background-color 0.45s ease;
  overflow-x: clip;
}

html[data-theme="light"] body.ta-about-route {
  background-color: #e8eef2 !important;
}

body.ta-about-route .ta-about {
  overflow-x: clip;
  overflow-y: visible;
  background: transparent !important;
}

body.ta-about-route .ta-page-net,
body.ta-about-route .ta-home-net {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

body.ta-about-route .ta-page-net canvas,
body.ta-about-route .ta-home-net canvas {
  display: block;
  width: 100%;
  height: 100%;
}

body.ta-about-route .ta-about,
body.ta-about-route .ta-footer {
  position: relative;
  z-index: 1;
}

body.ta-about-route #navbar.ta-header {
  position: fixed !important;
  z-index: 50 !important;
}

.ta-about-float {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ta-about-float__grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(95, 177, 115, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 177, 115, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 35%, #000 18%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 35%, #000 18%, transparent 78%);
}

html[data-theme="light"] .ta-about-float__grid {
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(0, 168, 69, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 69, 0.08) 1px, transparent 1px);
}

/* Dark glass panels over network */
body.ta-about-route .ta-about .alt,
body.ta-about-route .ta-about .record {
  background: rgba(6, 23, 31, 0.55) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body.ta-about-route .ta-about .cta,
body.ta-about-route .ta-about .person,
body.ta-about-route .ta-about .quote {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.ta-about-route .ta-about .sec.light {
  background: transparent !important;
}

/* Dark mode: undo cream-band styles on transparent .light */
html:not([data-theme="light"]) .ta-about .light h2,
html:not([data-theme="light"]) .ta-about .light h3 {
  color: #fff !important;
}
html:not([data-theme="light"]) .ta-about .light h2 em {
  color: var(--green) !important;
}
html:not([data-theme="light"]) .ta-about .light .eyebrow {
  color: var(--green) !important;
}
html:not([data-theme="light"]) .ta-about .light p,
html:not([data-theme="light"]) .ta-about .light .lead {
  color: var(--body) !important;
}
html:not([data-theme="light"]) .ta-about .light .card {
  background: var(--panel) !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
}
html:not([data-theme="light"]) .ta-about .light .tile {
  background: var(--mint) !important;
  border-color: var(--linelit) !important;
}
html:not([data-theme="light"]) .ta-about .light .tile svg {
  stroke: var(--green) !important;
}
html:not([data-theme="light"]) .ta-about .light .num {
  color: var(--green) !important;
}
html:not([data-theme="light"]) .ta-about .light .card h3 {
  color: #fff !important;
}

/* ---- Light mode tokens ---- */
html[data-theme="light"] .ta-about {
  --base: transparent;
  --base2: rgba(255, 255, 255, 0.55);
  --panel: rgba(255, 255, 255, 0.9);
  --panel2: #ffffff;
  --line: rgba(15, 49, 69, 0.12);
  --linelit: rgba(0, 168, 69, 0.32);
  --green: #00c853;
  --greensoft: #00e676;
  --greendeep: #00a845;
  --mint: rgba(0, 200, 83, 0.1);
  --white: #0a141c;
  --body: #3d4f59;
  --muted: #5a6b75;
  --light: transparent;
  color: var(--body);
  background: transparent !important;
}

html[data-theme="light"] .ta-about h1,
html[data-theme="light"] .ta-about h2,
html[data-theme="light"] .ta-about h3 {
  color: #0a141c;
}

html[data-theme="light"] .ta-about h1 em,
html[data-theme="light"] .ta-about h2 em {
  color: #00a845;
}

html[data-theme="light"] .ta-about .eyebrow {
  color: #00a845;
}

html[data-theme="light"] .ta-about .lead {
  color: #3d4f59;
}

html[data-theme="light"] .ta-about .sub {
  color: #5a6b75;
}

html[data-theme="light"] .ta-about .ghost {
  border-color: rgba(0, 168, 69, 0.45) !important;
  color: #0a141c !important;
  background: rgba(255, 255, 255, 0.7) !important;
}

html[data-theme="light"] .ta-about .ghost:hover {
  border-color: #00c853 !important;
  color: #06351c !important;
  background: rgba(0, 200, 83, 0.1) !important;
}

html[data-theme="light"] .ta-about .btn {
  color: #06351c !important;
  background: linear-gradient(180deg, #4ade80 0%, #00d166 42%, #00b85a 100%) !important;
  box-shadow:
    0 0 0 1px rgba(0, 209, 102, 0.2),
    0 0 22px rgba(0, 209, 102, 0.4),
    0 10px 24px rgba(0, 160, 80, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

html[data-theme="light"] .ta-about .btn:hover {
  background: linear-gradient(180deg, #1aff8c 0%, #00e676 100%) !important;
  box-shadow:
    0 0 30px rgba(0, 209, 102, 0.55),
    0 12px 28px rgba(0, 160, 80, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

html[data-theme="light"] .ta-about .tex::before {
  background:
    repeating-linear-gradient(90deg, rgba(0, 168, 69, 0.06) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(0, 168, 69, 0.06) 0 1px, transparent 1px 56px);
}

html[data-theme="light"] .ta-about .alt,
html[data-theme="light"] .ta-about .record {
  background: rgba(255, 255, 255, 0.42) !important;
  border-color: rgba(15, 49, 69, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

html[data-theme="light"] .ta-about .sec.light,
html[data-theme="light"] .ta-about .light {
  background: transparent !important;
}

html[data-theme="light"] .ta-about .light h2,
html[data-theme="light"] .ta-about .light h3 {
  color: #0a141c;
}

html[data-theme="light"] .ta-about .light h2 em {
  color: #00a845;
}

html[data-theme="light"] .ta-about .light .eyebrow {
  color: #00a845;
}

html[data-theme="light"] .ta-about .light p,
html[data-theme="light"] .ta-about .light .lead {
  color: #3d4f59;
}

html[data-theme="light"] .ta-about .record dd {
  color: #0a141c;
}

html[data-theme="light"] .ta-about .record dt {
  color: #5a6b75;
}

html[data-theme="light"] .ta-about .card,
html[data-theme="light"] .ta-about .person,
html[data-theme="light"] .ta-about .quote {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(15, 49, 69, 0.12) !important;
  box-shadow: 0 12px 32px rgba(15, 49, 69, 0.06);
}

html[data-theme="light"] .ta-about .card:hover,
html[data-theme="light"] .ta-about .person:hover {
  border-color: rgba(0, 168, 69, 0.4) !important;
  box-shadow: 0 18px 40px rgba(15, 49, 69, 0.1);
}

html[data-theme="light"] .ta-about .quote {
  border-left-color: #00c853 !important;
}

html[data-theme="light"] .ta-about .quote p {
  color: #3d4f59;
}

html[data-theme="light"] .ta-about .quote .sig,
html[data-theme="light"] .ta-about .group span {
  color: #5a6b75;
}

html[data-theme="light"] .ta-about .group {
  border-color: rgba(15, 49, 69, 0.12);
}

html[data-theme="light"] .ta-about .num {
  color: #00a845;
}

html[data-theme="light"] .ta-about .tile {
  background: rgba(0, 200, 83, 0.1);
  border-color: rgba(0, 168, 69, 0.32);
}

html[data-theme="light"] .ta-about .tile svg {
  stroke: #00a845;
}

html[data-theme="light"] .ta-about .role {
  color: #00a845;
}

html[data-theme="light"] .ta-about .pb h3 {
  color: #0a141c;
}

html[data-theme="light"] .ta-about .pb p {
  color: #3d4f59;
}

html[data-theme="light"] .ta-about .tags li {
  color: #3d4f59;
  background: rgba(0, 200, 83, 0.06);
  border-color: rgba(15, 49, 69, 0.1);
}

html[data-theme="light"] .ta-about .tags li.hi {
  background: #00c853;
  border-color: #00c853;
  color: #06351c;
}

html[data-theme="light"] .ta-about .plink,
html[data-theme="light"] .ta-about .about-team-card .plink {
  color: #3d4f59;
  border-color: rgba(15, 49, 69, 0.12);
}

html[data-theme="light"] .ta-about .plink:hover,
html[data-theme="light"] .ta-about .about-team-card:hover .plink {
  color: #00a845;
}

html[data-theme="light"] .ta-about .shot {
  background: #e8f0f3;
  border-color: rgba(15, 49, 69, 0.1);
}

html[data-theme="light"] .ta-about .cta {
  background: linear-gradient(155deg, #ffffff 0%, #f3faf5 48%, #e8f6ee 100%) !important;
  border-color: rgba(0, 200, 83, 0.32) !important;
  box-shadow:
    0 22px 56px rgba(15, 49, 69, 0.08),
    0 0 40px rgba(0, 200, 83, 0.08);
}

html[data-theme="light"] .ta-about .cta::before {
  background: radial-gradient(600px 280px at 94% 120%, rgba(0, 209, 102, 0.16), transparent 66%);
}

html[data-theme="light"] .ta-about .cta h2 {
  color: #0a141c;
}

html[data-theme="light"] .ta-about .cta p {
  color: #3d4f5a;
}

html[data-theme="light"] .ta-about .cta .ghost {
  border-color: rgba(0, 168, 69, 0.45) !important;
  color: #0a141c !important;
}

/* Modal in light mode */
html[data-theme="light"] .about-team-modal__backdrop {
  background: rgba(232, 238, 242, 0.82);
}

html[data-theme="light"] .about-team-modal__panel {
  background: #ffffff;
  border-color: rgba(0, 168, 69, 0.28);
  color: #3d4f59;
  box-shadow: 0 28px 80px -24px rgba(15, 49, 69, 0.28);
}

html[data-theme="light"] .about-team-modal__head {
  background: rgba(248, 251, 252, 0.95);
  border-color: rgba(15, 49, 69, 0.1);
}

html[data-theme="light"] .about-team-modal__close {
  border-color: rgba(15, 49, 69, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: #3d4f59;
}

html[data-theme="light"] .about-team-modal__close:hover {
  border-color: #00c853;
  color: #00a845;
}

html[data-theme="light"] .about-team-modal__intro h3 {
  color: #0a141c;
}

html[data-theme="light"] .about-team-modal__role {
  color: #00a845;
}

html[data-theme="light"] .about-team-modal__bio,
html[data-theme="light"] .about-team-modal__desc {
  color: #3d4f59;
}

html[data-theme="light"] .about-team-modal__block h4,
html[data-theme="light"] .about-team-modal__block ul:not(.about-team-modal__skills) strong {
  color: #0a141c;
}

html[data-theme="light"] .about-team-modal__contact a {
  color: #3d4f59;
  border-color: rgba(15, 49, 69, 0.12);
  background: rgba(0, 200, 83, 0.06);
}

html[data-theme="light"] .about-team-modal__contact a:hover {
  background: rgba(0, 200, 83, 0.14);
  color: #06351c;
}

/* Hero SVG in light mode */
html[data-theme="light"] .ta-about .hv rect[fill="#0A2029"],
html[data-theme="light"] .ta-about .hv2 rect[fill="#0A2029"] {
  fill: #ffffff !important;
}

html[data-theme="light"] .ta-about .hv text[fill="#fff"],
html[data-theme="light"] .ta-about .hv text[fill="#ffffff"],
html[data-theme="light"] .ta-about .hv2 text[fill="#fff"],
html[data-theme="light"] .ta-about .hv2 text[fill="#ffffff"] {
  fill: #0a141c !important;
}

html[data-theme="light"] .ta-about .hv text[fill="#6B8189"],
html[data-theme="light"] .ta-about .hv2 text[fill="#6B8189"],
html[data-theme="light"] .ta-about .hv2 text[fill="#9FB3B9"] {
  fill: #5a6b75 !important;
}
