/* =========================================================
   PT AEGIS PARABELLUM GROUP
   Strategic Advisory — Jakarta
   Stylesheet
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --ink:        #0b1020;
  --ink-2:      #0e1528;
  --ink-3:      #131d39;   /* raised surfaces on dark */
  --ink-line:   rgba(202, 163, 92, 0.18);

  --gold:       #caa35c;
  --gold-soft:  #d9bd86;
  --gold-deep:  #a9854a;

  --paper:      #f7f5ef;
  --paper-2:    #efe9dc;
  --paper-line: rgba(26, 29, 39, 0.12);

  --text:       #191c26;
  --text-soft:  #4c5160;
  --text-mute:  #6b7180;

  --text-light:    #ece9e2;
  --text-light-2:  rgba(236, 233, 226, 0.66);

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius: 4px;
  --header-h: 80px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;   /* keep anchored section titles clear of the fixed header */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--gold); color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 1000;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Typography helpers ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}
.section-title--light { color: var(--text-light); }

.eyebrow {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow--light { color: var(--gold-soft); }

.section-intro {
  margin: 1.4rem 0 0;
  max-width: 46ch;
  color: var(--text-soft);
  font-size: 1.05rem;
}
.section--ink .section-intro { color: var(--text-light-2); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              color 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px); }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(236, 233, 226, 0.35);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }

.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: gap 0.25s var(--ease), border-color 0.25s var(--ease);
}
.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover { gap: 0.7rem; border-color: currentColor; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow--light { color: var(--gold-soft); }

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding-block: clamp(4.5rem, 10vw, 8rem);
}
.section--paper { background: var(--paper); color: var(--text); }
.section--paper + .section--paper { padding-top: 0; }
.section--ink {
  background: var(--ink);
  color: var(--text-light);
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(202,163,92,0.10), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(28,39,71,0.55), transparent 60%);
}

.section-head { max-width: 760px; margin-bottom: clamp(2.6rem, 5vw, 4rem); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), height 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 16, 32, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--ink-line);
  height: 68px;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--text-light); }
.brand__mark { color: var(--gold); display: grid; place-items: center; }
.brand__mark .crest { transition: opacity 0.3s var(--ease); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.18em;
}
.brand__sub {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-light-2);
  margin-top: 4px;
}

/* Nav */
.nav__list { display: flex; align-items: center; gap: 2rem; }
.nav__list a {
  position: relative;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-light-2);
  padding: 0.4rem 0;
  transition: color 0.25s var(--ease);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav__list a:hover,
.nav__list a.is-active { color: var(--text-light); }
.nav__list a:hover::after,
.nav__list a.is-active::after { width: 100%; }

.header__cta { padding: 0.7rem 1.4rem; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 0 10px;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 100%;
  background: var(--text-light);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.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); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--text-light);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__art { width: 100%; height: 100%; opacity: 0.9; }
.hero__bg::after {
  /* depth + legibility veil */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,16,32,0.55) 0%, rgba(11,16,32,0.2) 35%, rgba(11,16,32,0.85) 100%),
    linear-gradient(90deg, rgba(11,16,32,0.9) 0%, rgba(11,16,32,0.25) 55%, transparent 100%);
}
.hero__crest {
  position: absolute;
  right: clamp(-60px, -2vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 38vw, 560px);
  color: rgba(202, 163, 92, 0.10);
  z-index: 0;
}
.hero__crest svg { width: 100%; height: auto; }

.hero__inner { position: relative; z-index: 1; max-width: 880px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0.4rem 0 1.6rem;
}
.hero__title em { color: var(--gold-soft); font-style: italic; }
.hero__lead {
  max-width: 60ch;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-light-2);
  margin: 0 0 2.4rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.8rem; }
.hero__motto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-light-2);
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
  max-width: 52ch;
}
.hero__motto span { color: var(--gold-soft); }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 1;
  width: 26px; height: 44px;
  border: 1px solid rgba(236,233,226,0.35);
  border-radius: 14px;
  display: grid; place-items: start center;
  padding-top: 8px;
}
.hero__scroll-line {
  width: 2px; height: 8px; border-radius: 2px;
  background: var(--gold-soft);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* hero art subtle drift */
.hero__art .net path { stroke-dasharray: 1; animation: dash 1ms linear; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-12px); } }
.hero__art .nodes circle { animation: pulse 4s ease-in-out infinite; }
.hero__art .nodes circle:nth-child(2n) { animation-delay: 1.1s; }
.hero__art .nodes circle:nth-child(3n) { animation-delay: 2.2s; }
@keyframes pulse { 0%,100% { opacity: 0.35; } 50% { opacity: 1; } }

/* =========================================================
   ABOUT
   ========================================================= */
.about__intro { margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.about__body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.about__lead p { font-size: 1.12rem; color: var(--text-soft); margin: 0 0 1.4rem; }
.about__lead p:last-child { margin-bottom: 0; }
.about__lead em { font-style: italic; color: var(--text); }

.about__philosophy {
  position: relative;
  background: var(--ink);
  color: var(--text-light);
  padding: 2.4rem 2rem 2rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.about__philosophy::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 240px at 100% 0%, rgba(202,163,92,0.16), transparent 70%);
}
.about__quote-mark {
  position: absolute;
  top: -0.6rem; right: 1.2rem;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: rgba(202,163,92,0.22);
}
.about__philosophy-label {
  position: relative;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-soft); margin: 0 0 0.8rem;
}
.about__philosophy-text {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.4;
  margin: 0;
}
.about__philosophy-text strong { color: var(--gold-soft); font-weight: 600; }

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: clamp(2.8rem, 5vw, 4rem);
  padding-top: clamp(2.2rem, 4vw, 3rem);
  border-top: 1px solid var(--paper-line);
}
.about__stat-key {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 0.3rem;
}
.about__stat-val { font-size: 0.95rem; color: var(--text-mute); }

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service {
  position: relative;
  min-width: 0;
  background: var(--ink);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  transition: background 0.35s var(--ease);
}
.service:hover { background: var(--ink-3); }
.service__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  color: var(--gold);
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  margin-bottom: 1.4rem;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.service__icon svg { width: 24px; height: 24px; }
.service:hover .service__icon { border-color: var(--gold); transform: translateY(-3px); }
.service__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.2rem;
  color: var(--text-light);
}
.service__sub { font-size: 0.86rem; color: var(--gold-soft); margin: 0 0 0.7rem; font-style: italic; }
.service__text { font-size: 0.98rem; color: var(--text-light-2); margin: 0.5rem 0 0; }

.service__badge {
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid var(--ink-line);
  border-radius: 100px;
  padding: 0.25rem 0.6rem;
}
.service--cta { justify-content: center; background: linear-gradient(160deg, var(--ink-3), var(--ink)); }
.service--cta .service__title { color: var(--gold-soft); }
.service--cta .link-arrow { margin-top: 1.2rem; }

/* =========================================================
   APPROACH
   ========================================================= */
.approach {
  margin-top: 1rem;
  border-top: 1px solid var(--paper-line);
}
.approach__step {
  display: grid;
  grid-template-columns: minmax(120px, 0.5fr) 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: baseline;
  padding: clamp(1.8rem, 4vw, 2.8rem) 0;
  border-bottom: 1px solid var(--paper-line);
  transition: padding-left 0.35s var(--ease);
}
.approach__step:hover { padding-left: 0.8rem; }
.approach__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
  -webkit-text-stroke: 0;
}
.approach__content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.approach__content p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 60ch;
}

/* =========================================================
   SECTORS
   ========================================================= */
.sectors {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}
.sector {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;            /* allow grid track to shrink below content width */
  padding: 2rem 1.6rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.sector:hover { transform: translateY(-6px); border-color: var(--gold); background: rgba(202,163,92,0.06); }
.sector__icon { flex: 0 0 auto; width: 40px; height: 40px; color: var(--gold); }
.sector__icon svg { width: 100%; height: 100%; }
.sector__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-light);
  overflow-wrap: break-word;   /* long words never overflow the card */
}
.sectors__note {
  margin-top: clamp(2.4rem, 5vw, 3.4rem);
  font-size: 1.05rem;
  color: var(--text-light-2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.8rem;
}

/* =========================================================
   WHY
   ========================================================= */
.why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.6rem, 3vw, 2.6rem);
}
.why__item { position: relative; min-width: 0; padding-top: 1.6rem; }
.why__item h3 { overflow-wrap: break-word; }
.why__item::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 40px; height: 2px; background: var(--gold);
}
.why__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  color: var(--gold-deep);
  margin-bottom: 1.3rem;
}
.why__icon svg { width: 44px; height: 44px; }
.why__item h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  color: var(--text);
}
.why__item p { margin: 0; font-size: 0.98rem; color: var(--text-soft); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact__lead { color: var(--text-light-2); font-size: 1.1rem; margin: 1.4rem 0 2.6rem; max-width: 46ch; }
.contact__details { display: grid; gap: 1.8rem; }
.contact__details li { display: grid; gap: 0.4rem; }
.contact__label {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-soft);
}
.contact__details address,
.contact__details a { color: var(--text-light); font-size: 1.02rem; line-height: 1.6; }
.contact__details a { transition: color 0.25s var(--ease); width: fit-content; }
.contact__details a:hover { color: var(--gold-soft); }

/* Form */
.contact__form-wrap {
  background: linear-gradient(165deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem);
}
.form__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  margin: 0 0 1.6rem;
  color: var(--text-light);
}
.field { margin-bottom: 1.3rem; }
.field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light-2);
  margin-bottom: 0.5rem;
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-light);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(236,233,226,0.16);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(236,233,226,0.4); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(202,163,92,0.05);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #c2603f; }

.form__status {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  min-height: 1.2em;
  color: var(--gold-soft);
}
.form__status.is-error { color: #e08a6a; }
.form__note {
  margin: 1.2rem 0 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-light-2);
}

/* Jakarta skyline — grounds the firm's location (self-contained SVG) */
.section--contact { overflow: hidden; padding-bottom: clamp(8rem, 16vw, 12rem); }
.section--contact .contact { position: relative; z-index: 2; }
.skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  height: clamp(120px, 18vw, 200px);
  pointer-events: none;
}
.skyline svg { width: 100%; height: 100%; }
.skyline__back path { fill: rgba(202, 163, 92, 0.10); }
.skyline__front path { fill: rgba(8, 12, 24, 0.85); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #080c18;
  color: var(--text-light-2);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--ink-line);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.brand--footer .brand__name { font-size: 1.05rem; letter-spacing: 0.08em; }
.footer__addr { margin: 1.2rem 0 0; font-size: 0.92rem; line-height: 1.8; }
.footer__addr a { color: var(--text-light); transition: color 0.2s var(--ease); }
.footer__addr a:hover { color: var(--gold-soft); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; }
.footer__nav a { font-size: 0.88rem; color: var(--text-light-2); transition: color 0.2s var(--ease); }
.footer__nav a:hover { color: var(--gold-soft); }

.footer__disclaimer {
  padding: 1.6rem 0 0.2rem;
  border-top: 1px solid rgba(236,233,226,0.08);
}
.footer__disclaimer p {
  margin: 0;
  max-width: 70ch;
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(236,233,226,0.5);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(236,233,226,0.08);
  font-size: 0.82rem;
}
.footer__bottom p { margin: 0; }
.footer__motto { font-family: var(--font-display); font-style: italic; color: var(--gold-soft); letter-spacing: 0.04em; }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* stagger within grids */
.services .service:nth-child(2) { transition-delay: 0.08s; }
.services .service:nth-child(3) { transition-delay: 0.16s; }
.services .service:nth-child(4) { transition-delay: 0.08s; }
.services .service:nth-child(5) { transition-delay: 0.16s; }
.services .service:nth-child(6) { transition-delay: 0.24s; }
.sectors .sector:nth-child(2) { transition-delay: 0.07s; }
.sectors .sector:nth-child(3) { transition-delay: 0.14s; }
.sectors .sector:nth-child(4) { transition-delay: 0.21s; }
.sectors .sector:nth-child(5) { transition-delay: 0.28s; }
.why .why__item:nth-child(2) { transition-delay: 0.08s; }
.why .why__item:nth-child(3) { transition-delay: 0.16s; }
.why .why__item:nth-child(4) { transition-delay: 0.24s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .header__cta { display: none; }
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(11,16,32,0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ink-line);
    transform: translateY(-130%);
    transition: transform 0.45s var(--ease);
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
  }
  .nav__list li { border-bottom: 1px solid var(--ink-line); }
  .nav__list a { display: block; padding: 1.1rem 0; font-size: 1rem; }
  .nav__list a::after { display: none; }

  .about__body { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr; gap: 1.6rem; text-align: left; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .services { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; }
  .approach__step { grid-template-columns: 1fr; gap: 0.4rem; }
  .approach__num { font-size: 2.4rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .brand__sub { display: none; }
  .footer__inner { flex-direction: column; }
}

@media (max-width: 460px) {
  .sectors { grid-template-columns: 1fr; }
  .why__icon { width: 40px; height: 40px; }
  .why__icon svg { width: 40px; height: 40px; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
