/* devsathya.com - M&A advisory and enterprise platforms. One stylesheet for every page. */

:root {
  color-scheme: dark;
  --bg: #01040d;
  --bg-2: #040a1f;
  --bg-3: #07112e;
  --panel: rgba(8, 18, 50, 0.52);
  --panel-2: rgba(12, 26, 70, 0.62);
  --line: rgba(140, 170, 255, 0.13);
  --line-2: rgba(140, 170, 255, 0.26);
  --ink: #eaf0ff;
  --ink-2: #bac7eb;
  --muted: #8190b6;
  --blue: #2f5fe0;
  --blue-2: #6f97f0;
  --glow: #8fc0ff;
  --silver: #d3dcf3;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --sans: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --max: 1220px;
  --gutter: clamp(16px, 4.6vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p a, li a, td a, .link { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: text-decoration-color .2s; }
p a:hover, li a:hover, td a:hover, .link:hover { text-decoration-color: var(--glow); }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 300; letter-spacing: -0.035em; line-height: 1.04; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.4vw, 92px); }
h2 { font-size: clamp(32px, 4.2vw, 58px); }
h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.25; }
h1 strong, h2 strong { font-weight: 600; }
.accent { background: linear-gradient(100deg, var(--glow), var(--blue-2) 55%, #b9cdfb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue-2); margin: 0 0 24px; display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--blue-2); flex: none; }
.eyebrow .n { color: var(--muted); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; width: 100%; }
section { padding: clamp(88px, 10vw, 150px) 0; position: relative; }
.sec-head { max-width: 820px; margin-bottom: clamp(44px, 5vw, 72px); }
.sec-head h2 { margin-bottom: 22px; }
.sec-head .lede { margin: 0; }
.sec-head.split-head { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.band { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header);
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(2, 6, 20, 0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a { font-size: 15px; color: var(--ink-2); position: relative; padding: 6px 0; transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--glow); transition: right .3s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { right: 0; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); color: var(--ink); border-radius: 999px; padding: 8px 16px; font: 500 14px var(--sans); cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 13px 24px;
  font: 500 15px var(--sans); letter-spacing: 0.01em; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 34px -12px rgba(47, 95, 224, 0.8); }
.btn-primary:hover { background: #3a6cf0; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(8, 18, 50, 0.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--glow); }
.nav .btn { padding: 10px 20px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header) + 40px) 0 0; overflow: hidden; isolation: isolate; }
.hero h1 { font-size: clamp(42px, 5.6vw, 82px); }
.hero-media, .page-hero-media, .cta-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img, .page-hero-media img, .cta-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { animation: drift 38s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translate(-1.2%, 0.6%); } }
@media (prefers-reduced-motion: reduce) { .hero-media img { animation: none; } }
.hero-media::after, .page-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 4, 13, 0.92) 0%, rgba(1, 4, 13, 0.7) 38%, rgba(1, 4, 13, 0.18) 75%, rgba(1, 4, 13, 0.3) 100%),
    linear-gradient(180deg, rgba(1, 4, 13, 0.55) 0%, rgba(1, 4, 13, 0) 22%, rgba(1, 4, 13, 0) 55%, var(--bg) 100%);
}
.hero h1 { max-width: 15ch; margin-bottom: 30px; }
.hero .lede { margin-bottom: 38px; }
.hero-inner { padding-bottom: clamp(36px, 6vh, 64px); }
.hero-facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 9vh, 96px);
  border-top: 1px solid var(--line-2);
}
.hero-facts > div { padding: 22px 24px 4px 0; min-width: 0; }
.hero-facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.fact-k { font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; letter-spacing: -0.02em; color: var(--silver); display: block; }
.fact-v { font-size: 14px; color: var(--muted); line-height: 1.45; display: block; margin-top: 6px; }

.page-hero { min-height: 74vh; min-height: 74svh; display: flex; align-items: flex-end; padding: calc(var(--header) + 60px) 0 clamp(56px, 8vh, 96px); overflow: hidden; isolation: isolate; }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 80px); max-width: 17ch; margin-bottom: 26px; }
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--ink); }

/* ---------- cards and grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .3s, transform .4s var(--ease), background .3s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
a.card:hover { border-color: var(--line-2); transform: translateY(-4px); background: var(--panel-2); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
a.card:hover .card-media img { transform: scale(1.05); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 4, 13, 0) 50%, rgba(4, 10, 31, 0.85) 100%); }
.card-body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body p { color: var(--ink-2); margin: 0; font-size: 16px; }
.card-tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-2); }
.card-more { margin-top: auto; padding-top: 14px; font-size: 15px; color: var(--ink); display: inline-flex; gap: 8px; }
a.card:hover .card-more .arr { transform: translateX(4px); }
.card-more .arr { transition: transform .25s var(--ease); }

.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.tile h3 { margin-bottom: 12px; }
.tile p { color: var(--ink-2); font-size: 16px; margin: 0; }
.tile .num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.14em; display: block; margin-bottom: 18px; }
.tile ul { margin: 14px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 15.5px; }
.tile li { margin: 4px 0; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.stats > div { padding: 34px 26px 32px 0; min-width: 0; }
.stats > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.stats.two { grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 0; }
.stats.two > div:nth-child(odd) { padding-left: 0; border-left: 0; }
.stats.two > div:nth-child(n+3) { border-top: 1px solid var(--line); }
.stat-k { font-family: var(--display); font-size: clamp(40px, 4.6vw, 64px); font-weight: 200; letter-spacing: -0.04em; line-height: 1; color: var(--silver); display: block; }
.stat-v { display: block; margin-top: 14px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.figure { border-radius: 20px; overflow: hidden; position: relative; border: 1px solid var(--line); }
.figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.figure.wide img { aspect-ratio: 16 / 11; }
.figure figcaption { position: absolute; left: 18px; bottom: 16px; right: 18px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 4, 13, 0) 55%, rgba(1, 4, 13, 0.75)); pointer-events: none; }
.figure figcaption { z-index: 1; }

.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { padding-left: 30px; position: relative; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 1px; background: var(--blue-2); }
.checks strong { color: var(--ink); font-weight: 500; }

/* ---------- process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: linear-gradient(90deg, var(--blue-2), var(--line-2) 70%, transparent); }
.process li { counter-increment: step; padding: 0 22px 0 0; position: relative; min-width: 0; }
.process li::before {
  content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  font-family: var(--mono); font-size: 13px; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line-2); margin-bottom: 26px; position: relative;
}
.process h3 { font-size: 19px; margin-bottom: 8px; }
.process .when { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-2); display: block; margin-bottom: 12px; }
.process p { font-size: 15px; color: var(--ink-2); margin: 0; }

.phases { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.phase { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(18px, 3vw, 48px); padding: 38px 0; border-bottom: 1px solid var(--line); }
.phase .ph-n { font-family: var(--display); font-weight: 200; font-size: 46px; line-height: 1; color: var(--blue-2); letter-spacing: -0.04em; }
.phase h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 10px; }
.phase .when { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.phase p { color: var(--ink-2); margin: 0 0 12px; }
.phase ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 15.5px; }
.phase li { margin: 5px 0; }
.phase .gate { margin-top: 14px; font-size: 14.5px; color: var(--silver); }
.phase .gate span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-2); margin-right: 8px; }

/* ---------- table ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel); }
table.deals { width: 100%; border-collapse: collapse; font-size: 15px; }
.deals th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 16px 20px; border-bottom: 1px solid var(--line-2); background: rgba(4, 10, 31, 0.6); }
.deals td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.deals tr:last-child td { border-bottom: 0; }
.deals td:first-child { font-family: var(--mono); font-size: 13px; color: var(--silver); white-space: nowrap; }
.deals td strong { color: var(--ink); font-weight: 500; }
.deals tbody tr { transition: background .2s; }
.deals tbody tr:hover { background: rgba(47, 95, 224, 0.07); }
.note { font-size: 14px; color: var(--muted); margin-top: 16px; max-width: 90ch; }

/* ---------- markets ---------- */
.markets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.market { position: relative; border-radius: 20px; overflow: hidden; min-height: 440px; display: flex; align-items: flex-end; border: 1px solid var(--line); }
.market img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.market:hover img { transform: scale(1.04); }
.market::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 4, 13, 0.05) 30%, rgba(1, 4, 13, 0.92) 100%); }
.market-body { position: relative; z-index: 1; padding: 32px; }
.market-body h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 300; margin-bottom: 10px; }
.market-body p { color: var(--ink-2); margin: 0; font-size: 16px; max-width: 46ch; }

/* ---------- sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.sector { padding: 30px 22px 10px 0; min-width: 0; }
.sector + .sector { padding-left: 22px; border-left: 1px solid var(--line); }
.sector h3 { font-size: 19px; margin-bottom: 12px; }
.sector p { font-size: 15px; color: var(--ink-2); margin: 0 0 12px; }
.sector .plats { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--muted); line-height: 1.7; }

/* ---------- quote / principle band ---------- */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.principle { padding: 32px 26px 8px 0; min-width: 0; }
.principle + .principle { padding-left: 26px; border-left: 1px solid var(--line); }
.principle h3 { font-size: 20px; margin-bottom: 10px; }
.principle p { color: var(--ink-2); font-size: 15.5px; margin: 0; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative; font-family: var(--display); font-weight: 400; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 22px; color: var(--blue-2); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .ans { padding: 0 0 26px; color: var(--ink-2); max-width: 78ch; }
.faq .ans p:last-child { margin: 0; }

/* ---------- call to action ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(110px, 13vw, 190px) 0; isolation: isolate; }
.cta-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 4, 13, 0.9) 0%, rgba(1, 4, 13, 0.78) 45%, rgba(1, 4, 13, 0.35) 80%, rgba(1, 4, 13, 0.5) 100%),
    linear-gradient(180deg, var(--bg) 0%, rgba(1, 4, 13, 0.25) 25%, rgba(1, 4, 13, 0.3) 75%, var(--bg) 100%);
}
.cta h2 { max-width: 18ch; margin-bottom: 24px; }
.cta .lede { margin-bottom: 36px; }
.mail-line { margin-top: 26px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }
.mail-line a { color: var(--ink); }

/* ---------- prose (legal and about) ---------- */
.prose { max-width: 76ch; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 56px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line-2); }
.timeline li { padding: 0 0 26px 26px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--blue-2); }
.timeline .yr { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--blue-2); text-transform: uppercase; display: block; }
.timeline .what { color: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 40px; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid h4 { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--ink-2); font-size: 15px; transition: color .2s; }
.foot-grid a:hover { color: var(--ink); }
.foot-about { color: var(--muted); font-size: 15px; max-width: 42ch; margin-top: 16px; }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13px; color: var(--muted); }
.foot-legal p { margin: 0; max-width: 90ch; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
  .process::before { display: none; }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector, .sector + .sector { padding: 26px 22px 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .sector:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principle, .principle + .principle { padding: 28px 22px 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .principle:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header: 66px; }
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: var(--header) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px; background: rgba(2, 6, 20, 0.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .4s var(--ease); visibility: hidden; }
  .nav.open { transform: none; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 18px; justify-content: center; border-bottom: 0; }
  .grid-3, .grid-2, .split, .markets, .sec-head.split-head { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > :first-child { order: 0; }
  .hero-facts, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts > div:nth-child(3), .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-facts > div:nth-child(n+3), .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .phase { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .figure img { aspect-ratio: 16 / 11; }
  .market { min-height: 360px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-media::after, .page-hero-media::after, .cta-media::after {
    background: linear-gradient(180deg, rgba(1, 4, 13, 0.62) 0%, rgba(1, 4, 13, 0.74) 35%, rgba(1, 4, 13, 0.84) 70%, var(--bg) 100%);
  }
  .cta-media::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(1, 4, 13, 0.8) 20%, rgba(1, 4, 13, 0.84) 80%, var(--bg) 100%); }
  .site-header .brand-sub { font-size: 9.5px; letter-spacing: 0.12em; white-space: nowrap; }
  .process, .sectors, .principles, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .sector, .sector + .sector, .sector:nth-child(even), .principle, .principle + .principle, .principle:nth-child(even) { padding-left: 0; border-left: 0; }
  .hero-facts > div, .hero-facts > div + div, .stats > div, .stats > div + div { padding: 18px 12px 14px 0; }
  .hero-facts > div:nth-child(even), .stats > div:nth-child(even) { padding-left: 14px; }
  .deals thead { display: none; }
  .deals, .deals tbody, .deals tr, .deals td { display: block; width: 100%; }
  .deals tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .deals td { padding: 2px 0; border: 0; }
  .card-body { padding: 22px; }
  .market-body { padding: 24px; }
  .btn { padding: 12px 20px; }
}
