  @font-face {
      font-family: Janna LT;
      --font-family: "Janna LT";
      font-style: normal;
      font-weight: 400;
      src: url("../Font/a-jannat-lt-RIWAQYBQ.woff2") format("woff2")
    }

    @font-face {
      font-family: Janna LT;
      font-style: normal;
      font-weight: 700;
      src: url("../Font/JannaLTBold-E3BPKWDJ.woff2") format("woff2")
    }

    :root {

      --bg: #f6f9fd;
      --bg-2: #eaf1fa;
      --white: #ffffff;
      --navy: #0b2545;
      --navy-2: #0d3a6b;
      --ink: #0b2545;
      --muted: #4b6284;
      --dim: #7a8ea9;
      --cyan: #0ea5d9;
      --blue: #2563eb;
      --gold: #b48a32;
      --gold-ink: #86611c;
      --line: rgba(11, 37, 69, 0.12);
      /*--serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;*/

      --serif: "Janna LT", Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
      --sans: "Janna LT", Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
      --arabic: "Janna LT", Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
      --pad: clamp(20px, 5vw, 80px);
      --nav-h: 72px;
      color-scheme: light;
      box-sizing: border-box;
      padding-top: env(safe-area-inset-top, 0px);
      padding-bottom: env(safe-area-inset-bottom, 0px);

      --ease:cubic-bezier(.22,.8,.25,1);
    }

    *,
    *::before,
    *::after {
      box-sizing: inherit;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
      -webkit-text-size-adjust: 100%;
    }

    body {
      margin: 0;
      background: var(--bg);
      color: var(--ink);
      font-family: var(--sans);
      font-weight: 400;
      font-size: 1rem;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

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

    .wrap {
      width: 100%;
      max-width: 1440px;
      margin-inline: auto;
      padding-inline: max(var(--pad), env(safe-area-inset-left, 0px)) max(var(--pad), env(safe-area-inset-right, 0px));
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(12, minmax(0, 1fr));
      column-gap: clamp(12px, 1.7vw, 24px);
    }

    section {
      position: relative;
    }

    .pad {
      padding-block: clamp(88px, 12vw, 176px);
    }

    h1,
    h2,
    h3,
    p {
      margin: 0;
    }

    h1,
    h2,
    h3,
    h4 {
      line-height: 1.2;
    }

    h2.title {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(1.75rem, 3.2vw, 2.5rem);
      line-height: 1.06;
      color: var(--navy);
    }

    h3.title {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(1.375rem, 2vw, 1.5rem);
      line-height: 1.06;
      color: var(--navy);
      margin: 20px 0;
    }
    p.title {
      margin-top: 1.2em;
        color: var(--muted);
        font-size: 1.125rem;
    }

    .center-head {
      text-align: center;
      margin: 20px auto 0;
max-width: 48ch;
    }

    .rule-gold {
      width: 48px;
      height: 2px;
      background: var(--gold);
      display: block;
    }

    /* Nav */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 50;
      padding-top: env(safe-area-inset-top, 0px);
      transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
      border-bottom: 1px solid transparent;
    }

    .nav.solid {
      background: rgba(246, 249, 253, .82);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-color: var(--line);
    }

    .nav .wrap {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: var(--nav-h);
    }

    .brand {
      font-family: var(--serif);
      font-size: 1.125rem;
      letter-spacing: .01em;
      color: var(--navy);
    }
    .brand img, .brand svg {
      width: 120px;
    }

    .nav ul {
      display: flex;
      gap: clamp(20px, 3vw, 44px);
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .nav ul a {
      font-size: 0.9375rem;
      color: var(--muted);
      transition: color .25s ease;
      font-weight: 500;
    }

    .nav ul a:hover {
      color: var(--navy);
    }

    .nav .pill {
      font-size: 0.9375rem;
      font-weight: 500;
      padding: 10px 22px;
      border: 1px solid rgba(11, 37, 69, .28);
      border-radius: 999px;
      color: var(--navy);
      transition: background .3s ease, color .3s ease, border-color .3s ease;
    }

    .nav .pill:hover {
      background: var(--navy);
      color: #fff;
      border-color: var(--navy);
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 16px 32px;
      border-radius: 999px;
      font-family: var(--sans);
      font-weight: 500;
      font-size: 1rem;
      letter-spacing: .01em;
      border: 1px solid transparent;
      cursor: pointer;
      transition: transform .3s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease, color .3s ease;
    }

    .btn-primary {
      background: var(--navy);
      color: #fff;
      box-shadow: 0 8px 24px -10px rgba(11, 37, 69, .5);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      background: linear-gradient(120deg, #0d4f9a, #1d6fe0);
      box-shadow: 0 14px 34px -10px rgba(37, 99, 235, .6);
    }

    .btn-ghost {
      border-color: rgba(11, 37, 69, .3);
      color: var(--navy);
      background: rgba(255, 255, 255, .5);
    }

    .btn-ghost:hover {
      border-color: var(--gold);
      color: var(--gold-ink);
      transform: translateY(-2px);
      background: #fff;
    }

    /* Hero */
    .hero {
      position: relative;
      isolation: isolate;
      min-height: 100vh;
      min-height: 100svh;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      background:
        radial-gradient(55% 60% at 82% 38%, rgba(14, 165, 217, .16), transparent 70%),
        radial-gradient(45% 55% at 6% 88%, rgba(37, 99, 235, .10), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #f1f6fc 70%, #eaf1fa 100%);
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
    }

    #net {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      display: block;
    }

    .hero .wrap {
      position: relative;
      z-index: 2;
      flex: 1;
      display: flex;
    }

    .hero .grid {
      flex: 1;
      width: 100%;
      align-items: end;
    }

    .hero-copy {
      grid-column: 1 / span 6;
      max-width: 100%;
      align-self: center;
      padding-block: calc(var(--nav-h) + 24px) 80px;
    }

    .role {
      font-size: clamp(0.875rem, 1.1vw, 1rem);
      color: var(--gold-ink);
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 26px;
    }

    .role::before {
      content: "";
      width: 40px;
      height: 2px;
      background: var(--gold);
      transform-origin: left;
      animation: grow 1.2s cubic-bezier(.2, .7, .2, 1) .3s both;
    }

    @keyframes grow {
      from {
        transform: scaleX(0);
      }

      to {
        transform: scaleX(1);
      }
    }

    h1.name {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(3rem, 5vw, 4.5rem);
      letter-spacing: .01em;
      color: var(--navy);
    }

    h1.name .ln {
      display: block;
      overflow: hidden;
      line-height: .8;
      padding-top: .05em;
    }

    h1.name b {
      display: block;
      font-weight: 400;
      transform: translateY(108%);
      animation: lineUp 1.2s cubic-bezier(.2, .75, .15, 1) forwards;
    }

    h1.name .ln:nth-child(1) b {
      animation-delay: .5s;
    }

    h1.name .ln:nth-child(2) b {
      animation-delay: .68s;
    }

    @keyframes lineUp {
      to {
        transform: none;
      }
    }

    .hero h2.sub {
      font-family: var(--serif);
      font-weight: 400;
      font-style: italic;
      font-size: clamp(1.125rem, 1.7vw, 1.375rem);
      line-height: 1.2;
      margin-top: clamp(22px, 3vw, 40px);
      color: #1c4478;
    }

    .hero p.lede {
      max-width: 50ch;
      margin-top: 20px;
      color: var(--muted);
      font-size: clamp(1rem, 1.3vw, 1.125rem);
    }

    .cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-top: clamp(30px, 3.6vw, 48px);
    }

    .load {
      opacity: 0;
      transform: translateY(18px);
      animation: rise 1s cubic-bezier(.2, .7, .2, 1) forwards;
    }

    .load.d1 {
      animation-delay: .2s;
    }

    .load.d3 {
      animation-delay: .95s;
    }

    .load.d4 {
      animation-delay: 1.15s;
    }

    .load.d5 {
      animation-delay: 1.35s;
    }

    @keyframes rise {
      to {
        opacity: 1;
        transform: none;
      }
    }

    .hero-photo {
      grid-column: 8 / -1;
      position: relative;
      align-self: end;
      display: flex;
      justify-content: center;
    }

    .layer-orbit,
    .layer-img {
      will-change: transform;
      transition: transform .25s ease-out;
    }

    .layer-orbit {
      position: absolute;
      left: 50%;
      top: 44%;
      width: 165%;
      aspect-ratio: 1;
      margin: 0;
      translate: -50% -50%;
      z-index: 0;
    }

    .layer-img {
      position: relative;
      z-index: 1;
      width: min(100%, calc((100svh - var(--nav-h) - 16px) * .7478));
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .layer-img img {
      display: block;
      width: 90%;
      height: auto;
      aspect-ratio: 699 / 945;
      opacity: 0;
      transform: translateY(46px) scale(.985);
      animation: portrait 1.6s cubic-bezier(.16, .8, .2, 1) .4s forwards;
      filter: drop-shadow(0 30px 40px rgba(11, 37, 69, .16));
    }

    @keyframes portrait {
      to {
        opacity: 1;
        transform: none;
      }
    }

    .orbit-svg {
      width: 100%;
      height: 100%;
      display: block;
      overflow: visible;
    }

    .disc {
      transform-box: view-box;
      transform-origin: 400px 400px;
      animation: breathe 9s ease-in-out infinite;
    }

    @keyframes breathe {

      0%,
      100% {
        transform: scale(.97);
      }

      50% {
        transform: scale(1.04);
      }
    }

    .ring {
      transform-box: view-box;
      transform-origin: 400px 400px;
    }

    .r-a {
      animation: spin 110s linear infinite;
    }

    .r-b {
      animation: spin 160s linear infinite reverse;
    }

    .r-c {
      animation: spin 18s linear infinite;
    }

    .r-d {
      animation: spin 28s linear infinite reverse;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    .orb-in {
      opacity: 0;
      animation: fadeIn 1.8s ease .3s forwards;
    }

    @keyframes fadeIn {
      to {
        opacity: 1;
      }
    }

    .tw {
      transform-box: fill-box;
      transform-origin: center;
      animation: tw 3.6s ease-in-out infinite;
    }

    @keyframes tw {

      0%,
      100% {
        opacity: .35;
        transform: scale(.7);
      }

      50% {
        opacity: 1;
        transform: scale(1.35);
      }
    }

    /* Impact */
    .impact {
      background: var(--white);
      border-top: 1px solid var(--line);
      padding-block: clamp(40px, 6vw, 88px);
    }

    .stats {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      margin-top: clamp(40px, 6vw, 80px);
    }

    .stat {
      padding: clamp(36px, 5vw, 72px) clamp(16px, 2.4vw, 36px);
      border-left: 1px solid var(--line);
    }

    .stat:first-child {
      border-left: 0;
      padding-left: 0;
    }

    .stat .num {
      font-family: var(--serif);
      font-size: clamp(1.75rem, 2.4vw, 2rem);
      line-height: 1;
      white-space: nowrap;
      background: linear-gradient(180deg, #0b2545 30%, #1d6fe0 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .stat .lbl {
      margin-top: 14px;
      color: var(--muted);
      font-size: 0.875rem;
    }

    /* Expertise */
    .expertise {
      background: var(--bg);
    }

    .expertise-head {
      grid-column: 1 / span 7;
    }

    .areas {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: clamp(24px, 3vw, 48px);
      margin-top: clamp(48px, 7vw, 96px);
    }

    .area {
      border-top: 1px solid var(--line);
      padding-top: 28px;
      position: relative;
    }

    .area::before {
      content: "";
      position: absolute;
      top: -1px;
      left: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--cyan), var(--blue));
      transition: width .6s cubic-bezier(.2, .7, .2, 1);
    }

    .area:hover::before {
      width: 100%;
    }

    .area h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(1.125rem, 1.7vw, 1.375rem);
      line-height: 1.15;
      color: var(--navy);
    }

    .area p {
      margin-top: 14px;
      color: var(--muted);
      font-size: 0.875rem;
      max-width: 34ch;
    }

    /* Experience */
    .experience {
      background: linear-gradient(180deg, var(--white), var(--bg-2) 60%, var(--white));
    }

    .exp-head {
      grid-column: 1 / span 6;
    }

    .timeline {
      grid-column: 3 / span 8;
      list-style: none;
      margin: clamp(48px, 7vw, 96px) 0 0;
      padding: 0;
      position: relative;
    }

    .timeline::before,
    .timeline .progress {
      content: "";
      position: absolute;
      left: 6px;
      top: 8px;
      bottom: 8px;
      width: 2px;
      background: var(--line);
    }

    .timeline .progress {
      background: linear-gradient(180deg, var(--cyan), var(--blue));
      bottom: auto;
      height: 0;
      box-shadow: 0 0 12px rgba(14, 165, 217, .5);
    }

    .timeline li {
      position: relative;
      padding: 0 0 clamp(40px, 5vw, 64px) 56px;
    }

    .timeline li:last-child {
      padding-bottom: 0;
    }

    .timeline li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 10px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--white);
      border: 2px solid var(--dim);
      transition: all .5s ease;
    }

    .timeline li.on::before {
      border-color: var(--blue);
      background: var(--blue);
      box-shadow: 0 0 0 6px rgba(37, 99, 235, .14);
    }

    .timeline li:first-child.on::before {
      background: var(--gold);
      border-color: var(--gold);
      box-shadow: 0 0 0 6px rgba(180, 138, 50, .2);
    }

    .timeline .yrs {
      color: var(--gold-ink);
      font-size: 0.875rem;
      font-weight: 600;
    }

    .timeline h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(1.125rem, 1.7vw, 1.375rem);
      line-height: 1.15;
      margin-top: 6px;
      color: var(--navy);
    }

    .timeline .org {
      color: var(--muted);
      margin-top: 4px;
    }

    .js .timeline li {
      opacity: .38;
      transform: translateX(-8px);
      transition: opacity .7s ease, transform .7s ease;
    }

    .js .timeline li.on {
      opacity: 1;
      transform: none;
    }

    /* Selected impact */
    .selected {
      background: radial-gradient(70% 60% at 50% 0%, rgba(14, 165, 217, .10), transparent 70%), var(--white);
    }

    .sel-head {
      grid-column: 1 / span 7;
    }

    .sel-list {
      grid-column: 1 / -1;
      margin-top: clamp(40px, 6vw, 80px);
    }

    .sel-item {
      display: grid;
      grid-template-columns: repeat(12, minmax(0, 1fr));
      column-gap: clamp(12px, 1.7vw, 24px);
      align-items: end;
      padding-block: clamp(36px, 5vw, 64px);
      border-top: 1px solid var(--line);
    }

    .sel-item:last-child {
      border-bottom: 1px solid var(--line);
    }

    .sel-big {
      grid-column: 1 / span 7;
      font-family: var(--serif);
      font-size: clamp(2.5rem, 6vw, 5rem);
      line-height: .95;
      letter-spacing: -.01em;
      background: linear-gradient(100deg, #0b2545 30%, #0ea5d9 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      transition: transform .6s cubic-bezier(.2, .7, .2, 1);
    }

    .sel-big .to {
      color: var(--gold);
      -webkit-text-fill-color: var(--gold);
      font-size: .6em;
      padding-inline: .12em;
    }

    .sel-item:hover .sel-big {
      transform: translateX(10px);
    }

    .sel-txt {
      grid-column: 8 / span 5;
      padding-bottom: 8px;
    }

    .sel-txt h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(1.125rem, 1.7vw, 1.375rem);
      line-height: 1.2;
      color: var(--navy);
    }

    .sel-txt p {
      margin-top: 10px;
      color: var(--muted);
      font-size: 0.875rem;
      max-width: 42ch;
    }

    /* About */
    .about {
      background: var(--bg);
    }

    .about-l {
      grid-column: 1 / span 4;
    }

    .about-r {
      grid-column: 6 / span 7;
    }

    .about-r p {
      font-size: clamp(1.125rem, 1.5vw, 1.25rem);
      line-height: 1.2;
      color: #1c3a63;
      max-width: 62ch;
    }

    .about-r p+p {
      margin-top: 1.2em;
      color: var(--muted);
      font-size: 1.125rem;
    }

    .creds {
      margin-top: 36px;
      padding: 0;
      list-style: none;
      display: flex;
      flex-wrap: wrap;
      gap: 10px 26px;
      color: var(--muted);
      font-size: 0.875rem;
    }

    .creds li {
      display: flex;
      align-items: center;
      gap: 26px;
    }

    .creds li:not(:last-child)::after {
      content: "";
      width: 5px;
      height: 5px;
      background: var(--gold);
      transform: rotate(45deg);
    }

    /* Final CTA */
    .final {
      text-align: center;
      overflow: hidden;
      color: #fff;
      background: radial-gradient(50% 80% at 50% 110%, rgba(47, 211, 240, .38), transparent 70%), linear-gradient(180deg, var(--navy), var(--navy-2));
    }

    .final::before {
      content: "";
      position: absolute;
      left: 50%;
      top: 0;
      width: 1px;
      height: 90px;
      background: linear-gradient(180deg, var(--gold), transparent);
    }

    .final h2 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(2rem, 4vw, 3rem);
      line-height: 1.02;
      max-width: 16ch;
      margin-inline: auto;
      color: #fff;
    }

    .final p {
      margin: 26px auto 0;
      max-width: 46ch;
      color: #bcd3f0;
      font-size: clamp(1rem, 1.3vw, 1.125rem);
    }

    .final .btn {
      margin-top: 44px;
      padding: 18px 40px;
    }

    .final .btn-primary {
      background: linear-gradient(120deg, #7fe0f7, #8db8ff);
      color: #06213f;
      box-shadow: 0 10px 40px -12px rgba(127, 224, 247, .7);
    }

    .final .btn-primary:hover {
      background: linear-gradient(120deg, #a5ecfb, #b3cfff);
      box-shadow: 0 16px 48px -10px rgba(127, 224, 247, .85);
    }

    /* Reveal */
    .js .reveal {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
    }

    .js .reveal.in {
      opacity: 1;
      transform: none;
    }


    /* ---------- Text animation ---------- */
    h1.name {
      position: relative;
    }

    .js h1.name b {
      transform: none;
      animation: none;
    }

    .js .ch {
      display: inline-block;
      opacity: 0;
      transform: translateY(105%);
      filter: blur(8px);
      animation: chIn 1s cubic-bezier(.2, .75, .15, 1) forwards;
      animation-delay: calc(.45s + var(--i) * 55ms);
    }

    @keyframes chIn {
      to {
        opacity: 1;
        transform: none;
        filter: blur(0);
      }
    }

    .glint {
      position: absolute;
      inset: 0;
      overflow: hidden;
      pointer-events: none;
      mix-blend-mode: overlay;
    }

    .glint i {
      position: absolute;
      top: -10%;
      bottom: -10%;
      left: 0;
      width: 20%;
      transform: translateX(-140%) skewX(-18deg);
      background: linear-gradient(90deg, transparent, rgba(140, 222, 255, .95), rgba(255, 255, 255, .95), rgba(140, 222, 255, .95), transparent);
      animation: glint 9s cubic-bezier(.4, 0, .2, 1) 2.6s infinite;
    }

    @keyframes glint {
      0% {
        transform: translateX(-140%) skewX(-18deg);
      }

      14% {
        transform: translateX(560%) skewX(-18deg);
      }

      100% {
        transform: translateX(560%) skewX(-18deg);
      }
    }

    .js .w {
      display: inline-block;
      opacity: 0;
      transform: translateY(.55em);
      filter: blur(5px);
      animation: wIn .9s cubic-bezier(.2, .7, .2, 1) forwards;
      animation-delay: calc(var(--d) + var(--i) * var(--s));
    }

    @keyframes wIn {
      to {
        opacity: 1;
        transform: none;
        filter: blur(0);
      }
    }

    .load.d5 {
      animation-delay: 2s;
    }

    .js .wm {
      display: inline-block;
      overflow: hidden;
      vertical-align: top;
      padding-bottom: .14em;
      margin-bottom: -.14em;
    }

    .js .wm .wmi {
      display: inline-block;
      transform: translateY(112%);
      transition: transform 1.05s cubic-bezier(.2, .75, .15, 1);
      transition-delay: calc(var(--i) * 75ms);
    }

    .js .split.in .wm .wmi {
      transform: none;
    }

    .js .reveal .rule-gold {
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 1s cubic-bezier(.2, .7, .2, 1) .25s;
    }

    .js .reveal.in .rule-gold {
      transform: none;
    }

    .sel-big span,
    .stat .num {
      font-variant-numeric: tabular-nums;
    }

    @media (prefers-reduced-motion: reduce) {

      .js .ch,
      .js .w,
      .js .wm .wmi,
      .js .reveal .rule-gold {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
        transition: none !important;
      }

      .glint {
        display: none;
      }
    }

    /* ---------- Restructure: nav ---------- */
    .nav-end {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .menu-btn {
      display: none;
      width: 44px;
      height: 44px;
      border: 1px solid rgba(11, 37, 69, .28);
      border-radius: 50%;
      background: transparent;
      cursor: pointer;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 4px;
      padding: 0;
    }

    .menu-btn span {
      display: block;
      width: 16px;
      height: 1.6px;
      background: var(--navy);
      transition: transform .3s ease, opacity .3s ease;
    }

    .nav.open .menu-btn span:nth-child(1) {
      transform: translateY(5.6px) rotate(45deg);
    }

    .nav.open .menu-btn span:nth-child(2) {
      opacity: 0;
    }

    .nav.open .menu-btn span:nth-child(3) {
      transform: translateY(-5.6px) rotate(-45deg);
    }

    @media (max-width: 1100px) {
      .menu-btn {
        display: flex;
      }

      .nav nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, .97);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--line);
        padding: 8px max(var(--pad), env(safe-area-inset-left, 0px)) 20px;
        display: none;
      }

      .nav.open nav {
        display: block;
      }

      .nav.open {
        background: rgba(255, 255, 255, .97);
        border-color: var(--line);
      }

      .nav nav ul {
        flex-direction: column;
        gap: 0;
      }

      .nav nav ul a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--line);
      }
    }

    /* Hero tagline */
    .tagline {
      display: inline-block;
      margin-top: clamp(22px, 2.6vw, 32px);
      padding: 9px 0;
      border: 0 solid rgba(180, 138, 50, .5);
      border-radius: 0;
      color: var(--gold-ink);
      font-weight: 500;
      font-size: 0.875rem;
      background: rgba(255, 255, 255, .0);
    }

    @media (max-width: 1100px) {
      .layer-img img {
        width: 100%;
      }
    }

    /* ---------- Projects marquee ---------- */
    .projects {
      background: var(--white);
      border-top: 1px solid var(--line);
      padding-block: clamp(64px, 8vw, 112px);
      overflow: hidden;
    }

    .proj-head {
      text-align: center;
      max-width: 900px;
      margin-inline: auto;
    }

    .proj-head .title {
      font-size: clamp(1.5rem, 2.6vw, 2rem);
    }

    .marquee {
      margin-top: clamp(36px, 5vw, 64px);
      overflow: hidden;
      -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
      mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    }

    .track {
      display: flex;
      gap: 18px;
      width: max-content;
      animation: marq 70s linear infinite;
      padding-block: 8px;
    }

    .marquee:hover .track {
      animation-play-state: paused;
    }

    .tile {
      flex: 0 0 auto;
      width: 250px;
      min-height: 104px;
      padding: 18px 24px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: linear-gradient(180deg, #fff, #f3f7fc);
      transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    }

    .tile:hover {
      transform: translateY(-3px);
      box-shadow: 0 18px 36px -22px rgba(11, 37, 69, .4);
      border-color: rgba(37, 99, 235, .35);
    }

    .tile b {
      font-family: var(--serif);
      font-weight: 400;
      font-size: 0.875rem;
      line-height: 1.0;
      color: var(--navy);
    }

    .tile small {
      margin-top: 6px;
      color: var(--dim);
      font-size: 0.8rem;
      line-height: 1.3;
    }

    @keyframes marq {
      to {
        transform: translateX(-50%);
      }
    }

    /* ---------- Services ---------- */
    .services {
      background: linear-gradient(180deg, var(--white), var(--bg-2));
    }

    .svc-head {
      grid-column: 1 / span 7;
    }

    .svc-grid {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: clamp(14px, 1.8vw, 24px);
      margin-top: clamp(40px, 6vw, 80px);
    }

    .svc {
      position: relative;
      overflow: hidden;
      padding: clamp(26px, 3vw, 40px);
      border: 1px solid var(--line);
      border-radius: 22px;
      background: #fff;
      transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease, border-color .45s ease;
    }

    .svc::before {
      content: "";
      position: absolute;
      left: clamp(26px, 3vw, 40px);
      top: 0;
      width: 44px;
      height: 3px;
      background: var(--gold);
      transition: width .5s cubic-bezier(.2, .7, .2, 1);
    }

    .svc:hover {
      transform: translateY(-5px);
      box-shadow: 0 28px 54px -30px rgba(11, 37, 69, .45);
      border-color: rgba(37, 99, 235, .3);
    }

    .svc:hover::before {
      width: calc(100% - 2 * clamp(26px, 3vw, 40px));
      background: linear-gradient(90deg, var(--cyan), var(--blue));
    }

    .svc h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(1.125rem, 1.7vw, 1.375rem);
      line-height: 1.15;
      color: var(--navy);
      margin-top: 6px;
    }

    .svc p {
      margin-top: 14px;
      color: var(--muted);
      font-size: 0.9375rem;
      max-width: 52ch;
    }

    .svc-more {
      grid-column: 1 / -1;
      text-align: center;
      margin-top: clamp(32px, 4vw, 52px);
    }

    /* ---------- Knowledge Center ---------- */
    .knowledge {
      background: var(--bg);
    }

    .ktabs {
      grid-column: 1 / -1;
      display: inline-flex;
      justify-self: start;
      gap: 6px;
      margin-top: clamp(32px, 4vw, 52px);
      padding: 6px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: rgba(255, 255, 255, .8);
    }

    .ktab {
      appearance: none;
      border: 0;
      background: transparent;
      cursor: pointer;
      font-family: var(--sans);
      font-size: 1rem;
      font-weight: 500;
      color: var(--muted);
      padding: 11px 26px;
      border-radius: 999px;
      transition: background .3s ease, color .3s ease, box-shadow .3s ease;
    }

    .ktab:hover {
      color: var(--navy);
    }

    .ktab[aria-selected="true"] {
      background: var(--navy);
      color: #fff;
      box-shadow: 0 8px 20px -10px rgba(11, 37, 69, .6);
    }

    .kpanels {
      grid-column: 1 / -1;
      margin-top: clamp(28px, 3.6vw, 48px);
    }

    .kpanel {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: clamp(14px, 1.8vw, 24px);
    }

    .kpanel[hidden] {
      display: none;
    }

    .kpanel:not([hidden]) .kcard {
      animation: tabIn .7s cubic-bezier(.2, .7, .2, 1) both;
    }

    .kpanel:not([hidden]) .kcard:nth-child(2) {
      animation-delay: .08s;
    }

    .kpanel:not([hidden]) .kcard:nth-child(3) {
      animation-delay: .16s;
    }

    @keyframes tabIn {
      from {
        opacity: 0;
        transform: translateY(18px);
      }

      to {
        opacity: 1;
        transform: none;
      }
    }

    .kcard {
      display: flex;
      flex-direction: column;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: #fff;
      overflow: hidden;
      transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease;
    }

    .kcard:hover {
      transform: translateY(-5px);
      box-shadow: 0 28px 54px -30px rgba(11, 37, 69, .45);
    }

    .kcover {
      position: relative;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      background: radial-gradient(80% 120% at 85% 0%, rgba(14, 165, 217, .55), transparent 60%), linear-gradient(135deg, #0b2545, #1d4f9e);
    }

    .kcover::before {
      content: "";
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 22px);
      transition: transform .8s ease;
    }

    .kcard:hover .kcover::before {
      transform: translateX(22px);
    }

    .knum {
      position: absolute;
      right: 22px;
      bottom: -10px;
      font-family: var(--serif);
      font-size: clamp(3rem, 6vw, 5rem);
      line-height: 1;
      color: rgba(255, 255, 255, .16);
    }

    .ktag {
      position: absolute;
      left: 20px;
      top: 18px;
      font-size: 0.875rem;
      font-weight: 500;
      color: #fff;
      padding: 6px 14px;
      border: 1px solid rgba(255, 255, 255, .4);
      border-radius: 999px;
      background: rgba(11, 37, 69, .4);
    }

    .kbody {
      padding: 26px 26px 28px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .kbody h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(1.125rem, 1.7vw, 1.375rem);
      line-height: 1.18;
      color: var(--navy);
    }

    .kbody p {
      margin-top: 12px;
      color: var(--muted);
      font-size: 0.9375rem;
      flex: 1;
    }

    .klink {
      margin-top: 20px;
      align-self: flex-start;
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--blue);
      border-bottom: 1px solid rgba(37, 99, 235, .35);
      padding-bottom:2px;
      transition: color .25s ease, border-color .25s ease;
    }

    .klink:hover {
      color: var(--navy);
      border-color: var(--gold);
    }

    /* ---------- LinkedIn ---------- */
    .linkedin {
      background: var(--bg);
      padding-block: clamp(64px, 8vw, 112px);
    }

    .li-panel {
      grid-column: 1 / -1;
      display: flex;
      align-items: center;
      gap: clamp(20px, 3vw, 44px);
      padding: clamp(28px, 4vw, 52px);
      border: 1px solid var(--line);
      border-radius: 28px;
      background: linear-gradient(120deg, #fff, #eef5fd);
      flex-wrap: wrap;
    }

    .li-icon {
      flex: 0 0 auto;
      width: 84px;
      height: 84px;
      border-radius: 22px;
      display: grid;
      place-items: center;
      color: #fff;
      background: linear-gradient(135deg, #0b2545, #1d6fe0);
      box-shadow: 0 18px 36px -18px rgba(29, 111, 224, .7);
    }

    .li-copy {
      flex: 1 1 320px;
    }

    .li-copy .title {
      font-size: clamp(1.5rem, 2.6vw, 2rem);
    }

    .li-copy p {
      margin-top: 10px;
      color: var(--muted);
      max-width: 52ch;
    }

    /* ---------- Contact channels ---------- */
    .chans {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      max-width: 820px;
      margin: clamp(48px, 6vw, 72px) auto 0;
    }

    .chan {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      padding: 28px 16px;
      border: 1px solid rgba(255, 255, 255, .2);
      border-radius: 20px;
      background: rgba(255, 255, 255, .07);
      color: #fff;
      font-weight: 500;
      transition: transform .35s ease, background .35s ease, border-color .35s ease;
    }

    .chan:hover {
      transform: translateY(-4px);
      background: rgba(255, 255, 255, .14);
      border-color: rgba(127, 224, 247, .7);
    }


    /* ---------- Language button ---------- */
    .lang {
      font-family: var(--arabic);
      font-size: 0.9375rem;
      font-weight: 500;
      padding: 10px 18px;
      border-radius: 999px;
      color: var(--navy);
      border: 1px solid transparent;
      transition: background .3s ease, border-color .3s ease;
    }

    .lang:hover {
      background: #fff;
      border-color: rgba(11, 37, 69, .28);
    }

    /* ---------- Project logos ---------- */
    .tlogo {
      display: block;
      height: 44px;
      width: auto;
      max-width: 140px;
      object-fit: contain;
      margin-bottom: 10px;
    }

    /* ---------- Next Session ---------- */
    .sessions {
      background: var(--white);
      border-top: 1px solid var(--line);
      padding-block: clamp(40px, 6vw, 88px);
    }

    .sess-grid {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: 1fr;
      gap: clamp(14px, 1.8vw, 24px);
      margin-top: clamp(40px, 6vw, 80px);
    }

    .sess {
      display: grid;
      grid-template-columns: 1fr 1fr;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: #fff;
      overflow: hidden;
      transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease;
    }

    .sess:hover {
      transform: translateY(-5px);
      box-shadow: 0 28px 54px -30px rgba(11, 37, 69, .45);
    }

    .sess-img {
      position: relative;
      min-height: 280px;
      background: radial-gradient(80% 120% at 85% 0%, rgba(14, 165, 217, .55), transparent 60%), linear-gradient(135deg, #0b2545, #1d4f9e);
    }

    .sess-img img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .sess-tag {
      position: absolute;
      left: 20px;
      top: 18px;
      font-size: 0.875rem;
      font-weight: 500;
      color: #fff;
      padding: 6px 14px;
      border: 1px solid rgba(255, 255, 255, .4);
      border-radius: 999px;
      background: rgba(11, 37, 69, .4);
    }

    .sess-body {
      padding: clamp(24px, 3vw, 40px);
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .sess-body h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(1.125rem, 1.7vw, 1.375rem);
      line-height: 1.15;
      color: var(--navy);
    }

    .sess-date {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 14px;
      color: var(--gold-ink);
      font-size: 0.9375rem;
      font-weight: 500;
    }

    .sess-body p {
      margin-top: 14px;
      color: var(--muted);
      font-size: 0.9375rem;
      flex: 1;
    }

    .sess-body .btn {
      margin-top: 26px;
    }

    .sess-ph {
      display: grid;
      place-items: center;
      text-align: center;
      padding: 32px;
      border-style: dashed;
      background: rgba(255, 255, 255, .6);
    }

    .sess-ph b {
      font-family: var(--serif);
      font-weight: 400;
      font-size: 1.125rem;
      color: var(--navy);
    }

    .sess-ph p {
      margin-top: 10px;
      color: var(--dim);
      font-size: 0.875rem;
    }

    @media (max-width: 1100px) {
      .sess-grid {
        grid-template-columns: 1fr;
      }
    }

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

      .sess-img {
        min-height: 220px;
      }

      .sess-body .btn {
        width: 100%;
      }

      .lang {
        padding: 10px 12px;
      }
    }

    /* ---------- Footer ---------- */
    footer {
      padding-block: 72px 44px;
      background: #071a33;
      color: #eaf2ff;
    }

    .foot-name {
      grid-column: 1 / span 5;
    }

    .foot-name .brand {
      font-size: 1.5rem;
      display: block;
      color: #fff;
    }

    .foot-name .ar {
      font-family: var(--arabic);
      font-weight: 300;
      color: #d9b566;
      margin-top: 4px;
      display: block;
      font-size: 0.875rem;
      text-align: left;
    }

    .foot-name p {
      margin-top: 16px;
      color: #9db6d8;
      font-size: 0.9375rem;
      max-width: 44ch;
    }

    .soc {
      display: flex;
      gap: 10px;
      margin-top: 24px;
    }

    .soc a {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, .25);
      display: grid;
      place-items: center;
      color: #cfe3fb;
      transition: background .3s ease, color .3s ease, border-color .3s ease;
    }

    .soc a:hover {
      background: #7fe0f7;
      color: #06213f;
      border-color: #7fe0f7;
    }

    .foot-col {
      grid-column: span 3;
      display: grid;
      gap: 12px;
      align-content: start;
      justify-items: start;
    }

    .foot-name+.foot-col {
      grid-column: 7 / span 3;
    }

    .foot-col h4 {
      margin: 0 0 6px;
      font-family: var(--serif);
      font-weight: 400;
      font-size: 0.9375rem;
      color: #fff;
    }

    .foot-col a,
    .foot-col span {
      color: #b9cfea;
      font-size: 0.9375rem;
      transition: color .25s ease;
      word-break: break-word;
    }

    .foot-col a:hover {
      color: #7fe0f7;
    }

    .copy {
      grid-column: 1 / -1;
      margin-top: 56px;
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, .12);
      color: #7f97ba;
      font-size: 0.875rem;
    }

    @media (max-width: 1100px) {
      .kpanel {
        grid-template-columns: repeat(2, 1fr);
      }

      .svc-head {
        grid-column: 1 / -1;
      }

      .foot-name {
        grid-column: 1 / -1;
      }

      .foot-col,
      .foot-name+.foot-col {
        grid-column: span 6;
        margin-top: 32px;
      }
    }

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

      .kpanel {
        grid-template-columns: 1fr;
      }

      .ktabs {
        display: flex;
        width: 100%;
        overflow-x: auto;
      }

      .ktab {
        flex: 1 0 auto;
        padding: 11px 18px;
      }

      .chans {
        grid-template-columns: 1fr;
      }

      .tile {
        width: 220px;
      }

      .foot-col,
      .foot-name+.foot-col {
        grid-column: 1 / -1;
      }

      .li-icon {
        width: 64px;
        height: 64px;
      }

      .li-panel .btn {
        width: 100%;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .track {
        animation: none;
        overflow-x: auto;
        width: auto;
      }

      .marquee {
        overflow-x: auto;
      }

      .kpanel .kcard {
        animation: none !important;
      }
    }

    @media (max-width: 1100px) {
      .hero-copy {
        grid-column: 1 / -1;
        padding-bottom: 32px;
      }

      .hero-photo {
        grid-column: 1 / -1;
        margin-top: 8px;
      }

      .layer-img {
        width: min(78%, 460px);
      }

      .layer-orbit {
        width: 135%;
        top: 46%;
      }

      .areas {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 48px;
      }

      .timeline {
        grid-column: 1 / -1;
      }

      .sel-big {
        grid-column: 1 / -1;
      }

      .sel-txt {
        grid-column: 1 / -1;
        margin-top: 20px;
      }

      .about-l,
      .about-r {
        grid-column: 1 / -1;
      }

      .about-r {
        margin-top: 28px;
      }

      .expertise-head,
      .exp-head,
      .sel-head {
        grid-column: 1 / -1;
      }
    }

    @media (max-width: 760px) {
      .stats {
        grid-template-columns: repeat(2, 1fr);
      }

      .stat {
        padding-left: 0;
        border-left: 0;
      }

      .stat:nth-child(even) {
        border-left: 1px solid var(--line);
        padding-left: clamp(16px, 4vw, 28px);
      }

      .stat:nth-child(n+3) {
        border-top: 1px solid var(--line);
      }

      .areas {
        grid-template-columns: 1fr;
        row-gap: 40px;
      }

      .area p {
        max-width: 46ch;
      }

      .timeline li {
        padding-left: 40px;
      }

      .cta-row {
        flex-direction: column;
      }

      .cta-row .btn {
        width: 100%;
      }

      .layer-img {
        width: min(88%, 420px);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      .load,
      .js .reveal,
      .js .timeline li {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
      }

      .layer-img img,
      .orb-in {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
      }

      h1.name b {
        transform: none !important;
        animation: none !important;
      }

      .ring,
      .disc,
      .tw,
      .role::before {
        animation: none !important;
      }

      .layer-orbit,
      .layer-img {
        transition: none;
      }
    }
    
    /* ---------- Next Session: B (edge-to-edge split, no padding) ---------- */
    .sessions.sessB {
      padding: 0;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      background: var(--white);
    }

    .sessB .sessB-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: clamp(460px, 46vw, 680px);
    }

    .sessB .sessB-img {
      position: relative;
      overflow: hidden;
      background: radial-gradient(80% 120% at 85% 0%, rgba(14, 165, 217, .55), transparent 60%), linear-gradient(135deg, #0b2545, #1d4f9e);
    }

    .sessB .sessB-img img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 1.4s cubic-bezier(.2, .7, .2, 1);
    }

    .sessB .sessB-row:hover .sessB-img img {
      transform: scale(1.04);
    }

    .sessB .sessB-img::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent 60%, rgba(11, 37, 69, .18));
      pointer-events: none;
    }

    .sessB .sess-tag {
      z-index: 2;
      left: clamp(20px, 3vw, 40px);
      top: clamp(20px, 3vw, 40px);
    }

    .sessB .sessB-data {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      padding: clamp(32px, 6vw, 96px);
      padding-inline-end: max(var(--pad), env(safe-area-inset-right, 0px));
      background: linear-gradient(180deg, #fff, var(--bg));
    }

    .sessB .eyebrow {
      display: flex;
      align-items: center;
      gap: 14px;
      color: var(--gold-ink);
      font-weight: 600;
      font-size: 0.9375rem;
    }

    .sessB .eyebrow::before {
      content: "";
      width: 40px;
      height: 2px;
      background: var(--gold);
    }

    .sessB h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(1.75rem, 3vw, 2.5rem);
      line-height: 1.08;
      letter-spacing: -.01em;
      color: var(--navy);
      margin-top: 22px;
    }

    .sessB .sess-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 12px 28px;
      margin-top: 28px;
      padding-block: 18px;
      border-block: 1px solid var(--line);
      width: 100%;
    }

    .sessB .sess-meta span {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--navy);
      font-weight: 500;
      font-size: 0.9375rem;
    }

    .sessB .sess-meta svg {
      color: var(--gold);
      flex: 0 0 auto;
    }

    .sessB .sessB-data p {
      margin-top: 24px;
      color: var(--muted);
      font-size: 1rem;
      max-width: 46ch;
    }

    .sessB .btn {
      margin-top: 36px;
    }

    @media (max-width: 900px) {
      .sessB .sessB-row {
        grid-template-columns: 1fr;
        min-height: 0;
      }

      .sessB .sessB-img {
        min-height: 320px;
      }

      .sessB .sessB-data {
        padding: 36px var(--pad) 48px;
      }

      .sessB .btn {
        width: 100%;
      }
    }

    /* ---------- Our Numbers: B (dark, same language as the dark CTA) ---------- */
    .impact.impB {
      position: relative;
      overflow: hidden;
      border-top: 0;
      color: #fff;
      background: radial-gradient(50% 80% at 50% 110%, rgba(47, 211, 240, .38), transparent 70%), radial-gradient(40% 60% at 0% 0%, rgba(37, 99, 235, .28), transparent 70%), linear-gradient(180deg, var(--navy), var(--navy-2));
    }

    .impB::before {
      content: "";
      position: absolute;
      left: 50%;
      top: 0;
      width: 1px;
      height: 90px;
      background: linear-gradient(180deg, var(--gold), transparent);
    }

    .impB .head {
      text-align: center;
    }

    .impB .head .rule-gold {
      margin-inline: auto;
      margin-bottom: 28px;
    }

    .impB h2.title {
      color: #fff;
    }

    .impB .head p {
      margin: 20px auto 0;
      max-width: 48ch;
      color: #bcd3f0;
      font-size: clamp(1rem, 1.3vw, 1.125rem);
    }

    .impB .stats {
      margin-top: clamp(48px, 6vw, 88px);
      border-top: 1px solid rgba(255, 255, 255, .16);
      border-bottom: 1px solid rgba(255, 255, 255, .16);
    }

    .impB .stat {
      border-left-color: rgba(255, 255, 255, .16);
      text-align: center;
      padding-inline: clamp(12px, 2vw, 32px);
    }

    .impB .stat:first-child {
      padding-left: clamp(12px, 2vw, 32px);
    }

    .impB .stat .num {
      background: linear-gradient(180deg, #ffffff 25%, #7fe0f7 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .impB .stat .lbl {
      color: #9db6d8;
    }

    .impB .stat::after {
      content: "";
      display: block;
      width: 28px;
      height: 2px;
      background: var(--gold);
      margin: 18px auto 0;
      transition: width .5s cubic-bezier(.2, .7, .2, 1);
    }

    .impB .stat:hover::after {
      width: 64px;
    }

    @media (max-width: 760px) {

      .impB .stat,
      .impB .stat:first-child {
        padding-left: 12px;
      }

      .impB .stat:nth-child(even) {
        border-left: 1px solid rgba(255, 255, 255, .16);
      }

      .impB .stat:nth-child(n+3) {
        border-top: 1px solid rgba(255, 255, 255, .16);
      }
    }
    /* ---------- About: role + credentials ---------- */
    .about-l .about-role {
      margin-top: 22px;
      font-family: var(--serif);
      font-size: clamp(1.125rem, 1.7vw, 1.375rem);
      line-height: 1.2;
      color: #1c4478;
    }

    .about-l .about-creds {
      margin-top: 14px;
      font-size: 0.875rem;
      font-weight: 500;
      line-height: 1.5;
      color: var(--gold-ink);
    }

    /* ---------- Career in Numbers: seven items (1 lead + 6) ---------- */
    .impB .nums7 {
      display: grid;
      grid-template-columns: repeat(12, minmax(0, 1fr));
      gap: clamp(14px, 1.8vw, 24px);
      margin-top: clamp(48px, 6vw, 88px);
    }

    .n7 {
      grid-column: span 4;
      position: relative;
      padding: clamp(24px, 2.6vw, 40px);
      border: 1px solid rgba(255, 255, 255, .16);
      border-radius: 22px;
      background: rgba(255, 255, 255, .05);
      transition: transform .45s cubic-bezier(.2, .7, .2, 1), background .45s ease, border-color .45s ease;
    }

    .n7::before {
      content: "";
      position: absolute;
      left: clamp(24px, 2.6vw, 40px);
      top: 0;
      width: 36px;
      height: 3px;
      background: var(--gold);
      transition: width .5s cubic-bezier(.2, .7, .2, 1);
    }

    .n7:hover {
      transform: translateY(-4px);
      background: rgba(255, 255, 255, .09);
      border-color: rgba(127, 224, 247, .5);
    }

    .n7:hover::before {
      width: 72px;
    }

    .n7 .num {
      font-family: var(--serif);
      font-size: clamp(2rem, 3.2vw, 2.75rem);
      line-height: 1;
      white-space: nowrap;
      font-variant-numeric: tabular-nums;
      background: linear-gradient(180deg, #ffffff 25%, #7fe0f7 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .n7 .lbl {
      margin-top: 14px;
      color: #9db6d8;
      font-size: 0.875rem;
      line-height: 1.35;
      max-width: 30ch;
    }

    /* Lead card: years of experience, spans three rows on the left; the other six sit 2 per row on the right */
    .n7-lead {
      grid-column: span 4;
      grid-row: span 3;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      min-height: 360px;
      background: radial-gradient(90% 70% at 20% 0%, rgba(47, 211, 240, .22), transparent 70%), rgba(255, 255, 255, .07);
    }

    .n7-lead .num {
      font-size: clamp(4rem, 7vw, 6rem);
    }

    .n7-lead .lbl {
      font-size: 1.125rem;
    }

    @media (max-width: 1100px) {
      .n7,
      .n7-lead {
        grid-column: span 6;
      }

      .n7-lead {
        grid-row: auto;
        min-height: 0;
        grid-column: 1 / -1;
      }
    }

    @media (max-width: 560px) {
      .n7 {
        grid-column: 1 / -1;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .n7,
      .n7::before {
        transition: none;
      }
    }

    /* ---------- Services: accordion ---------- */
    .acc {
      grid-column: 1 / -1;
      margin-top: clamp(40px, 6vw, 80px);
      border-top: 1px solid var(--line);
    }

    .acc-item {
      position: relative;
      border-bottom: 1px solid var(--line);
      transition: background .45s ease;
    }

    .acc-item::before {
      content: "";
      position: absolute;
      left: 0;
      top: -1px;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--cyan), var(--blue));
      transition: width .6s cubic-bezier(.2, .7, .2, 1);
    }

    .acc-item.open::before,
    .acc-item:hover::before {
      width: 100%;
    }

    .acc-item.open {
      background: #fff;
    }

    .acc-h {
      margin: 0;
      font-size: inherit;
      font-weight: inherit;
    }

    .acc-btn {
      appearance: none;
      width: 100%;
      display: grid;
      grid-template-columns: clamp(52px, 7vw, 104px) 1fr 48px;
      align-items: center;
      gap: 8px;
      padding: clamp(22px, 2.6vw, 36px) clamp(8px, 1.5vw, 24px);
      border: 0;
      background: transparent;
      text-align: start;
      font: inherit;
      color: inherit;
      cursor: pointer;
    }

    .acc-n {
      font-family: var(--serif);
      font-size: clamp(1.125rem, 1.7vw, 1.375rem);
      color: var(--gold-ink);
      font-variant-numeric: tabular-nums;
    }

    .acc-t {
      font-family: var(--serif);
      font-size: clamp(1.125rem, 1.7vw, 1.375rem);
      line-height: 1.15;
      color: var(--navy);
      transition: color .3s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
    }

    .acc-btn:hover .acc-t {
      transform: translateX(6px);
    }

    .acc-item.open .acc-t {
      color: var(--blue);
    }

    .acc-i {
      position: relative;
      justify-self: end;
      width: 40px;
      height: 40px;
      border: 1px solid rgba(11, 37, 69, .28);
      border-radius: 50%;
      transition: background .3s ease, border-color .3s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
    }

    .acc-i::before,
    .acc-i::after {
      content: "";
      position: absolute;
      left: 50%;
      top: 50%;
      width: 14px;
      height: 1.6px;
      background: var(--navy);
      transform: translate(-50%, -50%);
      transition: transform .45s cubic-bezier(.2, .7, .2, 1), background .3s ease;
    }

    .acc-i::after {
      transform: translate(-50%, -50%) rotate(90deg);
    }

    .acc-item.open .acc-i {
      background: var(--navy);
      border-color: var(--navy);
    }

    .acc-item.open .acc-i::before,
    .acc-item.open .acc-i::after {
      background: #fff;
    }

    .acc-item.open .acc-i::after {
      transform: translate(-50%, -50%) rotate(0deg);
    }

    .acc-panel {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows .55s cubic-bezier(.2, .7, .2, 1);
    }

    .acc-item.open .acc-panel {
      grid-template-rows: 1fr;
    }

    .acc-clip {
      overflow: hidden;
      min-height: 0;
    }

    .acc-body {
      display: grid;
      grid-template-columns: clamp(52px, 7vw, 104px) minmax(0, 5fr) minmax(0, 6fr);
      column-gap: clamp(16px, 3vw, 56px);
      padding: 0 clamp(8px, 1.5vw, 24px) clamp(32px, 4vw, 52px);
      opacity: 0;
      transform: translateY(8px);
      transition: opacity .45s ease, transform .55s cubic-bezier(.2, .7, .2, 1);
    }

    .acc-item.open .acc-body {
      opacity: 1;
      transform: none;
      transition-delay: .12s;
    }

    .acc-d {
      grid-column: 2;
      color: var(--muted);
      font-size: 1rem;
      line-height: 1.35;
      max-width: 46ch;
    }

    .acc-cov {
      grid-column: 3;
    }

    .acc-lbl {
      display: block;
      color: var(--gold-ink);
      font-weight: 600;
      font-size: 0.875rem;
      letter-spacing: .02em;
      margin-bottom: 14px;
    }

    .acc-cov ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 10px;
    }

    .acc-cov li {
      position: relative;
      padding-inline-start: 22px;
      color: var(--ink);
      font-size: 0.9375rem;
      line-height: 1.35;
    }

    .acc-cov li::before {
      content: "";
      position: absolute;
      inset-inline-start: 0;
      top: .5em;
      width: 6px;
      height: 6px;
      background: var(--gold);
      transform: rotate(45deg);
    }

    @media (max-width: 900px) {
      .acc-body {
        grid-template-columns: clamp(40px, 9vw, 64px) minmax(0, 1fr);
      }

      .acc-d,
      .acc-cov {
        grid-column: 2;
      }

      .acc-cov {
        margin-top: 24px;
      }
    }

    @media (max-width: 560px) {
      .acc-btn {
        grid-template-columns: 40px 1fr 40px;
        padding-inline: 0;
      }

      .acc-body {
        grid-template-columns: 40px minmax(0, 1fr);
        padding-inline: 0;
      }

      .acc-i {
        width: 36px;
        height: 36px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .acc-panel,
      .acc-body,
      .acc-t,
      .acc-i,
      .acc-i::before,
      .acc-i::after,
      .acc-item::before {
        transition: none !important;
      }
    }

    /* ---------- Services: design B (list + detail stage) ---------- */
    .svB {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: repeat(12, minmax(0, 1fr));
      column-gap: clamp(16px, 2.4vw, 40px);
      align-items: start;
      margin-top: clamp(40px, 6vw, 80px);
    }

    .svB-nav {
      grid-column: 1 / span 5;
      display: flex;
      flex-direction: column;
      gap: 6px;
      position: sticky;
      top: calc(var(--nav-h) + 24px);
    }

    .svB-tab {
      appearance: none;
      display: grid;
      grid-template-columns: 44px 1fr 24px;
      align-items: center;
      gap: 6px;
      width: 100%;
      padding: 16px 18px;
      border: 1px solid transparent;
      border-radius: 16px;
      background: transparent;
      font: inherit;
      text-align: start;
      color: var(--muted);
      cursor: pointer;
      transition: background .35s ease, border-color .35s ease, color .35s ease, box-shadow .35s ease, transform .35s ease;
    }

    .svB-tab:hover {
      background: rgba(255, 255, 255, .7);
      color: var(--navy);
    }

    .svB-n {
      font-family: var(--serif);
      font-size: 0.9375rem;
      color: var(--gold-ink);
      font-variant-numeric: tabular-nums;
    }

    .svB-t {
      font-family: var(--serif);
      font-size: clamp(1.125rem, 1.7vw, 1.375rem);
      line-height: 1.2;
    }

    .svB-arr {
      width: 10px;
      height: 10px;
      border-top: 1.6px solid currentColor;
      border-right: 1.6px solid currentColor;
      transform: rotate(45deg) translate(-4px, 4px);
      opacity: 0;
      transition: opacity .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1);
    }

    .svB-tab[aria-selected="true"] {
      background: var(--navy);
      border-color: var(--navy);
      color: #fff;
      box-shadow: 0 18px 36px -20px rgba(11, 37, 69, .7);
      transform: translateX(6px);
    }

    .svB-tab[aria-selected="true"] .svB-n {
      color: #d9b566;
    }

    .svB-tab[aria-selected="true"] .svB-arr {
      opacity: 1;
      transform: rotate(45deg);
    }

    .svB-stage {
      grid-column: 6 / -1;
    }

    .svB-panel {
      position: relative;
      overflow: hidden;
      padding: clamp(28px, 4vw, 56px);
      border: 1px solid var(--line);
      border-radius: 28px;
      background: #fff;
      box-shadow: 0 40px 80px -50px rgba(11, 37, 69, .45);
    }

    .svB-panel:not([hidden]) {
      animation: svBin .6s cubic-bezier(.2, .7, .2, 1) both;
    }

    @keyframes svBin {
      from {
        opacity: 0;
        transform: translateY(14px);
      }

      to {
        opacity: 1;
        transform: none;
      }
    }

    .svB-panel::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 3px;
      background: linear-gradient(90deg, var(--gold), var(--cyan), var(--blue));
    }

    .svB-ghost {
      position: absolute;
      right: clamp(16px, 3vw, 40px);
      top: clamp(0px, 1vw, 12px);
      font-family: var(--serif);
      font-size: clamp(2.5rem, 6vw, 5rem);
      line-height: 1;
      color: rgba(11, 37, 69, .05);
      pointer-events: none;
      user-select: none;
    }

    .svB-h {
      position: relative;
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(1.5rem, 2.6vw, 2rem);
      line-height: 1.1;
      color: var(--navy);
      max-width: 18ch;
    }

    .svB-d {
      position: relative;
      margin-top: 18px;
      color: var(--muted);
      font-size: 1rem;
      line-height: 1.35;
      max-width: 52ch;
    }

    .svB-lbl {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-top: clamp(28px, 3.4vw, 44px);
      color: var(--gold-ink);
      font-weight: 600;
      font-size: 0.9375rem;
    }

    .svB-lbl::after {
      content: "";
      flex: 1;
      height: 1px;
      background: var(--line);
    }

    .svB-list {
      list-style: none;
      margin: 18px 0 0;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .svB-list li {
      position: relative;
      padding: 16px 16px 16px 46px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: var(--bg);
      color: var(--ink);
      font-size: 0.9375rem;
      line-height: 1.3;
      transition: border-color .3s ease, background .3s ease, transform .3s ease;
    }

    .svB-list li:hover {
      border-color: rgba(37, 99, 235, .35);
      background: #fff;
      transform: translateY(-2px);
    }

    .svB-list li::before {
      content: "";
      position: absolute;
      left: 16px;
      top: 18px;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: rgba(14, 165, 217, .14);
    }

    .svB-list li::after {
      content: "";
      position: absolute;
      left: 21px;
      top: 22px;
      width: 5px;
      height: 8px;
      border-right: 1.8px solid var(--blue);
      border-bottom: 1.8px solid var(--blue);
      transform: rotate(40deg) scale(.85);
    }

    /* odd count: let the last item span the full row */
    .svB-list li:last-child:nth-child(odd) {
      grid-column: 1 / -1;
    }

    @media (max-width: 900px) {
      .svB {
        display: block;
      }

      .svB-nav {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 14px;
        margin-inline: calc(var(--pad) * -1);
        padding-inline: var(--pad);
        scrollbar-width: none;
      }

      .svB-nav::-webkit-scrollbar {
        display: none;
      }

      .svB-tab {
        flex: 0 0 auto;
        width: auto;
        grid-template-columns: auto;
        padding: 10px 18px;
        border: 1px solid rgba(11, 37, 69, .2);
        border-radius: 999px;
        background: #fff;
      }

      .svB-t,
      .svB-arr {
        display: none;
      }

      .svB-tab[aria-selected="true"] {
        transform: none;
      }
    }

    @media (max-width: 560px) {
      .svB-list {
        grid-template-columns: 1fr;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .svB-panel:not([hidden]) {
        animation: none;
      }

      .svB-tab,
      .svB-arr,
      .svB-list li {
        transition: none;
      }
    }

    /* ---------- Selected Projects (portfolio) ---------- */
    .portfolio {
      background: var(--bg);
    }

    .pf-head {
      max-width: 900px;
    }

    .pf-eye {
      margin-bottom: 18px;
      color: var(--gold-ink);
      font-weight: 600;
      font-size: 0.9375rem;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .pf-group {
      display: grid;
      grid-template-columns: repeat(12, minmax(0, 1fr));
      column-gap: clamp(16px, 2.4vw, 40px);
      margin-top: clamp(48px, 7vw, 104px);
      padding-top: clamp(28px, 3vw, 40px);
      border-top: 1px solid var(--line);
    }

    .pf-side {
      grid-column: 1 / span 4;
      align-self: start;
      position: sticky;
      top: calc(var(--nav-h) + 28px);
    }

    .pf-no {
      display: block;
      font-family: var(--serif);
      font-size: 0.9375rem;
      color: var(--gold-ink);
      margin-bottom: 12px;
    }

    .pf-side h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(1.5rem, 2.6vw, 2rem);
      line-height: 1.12;
      color: var(--navy);
      max-width: 14ch;
    }

    .pf-list {
      grid-column: 5 / -1;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .pf-list li {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
      column-gap: clamp(16px, 2.4vw, 40px);
      align-items: baseline;
      padding: clamp(18px, 2vw, 28px) clamp(10px, 1.4vw, 20px);
      border-bottom: 1px solid var(--line);
      transition: background .35s ease, padding-inline-start .45s cubic-bezier(.2, .7, .2, 1);
    }

    .pf-list li:first-child {
      padding-top: 0;
    }

    .pf-list li::before {
      content: "";
      position: absolute;
      left: 0;
      bottom: -1px;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--cyan), var(--blue));
      transition: width .6s cubic-bezier(.2, .7, .2, 1);
    }

    .pf-list li:hover::before {
      width: 100%;
    }

    .pf-list li:hover {
      background: rgba(255, 255, 255, .7);
      padding-inline-start: clamp(16px, 2vw, 28px);
    }

    .pf-list b {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(1.125rem, 1.7vw, 1.375rem);
      line-height: 1.2;
      color: var(--navy);
    }

    .pf-list span {
      color: var(--muted);
      font-size: 0.9375rem;
      line-height: 1.35;
    }

    @media (max-width: 1100px) {
      .pf-side,
      .pf-list {
        grid-column: 1 / -1;
      }

      .pf-side {
        position: static;
        margin-bottom: 24px;
      }

      .pf-side h3 {
        max-width: none;
      }
    }

    @media (max-width: 700px) {
      .pf-list li {
        grid-template-columns: 1fr;
        row-gap: 6px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .pf-list li,
      .pf-list li::before {
        transition: none;
      }
    }

    /* ---------- Books (dark, its own section) ---------- */
    .books {
      overflow: hidden;
      color: #fff;
      background: radial-gradient(50% 70% at 100% 0%, rgba(47, 211, 240, .22), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(37, 99, 235, .28), transparent 70%), linear-gradient(180deg, var(--navy), var(--navy-2));
    }

    .bks-head,
    .pps-head {
      max-width: 760px;
    }

    .books h2.title {
      color: #fff;
    }

    .bks-head p {
      margin-top: 20px;
      color: #bcd3f0;
      font-size: 1rem;
    }

    .bks {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: clamp(16px, 2.4vw, 40px);
      margin-top: clamp(40px, 6vw, 80px);
    }

    .bk {
      display: grid;
      grid-template-columns: minmax(150px, 38%) 1fr;
      gap: clamp(20px, 2.6vw, 40px);
      align-items: center;
      padding: clamp(18px, 2.2vw, 32px);
      border: 1px solid rgba(255, 255, 255, .16);
      border-radius: 26px;
      background: rgba(255, 255, 255, .05);
      transition: transform .5s cubic-bezier(.2, .7, .2, 1), background .5s ease, border-color .5s ease;
    }

    .bk:hover {
      transform: translateY(-5px);
      background: rgba(255, 255, 255, .09);
      border-color: rgba(127, 224, 247, .5);
    }

    .bk-cover {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      gap: 6px;
      aspect-ratio: 3 / 4;
      padding: 18px;
      border-radius: 4px 14px 14px 4px;
      background: radial-gradient(90% 60% at 80% 0%, rgba(47, 211, 240, .35), transparent 70%), linear-gradient(160deg, #123f73, #07203f);
      box-shadow: 0 30px 50px -26px rgba(0, 0, 0, .65), inset 7px 0 0 rgba(255, 255, 255, .07);
      overflow: hidden;
    }

    .bk-cover::before {
      content: "";
      position: absolute;
      left: 18px;
      top: 0;
      width: 32px;
      height: 3px;
      background: var(--gold);
    }

    .bk-ico {
      position: absolute;
      left: 18px;
      top: 22px;
      color: #d9b566;
    }

    .bk-cover-title {
      font-family: var(--serif);
      font-size: 1.125rem;
      line-height: 1.1;
    }

    .bk-cover-author {
      color: #d9b566;
      font-size: 0.875rem;
    }

    .bk-tag {
      display: inline-block;
      font-size: 0.875rem;
      font-weight: 500;
      padding: 5px 14px;
      border: 1px solid rgba(217, 181, 102, .6);
      border-radius: 999px;
      color: #d9b566;
    }

    .bk-info h3 {
      margin-top: 18px;
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(1.5rem, 2.6vw, 2rem);
      line-height: 1.1;
      color: #fff;
    }

    .bk-by {
      margin-top: 10px;
      color: #9db6d8;
      font-size: 0.875rem;
    }

    .bk-date {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 22px;
      padding-top: 18px;
      border-top: 1px solid rgba(255, 255, 255, .16);
      color: #d9b566;
      font-size: 0.875rem;
    }

    .bk-date svg {
      flex: 0 0 auto;
    }

    /* ---------- Scientific Papers (light, its own section) ---------- */
    .papers {
      background: var(--bg);
    }

    .pps-head p {
      margin-top: 20px;
      color: var(--muted);
      font-size: 1rem;
    }

    .pps {
      list-style: none;
      margin: clamp(40px, 6vw, 80px) 0 0;
      padding: 0;
      border-top: 1px solid var(--line);
    }

    .pp {
      position: relative;
      display: grid;
      grid-template-columns: 64px minmax(0, 1fr) auto;
      align-items: center;
      gap: clamp(14px, 2.4vw, 36px);
      padding: clamp(22px, 2.6vw, 36px) clamp(8px, 1.4vw, 20px);
      border-bottom: 1px solid var(--line);
      transition: background .35s ease;
    }

    .pp::before {
      content: "";
      position: absolute;
      left: 0;
      bottom: -1px;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--cyan), var(--blue));
      transition: width .6s cubic-bezier(.2, .7, .2, 1);
    }

    .pp:hover {
      background: rgba(255, 255, 255, .75);
    }

    .pp:hover::before {
      width: 100%;
    }

    .pp-ico {
      display: grid;
      place-items: center;
      width: 56px;
      height: 56px;
      border: 1px solid rgba(11, 37, 69, .16);
      border-radius: 50%;
      background: #fff;
      color: var(--blue);
      transition: background .35s ease, color .35s ease, border-color .35s ease;
    }

    .pp:hover .pp-ico {
      background: var(--navy);
      border-color: var(--navy);
      color: #fff;
    }

    .pp-year {
      display: block;
      margin-bottom: 8px;
      color: var(--gold-ink);
      font-weight: 600;
      font-size: 0.875rem;
    }

    .pp-main b {
      display: block;
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
      line-height: 1.2;
      color: var(--navy);
    }

    .pp-jour {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 10px;
      color: var(--muted);
      font-size: 0.875rem;
    }

    .pp-jour svg {
      color: var(--gold);
      flex: 0 0 auto;
    }

    .pp-link {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      white-space: nowrap;
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--navy);
    }

    .pp-link i {
      display: grid;
      place-items: center;
      width: 44px;
      height: 44px;
      border: 1px solid rgba(11, 37, 69, .28);
      border-radius: 50%;
      transition: background .35s ease, color .35s ease, border-color .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
    }

    .pp-link:hover i,
    .pp:hover .pp-link i {
      background: var(--blue);
      border-color: var(--blue);
      color: #fff;
      transform: translate(2px, -2px);
    }

    @media (max-width: 1100px) {
      .bks {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 700px) {
      .bk {
        grid-template-columns: 1fr;
      }

      .bk-cover {
        max-width: 220px;
      }

      .pp {
        grid-template-columns: 48px minmax(0, 1fr);
      }

      .pp-ico {
        width: 48px;
        height: 48px;
      }

      .pp-link {
        grid-column: 2;
        justify-self: start;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .bk,
      .pp,
      .pp::before,
      .pp-link i,
      .pp-ico {
        transition: none;
      }
    }


/* =====================================================================
   ADD THIS BLOCK AT THE END OF Materials/Css/style.css
   (submenu, hero copy, session cards, service icons, papers slider,
    career-in-numbers icons)
   ===================================================================== */

/* ---------- Nav: submenu (Who is Dr. Alaa?) ---------- */
/* Desktop: vertically centre every top-level item on one line */
@media (min-width: 1101px) {
  .nav nav > ul {
    align-items: center;
  }
}

.nav li.has-sub {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding-block: 24px;
}

.sub-toggle {
  appearance: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color .25s ease, background .25s ease;
}

.sub-toggle:hover {
  color: var(--navy);
  background: rgba(11, 37, 69, .06);
}

.sub-toggle svg {
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}

.has-sub:hover .sub-toggle svg,
.has-sub:focus-within .sub-toggle svg,
.has-sub.open .sub-toggle svg {
  transform: rotate(180deg);
}

.nav .submenu {
  position: absolute;
  top: calc(100% - 6px);
  left: -18px;
  z-index: 60;
  display: block;
  min-width: 270px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 30px 60px -30px rgba(11, 37, 69, .45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1), visibility .3s;
}

.nav .submenu::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 3px;
  margin-left: 24px;
  margin-top: -1px;
  background: var(--gold);
  border-radius: 2px;
}

.has-sub:hover .submenu,
.has-sub:focus-within .submenu,
.has-sub.open .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav .submenu li {
  display: block;
}

.nav .submenu a {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9375rem;
  color: var(--navy);
  transition: background .25s ease, color .25s ease, padding-inline-start .3s ease;
}

.nav .submenu a:hover {
  background: var(--bg);
  color: var(--blue);
  padding-inline-start: 22px;
}

@media (max-width: 1100px) {
  .nav nav ul li.has-sub {
    flex-wrap: wrap;
    padding-block: 0;
    gap: 0;
  }

  .nav nav ul li.has-sub > a {
    flex: 1;
  }

  .sub-toggle {
    width: 44px;
    height: 44px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav .submenu {
    position: static;
    flex: 0 0 100%;
    display: none;
    min-width: 0;
    padding: 0 0 8px 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav .submenu::before {
    display: none;
  }

  .nav .has-sub.open .submenu {
    display: block;
  }

  .nav nav .submenu a {
    padding: 12px 0;
    font-size: 0.9375rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav .submenu a:hover {
    padding-inline-start: 0;
    background: transparent;
  }
}

/* ---------- Hero: punchier copy + credential chips ---------- */
.hero p.tagline {
  display: block;
  max-width: 46ch;
  margin-top: clamp(18px, 2vw, 26px);
  padding: 0;
  color: var(--muted);
  font-weight: 400;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.3;
}

.hero p.tagline strong {
  color: var(--navy);
  font-weight: 700;
}

.cred-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: clamp(16px, 2vw, 24px) 0 0;
  padding: 0;
  list-style: none;
}

.cred-chips li {
  padding: 7px 14px;
  border: 1px solid rgba(180, 138, 50, .45);
  border-radius: 999px;
  background: rgba(255, 255, 255, .65);
  color: var(--gold-ink);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
}

/* ---------- Upcoming Sessions: cards with 1177 x 662 posters ---------- */
.sessions.sessC {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: clamp(64px, 8vw, 120px);
}

.sessC-head {
  max-width: 760px;
}

.sessC-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.pps-nav[hidden] {
  display: none;
}

/* 3 cards per view; arrows show only when there are more than 3 */
.sessC-track {
  --sgap: clamp(16px, 2vw, 28px);
  display: flex;
  gap: var(--sgap);
  margin-top: clamp(40px, 6vw, 72px);
  padding: 8px 2px 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.sessC-track::-webkit-scrollbar {
  display: none;
}

.sessC-track:focus-visible {
  outline-offset: 2px;
}

.sessC-track .scard {
  flex: 0 0 calc((100% - 2 * var(--sgap)) / 3);
  scroll-snap-align: start;
}

.scard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease, border-color .45s ease;
}

.scard:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 54px -30px rgba(11, 37, 69, .45);
  border-color: rgba(37, 99, 235, .3);
}

.scard-img {
  position: relative;
  aspect-ratio: 1177 / 662;
  overflow: hidden;
  background: radial-gradient(80% 120% at 85% 0%, rgba(14, 165, 217, .55), transparent 60%), linear-gradient(135deg, #0b2545, #1d4f9e);
}

.scard-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}

.scard:hover .scard-img img {
  transform: scale(1.05);
}

.scard-img .sess-tag {
  z-index: 2;
}

.scard-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 2.4vw, 32px);
}

.scard-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  line-height: 1.15;
  color: var(--navy);
}

.scard-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  width: 100%;
  margin-top: 16px;
  padding-block: 14px;
  border-block: 1px solid var(--line);
}

.scard-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 500;
}

.scard-meta svg {
  flex: 0 0 auto;
  color: var(--gold);
}

.scard-body p {
  flex: 1;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.35;
}

/* "Book a Session" link on the right, pinned to the card bottom */
.scard-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  align-self: stretch;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color .3s ease;
}

.scard-link i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(11, 37, 69, .28);
  border-radius: 50%;
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
}

.scard-link:hover {
  color: var(--blue);
}

.scard-link:hover i,
.scard:hover .scard-link i {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translate(2px, -2px);
}

@media (max-width: 1100px) {
  .sessC-track .scard {
    flex-basis: calc((100% - var(--sgap)) / 2);
  }
}

@media (max-width: 700px) {
  .sessC-track .scard {
    flex-basis: 86%;
  }

}

/* ---------- Services: icons + actions ---------- */
.svc-ico {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 10px 0 20px;
  border-radius: 16px;
  color: var(--blue);
  background: linear-gradient(135deg, rgba(14, 165, 217, .14), rgba(37, 99, 235, .08));
  border: 1px solid rgba(37, 99, 235, .14);
  transition: background .4s ease, color .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1), border-color .4s ease;
}

.svc:hover .svc-ico {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px) rotate(-4deg);
}

.svc h3 {
  margin-top: 0;
}

/* Services header row: title on the left, "View All Services" beside it */
.svc-top {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.svc-top .svc-head {
  grid-column: auto;
}

@media (max-width: 560px) {
  .svc-top-cta,
  .svc-top-cta .btn {
    width: 100%;
  }
}

.svc-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

@media (max-width: 560px) {
  .svc-actions .btn {
    width: 100%;
  }
}

/* ---------- Scientific Papers: card slider ---------- */
.pps-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.pps-nav {
  display: flex;
  gap: 10px;
}

.pps-btn {
  appearance: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(11, 37, 69, .28);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease, opacity .3s ease, transform .3s ease;
}

.pps-btn:hover:not(:disabled) {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.pps-btn:disabled {
  opacity: .35;
  cursor: default;
}

.pps-track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding: 8px 2px 28px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pps-track::-webkit-scrollbar {
  display: none;
}

.pps-track:focus-visible {
  outline-offset: 2px;
}

.ppc {
  position: relative;
  display: flex;
  flex: 0 0 clamp(290px, 31%, 430px);
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  scroll-snap-align: start;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease, border-color .45s ease;
}

.ppc::before {
  content: "";
  position: absolute;
  left: clamp(24px, 2.6vw, 36px);
  top: 0;
  width: 44px;
  height: 3px;
  background: var(--gold);
  transition: width .5s cubic-bezier(.2, .7, .2, 1);
}

.ppc:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 54px -30px rgba(11, 37, 69, .45);
  border-color: rgba(37, 99, 235, .3);
}

.ppc:hover::before {
  width: calc(100% - 2 * clamp(24px, 2.6vw, 36px));
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.ppc:hover .pp-ico {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.ppc .pp-main {
  flex: 1;
}

.ppc .pp-main b {
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
}

.ppc .pp-link {
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.ppc:hover .pp-link i {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translate(2px, -2px);
}

@media (max-width: 700px) {
  .ppc {
    flex-basis: 84%;
  }

  .pps-btn {
    width: 46px;
    height: 46px;
  }
}

/* ---------- Career in Numbers: icons ---------- */
.n7-ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 8px 0 22px;
  border: 1px solid rgba(127, 224, 247, .3);
  border-radius: 16px;
  background: rgba(127, 224, 247, .08);
  color: #7fe0f7;
  transition: background .4s ease, color .4s ease, border-color .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
}

.n7:hover .n7-ico {
  background: #7fe0f7;
  border-color: #7fe0f7;
  color: #06213f;
  transform: translateY(-2px) rotate(-4deg);
}

.n7-lead .n7-ico {
  width: 68px;
  height: 68px;
  margin-bottom: auto;
  border-radius: 20px;
}

@media (max-width: 1100px) {
  .n7-lead .n7-ico {
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav .submenu,
  .sub-toggle svg,
  .scard,
  .scard-img img,
  .svc-ico,
  .ppc,
  .ppc::before,
  .pps-btn,
  .n7-ico {
    transition: none !important;
  }
}

/* ---------- Fixed WhatsApp chat button ---------- */
.wa-fab {
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  z-index: 55;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7), 0 4px 12px rgba(11, 37, 69, .18);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, background .3s ease;
}

.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: #25d366;
  opacity: .45;
  animation: waPulse 2.8s ease-out infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: .45;
  }

  70%,
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

.wa-fab:hover {
  transform: translateY(-3px) scale(1.06);
  background: #1ebe5b;
  box-shadow: 0 20px 36px -12px rgba(37, 211, 102, .8), 0 6px 16px rgba(11, 37, 69, .2);
}

.wa-fab:focus-visible {
  outline-offset: 4px;
  border-radius: 50%;
}

.wa-tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 14px 30px -16px rgba(11, 37, 69, .45);
  opacity: 0;
  visibility: hidden;
  transform: translate(8px, -50%);
  transition: opacity .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1), visibility .3s;
  pointer-events: none;
}

@media (hover: hover) {
  .wa-fab:hover .wa-tip,
  .wa-fab:focus-visible .wa-tip {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
  }
}

@media (max-width: 700px) {
  .wa-fab {
    width: 56px;
    height: 56px;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab::before {
    animation: none;
    display: none;
  }

  .wa-fab,
  .wa-tip {
    transition: none;
  }
}

/* ---------- Language button + Contact Me in the menu ---------- */
.lang .lang-ico {
  display: none;
}

.nav li.nav-contact {
  display: none;
}

@media (max-width: 1100px) {
  /* "Contact Me" moves from the header into the menu */
  .nav .nav-end .pill {
    display: none;
  }

  .nav nav ul li.nav-contact {
    display: block;
    margin-top: 18px;
  }

  .nav nav ul li.nav-contact a {
    display: block;
    padding: 14px 20px;
    border: 0;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 8px 24px -10px rgba(11, 37, 69, .5);
  }

  .nav nav ul li.nav-contact a:hover {
    background: linear-gradient(120deg, #0d4f9a, #1d6fe0);
    color: #fff;
  }

  /* Language: globe icon instead of text */
  .nav .lang {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(11, 37, 69, .28);
    border-radius: 50%;
    color: var(--navy);
  }

  .nav .lang .lang-txt {
    display: none;
  }

  .nav .lang .lang-ico {
    display: block;
  }

  .nav .lang:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
  }
}

/* ---------- Final CTA band (after Career in Numbers) ---------- */
.cta-band {
  padding-block: clamp(80px, 11vw, 160px);
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(50% 70% at 50% 125%, rgba(14, 165, 217, .2), transparent 70%),
    radial-gradient(40% 60% at 100% 0%, rgba(37, 99, 235, .08), transparent 70%),
    linear-gradient(180deg, #fff, var(--bg-2));
}

.cta-inner {
  max-width: 900px;
  margin-inline: auto;
}

.cta-inner .rule-gold {
  margin: 0 auto 28px;
}

.cta-band h2.title {
  max-width: 20ch;
  margin-inline: auto;
}

.cta-band p {
  max-width: 56ch;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.35;
}

.cta-band .btn {
  margin-top: 40px;
  padding: 18px 40px;
}

@media (max-width: 560px) {
  .cta-band .btn {
    width: 100%;
  }
}

/* ---------- Section backgrounds (alternating, each one distinct) ----------
   Projects: white -> Services: blue tint -> Sessions: white -> Papers: pale blue
   -> Career in Numbers: dark navy -> CTA: light */
.services {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(55% 45% at 0% 0%, rgba(14, 165, 217, .12), transparent 70%),
    radial-gradient(50% 45% at 100% 100%, rgba(37, 99, 235, .09), transparent 70%),
    var(--bg-2);
}

.sessions.sessC {
  background:
    radial-gradient(45% 50% at 100% 0%, rgba(14, 165, 217, .10), transparent 70%),
    linear-gradient(180deg, #fff, #fafcff);
}

.scard {
  box-shadow: 0 18px 40px -32px rgba(11, 37, 69, .35);
}

.papers {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(50% 55% at 0% 100%, rgba(37, 99, 235, .09), transparent 70%),
    radial-gradient(40% 50% at 100% 0%, rgba(14, 165, 217, .10), transparent 70%),
    var(--bg);
}

/* =====================================================================
   INNER PAGES (about, services, contact, book, gallery)
   ===================================================================== */

/* Active menu item */
.nav ul a[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}

.nav .pill[aria-current="page"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* Page hero */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(40px, 6vw, 96px)) 0 clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(55% 80% at 88% 20%, rgba(14, 165, 217, .16), transparent 70%),
    radial-gradient(45% 70% at 4% 100%, rgba(37, 99, 235, .09), transparent 70%),
    linear-gradient(180deg, #fff 0%, #f1f6fc 100%);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--dim);
  font-size: 0.875rem;
}

.crumbs a {
  transition: color .25s ease;
}

.crumbs a:hover {
  color: var(--navy);
}

.crumbs [aria-current] {
  color: var(--gold-ink);
  font-weight: 500;
}

.pg-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--gold-ink);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.pg-eyebrow::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--gold);
}

h1.ptitle {
  max-width: 22ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.06;
  color: var(--navy);
}

.plede {
  max-width: 64ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.35;
}

.head .pg-eyebrow {
  margin-bottom: 22px;
}

/* ---------- About ---------- */
.ab-sec {
  background: var(--white);
}

.ab-intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.ab-role {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  line-height: 1.2;
  color: #1c4478;
}

.ab-copy .cred-chips,
.brief-l .cred-chips {
  margin-top: 18px;
}

.ab-lead {
  max-width: 60ch;
  margin-top: clamp(22px, 2.6vw, 32px);
  color: #1c3a63;
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  line-height: 1.3;
}

.ab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(28px, 3.4vw, 44px);
}

.ab-photo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(70% 55% at 50% 38%, rgba(255, 255, 255, .95), rgba(207, 232, 251, .7) 60%, transparent 100%),
    linear-gradient(180deg, #eaf4fd, #dcebf9);
}

.ab-photo img {
  display: block;
  width: 92%;
  height: auto;
  filter: drop-shadow(0 24px 30px rgba(11, 37, 69, .16));
}

/* Career in Numbers: space between the header and the cards */
.impB .head + .nums7 {
  margin-top: clamp(56px, 7vw, 104px);
}

/* About page: numbers block has no header, so no extra top space */
.impNoHead .nums7 {
  margin-top: 0;
}

/* In brief */
.brief-sec {
  background: var(--bg);
}

.brief {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.brief-l {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}

.brief-l .ab-role {
  margin-top: 26px;
}

.brief-r p {
  max-width: 66ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.0625rem);
  line-height: 1.4;
}

.brief-r p:first-child {
  color: #1c3a63;
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  line-height: 1.3;
}

.brief-r p + p {
  margin-top: 1.3em;
}

/* Experience */
.exp-page {
  background: var(--white);
}

.exp-page .timeline {
  max-width: 980px;
}

.exp-page .tl-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline .tl-pts {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.timeline .tl-pts li,
.js .timeline .tl-pts li {
  position: relative;
  padding: 0 0 0 22px;
  opacity: 1;
  transform: none;
  transition: none;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.35;
}

.timeline .tl-pts li::before {
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border: 0;
  background: var(--gold);
  box-shadow: none;
  transform: rotate(45deg);
  border-radius: 0;
}

.timeline .org {
  font-size: 1rem;
}

.earlier {
  max-width: 980px;
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(120deg, #fff, #eef5fd);
}

.earlier h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  color: var(--navy);
}

.earlier p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.4;
}

/* Selected projects: detail cards (same look as the Clients tiles on the home page) */
.pj-sec {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.pjc-wrap {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  margin-top: clamp(40px, 6vw, 72px);
}

.pjc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.pjc-head h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15;
  color: var(--navy);
}

.pjc-head span {
  color: var(--gold-ink);
  font-size: 0.875rem;
  font-weight: 500;
}

.pjc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(20px, 2.4vw, 32px);
}

.pjc-card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f3f7fc);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.pjc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -22px rgba(11, 37, 69, .4);
  border-color: rgba(37, 99, 235, .35);
}

.pjc-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 56px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  box-sizing: content-box;
}

.pjc-logo img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  object-position: left center;
}

.pjc-card h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  line-height: 1.2;
  color: var(--navy);
}

.pjc-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .pjc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .pjc-grid {
    grid-template-columns: 1fr;
  }
}

/* Education */
.edu-sec {
  background: var(--bg);
}

.edu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(40px, 6vw, 72px);
}

.edu-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease, border-color .45s ease;
}

.edu-card::before {
  content: "";
  position: absolute;
  left: clamp(26px, 3vw, 40px);
  top: 0;
  width: 44px;
  height: 3px;
  background: var(--gold);
}

.edu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 54px -30px rgba(11, 37, 69, .45);
  border-color: rgba(37, 99, 235, .3);
}

.edu-card:hover .svc-ico {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.edu-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  line-height: 1.15;
  color: var(--navy);
}

.edu-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.edu-card li {
  display: grid;
  gap: 3px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.edu-card li b {
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.25;
  color: var(--navy);
}

.edu-card li span {
  color: var(--muted);
  font-size: 0.875rem;
}

/* ---------- Services page ---------- */
.svp-sec {
  background: linear-gradient(180deg, var(--white), var(--bg-2));
}

.svp {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}

.svp-toc-wrap {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.svp-toc {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.svp-toc a {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.25;
  transition: background .25s ease, color .25s ease;
}

.svp-toc a b {
  color: var(--gold-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.svp-toc a:hover {
  background: #fff;
  color: var(--navy);
}

.svp-list {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.svd {
  position: relative;
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-h) + 24px);
  padding: clamp(26px, 3.2vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  transition: box-shadow .45s ease, border-color .45s ease;
}

.svd::before {
  content: "";
  position: absolute;
  left: clamp(26px, 3.2vw, 44px);
  top: 0;
  width: 44px;
  height: 3px;
  background: var(--gold);
  transition: width .5s cubic-bezier(.2, .7, .2, 1);
}

.svd:hover,
.svd:target {
  box-shadow: 0 28px 54px -30px rgba(11, 37, 69, .45);
  border-color: rgba(37, 99, 235, .3);
}

.svd:hover::before,
.svd:target::before {
  width: calc(100% - 2 * clamp(26px, 3.2vw, 44px));
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.svd:hover .svc-ico {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.svd-head {
  display: flex;
  gap: 20px;
  align-items: center;
}

.svd-head .svc-ico {
  flex: 0 0 auto;
  margin: 10px 0 0;
}

.svd-num {
  display: block;
  margin-top: 10px;
  color: var(--gold-ink);
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.svd h3 {
  margin-top: 2px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.15;
  color: var(--navy);
}

.svd > p {
  max-width: 62ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.35;
}

.svd h4 {
  margin: 26px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--gold-ink);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.chk {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chk li {
  position: relative;
  padding-left: 22px;
  color: var(--navy);
  font-size: 0.9375rem;
  line-height: 1.3;
}

.chk li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

/* ---------- Contact / Book ---------- */
.cx-sec {
  background: linear-gradient(180deg, var(--white), var(--bg-2));
}

.cx {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.ccards {
  display: grid;
  gap: 14px;
}

.ccard {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

a.ccard:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -28px rgba(11, 37, 69, .45);
  border-color: rgba(37, 99, 235, .3);
}

.ccard i {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14, 165, 217, .14), rgba(37, 99, 235, .08));
  color: var(--blue);
  transition: background .35s ease, color .35s ease;
}

a.ccard:hover i {
  background: var(--navy);
  color: #fff;
}

.ccard small {
  display: block;
  color: var(--dim);
  font-size: 0.875rem;
}

.ccard b {
  display: block;
  margin-top: 2px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 500;
  word-break: break-word;
}

.fcard {
  padding: clamp(24px, 3.4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(120deg, #fff, #eef5fd);
}

.fgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 500;
}

.field label span {
  color: var(--gold-ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(11, 37, 69, .2);
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.3;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--dim);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .14);
}

.fcard .btn {
  margin-top: 26px;
}

.form-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.3;
}

.form-note[hidden] {
  display: none;
}

.steps {
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
}

.steps h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--navy);
}

.steps ol {
  display: grid;
  gap: 26px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 18px;
}

.steps li > b {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(180, 138, 50, .5);
  border-radius: 50%;
  color: var(--gold-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.steps h3 {
  color: var(--navy);
  font-size: 1.125rem;
  font-weight: 500;
}

.steps li p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.35;
}

.steps-note {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.steps-note a {
  color: var(--blue);
  border-bottom: 1px solid rgba(37, 99, 235, .35);
}

/* ---------- Gallery ---------- */
.gal-sec {
  background: var(--white);
}

.ggrid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}

.gitem {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: radial-gradient(80% 120% at 85% 0%, rgba(14, 165, 217, .5), transparent 60%), linear-gradient(135deg, #0b2545, #1d4f9e);
  cursor: zoom-in;
}

.gitem img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}

.gitem:hover img {
  transform: scale(1.06);
}

.gzoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1);
}

.gitem:hover .gzoom,
.gitem:focus-visible .gzoom {
  opacity: 1;
  transform: none;
}

.lb {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 24px);
  padding: 24px;
  background: rgba(7, 26, 51, .94);
}

.lb[hidden] {
  display: none;
}

.lb figure {
  margin: 0;
  max-width: min(1100px, 80vw);
  text-align: center;
}

.lb figure img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  margin-inline: auto;
  border-radius: 14px;
}

.lb figcaption {
  margin-top: 14px;
  color: #b9cfea;
  font-size: 0.875rem;
}

.lb-close,
.lb-nav {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}

.lb-close:hover,
.lb-nav:hover {
  background: #fff;
  color: var(--navy);
}

.lb-close {
  position: absolute;
  top: 20px;
  right: 20px;
}

/* ---------- Inner pages: responsive ---------- */
@media (max-width: 1100px) {
  .ab-intro,
  .brief,
  .cx {
    grid-template-columns: 1fr;
  }

  .ab-photo {
    max-width: 440px;
  }

  .brief-l {
    position: static;
  }

  .edu {
    grid-template-columns: 1fr;
  }

  .ggrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .svp {
    grid-template-columns: 1fr;
  }

  .svp-toc-wrap {
    position: static;
    margin-inline: calc(-1 * var(--pad));
    padding-inline: var(--pad);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .svp-toc-wrap::-webkit-scrollbar {
    display: none;
  }

  .svp-toc {
    display: flex;
    gap: 8px;
    width: max-content;
    padding-bottom: 4px;
  }

  .svp-toc a {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    white-space: nowrap;
  }

  .svp-toc a b {
    display: none;
  }

}

@media (max-width: 760px) {
  .chk,
  .fgrid {
    grid-template-columns: 1fr;
  }

  .ggrid {
    grid-template-columns: 1fr;
  }

  .ab-actions .btn,
  .fcard .btn {
    width: 100%;
  }

  .svd-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .lb figure {
    max-width: 100%;
  }

  .lb {
    flex-wrap: wrap;
    align-content: center;
  }

  .lb figure {
    order: 1;
    flex: 0 0 100%;
  }

  .lb-prev {
    order: 2;
  }

  .lb-next {
    order: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gitem img,
  .gzoom,
  .svd,
  .svd::before,
  .edu-card,
  a.ccard,
  .ccard i {
    transition: none !important;
  }
}

/* Page titles: give the word-reveal mask room for descenders (g, y, p) */
.js h1.ptitle .wm {
  padding-bottom: .24em;
  margin-bottom: -.24em;
}


/* ---------- Scientific Papers slider: 3 cards per view, arrows disabled when everything fits ---------- */
.pps-track {
  --pgap: clamp(16px, 2vw, 28px);
  gap: var(--pgap);
}

.ppc {
  flex: 0 0 calc((100% - 2 * var(--pgap)) / 3);
}

@media (max-width: 1100px) {
  .ppc {
    flex-basis: calc((100% - var(--pgap)) / 2);
  }
}

@media (max-width: 700px) {
  .ppc {
    flex-basis: 84%;
  }
}


/* ---------- Dropdown (select): larger custom arrow ---------- */
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 56px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2545' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 24px 24px;
  cursor: pointer;
}

.field select:hover {
  border-color: rgba(11, 37, 69, .4);
}

/* ---------- Home services: whole card is a link ---------- */
a.svc {
  display: block;
  color: inherit;
  cursor: pointer;
}

a.svc:focus-visible {
  outline-offset: 4px;
  border-radius: 22px;
}

.svc-go {
  position: absolute;
  right: clamp(22px, 2.6vw, 34px);
  top: calc(clamp(26px, 3vw, 40px) + 7px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(11, 37, 69, .28);
  border-radius: 50%;
  color: var(--navy);
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
}

a.svc:hover .svc-go,
a.svc:focus-visible .svc-go {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translate(2px, -2px);
}

/* =====================================================================
   HOME B (index_b.html): scroll-triggered image reveal, fade/slide-up,
   subtle image scale, staggered content, scroll-linked parallax,
   sticky storytelling
   ===================================================================== */

@keyframes hbUp {
  from {
    opacity: 0;
    transform: translateY(34px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hbLine {
  to {
    transform: none;
  }
}

@keyframes hbClip {
  to {
    clip-path: inset(0 0 0 0 round 32px);
  }
}

@keyframes hbScale {
  to {
    transform: scale(1);
  }
}

/* ---------- Hero ---------- */
.hb-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 24px) 0 72px;
  overflow: hidden;
  background:
    radial-gradient(55% 60% at 85% 35%, rgba(14, 165, 217, .18), transparent 70%),
    radial-gradient(45% 55% at 4% 92%, rgba(37, 99, 235, .10), transparent 70%),
    linear-gradient(180deg, #fff 0%, #f1f6fc 75%, #eaf1fa 100%);
}

.hb-hero .wrap {
  width: 100%;
}

.hb-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
}

.hb-name {
  margin-top: 6px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: .95;
  letter-spacing: -.01em;
  color: var(--navy);
}

.hb-ln {
  display: block;
  overflow: hidden;
  padding-bottom: .14em;
}

.hb-ln b {
  display: block;
  font-weight: 400;
  transform: translateY(112%);
  animation: hbLine 1.2s cubic-bezier(.2, .75, .15, 1) .35s forwards;
}

.hb-ln:nth-child(2) b {
  animation-delay: .5s;
}

.hb-in {
  opacity: 0;
  transform: translateY(26px);
  animation: hbUp 1s cubic-bezier(.2, .7, .2, 1) forwards;
  animation-delay: calc(.25s + var(--i, 0) * .14s);
}

.hb-lede {
  max-width: 46ch;
  margin-top: clamp(18px, 2vw, 28px);
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.32;
}

.hb-lede strong {
  color: var(--navy);
  font-weight: 700;
}

.hb-hero .cred-chips {
  margin-top: clamp(16px, 2vw, 24px);
}

.hb-hero-photo {
  position: relative;
}

.hb-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(70% 55% at 50% 36%, rgba(255, 255, 255, .95), rgba(207, 232, 251, .75) 60%, transparent 100%),
    linear-gradient(180deg, #eaf4fd, #d8e9f8);
  clip-path: inset(100% 0 0 0 round 32px);
  animation: hbClip 1.4s cubic-bezier(.77, 0, .18, 1) .3s forwards;
}

.px {
  position: absolute;
  left: 0;
  right: 0;
  top: -12%;
  height: 124%;
  will-change: transform;
}

.px img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.hb-frame .px img {
  transform: scale(1.2);
  animation: hbScale 1.8s cubic-bezier(.2, .7, .2, 1) .3s forwards;
  filter: drop-shadow(0 26px 34px rgba(11, 37, 69, .16));
}

.hb-float {
  position: absolute;
  z-index: 2;
  will-change: transform;
}

.hb-float.f1 {
  left: -8%;
  top: 14%;
}

.hb-float.f2 {
  right: -5%;
  bottom: 12%;
}

.hb-chip {
  display: grid;
  gap: 2px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 44px -26px rgba(11, 37, 69, .5);
}

.hb-chip b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  line-height: 1;
  color: var(--navy);
}

.hb-chip span {
  color: var(--muted);
  font-size: 0.875rem;
}

.hb-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 26px;
  height: 44px;
  margin-left: -13px;
  border: 1.5px solid rgba(11, 37, 69, .35);
  border-radius: 999px;
}

.hb-scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--gold);
  animation: hbDot 2s ease-in-out infinite;
}

@keyframes hbDot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* ---------- Generic reveals ---------- */
.js .hb-rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform 1s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 100ms);
}

.js .hb-rv.in {
  opacity: 1;
  transform: none;
}

.js .hb-stagger > * {
  opacity: 0;
  transform: translateY(34px);
}

.js .hb-stagger.in > * {
  opacity: 1;
  transform: none;
  animation: hbUp .9s cubic-bezier(.2, .7, .2, 1) backwards;
  animation-delay: calc(var(--i, 0) * 90ms);
}

.hb-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background: radial-gradient(80% 120% at 85% 0%, rgba(14, 165, 217, .5), transparent 60%), linear-gradient(135deg, #0b2545, #1d4f9e);
}

.js .hb-img {
  clip-path: inset(100% 0 0 0 round 24px);
  transition: clip-path 1.3s cubic-bezier(.77, 0, .18, 1);
}

.js .hb-img.in {
  clip-path: inset(0 0 0 0 round 24px);
}

.js .hb-img .px img {
  transform: scale(1.25);
  transition: transform 1.8s cubic-bezier(.2, .7, .2, 1);
}

.js .hb-img.in .px img {
  transform: scale(1);
}

.js .hb-img.in:hover .px img {
  transform: scale(1.05);
}

/* Sessions: poster reveal */
.js .hb-page .sessC-track:not(.in) .scard-img {
  clip-path: inset(100% 0 0 0);
}

.js .hb-page .sessC-track:not(.in) .scard-img img {
  transform: scale(1.25);
}

.hb-page .scard-img {
  transition: clip-path 1.3s cubic-bezier(.77, 0, .18, 1);
}

/* ---------- Sticky storytelling ---------- */
.hb-story {
  padding-block: clamp(72px, 10vw, 150px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.hb-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 6vw, 100px);
  align-items: start;
}

.hb-stick {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--nav-h) - 48px);
  height: calc(100svh - var(--nav-h) - 48px);
  min-height: 520px;
}

.hb-stick h2.title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

.hb-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.3;
}

.hb-media {
  position: relative;
  flex: 1;
  min-height: 0;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 28px;
  background: #0b2545;
}

.sm {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .9s ease, transform 1.6s cubic-bezier(.2, .7, .2, 1);
}

.sm.on {
  opacity: 1;
  transform: none;
}

.sm::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 85% 0%, rgba(14, 165, 217, .55), transparent 60%), linear-gradient(135deg, #0b2545, #1d4f9e);
}

.sm img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-over {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 8px;
  padding: clamp(22px, 3vw, 40px);
  padding-top: 90px;
  color: #fff;
  background: linear-gradient(0deg, rgba(7, 26, 51, .88), transparent);
}

.sm-year {
  color: #d9b566;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: .03em;
}

.sm-metric {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1;
}

.sm-lbl {
  max-width: 28ch;
  color: #bcd3f0;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.hb-dots {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 6px;
}

.hb-dots i {
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .3);
  transition: background .4s ease;
}

.hb-dots i.on {
  background: #fff;
}

.hb-count {
  position: absolute;
  top: 12px;
  right: 20px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  opacity: .85;
}

.hb-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, .18);
}

.hb-bar i {
  display: block;
  height: 100%;
  width: calc(var(--p, 0) * 100%);
  background: linear-gradient(90deg, var(--cyan), #d9b566);
}

.hb-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hb-step {
  display: flex;
  min-height: 80vh;
  flex-direction: column;
  justify-content: center;
  padding-block: 40px;
  opacity: .28;
  transition: opacity .6s ease;
}

.hb-step.on {
  opacity: 1;
}

.hb-step:last-child {
  min-height: 62vh;
}

.st-yrs {
  color: var(--gold-ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.hb-step h3 {
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
  color: var(--navy);
}

.st-org {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1rem;
}

.hb-step p {
  max-width: 52ch;
  margin-top: 22px;
  color: #1c3a63;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.38;
}

/* metric is shown inside the pinned panel on desktop; keep it readable for screen readers */
.st-metric {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hb-story-end {
  margin-top: clamp(24px, 4vw, 56px);
  text-align: center;
}

@media (max-width: 900px) {
  .hb-story-grid {
    grid-template-columns: 1fr;
  }

  .hb-stick {
    position: static;
    height: auto;
    min-height: 0;
  }

  .hb-media {
    display: none;
  }

  .hb-step,
  .hb-step:last-child {
    min-height: 0;
    padding-block: 32px;
    border-top: 1px solid var(--line);
    opacity: 1;
  }

  .st-metric {
    position: static;
    display: inline-grid;
    gap: 2px;
    width: auto;
    height: auto;
    margin-top: 22px;
    padding: 14px 20px;
    overflow: visible;
    clip: auto;
    white-space: normal;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--bg);
  }

  .st-metric b {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--navy);
  }

  .st-metric span {
    color: var(--muted);
    font-size: 0.875rem;
  }
}

/* ---------- Moments ---------- */
.hb-moments {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.hb-moments-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.hb-mgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  margin-top: clamp(40px, 6vw, 72px);
}

.hb-m {
  margin: 0;
}

.hb-m.m2,
.hb-m.m4 {
  margin-top: clamp(40px, 7vw, 110px);
}

.hb-m figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 500;
}

.hb-m figcaption::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

@media (max-width: 900px) {
  .hb-mgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hb-m.m2,
  .hb-m.m4 {
    margin-top: clamp(24px, 6vw, 56px);
  }
}

/* ---------- Numbers: parallax glows ---------- */
.hb-page .impact.impB {
  overflow: hidden;
}

.hb-page .impB .wrap {
  position: relative;
  z-index: 1;
}

.hb-orb {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.hb-orb.o1 {
  left: -140px;
  top: 8%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(14, 165, 217, .34), transparent 70%);
}

.hb-orb.o2 {
  right: -160px;
  bottom: 4%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(180, 138, 50, .26), transparent 70%);
}

/* ---------- Home B: responsive ---------- */
@media (max-width: 1100px) {
  .hb-hero-grid {
    grid-template-columns: 1fr;
  }

  .hb-hero-photo {
    max-width: 480px;
  }

  .hb-float.f1 {
    left: -2%;
  }

  .hb-float.f2 {
    right: -2%;
  }

  .hb-scroll {
    display: none;
  }
}

@media (max-width: 560px) {
  .hb-hero .cta-row .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hb-in,
  .hb-ln b,
  .hb-frame,
  .hb-frame .px img,
  .hb-scroll span {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    animation: none !important;
  }

  .js .hb-rv,
  .js .hb-stagger > *,
  .js .hb-img,
  .js .hb-img .px img,
  .js .hb-page .sessC-track .scard-img,
  .js .hb-page .sessC-track .scard-img img {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
    animation: none !important;
  }

  .sm {
    transition: none;
  }
}

/* ---------- Clients heading in two parts (compact) ---------- */
.proj-head .proj-title {
  display: grid;
  justify-items: center;
  gap: 10px;
  font-weight: 400;
}

.proj-title .pt-a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-ink);
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.proj-title .pt-a::before,
.proj-title .pt-a::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.proj-title .pt-b {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.1;
  color: var(--navy);
}

/* ---------- 2026-11-29: smaller portrait, logo-only clients, compact Career in Numbers ---------- */
.layer-img img { width: 72%; }

.tile { width: 180px; min-height: 96px; padding: 16px 20px; }
.tile .tlogo { height: 52px; max-width: 100%; margin: 0; }
.track { animation-duration: 40s; }

.impB.pad { padding-block: clamp(56px, 7vw, 96px); }
.impB .head + .nums7 { margin-top: clamp(32px, 3.5vw, 48px); }
.impB .n7 { padding: clamp(20px, 1.8vw, 24px); }
.impB .n7-lead { min-height: 0; }
.impB .n7 .num { font-size: clamp(1.625rem, 2.4vw, 2rem); }
.impB .n7-lead .num { font-size: clamp(3rem, 4.8vw, 4rem); }

@media (max-width: 1100px) {
  .layer-img img { width: 80%; }
}

@media (max-width: 760px) {
  .tile { width: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  .track { animation: none; }
}

/* ---------- 2026-11-29: services page, current item + bigger numbers ---------- */
.svp-toc a[aria-current="true"],
.svp-toc a[aria-current="true"]:hover {
  background: var(--navy);
  color: #fff;
}

.svp-toc a[aria-current="true"] b {
  color: #e6c675;
}

.svd .svd-num {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 8px;
}

@media (max-width: 760px) {
  .svd .svd-num {
    font-size: 2rem;
  }
}

.svd[hidden] { display: none; }
.svp-list { align-content: start; }

/* ---------- 2026-11-29: shorter Education & Credentials cards ---------- */
.edu .edu-card { padding: clamp(20px, 1.8vw, 24px); }
.edu .edu-card .svc-ico { width: 44px; height: 44px; margin: 0 0 14px; border-radius: 12px; }
.edu .edu-card ul { margin-top: 12px; }
.edu .edu-card li { padding-block: 8px; }

/* ---------- 2026-11-29: compact Career in Numbers ---------- */
.impB.pad { padding-block: clamp(40px, 4vw, 56px); }
.impB .head .rule-gold { margin-bottom: 16px; }
.impB .head p { margin-top: 10px; }
.impB .head + .nums7 { margin-top: 28px; gap: 14px; }

.impB .n7 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  align-content: center;
  padding: 18px 20px;
}

.impB .n7 .n7-ico { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
.impB .n7 .lbl { margin-top: 6px; }

@media (min-width: 1101px) {
  .impB .n7 { grid-column: span 3; }

  .impB .n7-lead {
    grid-column: span 3;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .impB .n7-lead .n7-ico { margin-bottom: 8px; }
}

/* ---------- 2026-11-29: Career in Numbers with six cards ---------- */
@media (min-width: 1101px) {
  /* "Hundreds" (5th) takes two columns in the second row */
  .impB .nums7 > .n7:nth-child(5) { grid-column: span 6; }
}

@media (min-width: 561px) and (max-width: 1100px) {
  /* last card fills its row */
  .impB .nums7 > .n7:nth-child(6) { grid-column: 1 / -1; }
}

/* ---------- 2026-11-29: hero "Founder of Perceptlane" ---------- */
.hero .founder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.hero .founder a { display: inline-flex; }
.hero .founder img { display: block; height: 32px; width: auto; max-width: 180px; object-fit: contain; }

/* ---------- 2026-11-29: Journey page, text-only project cards ---------- */
.pjc-grid .pjc-card { padding-block: 22px; }
.pjc-grid .pjc-card h4 { margin: 0; }
.pjc-grid .pjc-card p { margin: 10px 0 0; }
