/* ============================================================
   TESIM ELECTRIC — design system v3 "private power"
   Dark, atmospheric, metallic. TeraWulf structure (floating nav,
   split heads, rounded cards, pills) on deep navy-charcoal gradients
   with gold metallic accents, gradient borders, glass, and grain.
   ============================================================ */

@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/spacegrotesk-var.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/jakarta-var.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* brand */
  --black: #070A0F;
  --ink: #0B0F16;            /* page base */
  --ink-2: #10151E;          /* band */
  --surface: #141A25;        /* card top tone */
  --surface-2: #0E131C;      /* card bottom tone */
  --navy: #F2F5F9;           /* (legacy name) primary text — light on dark */
  --text: #F2F5F9;
  --slate: #B9C3D2;          /* body copy */
  --muted: #8D99AB;          /* secondary */
  --gold: #C9A25C;
  --gold-hi: #EBCE93;
  --gold-deep: #8F6D35;
  --silver: #B9C0C8;
  --line: rgba(255, 255, 255, .08);
  --line-gold: rgba(201, 162, 92, .35);
  /* metallic gradients */
  --grad-gold: linear-gradient(135deg, #EBCE93 0%, #D3AC66 38%, #A87F3D 72%, #C9A25C 100%);
  --grad-gold-soft: linear-gradient(135deg, rgba(235,206,147,.9), rgba(168,127,61,.9));
  --grad-card: linear-gradient(165deg, var(--surface) 0%, var(--surface-2) 100%);
  --grad-border: linear-gradient(160deg, rgba(201,162,92,.5) 0%, rgba(255,255,255,.10) 35%, rgba(255,255,255,.03) 70%, rgba(201,162,92,.18) 100%);
  --grad-border-soft: linear-gradient(160deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.05) 40%, rgba(255,255,255,.02) 100%);
  /* legacy aliases (inline page styles) */
  --steel: #8D99AB;
  --steel-2: #B9C3D2;
  --paper: #F2F5F9;
  --ink-3: #141A25;
  --volt: #C9A25C;
  --volt-dim: rgba(201, 162, 92, .55);
  --volt-ghost: rgba(201, 162, 92, .1);
  --bg-soft: #10151E;
  --card: #141A25;
  /* type + layout */
  --display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --r-lg: 4px;   /* squared, drafted geometry — was 22px */
  --r-md: 3px;
  --r-btn: 2px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  background:
    radial-gradient(90rem 60rem at 85% -10%, rgba(201, 162, 92, .07), transparent 60%),
    radial-gradient(70rem 50rem at -15% 30%, rgba(90, 110, 140, .08), transparent 55%),
    linear-gradient(180deg, #0C1119 0%, #0B0F16 40%, #090D13 100%);
  background-attachment: fixed;
  color: var(--slate);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain — kills flatness */
body::before {
  content: '';
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 1;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter><rect width="180" height="180" filter="url(%23n)"/></svg>');
  opacity: .035;
}
main, .site-footer, .site-nav { position: relative; z-index: 2; }

::selection { background: var(--gold); color: #10151D; }

img, video { max-width: 100%; display: block; }
a { color: inherit; }
p a { text-decoration-color: var(--gold); text-underline-offset: 3px; }
p a:hover { color: var(--gold-hi); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--gold); color: #10151D; padding: 10px 18px; border-radius: 2px; font-weight: 700; }
.skip-link:focus { left: 12px; top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 880px; }

/* ---------------- Typography ---------------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.015em; line-height: 1.06; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.18rem; font-weight: 600; }
.lede { font-size: clamp(1.12rem, 1.8vw, 1.38rem); line-height: 1.55; color: var(--text); font-weight: 500; max-width: 64ch; font-family: var(--display); }
p { max-width: 72ch; }
.note { font-size: .76rem; color: var(--muted); letter-spacing: .04em; margin: 10px 0 26px; }

.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
  display: inline-block;
}

/* split section head */
.split-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px 64px; align-items: end; margin-bottom: 44px; }
.split-head .sh-left .eyebrow { display: inline-block; }
.split-head .sh-right { padding-bottom: 6px; }
.split-head .sh-right p { font-size: .95rem; color: var(--muted); }
.split-head .sh-right .btn { margin-top: 18px; }

/* ---------------- Buttons: squared, matte-metallic, crisp ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; margin: 0 12px 12px 0;
  font-family: var(--body); font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--r-btn);
  position: relative;
  background: linear-gradient(var(--surface), var(--surface-2)) padding-box, var(--grad-border) border-box;
  border: 1px solid transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color .25s, color .25s, background .25s, transform .25s;
}
.btn::after { content: '\2192'; font-family: var(--display); font-size: 1em; transition: transform .22s; }
.btn:hover { color: var(--gold-hi); }
.btn:hover::after { transform: translateX(3px); }
.btn-solid {
  background: var(--grad-gold);
  color: #10151D;
  border: 1px solid rgba(120, 90, 40, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42);
}
.btn-solid:hover { color: #070A0F; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .52), 0 5px 20px rgba(201, 162, 92, .22); }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .24);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); background: rgba(201, 162, 92, .05); }

/* ---------------- Floating nav: dark glass ---------------- */
.site-nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.nav-inner {
  max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-card {
  pointer-events: auto;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(rgba(14, 19, 28, .82), rgba(11, 15, 22, .82)) padding-box, var(--grad-border-soft) border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 6px;
  padding: 8px 14px 8px 12px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .45);
  transition: box-shadow .3s;
}
.site-nav.is-solid .nav-card { box-shadow: 0 14px 44px rgba(0, 0, 0, .6); }
.brand { text-decoration: none; display: block; margin-right: 8px; }

.logo-nav-svg { display: block; height: 34px; width: auto; }
@media (max-width: 860px) { .logo-nav-svg { height: 30px; } }
.logo-lockup { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { display: block; flex: none; }
.logo-words { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--display); font-weight: 700; letter-spacing: .26em; font-size: 1.05rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #E8ECF1 45%, #B7C0CA 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-indent: .26em;
}
.logo-division {
  display: flex; align-items: center; gap: 6px;
  font-size: .5rem; font-weight: 700; letter-spacing: .34em; text-transform: uppercase;
  text-indent: .34em; margin-top: 5px;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-division i { display: block; width: 12px; height: 1px; background: var(--gold); opacity: .8; }

.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-item > a {
  display: block; padding: 9px 12px; white-space: nowrap;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--slate); border-radius: 2px;
  transition: color .2s, background .2s;
}
.nav-item > a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-item.is-active > a { color: #fff; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }

.has-menu { position: relative; }
.nav-menu {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 300px;
  background: linear-gradient(rgba(16, 21, 30, .97), rgba(11, 15, 22, .97)) padding-box, var(--grad-border-soft) border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(16px);
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  list-style: none; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-menu:hover .nav-menu, .has-menu:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { display: block; padding: 10px 14px; font-size: .86rem; font-weight: 600; text-decoration: none; color: var(--slate); border-radius: 10px; }
.nav-menu a:hover, .nav-menu a[aria-current] { color: var(--gold-hi); background: rgba(201, 162, 92, .08); }

.nav-cta-pill {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--grad-gold);
  color: #10151D;
  padding: 15px 26px; border-radius: var(--r-btn);
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(120, 90, 40, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42);
  transition: box-shadow .25s, transform .25s;
}
.nav-cta-pill::before { content: '+'; font-family: var(--display); font-size: 1.05em; font-weight: 500; }
.nav-cta-pill:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .52), 0 6px 22px rgba(201, 162, 92, .24); transform: translateY(-1px); }

.nav-toggle { display: none; }

/* ---------------- Hero ---------------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: hero-settle 8s ease-out forwards;
}
@keyframes hero-settle { from { transform: scale(1.05); } to { transform: scale(1); } }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60rem 30rem at 20% 100%, rgba(201, 162, 92, .16), transparent 60%),
    linear-gradient(to top, rgba(9, 13, 19, .97) 4%, rgba(9, 13, 19, .5) 45%, rgba(9, 13, 19, .3) 100%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding: 150px 0 76px; }
.hero h1 { margin: 6px 0 18px; color: #fff; }
.hero h1 .line { display: block; }
.hero-sub { font-size: clamp(1rem, 1.5vw, 1.15rem); color: #C4CDD8; max-width: 54ch; margin-bottom: 32px; }

/* ---------------- Sections ---------------- */
.section { padding: clamp(70px, 8.5vw, 120px) 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0) 30%), var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section h2 { margin-bottom: 18px; }
.section-dark, .cta-band {
  background:
    radial-gradient(110% 130% at 50% 120%, rgba(201, 162, 92, .16), transparent 55%),
    linear-gradient(180deg, #0A0E15, #070A0F);
  border-top: 1px solid var(--line);
}
.section-dark h2, .cta-band h2 { color: #fff; }
.section-dark p, .cta-band p { color: var(--slate); }

/* gold horizon divider */
.volt-divider { height: 24px; margin: 0 auto; max-width: var(--wrap); padding: 0 var(--gutter); }
.volt-divider svg { width: 100%; height: 100%; }
.volt-path {
  stroke: url(#voltgrad) var(--gold); stroke: var(--gold); stroke-width: 1.5; opacity: .55;
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
}
.volt-divider.in-view .volt-path { animation: volt-draw 1.4s ease-out forwards; }
@keyframes volt-draw { to { stroke-dashoffset: 0; } }

/* ---------------- Reveal motion ---------------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .55s ease-out, transform .55s ease-out;
  transition-delay: var(--stagger, 0ms);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ---------------- Stat band: gradient card, metallic numbers ---------------- */
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--grad-card) padding-box, var(--grad-border) border-box;
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
  margin: 40px 0 0;
}
.stat { padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(4n) { border-right: 0; }
.stat:nth-last-child(-n+4) { border-bottom: 0; }
.stat-num {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem); letter-spacing: -.015em; line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-unit { font-size: .46em; margin-left: 6px; font-weight: 700; letter-spacing: .06em; }
.stat-label { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 12px; }
.stat-band-sm .stat { padding: 24px 22px; }
.stat-band-sm .stat-num { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }

/* ---------------- Sector cards ---------------- */
.sector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
.sector-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .sector-grid.cols-3 { grid-template-columns: 1fr; } }
.sector-card {
  position: relative; display: block; text-decoration: none;
  border-radius: var(--r-lg);
  background: var(--grad-card) padding-box, var(--grad-border) border-box;
  border: 1px solid transparent;
  overflow: hidden; min-height: 380px;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.sector-card:hover { transform: translateY(-5px); box-shadow: 0 34px 80px rgba(0, 0, 0, .55), 0 0 40px rgba(201, 162, 92, .08); }
.sector-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .8; transition: opacity .45s, transform .8s ease-out;
  border-radius: inherit;
}
.sector-card:hover img { opacity: .95; transform: scale(1.035); }
.sector-card::after {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(40rem 16rem at 15% 105%, rgba(201, 162, 92, .18), transparent 60%),
    linear-gradient(to top, rgba(7, 10, 15, .94) 10%, rgba(7, 10, 15, .12) 60%);
}
.sector-card .sc-body { position: absolute; z-index: 1; bottom: 0; left: 0; right: 0; padding: 28px; }
.sector-card h3 { color: #fff; font-size: 1.5rem; }
.sector-card .sc-tag {
  font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block; margin-top: 10px;
}
.sector-card .sc-arrow {
  position: absolute; top: 18px; right: 18px; z-index: 1;
  width: 38px; height: 38px; border-radius: 2px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  font-family: var(--display);
  transition: background .25s, color .25s, transform .25s;
}
.sector-card:hover .sc-arrow { background: var(--grad-gold); color: #10151D; transform: translate(2px, -2px); }

.scanlines::before { content: none; }

/* ---------------- Services rows (alternating copy / media) ---------------- */
.svc-row { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.section-alt .svc-row { direction: rtl; }
.section-alt .svc-row > * { direction: ltr; }
.svc-copy .lede { margin: 12px 0 16px; }
.svc-media { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--grad-card) padding-box, var(--grad-border) border-box; border: 1px solid transparent; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block; }
@media (max-width: 860px) {
  .svc-row, .section-alt .svc-row { grid-template-columns: 1fr; direction: ltr; gap: 26px; }
  .svc-media { order: -1; }
}

/* ---------------- Platform / divisions ---------------- */
.division-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 14px; }
.division-tab {
  flex: 1 1 200px; padding: 15px 20px; cursor: pointer;
  background: linear-gradient(var(--surface), var(--surface-2)) padding-box, var(--grad-border-soft) border-box;
  border: 1px solid transparent; border-radius: 2px;
  font-family: var(--body); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); text-align: center; transition: color .2s, box-shadow .2s;
}
.division-tab:hover { color: #fff; }
.division-tab[aria-selected="true"] {
  color: #10151D;
  background: var(--grad-gold) padding-box, var(--grad-gold) border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 26px rgba(201, 162, 92, .22);
}
.division-panel {
  background: var(--grad-card) padding-box, var(--grad-border-soft) border-box;
  border: 1px solid transparent;
  border-radius: var(--r-lg); padding: 38px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.division-panel[hidden] { display: none; }
.division-panel h3 { font-size: 1.4rem; color: #fff; }
.division-panel .d-tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block; margin: 8px 0 14px;
}

/* ---------------- Projects ---------------- */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; margin-top: 30px; }
.project-card {
  background: var(--grad-card) padding-box, var(--grad-border-soft) border-box;
  border: 1px solid transparent;
  border-radius: var(--r-lg); padding: 30px;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 28px 66px rgba(0, 0, 0, .5), 0 0 34px rgba(201, 162, 92, .07); }
.pc-scope {
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block; margin-bottom: 10px;
}
.pc-code { font-size: 1.22rem; margin-bottom: 16px; color: #fff; }
.pc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-bottom: 16px; }
.pc-meta dt { font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pc-meta dd { font-size: .9rem; color: var(--slate); font-weight: 600; }
.pc-meta a { color: var(--slate); }
.pc-detail { font-size: .88rem; color: var(--muted); }

/* ---------------- Chips ---------------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 10px; }
.chips li {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 2px; color: var(--slate);
}

/* ---------------- Expandables ---------------- */
details {
  background: var(--grad-card) padding-box, var(--grad-border-soft) border-box;
  border: 1px solid transparent;
  border-radius: var(--r-md); margin-bottom: 10px; overflow: hidden;
}
details summary {
  cursor: pointer; list-style: none; padding: 19px 56px 19px 24px; position: relative;
  font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--text);
  transition: color .2s;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 2px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: var(--slate); font-size: 1rem;
  transition: transform .25s, background .25s, color .25s;
}
details[open] summary::after { content: '–'; background: var(--grad-gold); color: #10151D; }
details summary:hover { color: var(--gold-hi); }
.exp-body, .faq-a { padding: 0 24px 22px; }
.faq-list h2 { margin-bottom: 28px; }

/* ---------------- Page hero (interior) ---------------- */
.page-hero { position: relative; padding: 175px 0 70px; overflow: hidden; background: var(--ink); }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(50rem 20rem at 12% 110%, rgba(201, 162, 92, .14), transparent 60%),
    linear-gradient(to top, rgba(9, 13, 19, .96) 8%, rgba(9, 13, 19, .5) 70%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero.no-media {
  background:
    radial-gradient(80rem 46rem at 85% -30%, rgba(201, 162, 92, .14), transparent 60%),
    radial-gradient(60rem 40rem at -10% 120%, rgba(90, 110, 140, .1), transparent 55%),
    linear-gradient(180deg, #10151E, #0B0F16);
  border-bottom: 1px solid var(--line);
}

.sub-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 15, 22, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.sub-nav .wrap { display: flex; gap: 4px; overflow-x: auto; }
.sub-nav a {
  padding: 14px 16px; text-decoration: none; white-space: nowrap;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.sub-nav a:hover { color: var(--gold-hi); }

/* ---------------- CTA band ---------------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; }
.cta-texture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; pointer-events: none; filter: sepia(1) hue-rotate(-15deg) saturate(2.2); }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band .volt-divider { padding: 0; margin-bottom: 40px; }
.cta-sub { margin: 16px 0 30px; }

/* ---------------- Footer ---------------- */
.site-footer {
  position: relative;
  background:
    radial-gradient(70rem 30rem at 50% -10%, rgba(201, 162, 92, .08), transparent 60%),
    linear-gradient(180deg, #10161F 0%, #070A0F 100%);
  padding: 78px 0 36px; color: var(--slate);
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 92, .55), transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; }
.footer-h {
  display: inline-block;
  font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); border: 1px solid rgba(255,255,255,.14); border-radius: 6px;
  padding: 5px 10px; margin-bottom: 18px;
}
.footer-links { list-style: none; }
.footer-links a { display: block; padding: 5px 0; text-decoration: none; color: var(--slate); font-size: .92rem; }
.footer-links a:hover { color: var(--gold-hi); }

.logo-full { width: 210px; height: auto; display: block; }
.logo-stacked { display: inline-flex; flex-direction: column; align-items: center; text-align: center; }
.logo-stacked-name {
  font-family: var(--display); font-weight: 700; font-size: 1.7rem; letter-spacing: .3em; margin: 14px 0 8px; text-indent: .3em;
  background: linear-gradient(180deg, #FFFFFF 0%, #E8ECF1 45%, #B7C0CA 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-stacked-division {
  display: flex; align-items: center; gap: 12px;
  font-size: .66rem; font-weight: 700; letter-spacing: .5em; text-indent: .1em;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-stacked-division i { display: block; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.logo-stacked-division i:last-child { background: linear-gradient(90deg, var(--gold), transparent); }

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-tag { font-size: .76rem; color: var(--muted); margin: 16px 0 10px; letter-spacing: .08em; }
.footer-parent { font-size: .82rem; color: var(--slate); margin: 0 0 16px; letter-spacing: .02em; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--slate); text-decoration: none; transition: color .2s; }
.footer-social:hover { color: var(--gold-hi); }
.footer-social svg { flex: none; }
.footer-parent strong { color: #E4E9EF; font-weight: 700; }
.footer-parent-link { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(201, 162, 92, .35); transition: border-color .2s, color .2s; }
.footer-parent-link:hover { border-bottom-color: var(--gold); }
.footer-parent-link:hover strong { color: var(--gold-hi); }

/* ---- Lead form: honeypot + status ---- */
/* Hidden from people, still reachable by bots that parse the DOM. Not
   display:none — some bots skip those. Never make this visible. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.form-status.is-ok { color: var(--gold-hi); }
.form-status.is-warn { color: #E8B4B4; }

/* ---- TESIM LLC parent hub — division cards ---- */
.division-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 26px; }
.division-card { display: block; padding: 24px 22px; border: 1px solid var(--line); border-radius: 3px; background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)); text-decoration: none; color: inherit; transition: border-color .2s, background .2s, transform .2s; }
.division-card.is-link:hover { border-color: var(--gold); background: rgba(201, 162, 92, .05); transform: translateY(-2px); }
.division-card.is-current { border-color: rgba(201, 162, 92, .4); }
.division-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.division-head h3 { margin: 0; font-size: 1.05rem; }
.division-badge { flex: none; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: 4px 8px; border-radius: 2px; border: 1px solid var(--line); color: var(--muted); }
.division-badge.is-here { border-color: rgba(201, 162, 92, .5); color: var(--gold-hi); }
.division-badge.is-active { border-color: rgba(201, 162, 92, .5); color: var(--gold); }
.division-badge.is-forming { color: var(--muted); opacity: .8; }
.division-lead { font-size: .9rem; color: #E4E9EF; margin: 0 0 8px; font-weight: 600; }
.division-body { font-size: .86rem; color: var(--muted); margin: 0; line-height: 1.6; }
.division-go { display: inline-block; margin-top: 14px; font-size: .78rem; letter-spacing: .06em; font-weight: 700; color: var(--gold); }
.division-go.is-muted { color: var(--muted); }
.footer-divisions { list-style: none; font-size: .88rem; color: var(--muted); }
.footer-divisions li { padding: 3px 0; }
.footer-divisions strong { color: #E4E9EF; font-weight: 600; }
.footer-nap { font-style: normal; color: var(--slate); font-size: .92rem; line-height: 1.85; }
.footer-nap a { color: var(--slate); text-decoration: none; }
.footer-nap a:hover { color: var(--gold-hi); }
.footer-area { font-size: .78rem; color: var(--muted); margin-top: 14px; }
.footer-creds { display: flex; flex-wrap: wrap; gap: 10px; margin: 48px 0 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.cred { font-size: .66rem; font-weight: 600; letter-spacing: .06em; padding: 7px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 2px; color: var(--muted); }
.cred-future { opacity: .5; border-style: dashed; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-legal p { font-size: .76rem; color: var(--muted); }
.updated { letter-spacing: .04em; }

/* ---------------- Careers split ---------------- */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.panel {
  background: var(--grad-card) padding-box, var(--grad-border-soft) border-box;
  border: 1px solid transparent;
  border-radius: var(--r-lg); padding: 36px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
}
.panel h3 { font-size: 1.3rem; margin-bottom: 12px; color: #fff; }
.panel p { font-size: .95rem; }
.panel .btn { margin-top: 20px; }

/* ---------------- Tables ---------------- */
.table-scroll {
  overflow-x: auto; margin: 26px 0;
  border-radius: var(--r-md);
  background: var(--grad-card) padding-box, var(--grad-border-soft) border-box;
  border: 1px solid transparent;
}
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .9rem; }
th { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, .03); }
td { color: var(--slate); }
tbody tr:last-child td { border-bottom: 0; }

/* ---------------- Forms ---------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
input, select, textarea {
  width: 100%; padding: 13px 16px; font: inherit; color: var(--text);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: #5C687A; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 92, .18); }
select option { background: #141A25; color: var(--text); }

/* ---------------- Media figures ---------------- */
.media-fig {
  border-radius: var(--r-lg); overflow: hidden; margin: 34px 0;
  background: var(--grad-card) padding-box, var(--grad-border-soft) border-box;
  border: 1px solid transparent;
}
.media-fig figcaption { font-size: .72rem; color: var(--muted); padding: 12px 16px; border-top: 1px solid var(--line); letter-spacing: .04em; }

/* ---------------- Insights ---------------- */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; margin-top: 36px; }
.post-card {
  background: var(--grad-card) padding-box, var(--grad-border-soft) border-box;
  border: 1px solid transparent;
  border-radius: var(--r-lg); padding: 32px; text-decoration: none; display: block; cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 28px 66px rgba(0, 0, 0, .5), 0 0 34px rgba(201, 162, 92, .07); }
.post-card time {
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
}
.post-card h3 { margin: 12px 0 10px; font-size: 1.18rem; color: #fff; }
.post-card p { font-size: .88rem; color: var(--muted); }
.article-body { max-width: 760px; }
.article-body h2 { font-size: 1.5rem; margin: 44px 0 16px; }
.article-body p { margin-bottom: 18px; }
.article-meta { font-size: .74rem; font-weight: 600; color: var(--muted); letter-spacing: .06em; margin: 18px 0 40px; }

/* ---------------- Electric cursor canvas (gold) ---------------- */
#arc-cursor { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
@media (hover: none), (pointer: coarse) { #arc-cursor { display: none; } }

/* ---------------- Leadership ---------------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin-top: 36px; }
.person {
  background: var(--grad-card) padding-box, var(--grad-border-soft) border-box;
  border: 1px solid transparent;
  border-radius: var(--r-lg); padding: 30px;
}
.person h3 { font-size: 1.05rem; color: #fff; }
.person .role {
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block; margin: 8px 0 14px;
}
.person p { font-size: .88rem; color: var(--muted); }

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media video, .hero-media img { animation: none; }
  .volt-path { stroke-dashoffset: 0; animation: none; }
  #arc-cursor { display: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1180px) {
  .nav-item > a { font-size: .66rem; padding: 9px 8px; letter-spacing: .06em; }
}
@media (max-width: 1020px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(4n) { border-right: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .split-head { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 860px) {
  .sector-grid, .split-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .nav-cta-pill { display: none; }
  .nav-toggle {
    display: block; background: none; border: 0; padding: 10px;
    width: 44px; height: 40px; cursor: pointer; position: relative; z-index: 60; border-radius: 10px;
  }
  .nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-card { flex: 1; justify-content: space-between; }
  .brand { position: relative; z-index: 60; }
  .nav-list {
    position: fixed; inset: 0; padding: 100px var(--gutter) 40px;
    background: linear-gradient(180deg, #10151E, #0B0F16);
    flex-direction: column; align-items: flex-start; gap: 2px;
    overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav-list.is-open { opacity: 1; visibility: visible; }
  .nav-item > a { font-size: 1rem; padding: 12px 0; letter-spacing: .06em; color: var(--text); }
  .nav-item.is-active > a { box-shadow: none; color: var(--gold-hi); }
  .nav-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; border: 0; padding: 0 0 8px 18px; min-width: 0; backdrop-filter: none; }
  .nav-menu a { padding: 8px 0; color: var(--muted); }
  .hero { min-height: 84vh; }
  .division-tabs { flex-direction: column; }
}
@media (max-width: 560px) {
  .stat-band { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .stat:last-child { border-bottom: 0 !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .pc-meta { grid-template-columns: 1fr; }
}
