:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-deep: #040a13;
  --surface: #0d1929;
  --surface-2: #111f32;
  --text: #f4f8ff;
  --muted: #9dacbf;
  --line: rgba(157, 178, 205, 0.18);
  --line-strong: rgba(157, 178, 205, 0.31);
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --teal: #14b8a6;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 8%, rgba(59, 130, 246, 0.13), transparent 32rem),
    radial-gradient(circle at 8% 38%, rgba(34, 211, 238, 0.07), transparent 28rem),
    linear-gradient(180deg, var(--bg), var(--bg-deep) 72%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input, textarea { font: inherit; }

.site-shell { min-height: 100vh; overflow: hidden; }
.site-header, .hero, .section, .contact-section, .site-footer {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 13px; justify-self: start; }
.brand img { width: 48px; height: 48px; }
.brand > span { display: flex; align-items: baseline; gap: 7px; }
.brand strong { font-size: 21px; letter-spacing: -0.04em; }
.brand small { color: var(--muted); font: 700 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 0.12em; text-transform: uppercase; }

.main-nav { display: flex; gap: 34px; color: #c1cad6; font-size: 13px; }
.main-nav a { padding: 12px 0; border-bottom: 1px solid transparent; }
.main-nav a:hover { color: white; border-color: var(--cyan); }

.header-cta {
  min-height: 42px;
  padding: 0 15px;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 700;
}
.header-cta:hover { border-color: var(--cyan); background: rgba(34, 211, 238, 0.06); }

.hero {
  min-height: 720px;
  padding: 82px 0 74px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, 0.92fr);
  gap: 78px;
  align-items: center;
}

.eyebrow, .section-label, .portfolio-kicker {
  color: var(--cyan);
  font: 700 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 26px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }

h1 { margin: 0; max-width: 770px; font-size: clamp(50px, 5.85vw, 82px); line-height: 0.96; letter-spacing: -0.064em; font-weight: 720; }
h1 em { color: #72a8ff; font-style: normal; font-weight: 560; }
.lead { max-width: 690px; margin: 29px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }

.hero-actions, .portfolio-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 750;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; border-color: #2f73df; background: linear-gradient(135deg, #2563eb, #3b82f6); box-shadow: 0 14px 34px rgba(37, 99, 235, 0.22); }
.button.primary:hover { background: linear-gradient(135deg, #1d4ed8, #3679e7); }
.button.secondary:hover { border-color: var(--cyan); background: rgba(34, 211, 238, 0.06); }
.button span, .header-cta span { font-size: 17px; font-weight: 400; }

.hero-trust { display: flex; flex-wrap: wrap; margin: 31px 0 0; padding: 0; color: #b4c0ce; list-style: none; font-size: 12px; }
.hero-trust li { display: flex; align-items: center; }
.hero-trust li:not(:last-child)::after { content: ""; width: 4px; height: 4px; margin: 0 14px; border-radius: 50%; background: var(--cyan); }

.company-panel {
  position: relative;
  min-height: 555px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(rgba(157, 178, 205, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 178, 205, 0.07) 1px, transparent 1px),
    linear-gradient(145deg, rgba(17, 31, 50, 0.96), rgba(7, 17, 31, 0.86));
  background-size: 48px 48px, 48px 48px, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.company-panel::before { content: ""; position: absolute; inset: 12% 8% 28%; background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 62%); filter: blur(12px); }
.panel-head, .panel-foot { position: relative; z-index: 4; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font: 700 8px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 0.12em; text-transform: uppercase; }
.panel-head i { color: #86efac; font-style: normal; }
.panel-head i::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 12px #22c55e; }
.company-mark { position: relative; z-index: 2; height: 275px; display: grid; place-items: center; }
.company-mark img { position: relative; z-index: 3; width: 160px; height: 160px; filter: drop-shadow(0 24px 42px rgba(59, 130, 246, 0.28)); }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(96, 165, 250, 0.3); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-a { width: 86%; height: 39%; transform: translate(-50%, -50%) rotate(-12deg); }
.orbit-b { width: 58%; height: 78%; border-color: rgba(139, 92, 246, 0.27); transform: translate(-50%, -50%) rotate(30deg); }
.company-facts { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; margin: 0; border: 1px solid var(--line); background: rgba(4, 10, 19, 0.54); }
.company-facts div { min-height: 73px; padding: 14px 16px; }
.company-facts div:nth-child(even) { border-left: 1px solid var(--line); }
.company-facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
.company-facts dt { color: var(--muted); font: 700 8px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 0.1em; text-transform: uppercase; }
.company-facts dd { margin: 7px 0 0; font-size: 12px; font-weight: 650; }
.panel-foot { margin-top: 18px; }

.company-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.company-strip > div { min-height: 142px; padding: 29px max(24px, calc((100vw - 1240px) / 8)); display: flex; flex-direction: column; justify-content: center; }
.company-strip > div + div { border-left: 1px solid var(--line); }
.company-strip span { color: var(--cyan); font: 700 8px ui-monospace, monospace; letter-spacing: 0.12em; }
.company-strip strong { margin-top: 15px; font-size: 16px; }
.company-strip small { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.45; }

.section { padding: 116px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-label { display: flex; gap: 12px; margin: 0 0 46px; color: var(--muted); }
.section-label span { color: var(--cyan); }
.section-intro { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 90px; align-items: end; }
.section-intro h2, .portfolio-copy h2, .contact-section h2 { margin: 0; font-size: clamp(38px, 4.4vw, 62px); line-height: 1.02; letter-spacing: -0.052em; font-weight: 650; }
.section-intro > p { margin: 0 0 5px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.section-intro.compact h2 { max-width: 690px; }

.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 65px; border: 1px solid var(--line); }
.capability-grid article { min-height: 285px; padding: 30px; background: rgba(13, 25, 41, 0.45); }
.capability-grid article + article { border-left: 1px solid var(--line); }
.capability-grid span { color: var(--cyan); font: 700 8px ui-monospace, monospace; letter-spacing: 0.13em; }
.capability-grid h3 { margin: 75px 0 0; font-size: 21px; letter-spacing: -0.025em; }
.capability-grid p { margin: 15px 0 0; color: var(--muted); font-size: 13px; line-height: 1.64; }

.portfolio-card { display: grid; grid-template-columns: 0.92fr 1.08fr; min-height: 620px; border: 1px solid var(--line-strong); background: linear-gradient(145deg, rgba(17, 31, 50, 0.8), rgba(6, 14, 25, 0.94)); box-shadow: var(--shadow); }
.portfolio-copy { padding: 55px; display: flex; flex-direction: column; align-items: flex-start; }
.portfolio-kicker { margin: 0 0 27px; }
.portfolio-copy > p:not(.portfolio-kicker) { color: var(--muted); font-size: 15px; line-height: 1.7; }
.portfolio-copy ul { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.portfolio-copy li { display: flex; gap: 11px; color: #d2dae4; font-size: 13px; }
.portfolio-copy li::before { content: "✓"; color: var(--cyan); }
.portfolio-actions { margin-top: auto; padding-top: 38px; }
.text-link { color: var(--cyan); font-size: 12px; font-weight: 700; }
.text-link:hover { color: white; }

.portfolio-visual { position: relative; min-height: 620px; overflow: hidden; border-left: 1px solid var(--line); background: linear-gradient(rgba(157,178,205,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(157,178,205,.07) 1px, transparent 1px); background-size: 52px 52px; }
.portfolio-visual::before { content: ""; position: absolute; inset: 12%; background: radial-gradient(circle, rgba(59,130,246,.18), transparent 58%); filter: blur(18px); }
.system-node { position: absolute; z-index: 3; min-width: 124px; padding: 16px; border: 1px solid var(--line-strong); background: rgba(8, 18, 31, 0.92); box-shadow: 0 14px 36px rgba(0,0,0,.22); }
.system-node span { display: block; color: var(--cyan); font: 700 8px ui-monospace, monospace; letter-spacing: .11em; }
.system-node strong { display: block; margin-top: 7px; font-size: 13px; }
.system-node small { display: block; margin-top: 6px; color: var(--muted); font: 700 7px ui-monospace, monospace; letter-spacing: .1em; }
.system-node.center { top: 50%; left: 50%; width: 190px; height: 190px; min-width: 0; padding: 34px; display: flex; flex-direction: column; justify-content: center; text-align: center; border-radius: 50%; transform: translate(-50%, -50%); border-color: rgba(96,165,250,.65); background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.18), transparent 15%), linear-gradient(145deg, #1d4ed8, #312e81); box-shadow: 0 0 80px rgba(59,130,246,.25); }
.node-a { top: 13%; left: 9%; }.node-b { top: 14%; right: 8%; }.node-c { bottom: 14%; left: 8%; }.node-d { right: 9%; bottom: 13%; }
.line { position: absolute; z-index: 1; top: 50%; left: 50%; width: 33%; height: 1px; background: linear-gradient(90deg, rgba(96,165,250,.16), rgba(34,211,238,.8), rgba(96,165,250,.16)); transform-origin: 0 50%; }
.line-a { transform: rotate(-138deg); }.line-b { transform: rotate(-42deg); }.line-c { transform: rotate(139deg); }.line-d { transform: rotate(41deg); }

.process-list { margin: 64px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { min-height: 150px; padding: 28px 0; display: grid; grid-template-columns: 105px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.process-list > li > span { color: var(--cyan); font: 700 10px ui-monospace, monospace; }
.process-list div { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.process-list strong { font-size: 21px; letter-spacing: -.025em; }
.process-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.contact-section { padding: 110px 0; display: grid; grid-template-columns: 1fr .72fr; gap: 90px; align-items: center; border-top: 1px solid var(--line); }
.contact-section h2 { max-width: 760px; }
.contact-card { min-height: 310px; padding: 31px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line-strong); background: linear-gradient(145deg, rgba(17,31,50,.94), rgba(7,17,31,.94)); }
.contact-card small { color: var(--cyan); font: 700 8px ui-monospace, monospace; letter-spacing: .13em; }
.contact-card > a:not(.button) { margin-top: 24px; font-size: clamp(23px, 2.4vw, 34px); font-weight: 650; letter-spacing: -.035em; }
.contact-card > p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.contact-card .button { margin-top: auto; }

.site-footer { padding: 46px 0 32px; display: grid; grid-template-columns: .8fr 1.25fr .8fr; gap: 35px; align-items: start; border-top: 1px solid var(--line); color: var(--muted); }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { width: 42px; height: 42px; }
.footer-brand div { display: grid; gap: 5px; }
.footer-brand strong { color: var(--text); font-size: 14px; }
.footer-brand small { font-size: 10px; }
.site-footer nav { justify-self: end; display: grid; gap: 9px; text-align: right; font-size: 11px; }
.site-footer nav a:hover { color: var(--cyan); }
.site-footer > p { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 9px; }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 54px; }
  .company-panel { min-height: 520px; }
  .company-strip { grid-template-columns: 1fr 1fr; }
  .company-strip > div:nth-child(3) { border-left: 0; }
  .company-strip > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section-intro { grid-template-columns: 1fr; gap: 30px; }
  .portfolio-card { grid-template-columns: 1fr; }
  .portfolio-visual { min-height: 520px; border-left: 0; border-top: 1px solid var(--line); }
  .contact-section { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header, .hero, .section, .contact-section, .site-footer { width: calc(100% - 30px); }
  .site-header { min-height: 78px; }
  .header-cta { display: none; }
  .brand img { width: 42px; height: 42px; }
  .hero { min-height: auto; padding: 58px 0 54px; }
  h1 { font-size: clamp(43px, 13vw, 62px); }
  h1 br { display: none; }
  .lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-trust { display: grid; gap: 9px; }
  .hero-trust li::after { display: none; }
  .hero-trust li::before { content: ""; width: 5px; height: 5px; margin-right: 10px; border-radius: 50%; background: var(--cyan); }
  .company-panel { min-height: 505px; padding: 18px; }
  .company-mark { height: 250px; }
  .company-mark img { width: 140px; height: 140px; }
  .company-facts { grid-template-columns: 1fr; }
  .company-facts div:nth-child(even) { border-left: 0; }
  .company-facts div + div { border-top: 1px solid var(--line); }
  .panel-foot { display: none; }
  .company-strip { grid-template-columns: 1fr; }
  .company-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 78px 0; }
  .section-label { margin-bottom: 32px; }
  .section-intro h2, .portfolio-copy h2, .contact-section h2 { font-size: 40px; }
  .capability-grid { grid-template-columns: 1fr; margin-top: 45px; }
  .capability-grid article { min-height: 235px; }
  .capability-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .capability-grid h3 { margin-top: 52px; }
  .portfolio-copy { padding: 30px 23px; }
  .portfolio-actions { width: 100%; }
  .portfolio-visual { min-height: 440px; }
  .system-node { min-width: 95px; padding: 12px; }
  .system-node.center { width: 150px; height: 150px; padding: 23px; }
  .node-a { left: 4%; }.node-b { right: 4%; }.node-c { left: 4%; }.node-d { right: 4%; }
  .process-list li { grid-template-columns: 48px 1fr; }
  .process-list div { grid-template-columns: 1fr; gap: 12px; }
  .contact-section { padding: 78px 0; gap: 45px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-self: start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}


/* v28 refinement — more premium corporate feel and stronger shared language */
:root {
  --panel-radius: 26px;
}

.site-header {
  min-height: 96px;
}

.header-cta,
.button,
.company-panel,
.portfolio-card,
.contact-card,
.capability-grid article,
.company-facts,
.system-node {
  border-radius: 18px;
}

.header-cta,
.button {
  border-radius: 999px;
}

.company-panel,
.portfolio-card,
.contact-card {
  backdrop-filter: blur(14px) saturate(122%);
}

.company-panel {
  border-color: rgba(157, 178, 205, 0.22);
  background:
    linear-gradient(rgba(157, 178, 205, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 178, 205, 0.06) 1px, transparent 1px),
    linear-gradient(145deg, rgba(16, 29, 47, 0.95), rgba(7, 17, 31, 0.88));
}

.company-panel::after,
.portfolio-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent 18%, transparent 82%, rgba(255,255,255,0.03));
}

.company-strip > div {
  min-height: 154px;
}

.capability-grid {
  gap: 0;
  border-radius: var(--panel-radius);
  overflow: hidden;
}

.capability-grid article {
  background: linear-gradient(180deg, rgba(13, 25, 41, 0.68), rgba(13, 25, 41, 0.42));
}

.portfolio-card {
  border-radius: calc(var(--panel-radius) + 2px);
  overflow: hidden;
}

.portfolio-copy {
  padding: 58px;
}

.portfolio-visual {
  background: linear-gradient(rgba(157,178,205,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(157,178,205,.06) 1px, transparent 1px), linear-gradient(145deg, rgba(8,18,31,.52), rgba(8,18,31,.16));
  background-size: 52px 52px, 52px 52px, auto;
}

.system-node {
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.system-node.center {
  width: 206px;
  height: 206px;
  padding: 30px 28px 34px;
  border-radius: 50%;
}

.system-node.center img {
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  filter: drop-shadow(0 8px 20px rgba(255,255,255,.1));
}

.system-node.center span {
  display: none;
}

.contact-card {
  border-color: rgba(157, 178, 205, 0.22);
}

.site-footer {
  padding-top: 56px;
}

@media (max-width: 680px) {
  .button, .header-cta { border-radius: 16px; }
  .company-panel, .portfolio-card, .contact-card, .capability-grid article { border-radius: 20px; }
  .system-node.center { width: 162px; height: 162px; padding: 22px; }
  .system-node.center img { width: 42px; height: 42px; margin-bottom: 8px; }
}


/* v29 clean company profile */
.company-focus { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: rgba(4, 10, 19, 0.48); }
.company-focus > div { min-height: 100px; padding: 17px 16px; display: flex; flex-direction: column; justify-content: center; }
.company-focus > div + div { border-left: 1px solid var(--line); }
.company-focus span { color: var(--cyan); font: 700 8px ui-monospace, monospace; letter-spacing: .12em; }
.company-focus strong { margin-top: 10px; font-size: 13px; }
.company-focus small { margin-top: 6px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.footer-summary { display: grid; gap: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.footer-summary strong { color: var(--text); font-size: 12px; }
@media (max-width: 680px) {
  .company-focus { grid-template-columns: 1fr; }
  .company-focus > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-self: start; text-align: left; }
}
