:root {
  --orange: #fc9b18;
  --ink: #08090b;
  --text: #3b3f46;
  --rust: #8f4700;
  --mist: #eef1f4;
  --line: #cfd5dc;
  --indigo: #14104f;
  --lilac: #c9c3ff;
  --gold: #f7b733;
  --gap: clamp(1.25rem, 4vw, 3.5rem);
  --band: clamp(4rem, 9vw, 7.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.75rem; }
body { margin: 0; background: #fff; color: var(--text); font: 400 1.125rem/1.6 "Anek Latin", "Segoe UI", sans-serif; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.08; font-weight: 650; text-wrap: balance; }
h1, h2 { font-stretch: 115%; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
p { margin: 0 0 1em; max-width: 62ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-underline-offset: 0.2em; }
img, svg { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { width: min(100% - 2.5rem, 76rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 20; padding: 0.6rem 1rem; background: var(--ink); color: #fff; }
.skip:focus { top: 1rem; }
.nb { white-space: nowrap; }
.lead { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.45; color: var(--ink); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 10; background: #fff; }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 4.75rem; }
.logo img { width: 160px; }
.site-head nav { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.site-head nav a { padding: 0.5rem 0; color: var(--ink); font-size: 1.05rem; text-decoration: none; border-bottom: 3px solid transparent; }
.site-head nav a:hover, .site-head nav a[aria-current] { border-color: var(--orange); }
.menu { min-height: 44px; padding: 0 1.1rem; border: 2px solid var(--ink); border-radius: 99px; background: none; color: var(--ink); font: inherit; cursor: pointer; }
@media (min-width: 55.01rem) { .menu { display: none; } }
@media (max-width: 55rem) {
  .site-head .wrap { padding-block: 0.9rem; }
  .site-head nav { flex: 0 0 100%; flex-direction: column; gap: 0; padding-bottom: 1rem; }
  .site-head nav.collapsed { display: none; }
  .site-head nav a { padding: 0.7rem 0; }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0.3rem 1.7rem; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 550; text-decoration: none; }
.btn:hover { background: #32363d; }
.actions a:not(.btn) { padding: 0.6rem 0; color: var(--ink); font-weight: 550; }

/* Home hero: the tagline as three rising steps */
.hero { background: var(--mist); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; gap: 2.5rem var(--gap); padding-top: 3rem; }
.hero .wrap > div { align-self: center; padding-bottom: 3rem; }
.hero p { margin-top: 1.1rem; max-width: 44ch; font-size: 1.25rem; line-height: 1.45; }
.hero .actions { margin-top: 1.5rem; }
.climb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; height: 21rem; margin: 0; padding: 0; list-style: none; }
.climb li { display: flex; flex-direction: column; justify-content: flex-end; gap: 1.25rem; height: 42%; padding: 1.25rem 1rem; color: var(--ink); line-height: 1.2; background: #ffdfb0; transform-origin: bottom; animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.climb li:nth-child(2) { height: 68%; background: #fdbe63; animation-delay: 0.15s; }
.climb li:nth-child(3) { height: 100%; justify-content: space-between; background: var(--orange); animation-delay: 0.3s; }
.climb b { display: block; font-size: clamp(1.05rem, 1.75vw, 1.3rem); font-weight: 650; }
.climb svg { width: 5.5rem; fill: #fff; }
@keyframes rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@media (max-width: 55rem) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 2.25rem; }
  .hero .wrap > div { padding-bottom: 0; }
  .climb { height: 13rem; }
  .climb li { padding: 0.8rem 0.5rem; font-size: 0.95rem; }
  .climb b { font-size: clamp(0.95rem, 4.2vw, 1.2rem); }
  .climb svg { width: 3.25rem; }
}
@media (prefers-reduced-motion: reduce) { .climb li { animation: none; } html { scroll-behavior: auto; } }

/* Inner page heading */
.page-head { background: var(--orange); }
.page-head .wrap { padding-block: clamp(2.5rem, 5vw, 4rem); }
.page-head h1 { max-width: 24ch; }
.page-head p { margin-top: 1rem; max-width: 52ch; font-size: clamp(1.2rem, 1.7vw, 1.4rem); line-height: 1.45; color: var(--ink); }

/* Sections */
.band { padding-block: var(--band); }
.flush { padding-top: 0; }
.mist { background: var(--mist); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem var(--gap); }
.rows { margin: 0; border-top: 2px solid var(--ink); }
.rows > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0.5rem var(--gap); padding-block: 1.6rem; border-bottom: 1px solid var(--line); }
.split .rows > div { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0.5rem 1.5rem; }
.rows dt { color: var(--ink); font-size: 1.35rem; font-weight: 600; line-height: 1.3; }
.rows dd { margin: 0; }
.rows dd a { display: inline-block; padding-block: 0.6rem; margin-block: -0.6rem; color: var(--rust); font-weight: 550; }
.section-title { margin-bottom: 2.5rem; max-width: 24ch; }
@media (max-width: 48rem) {
  .split, .rows > div, .split .rows > div { grid-template-columns: minmax(0, 1fr); }
}

/* Company structure */
.tree { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.tree h3 + p { margin-top: 0.4rem; }
.tree .parent { grid-column: 1 / -1; padding: 1.75rem 2rem; background: var(--orange); border-radius: 0.5rem; }
.tree .parent p { color: var(--ink); }
.tree .child { position: relative; margin-top: 3.5rem; padding: 1.75rem 2rem; border-radius: 0.5rem; }
.tree .child::before { content: ""; position: absolute; left: 2rem; bottom: 100%; height: 3.5rem; border-left: 3px solid var(--ink); }
.tree .live { background: var(--indigo); color: var(--lilac); }
.tree .live h3 { color: #fff; }
.tree .next { border: 3px dashed #7c848f; }
.tree .next::before { border-left-style: dashed; border-color: #7c848f; }
@media (max-width: 40rem) { .tree { grid-template-columns: 1fr; } .tree .next::before { display: none; } }

/* GrahaNexa keeps its own colours */
.nexa { background: var(--indigo); color: var(--lilac); }
.nexa h2, .nexa h3, .nexa .lead, .nexa dt { color: #fff; }
.nexa :focus-visible { outline-color: var(--gold); }
.nexa-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 3rem var(--gap); }
.nexa-top > div > img { width: 320px; margin-bottom: 2.25rem; padding: 1rem 1.4rem; border-radius: 0.75rem; background: #fff; }
.nexa-top .lead { margin-top: 1.5rem; }
.nexa .btn { background: var(--gold); color: var(--ink); }
.nexa .btn:hover { background: #ffd071; }
.kundli { width: min(100%, 26rem); margin-inline: auto; fill: none; stroke: var(--gold); stroke-width: 1.2; }
.kundli text { fill: var(--lilac); stroke: none; font-size: 13px; text-anchor: middle; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem var(--gap); }
.nexa .three { margin-top: clamp(3rem, 6vw, 5rem); }
.three p { margin-top: 0.6rem; }
.nexa .rows { border-color: var(--gold); }
.nexa .rows > div { border-color: #3d3887; }
.disclaimer { margin-top: 2rem; }
@media (max-width: 55rem) { .nexa-top, .three { grid-template-columns: minmax(0, 1fr); } }

/* Steps: a real sequence */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 2rem var(--gap); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 1.1rem; border-top: 6px solid var(--orange); }
.steps h3::before { content: counter(step) ". "; }
.steps p { margin-top: 0.6rem; }

/* Closing call, contact, legal */
.cta { background: var(--orange); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cta h2 { max-width: 20ch; }
.email-line { margin-bottom: 4rem; }
.email { display: inline-block; padding-block: 0.5rem; color: var(--ink); font-size: clamp(1.35rem, 3.6vw, 2.6rem); font-weight: 600; overflow-wrap: anywhere; }
.legal h2 { margin: 2.5rem 0 0.75rem; font-size: 1.5rem; }
.legal h2:first-child { margin-top: 0; }

/* Footer */
.site-foot { padding-block: 4rem 2rem; font-size: 1.05rem; }
.site-foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem var(--gap); }
.site-foot img { width: 160px; margin-bottom: 1rem; }
.foot-brand p { max-width: 26ch; }
.site-foot h2 { margin-bottom: 0.4rem; font-size: 1.05rem; font-stretch: 100%; letter-spacing: 0; }
.site-foot nav a { display: block; padding: 0.35rem 0; text-decoration: none; }
.site-foot nav a:hover { text-decoration: underline; }
.copy { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: none; font-size: 1rem; }
@media (max-width: 55rem) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
