/* ============================================================
   SPOCS — editorial.css
   InclusiveMinds-inspired: dark, typographic, minimal
   ============================================================ */

/* ---- global dark canvas ---- */
body {
  background: #081629;
  color: #ECF1F7;
}

/* override any remaining ivory/cream tones */
:root {
  --bg:   #081629;
  --bg-2: #0a1c32;
  --card: #0d2040;
  --line: rgba(255,255,255,0.09);
}

/* ============================================================
   NAV (editorial variant)
   ============================================================ */
.nav {
  top: 0;           /* no lang-bar offset — lang-bar removed from visual flow */
  background: rgba(8,22,41,0.96);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
          backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(200,164,77,0.14);
}
.nav.solid { background: rgba(8,22,41,0.98); }

/* lang-bar — keep visible, style to match dark theme */
#lang-bar {
  display: flex !important;
  background: #04101f !important;
  border-bottom: 1px solid rgba(200,164,77,0.15) !important;
  height: 36px !important;
  padding: 4px 16px !important;
}

/* nav sits below lang-bar */
.nav { top: 36px !important; }

/* nav-in height tighter */
.nav-in { height: 68px; }

/* ============================================================
   HERO — EDITORIAL FULL-VIEWPORT
   ============================================================ */
.hero-ed {
  position: relative;
  min-height: calc(100vh - 104px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(0,140,160,0.07), transparent 65%),
    radial-gradient(ellipse 50% 70% at 10% 80%, rgba(200,164,77,0.06), transparent 60%),
    #081629;
  overflow: hidden;
  margin-top: 104px;
}
.hero-ed-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-ed-bg .hgrid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(80% 70% at 55% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(80% 70% at 55% 40%, #000 30%, transparent 80%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-ed-bg .hgrid { animation: gridDrift 80s linear infinite; }
}

.hero-ed-in {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: flex-end;
  padding-top: 60px;
  padding-bottom: 80px;
}

/* eyebrow */
.hero-ed-eye {
  display: block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

/* headline */
.hero-ed-h1 {
  font-family: var(--ff-disp);
  font-size: clamp(52px, 6.5vw, 92px);
  line-height: 1.04;
  color: #ECF1F7;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero-ed-hl { color: var(--gold); }

/* subtext */
.hero-ed-sub {
  margin-top: 28px;
  max-width: 560px;
  font-size: 16.5px;
  line-height: 1.72;
  color: rgba(236,241,247,0.62);
}

/* cta row */
.hero-ed-cta {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-ed-line {
  background: transparent;
  color: rgba(236,241,247,0.70);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 3px;
  padding: 17px 28px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .22s, color .22s;
  text-decoration: none;
}
.btn-ed-line:hover { border-color: var(--gold); color: var(--gold); }

/* right meta column */
.hero-ed-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid rgba(200,164,77,0.22);
  padding-left: 36px;
  align-self: flex-end;
  padding-bottom: 4px;
}
.hem-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hem-item:last-child { border-bottom: none; }
.hem-label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(200,164,77,0.6);
  margin-bottom: 5px;
}
.hem-val {
  display: block;
  font-size: 13.5px;
  color: rgba(236,241,247,0.75);
  line-height: 1.45;
}

/* scroll indicator */
.hero-ed-scroll {
  position: absolute;
  bottom: 30px;
  left: var(--gut, 44px);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(236,241,247,0.28);
}
.hed-line {
  display: block;
  width: 48px;
  height: 1px;
  background: rgba(200,164,77,0.35);
}

/* ============================================================
   SHARED EDITORIAL SECTION
   ============================================================ */
.ed-sec {
  padding: 72px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.ed-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}
.ed-sec-head h2 {
  font-family: var(--ff-disp);
  font-size: clamp(28px, 3.2vw, 46px);
  color: #ECF1F7;
  line-height: 1.12;
}

.ed-eye {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  white-space: nowrap;
  flex: none;
  align-self: flex-start;
  padding-top: 8px;
}

/* ============================================================
   WHAT WE DO — SERVICE ROWS
   ============================================================ */
.svc-sec { background: #081629; }

.svc-rows { margin-top: 0; }

.svc-row {
  display: grid;
  grid-template-columns: 56px 64px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  transition: background .22s ease, padding-left .22s ease;
  cursor: default;
}
.svc-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.svc-row:hover {
  background: rgba(200,164,77,0.04);
  padding-left: 16px;
  padding-right: 16px;
  margin-left: -16px;
  margin-right: -16px;
}

.svc-n {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(200,164,77,0.55);
  flex: none;
}

.svc-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(200,164,77,0.07);
  border: 1px solid rgba(200,164,77,0.18);
  display: grid;
  place-items: center;
  flex: none;
  color: rgba(200,164,77,0.75);
  transition: background .22s ease, border-color .22s ease, color .22s ease;
}
.svc-icon svg { width: 28px; height: 28px; }
.svc-row:hover .svc-icon {
  background: rgba(200,164,77,0.13);
  border-color: rgba(200,164,77,0.45);
  color: var(--gold);
}

.svc-body h3 {
  font-family: var(--ff-disp);
  font-size: clamp(18px, 1.9vw, 24px);
  color: #ECF1F7;
  line-height: 1.2;
  margin-bottom: 4px;
  transition: color .22s;
}
.svc-row:hover .svc-body h3 { color: var(--gold); }

.svc-body p {
  font-size: 14px;
  color: rgba(236,241,247,0.45);
  line-height: 1.6;
  max-width: 580px;
}

.svc-arrow {
  font-size: 18px;
  color: rgba(200,164,77,0);
  transition: color .22s, transform .22s;
  flex: none;
}
.svc-row:hover .svc-arrow {
  color: var(--gold);
  transform: translateX(4px);
}

/* ============================================================
   STRATEGIC VALUE
   ============================================================ */
.val-sec {
  background: #0c1e38;
}

.val-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.val-top-left .ed-eye { margin-bottom: 14px; }
.val-top-left h2 {
  font-family: var(--ff-disp);
  font-size: clamp(26px, 2.8vw, 40px);
  color: #ECF1F7;
  line-height: 1.15;
}
.val-intro {
  font-size: 15.5px;
  line-height: 1.72;
  color: rgba(236,241,247,0.55);
  padding-top: 8px;
  align-self: center;
}

.val-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
}

.val-item {
  padding: 28px 26px 30px;
  background: rgba(255,255,255,0.02);
  position: relative;
  transition: background .22s ease;
  cursor: default;
}
.val-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.val-item:hover { background: rgba(255,255,255,0.05); }
.val-item:hover::before { transform: scaleX(1); }

.val-item h4 {
  font-family: var(--ff-disp);
  font-size: 17px;
  color: #ECF1F7;
  margin-bottom: 8px;
  line-height: 1.28;
}
.val-item p {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(236,241,247,0.48);
}

.val-item-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background: rgba(200,164,77,0.04);
  border: 1px solid rgba(200,164,77,0.18) !important;
}
.val-cta-text {
  font-family: var(--ff-disp);
  font-size: 15px;
  color: rgba(236,241,247,0.70);
  line-height: 1.45;
}

/* ============================================================
   BUILT FOR DECISION MAKERS
   ============================================================ */
.makers-ed-sec { background: #081629; }

.makers-ed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 0;
}

.maker-ed {
  padding: 30px 28px 32px;
  background: #081629;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: background .22s ease;
  cursor: default;
}
.maker-ed::after {
  content: "";
  position: absolute;
  bottom: 0; left: 28px; right: 28px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.maker-ed:hover { background: rgba(200,164,77,0.05); }
.maker-ed:hover::after { transform: scaleX(1); }

.maker-ed-n {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(200,164,77,0.5);
  margin-bottom: 6px;
}
.maker-ed h3 {
  font-family: var(--ff-disp);
  font-size: 19px;
  color: #ECF1F7;
  line-height: 1.25;
}
.maker-ed span {
  font-size: 13px;
  color: rgba(236,241,247,0.45);
  line-height: 1.5;
}

/* CTA strip below makers grid */
.ed-cta-strip {
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 36px 40px;
  background: rgba(200,164,77,0.06);
  border: 1px solid rgba(200,164,77,0.18);
  border-top: 2px solid rgba(200,164,77,0.4);
}
.ed-cta-h {
  font-family: var(--ff-disp);
  font-size: clamp(19px, 2.1vw, 27px);
  color: #ECF1F7;
  line-height: 1.28;
  text-wrap: balance;
  max-width: 520px;
}
.ed-cta-p {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(236,241,247,0.50);
  line-height: 1.6;
}

/* ============================================================
   CAREERS
   ============================================================ */
.careers-sec { background: #0c1e38; }

.careers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
}

.career-item {
  padding: 28px 26px 30px;
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: background .22s ease;
}
.career-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.career-item:hover { background: rgba(255,255,255,0.05); }
.career-item:hover::before { transform: scaleX(1); }

.career-item h4 {
  font-family: var(--ff-disp);
  font-size: 19px;
  color: #ECF1F7;
  line-height: 1.28;
  margin-bottom: 6px;
}
.career-type {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(200,164,77,0.65);
  margin-bottom: 14px;
}
.career-item p {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(236,241,247,0.48);
  flex: 1;
}
.career-apply {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: gap .22s;
}
.career-apply .arrow { transition: transform .22s; }
.career-apply:hover .arrow { transform: translateX(4px); }

.careers-note {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236,241,247,0.28);
}
.careers-note svg { width: 13px; height: 13px; color: var(--gold); flex: none; }

@media (max-width: 900px) {
  .careers-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .careers-grid { grid-template-columns: 1fr; }
  .career-item { padding: 22px 20px 24px; }
}

/* ============================================================
   CONSULTATION FORM — ensure dark bg matches
   ============================================================ */
.consult {
  background: linear-gradient(160deg, #081629 0%, #0d2040 100%);
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* ============================================================
   FOOTER dark override
   ============================================================ */
.foot { background: #04101f; }
.foot-bot { border-top-color: rgba(255,255,255,0.07); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-ed-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-ed-meta {
    flex-direction: row;
    border-left: none;
    border-top: 1px solid rgba(200,164,77,0.22);
    padding-left: 0;
    padding-top: 24px;
    gap: 40px;
  }
  .hem-item { padding: 0 0 0 0; border-bottom: none; border-right: 1px solid rgba(255,255,255,0.07); padding-right: 40px; }
  .hem-item:last-child { border-right: none; }
  .val-grid { grid-template-columns: repeat(2, 1fr); }
  .makers-ed-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .val-top { grid-template-columns: 1fr; gap: 20px; }
  .ed-sec-head { flex-direction: column; gap: 8px; }
  .val-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  #lang-bar { height: auto !important; }
  .nav { top: auto !important; position: sticky; }
  .hero-ed { min-height: auto; padding: 60px 0 50px; margin-top: 0; }
  .hero-ed-in { padding-top: 20px; padding-bottom: 40px; }
  .hero-ed-h1 { font-size: clamp(40px, 10vw, 64px); }
  .hero-ed-meta { flex-direction: column; gap: 0; }
  .hem-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); padding-right: 0; padding: 12px 0; }
  .hero-ed-scroll { display: none; }
  .svc-row { grid-template-columns: 40px 44px 1fr; gap: 16px; }
  .svc-icon { width: 44px; height: 44px; border-radius: 9px; }
  .svc-icon svg { width: 22px; height: 22px; }
  .svc-arrow { display: none; }
  .svc-row:hover { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .val-grid { grid-template-columns: 1fr; }
  .val-item-cta { border: 1px solid rgba(200,164,77,0.18); }
  .makers-ed-grid { grid-template-columns: 1fr; }
  .ed-cta-strip { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px 22px; }
}
