/* ==========================================================================
   Umair Shahid | umairshahid.com
   Design system and site styles
   Palette: deep navy base, teal structure, gold emphasis
   Type: Carlito (Calibri metric compatible), self hosted
   ========================================================================== */

/* ---------- fonts ---------- */
@font-face {
  font-family: "Carlito";
  src: url("../fonts/carlito-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Carlito";
  src: url("../fonts/carlito-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Carlito";
  src: url("../fonts/carlito-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --ink:        #05101f;
  --ink-soft:   #08182b;
  --navy:       #0a2038;
  --navy-lift:  #0e2b47;
  --line-dark:  #173252;
  --line-dark-2:#12283f;

  --teal:       #17a0a8;
  --teal-soft:  #2fc3cb;
  --gold:       #e0a83e;
  --gold-soft:  #f0c169;

  --paper:      #f3f5f8;
  --paper-2:    #e9edf3;
  --line-light: #d5dde7;

  --on-dark:      #eef3f8;
  --on-dark-mute: #93a9c0;
  --on-light:     #0b1b2e;
  --on-light-mute:#4a5f76;

  --pad:   clamp(1.25rem, 5vw, 4rem);
  --gap:   clamp(1.5rem, 3vw, 3rem);
  --sect:  clamp(3.5rem, 8vw, 7rem);
  --wrap:  1220px;
  --wrap-xl: 1360px;
  --radius: 2px;

  --fs-display: clamp(2.9rem, 8.6vw, 6.1rem);
  --fs-h1:      clamp(2.1rem, 5.4vw, 3.5rem);
  --fs-h2:      clamp(1.65rem, 3.6vw, 2.5rem);
  --fs-h3:      clamp(1.15rem, 2vw, 1.4rem);
  --fs-lead:    clamp(1.05rem, 1.6vw, 1.3rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.875rem;
  --fs-micro:   0.75rem;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: "Carlito", Calibri, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.022em; line-height: 1.12; }
p { margin: 0 0 1rem; max-width: 68ch; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 0.6rem 1rem; font-weight: 700;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.band { padding-block: var(--sect); position: relative; }
.band--navy  { background: var(--navy); }
.band--ink   { background: var(--ink); }

/* engineering sheet grid, used behind dark bands */
.sheet::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(23,160,168,0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23,160,168,0.055) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
}
.band > .wrap { position: relative; z-index: 1; }

/* section heading: hairline rule with a teal tick, reads like a sheet divider */
.sect-head { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.sect-head__rule {
  display: flex; align-items: center; gap: 0.9rem;
  margin-bottom: 1rem; color: var(--teal-soft);
  font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.04em;
}
.sect-head__rule::after { content: ""; flex: 1; height: 1px; background: var(--line-dark); }
.sect-head h2 { font-size: var(--fs-h2); }
.sect-head p { margin-top: 0.9rem; font-size: var(--fs-lead); color: var(--on-dark-mute); max-width: 78ch; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(5, 16, 31, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-dark-2);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.site-head.is-scrolled { background: rgba(5, 16, 31, 0.96); border-bottom-color: var(--line-dark); }
.site-head__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand__name { font-weight: 700; letter-spacing: 0.02em; font-size: 1.02rem; line-height: 1.1; }
.brand__cert { display: block; font-size: var(--fs-micro); font-weight: 400; color: var(--teal-soft); letter-spacing: 0.09em; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a {
  text-decoration: none; font-size: 0.95rem; color: var(--on-dark-mute);
  padding: 0.35rem 0; border-bottom: 1px solid transparent; transition: color 0.2s ease, border-color 0.2s ease;
}
.nav a:hover { color: var(--on-dark); border-bottom-color: var(--teal); }
.nav a[aria-current="page"], .nav a[aria-current="true"] { color: var(--on-dark); border-bottom-color: var(--gold); }
.nav__cta {
  border: 1px solid var(--line-dark); padding: 0.5rem 1.1rem !important;
  color: var(--on-dark) !important; border-radius: var(--radius);
}
.nav__cta:hover { background: var(--teal); border-color: var(--teal); color: var(--ink) !important; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-dark); color: var(--on-dark);
  width: 44px; height: 40px; border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor;
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--ink); border-bottom: 1px solid var(--line-dark);
    padding: 0.5rem var(--pad) 1.5rem; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.95rem 0; border-bottom: 1px solid var(--line-dark-2); font-size: 1.05rem; }
  .nav__cta { margin-top: 1rem; text-align: center; padding: 0.85rem 1rem !important; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.6rem; font-weight: 700; font-size: 0.98rem;
  text-decoration: none; border-radius: var(--radius); border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn--primary { background: var(--gold); color: #14100a; }
.btn--primary:hover { background: var(--gold-soft); }
.btn--ghost { border-color: var(--line-dark); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.75rem; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -10%; top: -20%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(23,160,168,0.16), transparent 62%);
  pointer-events: none;
}
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  position: relative; z-index: 2;
}
.hero h1 {
  font-size: var(--fs-display); line-height: 0.92; letter-spacing: -0.038em;
  text-transform: uppercase; margin-bottom: 1.1rem;
}
.hero__role {
  font-size: clamp(1.05rem, 2.1vw, 1.5rem); font-weight: 700; color: var(--on-dark);
  line-height: 1.3; margin-bottom: 0.6rem; max-width: none;
}
.hero__cert { color: var(--teal-soft); font-weight: 700; letter-spacing: 0.06em; font-size: 0.95rem; }
.hero__cert span { color: var(--line-dark); margin-inline: 0.5rem; }
.hero__lead {
  margin-top: 1.4rem; font-size: var(--fs-lead); color: var(--on-dark-mute);
  max-width: 56ch; line-height: 1.6;
}
.hero__portrait { position: relative; align-self: end; }
.hero__portrait img {
  width: 100%; max-width: 492px; margin-left: auto;
  mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
}
.hero__tag {
  margin-top: 1rem; max-width: 26rem; margin-left: auto;
  border-left: 2px solid var(--teal); padding: 0.35rem 0 0.35rem 0.9rem;
  font-size: var(--fs-small); color: var(--on-dark-mute); line-height: 1.45;
}
.hero__tag b { display: block; color: var(--on-dark); font-size: 0.95rem; }

/* metric title block */

/* ---------- statement ---------- */
.statement { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.statement h2 { font-size: var(--fs-h2); margin-bottom: 1.25rem; }
.statement p { font-size: var(--fs-lead); line-height: 1.6; }
.facts { border-top: 1px solid var(--line-light); }
.band--navy .facts, .band--ink .facts { border-top-color: var(--line-dark); }
.facts li {
  display: flex; justify-content: space-between; gap: 1.25rem; padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-light); font-size: 0.98rem;
}
.band--navy .facts li, .band--ink .facts li { border-bottom-color: var(--line-dark); }
.facts b { font-weight: 700; }
.facts span { color: var(--on-light-mute); text-align: right; }
.band--navy .facts span, .band--ink .facts span { color: var(--on-dark-mute); }

/* ---------- expertise rows ---------- */
.rows { border-top: 1px solid var(--line-dark); }
.row {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: clamp(0.5rem, 3vw, 2.5rem); padding: clamp(1.35rem, 3vw, 2rem) 0;
  border-bottom: 1px solid var(--line-dark); align-items: baseline;
}
.row h3 { font-size: var(--fs-h3); }
.row p { margin: 0; color: var(--on-dark-mute); }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin-top: 0.8rem; font-size: var(--fs-small); color: var(--teal-soft); }

/* ---------- sector strip ---------- */
.sectors { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line-dark); }
.sectors li { padding: 1.4rem 1rem; border-left: 1px solid var(--line-dark); font-size: 0.95rem; font-weight: 700; line-height: 1.3; }
.sectors li:first-child { border-left: 0; }
.sectors small { display: block; margin-top: 0.4rem; font-weight: 400; font-size: var(--fs-small); color: var(--on-dark-mute); }

/* ---------- project register ---------- */

/* ---------- service columns ---------- */

/* ---------- why / value grid ---------- */
.value { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.value > div { border-left: 1px solid var(--line-dark); padding-left: 1.25rem; }
.value h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.value p { margin: 0; font-size: 0.98rem; color: var(--on-dark-mute); }

/* ---------- credentials ---------- */
.band--navy .creds li { background: var(--navy); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--gap); align-items: start; }
.contact-list { border-top: 1px solid var(--line-dark); }
.contact-list li { border-bottom: 1px solid var(--line-dark); }
.contact-list a, .contact-list .plain {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.05rem 0; text-decoration: none; font-weight: 700;
  transition: color 0.2s ease;
}
.contact-list a:hover { color: var(--teal-soft); }
.contact-list a > span, .contact-list .plain > span { font-weight: 400; font-size: var(--fs-small); color: var(--on-dark-mute); }
.engage li { padding: 0.7rem 0; border-bottom: 1px solid var(--line-dark); font-size: 0.98rem; }

.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 62%); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: var(--gap); align-items: start; }
.cta-card { border-top: 2px solid var(--gold); padding-top: 1.1rem; }
.cta-card li { border-bottom: 1px solid var(--line-dark); }
.cta-card a, .cta-card .plain { display: block; padding: 0.8rem 0; text-decoration: none; font-weight: 700; }
.cta-card a:hover { color: var(--teal-soft); }
.cta-card small { display: block; font-weight: 400; font-size: var(--fs-small); color: var(--on-dark-mute); }
@media (max-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr; } }
.cta-band h2 { font-size: var(--fs-h1); max-width: 20ch; margin-bottom: 1rem; }
.cta-band p { font-size: var(--fs-lead); color: var(--on-dark-mute); max-width: 52ch; }

/* ---------- page header (inner pages) ---------- */
.page-head { padding-block: clamp(2.75rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem); background: var(--ink); position: relative; overflow: hidden; }
.page-head h1 { font-size: var(--fs-h1); margin-bottom: 1rem; }
.page-head p { font-size: var(--fs-lead); color: var(--on-dark-mute); max-width: 58ch; }
.page-head__eyebrow { color: var(--gold); font-weight: 700; font-size: var(--fs-small); letter-spacing: 0.12em; margin-bottom: 0.9rem; display: block; }

/* ---------- timeline (about) ---------- */

/* ---------- footer ---------- */
.site-foot { background: #030b16; border-top: 1px solid var(--line-dark-2); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); }
.foot-grid h4, .foot-head { font-size: 0.95rem; margin-bottom: 0.9rem; color: var(--on-dark); }
.foot-grid a { color: var(--on-dark-mute); text-decoration: none; }
.foot-grid a:hover { color: var(--teal-soft); }
.foot-grid li { padding: 0.3rem 0; font-size: 0.95rem; color: var(--on-dark-mute); }
.foot-note {
  margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark-2);
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between;
  font-size: var(--fs-small);
}
.foot-note, .foot-note a { color: #67809b; }
.foot-brand { font-weight: 700; color: var(--on-dark); font-size: 1.05rem; letter-spacing: 0.02em; }
.foot-tagline { color: var(--on-dark-mute); font-size: var(--fs-small); margin-top: 0.5rem; max-width: 34ch; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.d1.is-in { transition-delay: 0.08s; }
.reveal.d2.is-in { transition-delay: 0.16s; }
.reveal.d3.is-in { transition-delay: 0.24s; }
.reveal.d4.is-in { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .btn, .nav a { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .value { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sectors li:nth-child(4) { border-left: 0; }
  .sectors li:nth-child(n+4) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; align-items: start; }
  .hero__portrait { max-width: none; margin-top: 1.1rem; }
  .hero__portrait img {
    max-width: none; width: 100%; margin-inline: 0;
    mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
  }

  .hero__portrait::before {
    right: 0; left: 0; top: 2%; width: 100%; height: 92%;
  }
  .hero__tag { margin: 1.1rem 0 0; max-width: none; }
  .statement, .contact-grid, .services { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .value { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sectors li { border-left: 1px solid var(--line-dark); }
  .sectors li:nth-child(odd) { border-left: 0; }
  .sectors li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .foot-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- print ---------- */
@media print {
  .site-head, .nav, .hero__portrait, .btn-row, .site-foot { display: none !important; }
  body { background: #fff; color: #000; }
  .band, .hero { background: #fff !important; color: #000; }
}

/* ==========================================================================
   Portfolio derived components: icon system, impact band, capability cards,
   advise / assure / deliver flow, credential pills, contact bar
   ========================================================================== */

.ico { width: 24px; height: 24px; flex: none; }

/* metric block gains the portfolio icon treatment */

/* core leadership and technical authority */
.cap-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark);
}
.cap {
  background: var(--ink); padding: 1.7rem 1.5rem 1.4rem;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.band--navy .cap { background: var(--navy); }
.cap .ico { width: 38px; height: 38px; color: var(--teal-soft); stroke-width: 1.3; }
.cap h3 { font-size: 1.05rem; }
.cap p { margin: 0; font-size: 0.95rem; color: var(--on-dark-mute); }
.cap::after { content: ""; display: block; width: 46px; height: 2px; background: var(--gold); margin-top: 0.75rem; }

/* complex requirements to delivery flow */

/* sectors and lifecycle icons */
.sectors .ico { width: 30px; height: 30px; color: var(--teal-soft); stroke-width: 1.4; margin-bottom: 0.75rem; }
.sectors b { display: block; font-weight: 700; }

/* credentials: two primary, three supporting */
.cred-lead { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.cred-lead article { border-top: 2px solid var(--gold); padding-top: 1.1rem; }
.cred-lead h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--gold); letter-spacing: -0.02em; }
.cred-lead p { margin: 0.55rem 0 0; font-size: 0.98rem; color: var(--on-dark-mute); }

/* footer contact bar and tagline strip */
.contact-bar {
  display: flex; flex-wrap: wrap; gap: 1rem clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 1.6rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line-dark-2);
}
.contact-bar a, .contact-bar .plain {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; font-weight: 700; font-size: 0.98rem; color: var(--on-dark);
}
.contact-bar a:hover { color: var(--teal-soft); }
.contact-bar .disc {
  width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--teal);
  display: grid; place-items: center; color: var(--teal-soft);
}
.contact-bar .ico { width: 17px; height: 17px; }
.tagline-strip {
  display: flex; flex-wrap: wrap; gap: 0.5rem clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 2.25rem; padding-top: 1.2rem; border-top: 1px solid var(--line-dark-2);
  color: var(--gold); font-weight: 700; font-size: var(--fs-small); letter-spacing: 0.05em;
}
.tagline-strip li { position: relative; }
.tagline-strip li + li::before {
  content: ""; position: absolute; left: clamp(-0.75rem, -1.5vw, -0.4rem); top: 0.35em;
  width: 1px; height: 0.9em; background: var(--line-dark);
}
.foot-note { margin-top: 1.25rem; }

@media (max-width: 1080px) {
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .cred-lead { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .cap-grid { grid-template-columns: 1fr; }
  .cap { padding: 1.4rem 1.25rem 1.2rem; }
  .contact-bar { gap: 0.9rem; flex-direction: column; }
}
@media (max-width: 430px) {
}

/* ==========================================================================
   One theme: deep navy throughout, with infrastructure line art behind the
   sections. Rhythm comes from tonal shifts and artwork, not light and dark.
   ========================================================================== */

:root {
  --panel:      #081a2e;
  --panel-lift: #0b2440;
  --sheen: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0) 55%);
}

body { background: var(--ink); }

.band--panel {
  background: linear-gradient(180deg, #071729 0%, #0a2138 52%, #071628 100%);
  border-top: 1px solid var(--line-dark-2);
  border-bottom: 1px solid var(--line-dark-2);
}
.band--navy { background: linear-gradient(160deg, #0b2440 0%, #071a2e 70%); }
.band--ink  { background: linear-gradient(180deg, #05101f 0%, #061424 100%); }

/* section artwork: atmosphere, not illustration. Fixed scale so a wide screen
   never magnifies the scenes into slabs, and low presence so text always leads. */
.art { position: relative; overflow: hidden; isolation: isolate; }
.art::after {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  background-repeat: no-repeat;
}
/* data center hall, anchored to one corner at a fixed size */
.art--racks::after {
  right: 0; bottom: 0; width: min(700px, 46%); height: min(66%, 420px);
  background-image: url("../img/bg-hall.svg");
  background-size: cover; background-position: center;
  opacity: 0.2;
  mask-image: radial-gradient(62% 62% at 62% 62%, #000 2%, transparent 74%);
  -webkit-mask-image: radial-gradient(62% 62% at 62% 62%, #000 2%, transparent 74%);
}
/* smart city, tiled at its natural size along the base line */
.art--skyline::after {
  left: 0; right: 0; bottom: 0; height: min(40%, 260px);
  background-image: url("../img/bg-skyline.svg");
  background-size: 1500px auto; background-position: center bottom;
  background-repeat: repeat-x;
  opacity: 0.34;
  mask-image: linear-gradient(to top, transparent 0%, #000 22%, transparent 96%);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 22%, transparent 96%);
}
/* fiber and connectivity, tiled, kept to one side */
.art--mesh::after {
  inset: 0;
  background-image: url("../img/bg-fiber.svg");
  background-size: 1100px auto; background-position: right center;
  opacity: 0.3;
  mask-image: radial-gradient(70% 90% at 82% 50%, #000 15%, transparent 82%);
  -webkit-mask-image: radial-gradient(70% 90% at 82% 50%, #000 15%, transparent 82%);
}
/* smart building, a quiet edge detail */
.art--floors::after {
  right: 0; top: 8%; width: min(520px, 38%); height: 84%;
  background-image: url("../img/bg-building.svg");
  background-size: contain; background-position: right center;
  opacity: 0.22;
  mask-image: linear-gradient(to left, #000 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, #000 40%, transparent 100%);
}
/* ambient depth, and an outer vignette so the content column reads as lit on wide screens */
.art::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(62% 58% at 50% 45%, rgba(23,160,168,0.07), transparent 70%),
    radial-gradient(120% 100% at 50% 50%, transparent 42%, rgba(3, 10, 20, 0.55) 100%);
}
.sheet.art::before {
  background:
    radial-gradient(62% 58% at 50% 45%, rgba(23,160,168,0.07), transparent 70%),
    radial-gradient(120% 100% at 50% 50%, transparent 42%, rgba(3, 10, 20, 0.55) 100%),
    linear-gradient(to right, rgba(23,160,168,0.035) 1px, transparent 1px) 0 0 / 76px 76px,
    linear-gradient(to bottom, rgba(23,160,168,0.035) 1px, transparent 1px) 0 0 / 76px 76px;
}

.band > .wrap, .hero__inner, .metrics { position: relative; z-index: 2; }

/* surfaces sit on the new panel tones */
.band--panel .cap, .band--panel .creds li { background: rgba(6, 18, 32, 0.72); backdrop-filter: blur(2px); }
.band--navy .cap { background: rgba(5, 16, 31, 0.6); }
.band--panel .sectors, .band--navy .sectors { background: rgba(5, 16, 31, 0.45); }
.cap { box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); }
.cap:hover { background: rgba(11, 36, 64, 0.85); }
.cap, .sectors li, .pills li { transition: background 0.25s ease, border-color 0.25s ease; }
.sectors li:hover { background: rgba(23,160,168,0.05); }

/* the statement fact table reads as a spec sheet */
.facts { border-top-color: var(--line-dark); }
.facts li { border-bottom-color: var(--line-dark); }
.facts span { color: var(--on-dark-mute); }

/* premium detail work */
.sect-head h2 { max-width: 46ch; }
.hero { border-bottom: 1px solid var(--line-dark-2); }
.btn--primary { box-shadow: 0 10px 30px rgba(224, 168, 62, 0.16); }
.btn--primary:hover { box-shadow: 0 12px 34px rgba(224, 168, 62, 0.26); }
.cta-band {
  background:
    radial-gradient(90% 120% at 82% 10%, rgba(23,160,168,0.16), transparent 60%),
    linear-gradient(135deg, #0b2440 0%, #05101f 66%);
}

@media (max-width: 900px) {
  .art--racks::after { width: 120%; right: -20%; height: 46%; opacity: 0.8; }
  .art--floors::after { width: 100%; opacity: 0.55; }
  .art--mesh::after { mask-image: radial-gradient(140% 80% at 60% 30%, #000 10%, transparent 78%);
                      -webkit-mask-image: radial-gradient(140% 80% at 60% 30%, #000 10%, transparent 78%); }
}
@media (max-width: 620px) {
}

/* hero carries the city and connectivity atmosphere behind the type */
.hero {
  background:
    linear-gradient(to right, #05101f 0%, rgba(5,16,31,0.92) 34%, rgba(5,16,31,0.5) 60%, rgba(5,16,31,0.2) 88%),
    linear-gradient(to top, #05101f 6%, rgba(5,16,31,0.55) 32%, rgba(5,16,31,0) 66%),
    radial-gradient(120% 90% at 50% 50%, transparent 38%, rgba(3,10,20,0.62) 100%),
    url("../img/bg-skyline.svg") center bottom / 1500px auto repeat-x,
    linear-gradient(170deg, #08203a 0%, #05101f 64%);
}
@media (max-width: 900px) {
  .hero {
    background:
      linear-gradient(to top, #05101f 6%, rgba(5,16,31,0.55) 38%, rgba(5,16,31,0.15) 70%),
      url("../img/bg-skyline.svg") center bottom / 240% auto no-repeat,
      linear-gradient(170deg, #08203a 0%, #05101f 64%);
  }
}
.page-head {
  background:
    linear-gradient(to top, rgba(5,16,31,0.9) 12%, rgba(5,16,31,0.2) 55%, transparent 80%),
    linear-gradient(170deg, #071a2d 0%, #05101f 70%);
}

/* ==========================================================================
   Premium pass: glass surfaces over the artwork, luminous accents, depth
   ========================================================================== */

.band, .hero, .page-head { position: relative; }
.band + .band { box-shadow: inset 0 1px 0 rgba(79, 219, 228, 0.10); }

/* content surfaces read clearly on top of the scenes */
.cap, .creds li, .band--panel .cap, .band--navy .cap {
  background: rgba(5, 16, 31, 0.66);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}
.sectors, .band--panel .sectors, .band--navy .sectors {
  background: rgba(5, 16, 31, 0.8);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .cap, .creds li, .sectors, .pills li { background: rgba(5, 16, 31, 0.93); }
}
.cap { box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.cap:hover {
  background: rgba(11, 36, 64, 0.92);
  box-shadow: inset 0 1px 0 rgba(79,219,228,0.22), 0 18px 40px rgba(0,0,0,0.35);
}
.sectors li:hover { background: rgba(23,160,168,0.08); }

.facts li { background: rgba(5, 16, 31, 0.5); padding-inline: 0.9rem; }

/* luminous numerals */
@supports not (background-clip: text) {
}

/* section rules glow slightly */
.sect-head__rule::after { background: linear-gradient(90deg, rgba(79,219,228,0.55), rgba(23,50,82,0.2)); }

/* hero presence */
.hero__portrait::before {
  content: ""; position: absolute; right: -8%; top: 6%; width: 92%; height: 88%;
  background: radial-gradient(closest-side, rgba(23,160,168,0.30), transparent 72%);
  filter: blur(12px); z-index: -1;
}
.hero h1 { text-shadow: 0 18px 50px rgba(0,0,0,0.55); }

/* contact bar discs glow */
.contact-bar .disc {
  background: radial-gradient(circle at 50% 35%, rgba(23,160,168,0.22), rgba(5,16,31,0.9));
  border-color: rgba(79,219,228,0.5);
}

@media (max-width: 900px) {
  .art--racks::after { width: 130%; right: -26%; height: 78%; top: auto; bottom: 0; opacity: 0.75; }
  .art--floors::after { width: 118%; right: -22%; opacity: 0.6; }
  .art--skyline::after { height: 52%; }
  .art--mesh::after { mask-image: radial-gradient(140% 90% at 62% 40%, #000 16%, transparent 84%);
                      -webkit-mask-image: radial-gradient(140% 90% at 62% 40%, #000 16%, transparent 84%); }
}

/* ==========================================================================
   Audit pass: brand mark, coordination diagram, trajectory rail, lifecycle
   rail, unified footer, alignment corrections
   ========================================================================== */

/* ---- brand mark, identical in header and footer ---- */
.mark { width: 34px; height: 34px; flex: none; display: block; }
.brand { gap: 0.7rem; align-items: center; }
.brand__name { font-size: 1.02rem; }
.foot-brand { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 0.6rem; }
.foot-brand .mark { width: 38px; height: 38px; }

/* ---- coordination diagram ---- */

/* ---- trajectory rail ---- */

/* ---- footer aligned to the rest of the site ---- */
.site-foot {
  background: linear-gradient(180deg, #061424 0%, #040e1a 100%);
  border-top: 1px solid var(--line-dark);
  position: relative; overflow: hidden;
}
.site-foot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(23,160,168,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23,160,168,0.05) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 80%);
}
.site-foot .wrap { position: relative; z-index: 1; }
.contact-bar { border-bottom: 1px solid var(--line-dark); }
.foot-grid h4 {
  font-size: var(--fs-small); letter-spacing: 0.06em; color: var(--teal-soft);
  font-weight: 700; margin-bottom: 1rem;
}
.foot-grid li { padding: 0.38rem 0; }
.tagline-strip { border-top-color: var(--line-dark); }
.foot-note { border-top: 0; padding-top: 0.75rem; }

/* ---- alignment corrections ---- */
.cap, .creds li, .sectors li, .pills li { padding: 1.5rem 1.45rem; }
.sectors li { padding-block: 1.5rem; }
.sect-head p { margin-top: 1rem; }
.band .btn-row { margin-top: clamp(1.75rem, 3vw, 2.5rem); }

@media (max-width: 980px) {
}
@media (max-width: 620px) {
}

/* trajectory and diagram sit on their own readable surface */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
}

/* skyline meets the band edge softly instead of being cut */
.art--skyline::after {
  mask-image: linear-gradient(to top, transparent 0%, #000 12%, rgba(0,0,0,0.42) 64%, transparent 98%);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 12%, rgba(0,0,0,0.42) 64%, transparent 98%);
}

/* ==========================================================================
   Lifecycle rail: horizontal on desktop, a true vertical timeline on mobile
   ========================================================================== */
.rail {
  position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0; margin-top: clamp(2rem, 4vw, 3rem); list-style: none; padding: 0;
}
.rail::before {
  content: ""; position: absolute; left: 7%; right: 7%; top: 33px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal) 0%, #35b4bd 45%, var(--gold) 100%);
  box-shadow: 0 0 18px rgba(23,160,168,0.45);
}
.rail__step { text-align: center; padding: 0 0.55rem; position: relative; }
.rail__badge {
  position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 1.15rem;
  border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 30%, rgba(23,160,168,0.30), rgba(5,16,31,0.96));
  border: 2px solid var(--teal);
  box-shadow: 0 0 0 7px rgba(5,16,31,0.95), 0 12px 28px rgba(0,0,0,0.45);
}
.rail__step:nth-child(n+5) .rail__badge {
  border-color: var(--gold);
  background: radial-gradient(circle at 50% 30%, rgba(224,168,62,0.26), rgba(5,16,31,0.96));
}
.rail__badge .ico { width: 30px; height: 30px; color: var(--teal-soft); }
.rail__step:nth-child(n+5) .rail__badge .ico { color: var(--gold-soft); }
.rail__num {
  position: absolute; top: -4px; right: -8px; font-size: 0.66rem; font-weight: 700;
  color: #14100a; background: var(--gold); border-radius: 999px; padding: 0.12rem 0.44rem;
  box-shadow: 0 0 0 3px rgba(5,16,31,0.95);
}
.rail__text b { display: block; font-size: 1.02rem; margin-bottom: 0.35rem; }
.rail__text span { display: block; font-size: 0.87rem; color: var(--on-dark-mute); line-height: 1.45; }

@media (max-width: 1000px) {
  .rail { grid-template-columns: 1fr; row-gap: 1.5rem; }
  .rail::before {
    left: 33px; right: auto; top: 34px; bottom: 34px; width: 3px; height: auto;
    background: linear-gradient(180deg, var(--teal), #35b4bd 45%, var(--gold));
  }
  .rail__step {
    display: grid; grid-template-columns: 68px minmax(0, 1fr); align-items: center;
    gap: 1.15rem; text-align: left; padding: 0;
  }
  .rail__badge { margin: 0; }
  .rail__text span { max-width: none; }
}

/* ==========================================================================
   Convergence diagram, career chart, standards chart
   ========================================================================== */
@media (max-width: 860px) { .hub-list { grid-template-columns: 1fr; } }

@media (max-width: 980px) {
}

@media (max-width: 760px) { .chart-legend { grid-template-columns: 1fr; } }

.row--icon h3 { display: flex; align-items: center; gap: 0.8rem; }
.row--icon h3 .ico { width: 30px; height: 30px; color: var(--teal-soft); flex: none;
  filter: drop-shadow(0 0 8px rgba(79,219,228,0.3)); }

.hero__portrait { position: relative; }
.hero__portrait img { filter: contrast(1.03) saturate(1.03); }

/* large monitors: give the content column more width and keep the artwork quiet */
@media (min-width: 1600px) {
  .wrap { max-width: var(--wrap-xl); }
  .art--racks::after { width: min(820px, 46%); }
  .art--floors::after { width: min(560px, 32%); }
  .hero__inner { gap: clamp(2rem, 4vw, 4.5rem); }
}
@media (min-width: 1900px) {
  .art--skyline::after { opacity: 0.28; }
  .art--mesh::after { opacity: 0.24; }
}

/* page heads open on gradient and grid only, never on a scene */
.page-head.art::after { display: none; }

/* hero text aligns to the top edge of the portrait */
.hero__inner > div:first-child { padding-top: 0.35rem; }
.hero h1 { margin-top: -0.12em; }
@media (max-width: 900px) { .hero__inner > div:first-child { padding-top: 0; } }

/* specification table and systems grid */
.spec-table {
  overflow-x: auto; border: 1px solid var(--line-dark);
  background: rgba(5,16,31,0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.spec-table table { width: 100%; border-collapse: collapse; min-width: 640px; }
.spec-table thead th {
  text-align: left; padding: 1rem 1.25rem; font-size: 0.95rem; color: var(--teal-soft);
  letter-spacing: 0.05em; border-bottom: 1px solid var(--line-dark); white-space: nowrap;
}
.spec-table thead th:nth-child(4) { color: var(--gold); }
.spec-table tbody th {
  text-align: left; padding: 0.95rem 1.25rem; font-weight: 700; font-size: 0.98rem;
  border-bottom: 1px solid var(--line-dark-2); white-space: nowrap;
}
.spec-table tbody td {
  padding: 0.95rem 1.25rem; font-size: 0.98rem; color: var(--on-dark-mute);
  border-bottom: 1px solid var(--line-dark-2);
}
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody td:last-child { color: var(--gold-soft); }
.spec-table tbody tr:hover td, .spec-table tbody tr:hover th { background: rgba(23,160,168,0.05); }

.systems {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark);
}
.systems li {
  background: rgba(5,16,31,0.72); padding: 1.1rem 1.2rem; font-size: 0.96rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.systems li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex: none;
  box-shadow: 0 0 10px rgba(47,195,203,0.6);
}
@media (max-width: 900px) { .systems { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .systems li { padding: 0.95rem 0.9rem; font-size: 0.9rem; } }

.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;
}

/* project register */
@media (max-width: 860px) {
}

/* home project teasers, deliberately lighter than the register on the projects page */
@media (max-width: 900px) { .teasers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .teasers { grid-template-columns: 1fr; } }

.attribution {
  margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0; max-width: 74ch;
  font-size: var(--fs-small); color: var(--on-dark-mute);
  border-left: 2px solid var(--line-dark); padding-left: 0.9rem;
}

/* ==========================================================================
   Single page layout: anchor offsets, scope band, authority, risk
   ========================================================================== */
:target, section[id] { scroll-margin-top: 88px; }

.cap-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cap__detail { font-size: 0.93rem; }

.risk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--line-dark); border: 1px solid var(--line-dark); }
.risk__item {
  background: rgba(5,16,31,0.72); padding: 1.5rem 1.45rem;
  display: grid; grid-template-columns: 34px 1fr; gap: 1rem;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.risk__item .ico { width: 30px; height: 30px; color: var(--gold); }
.risk__item h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.risk__item p { margin: 0; font-size: 0.95rem; color: var(--on-dark-mute); }

.engage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.engage-grid li { background: rgba(5,16,31,0.72); padding: 1.4rem 1.4rem; }
.engage-grid b { display: block; font-size: 1.02rem; margin-bottom: 0.35rem; }
.engage-grid span { font-size: 0.94rem; color: var(--on-dark-mute); }

@media (max-width: 1000px) {
  .cap-grid--wide, .risk, .engage-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
}

.cap-grid--wide .cap:last-child { grid-column: 1 / -1; }
@media (max-width: 1000px) { .cap-grid--wide .cap:last-child { grid-column: auto; } }

.foot-top { font-weight: 700; text-decoration: none; }
.foot-top:hover { color: var(--teal-soft); }

/* ==========================================================================
   Services grid and industries strip
   ========================================================================== */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark);
}
.svc {
  background: rgba(5, 16, 31, 0.72); padding: 1.9rem 1.6rem 1.7rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.svc:hover { background: rgba(11, 36, 64, 0.9); box-shadow: inset 0 1px 0 rgba(79,219,228,0.22); }
.svc .ico { width: 40px; height: 40px; color: var(--teal-soft); stroke-width: 1.4;
  filter: drop-shadow(0 0 10px rgba(79,219,228,0.35)); }
.svc h3 { font-size: 1.12rem; line-height: 1.25; }
.svc p { margin: 0; font-size: 0.95rem; color: var(--on-dark-mute); }
.svc::after { content: ""; display: block; width: 48px; height: 2px; background: var(--gold); margin-top: 0.5rem; }

.industries {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark);
}
.industries li {
  background: rgba(5, 16, 31, 0.75); padding: 1.5rem 1.3rem;
  display: flex; align-items: center; gap: 0.9rem;
  font-weight: 700; font-size: 1rem; line-height: 1.3;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background 0.25s ease;
}
.industries li:hover { background: rgba(23,160,168,0.1); }
.industries .ico { width: 30px; height: 30px; color: var(--teal-soft); flex: none; }

@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .svc-grid { grid-template-columns: 1fr; }
  .industries { grid-template-columns: 1fr; }
}

/* ==========================================================================
   KPI band
   ========================================================================== */
.metrics {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2rem, 5vw, 3.5rem);
  background: rgba(5, 16, 31, 0.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(79,219,228,0.22);
  border-bottom: 1px solid rgba(79,219,228,0.14);
}
.metric {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(1.4rem, 2.6vw, 2rem) clamp(1rem, 2vw, 1.75rem);
  border-left: 1px solid var(--line-dark);
}
.metric:first-child { border-left: 0; padding-left: 0; }
.metric .ico {
  width: 30px; height: 30px; color: var(--teal-soft); margin-bottom: 0.85rem;
  filter: drop-shadow(0 0 8px rgba(79,219,228,0.35));
}
.metric__val {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em;
  background: linear-gradient(180deg, #f6d38a 0%, var(--gold) 55%, #b8801f 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
@supports not (background-clip: text) {
  .metric__val { color: var(--gold); -webkit-text-fill-color: currentColor; }
}
.metric__lab { margin-top: 0.6rem; font-size: var(--fs-small); color: var(--on-dark-mute); line-height: 1.4; }

@media (max-width: 900px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric { border-left: 1px solid var(--line-dark); padding-left: clamp(0.9rem, 3vw, 1.5rem); }
  .metric:first-child, .metric:nth-child(3) { border-left: 0; padding-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}

/* ==========================================================================
   Client experience: industry frames with client names
   ========================================================================== */
.exp-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark);
}
.exp {
  background: rgba(5, 16, 31, 0.74); padding: 1.9rem 1.6rem 1.7rem;
  display: flex; flex-direction: column;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.exp:hover { background: rgba(11, 36, 64, 0.9); box-shadow: inset 0 1px 0 rgba(79,219,228,0.22); }
.exp__head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; min-height: 3.2rem; }
.exp__head .ico {
  width: 34px; height: 34px; flex: none; color: var(--teal-soft); stroke-width: 1.5;
  filter: drop-shadow(0 0 9px rgba(79,219,228,0.35));
}
.exp h3 { font-size: 1.08rem; line-height: 1.28; }
.exp > p {
  margin: 0 0 1.35rem; font-size: 0.95rem; color: var(--on-dark-mute); line-height: 1.6;
}
.exp__clients {
  margin-top: 0.35rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.exp__clients li {
  font-size: 0.84rem; font-weight: 700; letter-spacing: 0.01em; color: var(--gold-soft);
  border-left: 2px solid rgba(224,168,62,0.55); padding: 0.3rem 0 0.3rem 0.7rem;
  width: 100%;
}
.exp__clients { flex-direction: column; gap: 0.55rem; }
@media (max-width: 1100px) { .exp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .exp-grid { grid-template-columns: 1fr; }
  .exp__head { min-height: 0; }
}


/* ==========================================================================
   Certifications: designations, industry certifications, development
   ========================================================================== */
.cred-lead { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.cred-lead article { border-top: 2px solid var(--gold); padding-top: 1.2rem; }
.cred-lead h3 {
  font-size: clamp(1.9rem, 3.4vw, 2.4rem); letter-spacing: -0.02em; line-height: 1;
  background: linear-gradient(180deg, #f6d38a, var(--gold) 60%, #b8801f);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
@supports not (background-clip: text) { .cred-lead h3 { color: var(--gold); -webkit-text-fill-color: currentColor; } }
.cred-name { margin: 0.7rem 0 0.35rem; font-size: 1.05rem; font-weight: 700; color: var(--on-dark); }
.cred-body { margin: 0 0 0.9rem; font-size: 0.95rem; color: var(--on-dark-mute); }
.cred-body span { color: var(--line-dark); margin-inline: 0.35rem; }
.cred-valid {
  display: inline-block; font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.03em;
  color: var(--teal-soft); border: 1px solid rgba(47,195,203,0.4); border-radius: 999px;
  padding: 0.32rem 0.85rem; background: rgba(23,160,168,0.08);
}
.cred-sub { margin: clamp(2.25rem, 4vw, 3rem) 0 1.25rem; }
.cert-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark);
}
.cert-grid li {
  background: rgba(5, 16, 31, 0.74); padding: 1.35rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.cert-grid b { font-size: 1.02rem; color: var(--gold-soft); letter-spacing: 0.02em; }
.cert-name { font-size: 0.88rem; color: var(--on-dark); line-height: 1.4; }
.cert-body { font-size: var(--fs-small); color: var(--on-dark-mute); margin-top: auto; padding-top: 0.5rem; }
.cred-cpd {
  margin: clamp(1.75rem, 3vw, 2.25rem) 0 0; max-width: 84ch;
  font-size: 0.98rem; color: var(--on-dark-mute);
  border-left: 2px solid var(--line-dark); padding-left: 1rem;
}
@media (max-width: 1100px) { .cert-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .cred-lead { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) { .cert-grid { grid-template-columns: 1fr; } }
