/* ══════════════════════════════════════
   TOKENS: light theme built from logo
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Surfaces: white logo bleeds into these */
  --white:   #ffffff;
  --off:     #f6f7f9;      /* very light cool grey, hero bg */
  --soft:    #edf0f4;      /* slightly deeper for alternating sections */
  --panel:   #e4e8ee;      /* cards, borders */

  /* Ink: from logo's "LIUM" charcoal */
  --ink:     #2a2b2e;      /* primary text */
  --ink2:    #58595B;      /* secondary, exact logo grey */
  --ink3:    #8e9299;      /* muted / captions */
  --rule:    #d4d8de;      /* dividers */

  /* Accent: exact logo cyan */
  --cyan:    #29ABE2;
  --cyan-d:  #1a8bbf;
  --cyan-l:  #e8f6fd;      /* cyan tint for backgrounds */
  --cyan-mid:rgba(41,171,226,0.15);

  /* Typography */
  --serif:   'Playfair Display', Georgia, serif;
  --mono:    'DM Mono', monospace;
  --sans:    'Instrument Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--off);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 2px;
  z-index: 9999;
}

/* ══════════════════════════════════════
   CUSTOM CURSOR
══════════════════════════════════════ */
#cur-d, #cur-r {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
#cur-d {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
#cur-r {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(41,171,226,0.45);
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 76px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 64px;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 1px 20px rgba(41,171,226,0.06);
  overflow: hidden;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 36px; width: auto; max-width: 180px; display: block; }
.nav-r { display: flex; align-items: center; gap: 44px; }
.nav-links { list-style: none; display: flex; gap: 36px; }
.nav-links a {
  font-size: 13px; font-weight: 400; letter-spacing: .3px;
  color: var(--ink2); text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
  font-family: var(--mono); font-size: 11px; font-weight: 400;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--white); background: var(--cyan);
  padding: 10px 22px; border-radius: 2px; text-decoration: none;
  transition: background .2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--cyan-d); }
.nav-links a[aria-current="page"] { color: var(--cyan); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 2px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ══════════════════════════════════════
   MULTI-PAGE HERO + SECTIONS
══════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: 140px 0 86px;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.page-hero-split {
  display: grid;
  grid-template-columns: 55% 45%;
  padding: 0;
}
.page-hero-split .wrap {
  max-width: none;
  margin: 0;
  padding: 140px 80px 86px 64px;
  border-right: 1px solid var(--rule);
}
.page-hero-split .page-visual {
  position: relative;
  inset: auto;
  background: none;
  overflow: hidden;
}
.page-title {
  font-family: var(--serif);
  font-size: clamp(52px, 5.2vw, 78px);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -2px;
  margin-bottom: 22px;
  max-width: 980px;
}
.page-title em { font-style: italic; color: var(--cyan); }
.page-lede {
  font-size: 17px;
  font-weight: 300;
  color: var(--ink2);
  max-width: 620px;
  line-height: 1.9;
  padding-left: 20px;
  border-left: 2px solid var(--panel);
}
.page-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 30%, rgba(41,171,226,0.12) 0%, rgba(41,171,226,0) 54%),
    linear-gradient(rgba(41,171,226,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,171,226,0.06) 1px, transparent 1px);
  background-size: auto, 80px 80px, 80px 80px;
  opacity: .9;
}
.page-services .page-visual {
  background:
    radial-gradient(circle at 70% 32%, rgba(41,171,226,0.14) 0%, rgba(41,171,226,0) 52%),
    radial-gradient(circle at 82% 58%, rgba(41,171,226,0.08) 0%, rgba(41,171,226,0) 46%),
    linear-gradient(rgba(41,171,226,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,171,226,0.06) 1px, transparent 1px);
  background-size: auto, auto, 80px 80px, 80px 80px;
}
.page-approach .page-visual {
  background:
    radial-gradient(circle at 75% 35%, rgba(41,171,226,0.10) 0%, rgba(41,171,226,0) 55%),
    linear-gradient(135deg, rgba(41,171,226,0.05), rgba(255,255,255,0) 55%),
    linear-gradient(rgba(41,171,226,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,171,226,0.06) 1px, transparent 1px);
  background-size: auto, auto, 84px 84px, 84px 84px;
}
.page-outcomes .page-visual {
  background:
    radial-gradient(circle at 68% 34%, rgba(41,171,226,0.10) 0%, rgba(41,171,226,0) 56%),
    radial-gradient(circle at 85% 60%, rgba(41,171,226,0.06) 0%, rgba(41,171,226,0) 46%),
    linear-gradient(rgba(41,171,226,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,171,226,0.05) 1px, transparent 1px);
  background-size: auto, auto, 90px 90px, 90px 90px;
}
.page-section { padding: 90px 0; background: var(--white); }
.page-section-soft { background: var(--soft); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* Services page */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.svc-card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 34px 32px;
}
.svc-top { display:flex; justify-content:space-between; align-items:center; gap: 16px; margin-bottom: 14px; }
.svc-k { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); }
.svc-n { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--ink3); }
.svc-card h2 { font-family: var(--serif); font-size: 34px; letter-spacing: -0.8px; line-height: 1.1; margin-bottom: 14px; }
.svc-card p { color: var(--ink2); line-height: 1.9; margin-bottom: 16px; max-width: 86ch; }
.svc-card ul { margin-left: 18px; color: var(--ink2); line-height: 1.85; }
.svc-card li { margin-bottom: 6px; }
.svc-split { display:grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items:start; }
.svc-list { display:grid; gap: 12px; margin-bottom: 22px; }
.svc-li { padding: 14px 16px; border: 1px solid var(--rule); background: var(--white); color: var(--ink2); line-height: 1.75; }
.svc-li strong { color: var(--ink); font-weight: 500; }

/* Approach page */
.approach-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.approach-card { border: 1px solid var(--rule); background: var(--white); padding: 28px; }
.approach-k { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--cyan); margin-bottom: 12px; }
.approach-card h2 { font-family: var(--serif); font-size: 28px; letter-spacing: -0.6px; line-height: 1.15; margin-bottom: 10px; }
.approach-card p { color: var(--ink2); line-height: 1.85; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 55% 45%;
  background: var(--white);
  position: relative; overflow: hidden;
}

.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 80px 100px 64px;
  position: relative; z-index: 2;
  border-right: 1px solid var(--rule);
}

.hero-kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 10px; font-weight: 300;
  letter-spacing: 3px; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 44px;
  animation: up .8s .1s forwards;
  opacity: 0;
}
.hero-kicker::before { content:''; width:32px; height:1px; background:var(--cyan); }

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 5.2vw, 80px);
  font-weight: 900; line-height: .95; letter-spacing: -2px;
  color: var(--ink); margin-bottom: 36px;
  animation: up .8s .22s forwards;
  opacity: 0;
}
.hero h1 em { font-style: italic; color: var(--cyan); }

.hero-sub {
  font-size: 17px; font-weight: 300; color: var(--ink2);
  max-width: 400px; line-height: 1.8; margin-bottom: 52px;
  padding-left: 20px; border-left: 2px solid var(--panel);
  animation: up .8s .34s forwards;
  opacity: 0;
}

.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: up .8s .44s forwards;
  opacity: 0;
}
.btn-solid {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; background: var(--cyan);
  color: var(--white); padding: 14px 28px; border-radius: 2px;
  text-decoration: none; transition: background .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(41,171,226,0.25);
}
.btn-solid:hover { background: var(--cyan-d); box-shadow: 0 6px 28px rgba(41,171,226,0.35); }
.btn-line {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ink2);
  padding: 14px 28px; border-radius: 2px; text-decoration: none;
  border: 1px solid var(--rule); transition: border-color .2s, color .2s;
  display: flex; align-items: center; gap: 10px;
}
.btn-line:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-line svg { transition: transform .2s; }
.btn-line:hover svg { transform: translateX(4px); }
.btn-group { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Hero right: generative circuit scene */
.hero-right {
  position: relative; overflow: hidden;
  background: var(--off);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ══════════════════════════════════════
   DISCIPLINE STRIP
══════════════════════════════════════ */
.strip {
  display: flex;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--white);
}
.s-item {
  flex: 1; padding: 26px 44px;
  border-right: 1px solid var(--rule);
  display: flex; align-items: center; gap: 18px;
  transition: background .25s; cursor: default;
}
.s-item:last-child { border-right: none; }
.s-item:hover { background: var(--cyan-l); }
.s-num { display: none; }
.s-label { font-size: 13px; font-weight: 400; color: var(--ink2); letter-spacing: .3px; }
.s-arr { margin-left: auto; color: var(--rule); font-size: 16px; transition: color .25s, transform .25s; }
.s-item:hover .s-arr { color: var(--cyan); transform: translateX(4px); }

/* ══════════════════════════════════════
   CREDIBILITY
══════════════════════════════════════ */
#credibility {
  background: var(--white);
  padding: 105px 0 95px;
  border-bottom: 1px solid var(--rule);
}
.cred-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 44px;
}
.cred-head p {
  font-size: 16px;
  color: var(--ink2);
  line-height: 1.9;
}
.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--rule);
  background: var(--rule);
}
.cred-card {
  background: var(--white);
  padding: 34px 30px 32px;
}
.cred-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.cred-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.cred-card p {
  color: var(--ink2);
  font-size: 14px;
  line-height: 1.8;
}

/* ══════════════════════════════════════
   SHARED TYPOGRAPHY
══════════════════════════════════════ */
section { position: relative; z-index: 1; }
.wrap { max-width: 1260px; margin: 0 auto; padding: 0 64px; }

.eyebrow {
  font-family: var(--mono); font-size: 10px; font-weight: 300;
  letter-spacing: 3px; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content:''; width:24px; height:1px; background:var(--cyan); }

.sh2 {
  font-family: var(--serif);
  font-size: clamp(40px, 3.8vw, 58px);
  font-weight: 700; line-height: 1.05; letter-spacing: -1.5px;
  color: var(--ink); margin-bottom: 18px;
}
.sh2 em { font-style: italic; color: var(--cyan); }

/* ══════════════════════════════════════
   PILLARS
══════════════════════════════════════ */
#pillars { padding: 130px 0; background: var(--off); }

.pil-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; margin-bottom: 80px; align-items: end;
}
.pil-head-r { padding-bottom: 4px; }
.pil-head-r p { font-size: 16px; font-weight: 300; color: var(--ink2); line-height: 1.8; max-width: 400px; }

.pil-row {
  display: grid; grid-template-columns: 200px 1fr;
  border-top: 1px solid var(--rule);
  padding: 52px 0; gap: 40px; align-items: start;
  transition: background .2s;
  cursor: default;
}
.pil-row:last-child { border-bottom: 1px solid var(--rule); }
.pil-row:hover { background: var(--white); }
.pil-n { display: none; }
.pil-title {
  font-family: var(--serif); font-size: 34px; font-weight: 700;
  color: var(--ink); letter-spacing: -.5px; line-height: 1.1;
  min-width: 0;
}
.pil-title em { display: block; font-style: italic; color: var(--cyan); }
.pil-content { min-width: 0; }
.pil-body { font-size: 15px; font-weight: 400; color: var(--ink2); line-height: 1.85; margin-bottom: 26px; }
.ptags { display: flex; flex-wrap: wrap; gap: 8px; }
.ptag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .8px;
  color: var(--ink3); border: 1px solid var(--panel);
  padding: 4px 10px; border-radius: 2px;
  transition: border-color .2s, color .2s;
}
.pil-row:hover .ptag { border-color: var(--cyan-mid); color: var(--ink2); }

/* ══════════════════════════════════════
   ENGAGEMENTS
══════════════════════════════════════ */
#engagements {
  padding: 120px 0;
  background: var(--white);
}
.eng-head {
  margin-bottom: 40px;
}
.eng-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.eng-card {
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--white), var(--off));
  padding: 30px 26px;
}
.eng-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.18;
  margin-bottom: 10px;
}
.eng-card p {
  color: var(--ink2);
  line-height: 1.8;
  margin-bottom: 14px;
}
.eng-card ul {
  list-style: none;
}
.eng-card li {
  font-size: 13px;
  color: var(--ink2);
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}
.eng-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  position: absolute;
  left: 0;
  top: 7px;
}

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
#about {
  padding: 120px 0;
  background: var(--soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.abt-head {
  margin-bottom: 44px;
}
.abt-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-bottom: 64px;
}
.abt-body p {
  font-size: 17px;
  font-weight: 300;
  color: var(--ink2);
  line-height: 1.9;
}
.abt-clients {
  padding-top: 44px;
  border-top: 1px solid var(--rule);
  margin-bottom: 44px;
}
.abt-clients-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 0;
}
.abt-logos {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  border: 1px solid var(--rule);
  border-top: none;
}
.abt-logo {
  flex: 1;
  padding: 20px 16px;
  border-right: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  background: var(--white);
}
.abt-logo:last-child { border-right: none; }
.abt-logo img {
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 1;
  transition: opacity .2s;
  display: block;
}
.abt-logo:hover img { opacity: 0.85; }
.abt-logo.no-logo img { display: none; }
.abt-logo.no-logo::after {
  content: attr(data-company);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--ink3);
  letter-spacing: .2px;
  text-align: center;
  white-space: nowrap;
}
.abt-signals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.abt-sig {
  background: var(--white);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.abt-n {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.5px;
  line-height: 1;
}
.abt-l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink3);
}

/* ══════════════════════════════════════
   AI SECTION
══════════════════════════════════════ */
#ai {
  background: #1e2128;
  padding: 130px 0;
  position: relative; overflow: hidden;
}
/* subtle background grid in dark section */
#ai::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(41,171,226,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,171,226,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.ai-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 90px; align-items: center;
  position: relative; z-index: 1;
}

/* Terminal */
.term {
  background: #0d1117;
  border: 1px solid rgba(41,171,226,0.2);
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 0 60px rgba(41,171,226,0.1), 0 32px 64px rgba(0,0,0,0.5);
}
.t-bar {
  background: rgba(41,171,226,0.04);
  border-bottom: 1px solid rgba(41,171,226,0.12);
  padding: 13px 18px; display: flex; align-items: center; gap: 7px;
}
.td { width: 10px; height: 10px; border-radius: 50%; }
.td.r{background:#ff5f57}.td.y{background:#ffbd2e}.td.g{background:#28c940}
.t-file { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: #3a4450; }
.t-body { padding: 26px 30px; font-family: var(--mono); font-size: 12.5px; line-height: 2.1; }
.td1{color:#2a3540}.tc{color:#29ABE2}.tg{color:#52c77a}
.tp{color:#a78bfa}.tt{color:#34d1aa}.ty{color:#e8b84b}
.t-sep { margin-top: 10px; color: #1a2530; }
.t-gap { margin-top: 8px; }
.t-gap-lg { margin-top: 10px; }
.tcur {
  display: inline-block; width: 7px; height: 13px;
  background: var(--cyan); vertical-align: middle;
  animation: blink 1.2s step-end infinite;
}
@keyframes blink{0%,100%{opacity:1}50%{opacity:0}}

.ai-copy .eyebrow::before { background: var(--cyan); }
.ai-copy h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 3.8vw, 58px);
  font-weight: 700; line-height: 1.05; letter-spacing: -1px;
  color: #f5f5f3; margin-bottom: 24px;
}
.ai-copy h2 em { font-style: italic; color: var(--cyan); }
.ai-copy > p {
  font-size: 16px; font-weight: 300; color: #b0bac6;
  line-height: 1.85; margin-bottom: 44px;
}
.ai-pts { list-style: none; }
.ai-pt {
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; gap: 18px; align-items: flex-start;
}
.ai-pt:last-child { border-bottom: 1px solid rgba(255,255,255,0.06); }
.ai-lbl {
  font-family: var(--mono); font-size: 10px; letter-spacing: 2px;
  color: var(--cyan); text-transform: uppercase; min-width: 96px; padding-top: 2px;
}
.ai-txt { font-size: 14px; font-weight: 300; color: #96a3b0; line-height: 1.75; }

/* ══════════════════════════════════════
   COMMERCE
══════════════════════════════════════ */
#commerce { padding: 150px 0; background: var(--white); }

.com-inner {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 100px; align-items: start;
}
.com-left { position: sticky; top: 110px; }
.com-left .eyebrow { margin-bottom: 32px; }

/* Circuit icon */
.circ-icon { margin-top: 8px; }
.circ-icon {
  width: 96px;
  height: 96px;
  position: relative;
  border: 1.5px solid rgba(41,171,226,0.4);
  transform: rotate(45deg);
}
.circ-icon::before,
.circ-icon::after {
  content: "";
  position: absolute;
}
.circ-icon::before {
  inset: 20px;
  border: 1px solid rgba(41,171,226,0.22);
}
.circ-icon::after {
  width: 12px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(41,171,226,0.28);
  border: 1px solid rgba(41,171,226,0.8);
}

.com-right h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 3.8vw, 56px);
  font-weight: 700; line-height: 1.06; letter-spacing: -1.5px;
  color: var(--ink); margin-bottom: 36px;
}
.com-right h2 em { font-style: italic; color: var(--cyan); }
.com-body { font-size: 17px; font-weight: 300; color: var(--ink2); line-height: 1.9; }
.com-body p + p { margin-top: 22px; }
.com-kicker {
  margin-top: 52px; padding: 32px 36px;
  border-left: 3px solid var(--cyan);
  background: var(--cyan-l);
  font-family: var(--serif); font-style: italic;
  font-size: 20px; color: var(--ink2); line-height: 1.55;
}
.com-kicker strong { font-style: normal; color: var(--ink); }

/* ══════════════════════════════════════
   OUTCOMES
══════════════════════════════════════ */
#outcomes {
  padding: 120px 0;
  background: var(--soft);
}
.out-head {
  margin-bottom: 40px;
}
.out-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.out-card {
  border: 1px solid var(--rule);
  background: var(--white);
  padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.out-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(42,43,46,0.08);
}
.out-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.out-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.out-card p {
  color: var(--ink2);
  line-height: 1.8;
  font-size: 14px;
}

/* ══════════════════════════════════════
   APPROACH
══════════════════════════════════════ */
#approach { padding: 130px 0; background: var(--soft); }

.app-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; margin-bottom: 80px; align-items: end;
}
.app-head p { font-size: 16px; font-weight: 300; color: var(--ink2); line-height: 1.8; }

.steps {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: 4px; overflow: hidden;
}
.step {
  background: var(--white); padding: 44px 36px;
  transition: background .25s; cursor: default;
}
.step:hover { background: var(--cyan-l); }
.step-n {
  font-family: var(--mono); font-size: 10px; font-weight: 300;
  color: var(--cyan); letter-spacing: 2px; margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px;
}
.step-n::after { content:''; flex:1; height:1px; background:var(--rule); }
.step h3 {
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  color: var(--ink); margin-bottom: 12px; letter-spacing: -.3px;
}
.step p { font-size: 14px; font-weight: 300; color: var(--ink2); line-height: 1.8; }

/* ══════════════════════════════════════
   CTA
══════════════════════════════════════ */
#cta {
  background: var(--ink);
  min-height: 60vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 400px; pointer-events: none;
  background: radial-gradient(ellipse, rgba(41,171,226,0.12) 0%, transparent 70%);
}
.cta-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(41,171,226,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,171,226,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-lines::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid rgba(41,171,226,0.15);
}
.cta-inner {
  position: relative; z-index: 1;
}
.cta-inner h2 {
  font-family: var(--serif);
  font-size: clamp(52px, 6.5vw, 92px);
  font-weight: 900; line-height: .95; letter-spacing: -3px;
  color: #f0ece4; margin-bottom: 32px;
}
.cta-inner h2 em { font-style: italic; color: var(--cyan); }
.cta-sub {
  font-size: 17px; font-weight: 300; color: #96a3b0;
  max-width: 440px; line-height: 1.8; margin-bottom: 52px;
}
.cta-link {
  font-family: var(--mono); font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; color: #f0ece4;
  text-decoration: none; display: inline-flex; align-items: center; gap: 14px;
  transition: gap .25s;
}
.cta-link::after { content:'→'; color: var(--cyan); font-size: 18px; }
.cta-link:hover { gap: 22px; }

/* ══════════════════════════════════════
   CONTACT FORM
══════════════════════════════════════ */
#contact { padding: 130px 0; background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contact-copy p {
  font-size: 16px; font-weight: 300; color: var(--ink2);
  line-height: 1.85; max-width: 480px;
}
.contact-form {
  background: var(--off);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 30px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--panel);
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 2px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(41,171,226,0.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-actions { display: flex; align-items: center; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.form-hint {
  font-size: 13px;
  color: var(--ink3);
}
.form-legal {
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink3);
  line-height: 1.6;
}
.form-legal a {
  color: var(--ink2);
}
.form-legal a:hover {
  color: var(--cyan);
}
.form-status {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink2);
  min-height: 20px;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--white);
  border-top: 1px solid var(--rule);
  padding: 72px 0 44px;
}
.f-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 56px; padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}
.f-logo img { height: 28px; width: auto; max-width: 160px; display: block; margin-bottom: 18px; }
.f-desc { font-size: 14px; font-weight: 300; color: var(--ink3); line-height: 1.75; max-width: 240px; }
.f-col h5 {
  font-family: var(--mono); font-size: 10px; font-weight: 300;
  text-transform: uppercase; letter-spacing: 2.5px; color: var(--ink3); margin-bottom: 18px;
}
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.f-col a { font-size: 14px; font-weight: 300; color: var(--ink2); text-decoration: none; transition: color .2s; }
.f-col a:hover { color: var(--cyan); }
.f-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.f-bottom p { font-family: var(--mono); font-size: 11px; font-weight: 300; color: var(--ink3); letter-spacing: 1px; }

/* ══════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════ */
.reveal { opacity: 1; transform: none; }
@keyframes up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.reveal.reveal-pending { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.reveal-done    { opacity: 1; transform: none;             transition: opacity .65s ease, transform .65s ease; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

/* Tablet: ≤1060px */
@media (max-width: 1060px) {
  nav { padding: 0 32px; }

  /* Hero: single column, hide right panel */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  .hero-left { padding: 120px 32px 72px; border-right: none; }
  .page-hero-split { display: block; padding: 120px 0 70px; }
  .page-hero-split .wrap { padding: 0 32px; border-right: none; }
  .page-hero-split .page-visual { display: none; }

  /* Global wrap padding */
  .wrap { padding: 0 32px; }

  /* Section padding */
  #pillars { padding: 80px 0; }
  #credibility { padding: 72px 0; }
  #engagements { padding: 72px 0; }
  #ai { padding: 80px 0; }
  #outcomes { padding: 72px 0; }
  #commerce { padding: 80px 0; }
  #approach { padding: 80px 0; }
  #cta { min-height: auto; padding: 80px 0; }
  #contact { padding: 80px 0; }

  /* Pillars header */
  .pil-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .pil-head-r p { max-width: 100%; }

  .pil-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    padding: 36px 0;
  }
  .pil-title { grid-column: 1; grid-row: 1; font-size: 28px; }
  .pil-content { grid-column: 1; grid-row: 2; min-width: 0; }

  /* About */
  #about { padding: 80px 0; }
  .abt-body { grid-template-columns: 1fr; gap: 28px; }
  .abt-logos { flex-wrap: wrap; }
  .abt-logo { flex: 0 0 25%; border-bottom: 1px solid var(--rule); }
  .abt-signals { grid-template-columns: repeat(2, 1fr); }

  /* AI */
  .ai-inner { grid-template-columns: 1fr; gap: 48px; }
  .cred-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
  .cred-grid { grid-template-columns: 1fr; }
  .eng-grid { grid-template-columns: 1fr; }
  .out-grid { grid-template-columns: 1fr; }

  /* Commerce */
  .com-inner { grid-template-columns: 1fr; gap: 40px; }
  .com-left { position: static; display: flex; align-items: center; gap: 24px; }
  .com-left .eyebrow { margin-bottom: 0; }

  /* Approach */
  .app-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .steps { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .f-top { grid-template-columns: 1fr 1fr; gap: 40px; }

  .page-hero { padding: 120px 0 70px; }
  .svc-split { grid-template-columns: 1fr; gap: 28px; }
  .approach-grid { grid-template-columns: 1fr; }
}

/* Mobile: ≤640px */
@media (max-width: 640px) {
  nav { padding: 0 20px; height: 64px; }
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--rule);
    padding: 8px 20px 20px; z-index: 499;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  }
  .nav-links.is-open li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav-links.is-open li:last-child { border-bottom: none; }
  .nav-r { gap: 16px; }
  .nav-toggle { display: flex; }

  .hero-left { padding: 100px 20px 60px; }
  .hero h1 { font-size: 44px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 15px; }

  .wrap { padding: 0 20px; }

  #pillars { padding: 60px 0; }
  #credibility { padding: 58px 0; }
  #engagements { padding: 58px 0; }
  #ai { padding: 60px 0; }
  #outcomes { padding: 58px 0; }
  #commerce { padding: 60px 0; }
  #approach { padding: 60px 0; }
  #cta { padding: 60px 0; }
  #contact { padding: 60px 0; }

  /* Strip */
  .strip { flex-direction: column; }
  .s-item { border-right: none; border-bottom: 1px solid var(--rule); padding: 20px 20px; }

  /* Pillars: full single column on mobile */
  .pil-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 28px 0;
    gap: 12px;
  }
  .pil-n { grid-column: 1; grid-row: 1; }
  .pil-title { grid-column: 1; grid-row: 2; font-size: 26px; }
  .pil-content { grid-column: 1; grid-row: 3; }

  /* About */
  #about { padding: 60px 0; }
  .abt-body p { font-size: 15px; }
  .abt-logo { flex: 0 0 50%; }
  .abt-logo img { height: 38px; }
  .abt-logo.no-logo::after { font-size: 11px; }
  .abt-signals { grid-template-columns: repeat(2, 1fr); }
  .abt-n { font-size: 22px; }

  /* AI terminal font smaller on mobile */
  .t-body { padding: 16px 18px; font-size: 11px; line-height: 1.9; }

  /* Commerce */
  .com-left { flex-direction: column; align-items: flex-start; gap: 16px; }
  .com-right h2 { font-size: 32px; letter-spacing: -1px; }
  .com-body { font-size: 15px; }
  .com-kicker { font-size: 17px; padding: 24px; }
  .cred-card,
  .eng-card,
  .out-card { padding: 22px 20px; }
  .cred-card h3,
  .eng-card h3,
  .out-card h3 { font-size: 22px; }

  /* Approach */
  .steps { grid-template-columns: 1fr; }
  .step { padding: 28px 24px; }

  /* CTA */
  .cta-inner h2 { font-size: 44px; letter-spacing: -2px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 20px; }

  /* Footer */
  .f-top { grid-template-columns: 1fr; gap: 32px; }
  .f-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .page-hero { padding: 100px 0 54px; }
  .page-title { font-size: 44px; letter-spacing: -1.5px; }
  .page-lede { font-size: 15px; }
  .page-section { padding: 60px 0; }
  .svc-card { padding: 22px 20px; }
  .svc-card h2 { font-size: 28px; }
}

/* ══════════════════════════════════════
   PRINT + REDUCED MOTION
══════════════════════════════════════ */
@media print, (prefers-reduced-motion: reduce) {
  .hero-kicker, .hero h1, .hero-sub, .hero-btns {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
  .reveal.reveal-pending {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
