:root {
      --base: #1521CB;
      --tint: #6C74E4;
      --anchor: #08107C;
      --ink: #071044;
      --muted: #4B5578;
      --line: #E5E8F5;
      --soft: #F5F6FF;
      --soft2: #EEF0FF;
      --white: #FFFFFF;
      --shadow: 0 18px 45px rgba(8, 16, 124, 0.10);
      --shadow-soft: 0 10px 28px rgba(8, 16, 124, 0.08);
      --radius: 24px;
      --radius-sm: 16px;
      --max: 1180px;
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      background: #fff;
      color: var(--ink);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      background:
        radial-gradient(circle at 9% 9%, rgba(108,116,228,.12), transparent 32%),
        radial-gradient(circle at 85% 4%, rgba(21,33,203,.08), transparent 30%);
    }

    a { color: inherit; text-decoration: none; }
    img, svg { display: block; max-width: 100%; }
    p, h1, h2, h3 { margin-top: 0; }

    .container {
      width: min(var(--max), calc(100% - 40px));
      margin-inline: auto;
    }

    .skip-link {
      position: absolute;
      top: -999px;
      left: 16px;
      background: var(--anchor);
      color: #fff;
      padding: 10px 14px;
      border-radius: 10px;
      z-index: 999;
    }

    .skip-link:focus { top: 16px; }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255,255,255,.88);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(229,232,245,.9);
    }

    .nav {
      min-height: 76px;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      gap: 24px;
      align-items: center;
    }

    .brand {
      font-size: 1.8rem;
      font-weight: 900;
      color: var(--ink);
      letter-spacing: -.055em;
    }

    .nav-links {
      display: flex;
      gap: 34px;
      align-items: center;
      justify-content: center;
      color: var(--ink);
      font-size: .96rem;
      font-weight: 750;
    }

    .nav-links a {
      position: relative;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -8px;
      width: 0;
      height: 2px;
      background: var(--base);
      transition: width .18s ease;
    }

    .nav-links a:hover::after { width: 100%; }

    .nav-cta {
      justify-self: end;
      background: var(--base);
      color: #fff;
      padding: 12px 22px;
      border-radius: 10px;
      font-weight: 850;
      box-shadow: 0 12px 24px rgba(21,33,203,.22);
    }

    .nav-actions {
      justify-self: end;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .nav-linkedin {
      display: grid;
      place-items: center;
      width: 48px;
      height: 48px;
      border-radius: 10px;
      background: var(--base);
      color: #fff;
      box-shadow: 0 12px 24px rgba(21,33,203,.22);
      transition: transform .17s ease, box-shadow .17s ease, background .17s ease;
    }

    .nav-linkedin:hover {
      transform: translateY(-1px);
      background: var(--anchor);
    }

    .nav-linkedin svg {
      width: 24px;
      height: 24px;
    }

    .menu-button {
      display: none;
      justify-self: end;
      width: 42px;
      height: 42px;
      border: 0;
      border-radius: 12px;
      background: transparent;
      cursor: pointer;
    }

    .menu-button span {
      display: block;
      width: 22px;
      height: 2px;
      margin: 5px auto;
      background: var(--ink);
      border-radius: 99px;
    }

    .section { padding: 52px 0; }

    .hero {
      padding-top: 42px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.24fr) minmax(340px, .76fr);
      gap: clamp(30px, 4vw, 58px);
      align-items: center;
    }

    .eyebrow, .kicker {
      color: var(--base);
      font-size: .82rem;
      line-height: 1.1;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .13em;
    }

    .eyebrow {
      display: inline-flex;
      gap: 9px;
      align-items: center;
      margin-bottom: 26px;
      padding: 10px 16px;
      border-radius: 999px;
      background: var(--soft2);
    }

    h1 {
      max-width: 820px;
      margin-bottom: 28px;
      font-size: 3.35rem;
      line-height: .95;
      letter-spacing: -.055em;
      overflow-wrap: normal;
    }

    .hero-text {
      max-width: 640px;
      margin-bottom: 18px;
      color: var(--muted);
      font-size: 1.18rem;
    }

    .hero-meta {
      display: flex;
      gap: 12px;
      align-items: stretch;
      flex-wrap: wrap;
      margin-bottom: 28px;
    }

    .current-role {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      min-height: 70px;
      padding: 12px 16px 12px 12px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: rgba(255,255,255,.88);
      color: inherit;
      text-decoration: none;
      box-shadow: 0 10px 24px rgba(8,16,124,.06);
      transition: transform .17s ease, box-shadow .17s ease, border-color .17s ease;
    }

    .current-role:hover {
      transform: translateY(-2px);
      border-color: rgba(21,33,203,.26);
      box-shadow: var(--shadow-soft);
    }

    .current-role img {
      width: 56px;
      height: 44px;
      object-fit: contain;
      flex: 0 0 56px;
    }

    .current-role span {
      display: block;
      margin-bottom: 2px;
      color: var(--base);
      font-size: .72rem;
      font-weight: 900;
      letter-spacing: .12em;
      line-height: 1;
      text-transform: uppercase;
    }

    .current-role strong {
      display: block;
      color: var(--ink);
      font-size: .98rem;
      line-height: 1.18;
      letter-spacing: -.02em;
    }

    .location-chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 70px;
      padding: 0 16px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: rgba(255,255,255,.88);
      color: var(--anchor);
      font-weight: 900;
      box-shadow: 0 10px 24px rgba(8,16,124,.06);
    }

    .location-chip svg {
      width: 18px;
      height: 18px;
      flex: 0 0 18px;
      fill: var(--base);
    }

    .hero-actions {
      display: flex;
      gap: 22px 32px;
      align-items: center;
      flex-wrap: wrap;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 11px;
      min-height: 54px;
      padding: 0 24px;
      border-radius: 10px;
      border: 0;
      font-weight: 850;
      letter-spacing: -.01em;
      transition: transform .17s ease, box-shadow .17s ease, background .17s ease;
    }

    .button svg {
      width: 20px;
      height: 20px;
      flex: 0 0 20px;
      fill: currentColor;
    }

    .button:hover, .nav-cta:hover {
      transform: translateY(-1px);
    }

    .button-primary {
      background: var(--base);
      color: #fff;
      box-shadow: 0 16px 28px rgba(21,33,203,.23);
    }

    .button-primary:hover {
      background: var(--anchor);
    }

    .button-linkedin {
      background: var(--base);
      color: #fff;
      box-shadow: 0 16px 28px rgba(21,33,203,.23);
    }

    .button-linkedin:hover {
      background: var(--anchor);
    }

    .text-link {
      color: var(--base);
      font-weight: 900;
    }

    .portrait-card {
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: linear-gradient(180deg, #fff, var(--soft));
      box-shadow: var(--shadow);
    }

    .portrait-card img {
      width: 100%;
      aspect-ratio: 1.22 / 1;
      object-fit: cover;
      object-position: center 18%;
    }

    .section-heading {
      margin-bottom: 24px;
    }

    .section-heading h2,
    .about-copy h2,
    .gallery-head h2,
    .cta h2 {
      margin-bottom: 0;
      color: var(--ink);
      font-size: 3rem;
      line-height: 1.03;
      letter-spacing: -.055em;
    }

    .offer-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
    }

    .card {
      background: rgba(255,255,255,.86);
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      box-shadow: var(--shadow-soft);
    }

    .offer-card {
      min-height: 224px;
      padding: 28px 26px;
    }

    .icon {
      display: grid;
      place-items: center;
      width: 58px;
      height: 58px;
      border-radius: 999px;
      background: var(--base);
      color: #fff;
      box-shadow: 0 14px 24px rgba(21,33,203,.22);
    }

    .icon.soft {
      background: var(--tint);
    }

    .icon svg {
      width: 29px;
      height: 29px;
      fill: currentColor;
    }

    .offer-card h3 {
      margin: 24px 0 10px;
      font-size: 1.16rem;
      line-height: 1.15;
      letter-spacing: -.035em;
    }

    .offer-card p, .about-copy p, .point p, .cta p {
      color: var(--muted);
    }

    .sector-grid {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
      gap: 14px;
      margin-top: 14px;
    }

    .sector {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 70px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: rgba(255,255,255,.86);
      color: var(--anchor);
      font-weight: 850;
      text-align: center;
      box-shadow: 0 8px 18px rgba(8,16,124,.05);
    }

    .about-card {
      display: grid;
      grid-template-columns: minmax(0, .95fr) minmax(320px, .72fr);
      gap: clamp(30px, 5vw, 72px);
      align-items: center;
      padding: clamp(34px, 5vw, 52px);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: linear-gradient(105deg, rgba(255,255,255,.96), rgba(245,246,255,.92));
      box-shadow: var(--shadow-soft);
    }

    .about-copy h2 {
      margin-bottom: 10px;
    }

    .about-copy p {
      max-width: 620px;
      margin-bottom: 18px;
      font-size: 1.03rem;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      margin-top: 28px;
      padding-top: 26px;
      border-top: 1px solid var(--line);
    }

    .stats div + div {
      border-left: 1px solid var(--line);
      padding-left: 18px;
    }

    .stats div {
      padding-right: 18px;
    }

    .stats strong {
      display: block;
      color: var(--base);
      font-size: 1.75rem;
      line-height: 1;
      letter-spacing: -.05em;
    }

    .stats span {
      display: block;
      margin-top: 8px;
      color: var(--muted);
      font-size: .9rem;
    }

    .about-headshot {
      justify-self: end;
      width: min(100%, 440px);
      height: clamp(340px, 34vw, 460px);
      min-height: 0;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 20px;
      background: linear-gradient(180deg, #fff, var(--soft));
      box-shadow: var(--shadow);
    }

    .about-headshot img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 18%;
    }

    .image-placeholder {
      min-height: 280px;
      display: grid;
      place-items: center;
      text-align: center;
      border: 1px solid var(--line);
      border-radius: 20px;
      background: linear-gradient(145deg, rgba(245,246,255,.98), rgba(255,255,255,.8));
      color: #A1A9D7;
    }

    .image-placeholder svg {
      width: 112px;
      height: 112px;
      fill: currentColor;
      opacity: .72;
      margin-inline: auto;
    }

    .image-placeholder span {
      display: block;
      margin-top: 10px;
      font-weight: 850;
      color: #9AA2CF;
    }

    .points {
      display: grid;
      gap: 26px;
    }

    .point {
      display: grid;
      grid-template-columns: 58px 1fr;
      gap: 18px;
      align-items: start;
    }

    .mini-icon {
      display: grid;
      place-items: center;
      width: 58px;
      height: 58px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #fff;
      color: var(--base);
      font-size: 1.45rem;
      font-weight: 950;
      box-shadow: 0 10px 22px rgba(8,16,124,.06);
    }

    .point h3 {
      margin: 0 0 4px;
      color: var(--base);
      font-size: 1.05rem;
      letter-spacing: -.03em;
    }

    .point p {
      margin-bottom: 0;
      font-size: .96rem;
    }

    .teaching-block {
      margin-top: 34px;
      padding-top: 30px;
      border-top: 1px solid var(--line);
    }

    .teaching-block h3 {
      margin-bottom: 8px;
      font-size: 1.55rem;
      line-height: 1.1;
      letter-spacing: -.04em;
    }

    .teaching-block > p {
      max-width: 620px;
      margin-bottom: 18px;
      color: var(--muted);
    }

    .teaching-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
      max-width: none;
    }

    .teaching-card {
      display: block;
      min-height: 136px;
      padding: 22px;
      color: inherit;
      text-decoration: none;
      transition: transform .17s ease, box-shadow .17s ease, border-color .17s ease;
    }

    .teaching-card:hover {
      transform: translateY(-2px);
      border-color: rgba(21,33,203,.26);
      box-shadow: var(--shadow);
    }

    .teaching-card h4 {
      margin: 14px 0 8px;
      font-size: 1.02rem;
      line-height: 1.15;
      letter-spacing: -.035em;
    }

    .teaching-card p {
      margin: 0;
      color: var(--muted);
    }

    .product-showcase {
      display: grid;
      grid-template-columns: minmax(460px, .88fr) minmax(520px, 1.12fr);
      gap: clamp(30px, 4vw, 54px);
      align-items: center;
      padding: clamp(34px, 5vw, 58px);
      overflow: hidden;
      background: rgba(255,255,255,.9);
    }

    .product-copy .eyebrow {
      margin-bottom: 32px;
      box-shadow: none;
    }

    .product-copy h2 {
      max-width: 600px;
      margin-bottom: 22px;
      color: var(--ink);
      font-size: clamp(2.85rem, 4vw, 3.7rem);
      line-height: .98;
      letter-spacing: -.065em;
    }

    .title-rule {
      width: 62px;
      height: 3px;
      margin: 0 0 36px;
      border-radius: 999px;
      background: var(--base);
    }

    .product-points {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px 28px;
      margin-bottom: 34px;
    }

    .product-point {
      display: grid;
      grid-template-columns: 56px 1fr;
      gap: 14px;
      align-items: start;
    }

    .mini-product-icon {
      display: grid;
      place-items: center;
      width: 56px;
      height: 56px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: rgba(255,255,255,.9);
      color: var(--base);
      box-shadow: 0 10px 22px rgba(8,16,124,.07);
    }

    .mini-product-icon svg {
      width: 28px;
      height: 28px;
      fill: currentColor;
    }

    .product-point h3 {
      margin-bottom: 7px;
      font-size: 1.02rem;
      line-height: 1.18;
      letter-spacing: -.03em;
    }

    .product-point p {
      margin-bottom: 0;
      color: var(--muted);
      font-size: .94rem;
      line-height: 1.4;
    }

    .product-button {
      width: min(100%, 230px);
      justify-content: space-between;
    }

    .workspace-mockup {
      align-self: center;
    }

    .workspace-mockup img {
      display: block;
      width: 100%;
      height: auto;
      filter: drop-shadow(0 22px 44px rgba(8,16,124,.16));
    }

    .education-showcase {
      padding: clamp(34px, 5vw, 58px);
      background: rgba(255,255,255,.9);
    }

    .education-copy {
      max-width: 1060px;
      margin-bottom: 22px;
    }

    .education-copy .eyebrow {
      margin-bottom: 30px;
      box-shadow: none;
    }

    .education-copy h2 {
      margin-bottom: 22px;
      color: var(--ink);
      font-size: clamp(3rem, 5vw, 4.45rem);
      line-height: .98;
      letter-spacing: -.065em;
    }

    .education-card-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 28px;
      margin-top: 26px;
    }

    .education-card {
      min-height: 360px;
      padding: clamp(26px, 4vw, 40px);
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: rgba(255,255,255,.9);
      box-shadow: var(--shadow-soft);
    }

    .education-card h3 {
      margin: 28px 0 16px;
      font-size: clamp(1.5rem, 2.2vw, 2rem);
      line-height: 1.08;
      letter-spacing: -.05em;
    }

    .card-rule {
      width: 48px;
      height: 3px;
      margin-bottom: 22px;
      border-radius: 999px;
      background: var(--base);
    }

    .education-card p {
      max-width: 640px;
      color: var(--muted);
      font-size: 1.08rem;
    }

    .education-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 28px;
    }

    .education-tags span {
      display: inline-flex;
      align-items: center;
      min-height: 42px;
      padding: 0 16px;
      border: 1px solid var(--line);
      border-radius: 8px;
      color: var(--anchor);
      font-size: .88rem;
      font-weight: 850;
      background: rgba(255,255,255,.86);
    }

    .education-cta {
      display: flex;
      justify-content: flex-start;
      margin-top: 34px;
      padding-top: 30px;
      border-top: 1px dashed var(--line);
    }

    .gallery-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 22px;
      margin-bottom: 22px;
    }

    .gallery-controls {
      display: flex;
      gap: 12px;
    }

    .gallery-button {
      width: 46px;
      height: 46px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #fff;
      color: var(--base);
      font-size: 1.1rem;
      font-weight: 950;
      cursor: pointer;
    }

    .gallery-button.primary {
      background: var(--base);
      color: #fff;
      border-color: var(--base);
    }

    .gallery-button svg {
      width: 22px;
      height: 22px;
      margin: auto;
      fill: currentColor;
    }

    .gallery-button:disabled,
    .button:disabled {
      opacity: .62;
      cursor: not-allowed;
    }

    .gallery-carousel {
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: calc((100% - 54px) / 3.25);
      gap: 18px;
      overflow-x: auto;
      padding-bottom: 10px;
      scroll-snap-type: x mandatory;
      scrollbar-width: thin;
    }

    .gallery-placeholder {
      min-height: 124px;
      display: grid;
      place-items: center;
      position: relative;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: linear-gradient(145deg, rgba(245,246,255,.98), rgba(255,255,255,.86));
      color: #9AA2CF;
      font-weight: 850;
      scroll-snap-align: start;
      text-align: center;
    }

    .gallery-placeholder::before {
      content: "";
      display: block;
      width: 44px;
      height: 36px;
      margin: 0 auto 8px;
      border-radius: 8px;
      background:
        radial-gradient(circle at 30% 28%, rgba(161,169,215,.9) 0 13%, transparent 14%),
        linear-gradient(135deg, transparent 44%, rgba(161,169,215,.8) 45% 64%, transparent 65%),
        rgba(161,169,215,.26);
    }

    .cta {
      position: relative;
      overflow: hidden;
      display: grid;
      grid-template-columns: auto 1.1fr .9fr auto;
      gap: 30px;
      align-items: center;
      padding: clamp(28px, 4vw, 46px);
      border-radius: var(--radius-sm);
      background:
        radial-gradient(circle at 10% 42%, rgba(108,116,228,.56), transparent 24%),
        linear-gradient(135deg, var(--base), var(--anchor));
      color: #fff;
      box-shadow: 0 22px 46px rgba(21,33,203,.23);
    }

    .cta::after {
      content: "";
      position: absolute;
      inset: 0 0 0 auto;
      width: 220px;
      opacity: .72;
      background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px);
      background-size: 12px 12px;
    }

    .cta > * {
      position: relative;
      z-index: 1;
    }

    .cta h2 {
      color: #fff;
      max-width: 620px;
      font-size: clamp(2.2rem, 3.2vw, 2.72rem);
      line-height: 1.02;
    }

    .cta p {
      margin-bottom: 0;
      color: rgba(255,255,255,.84);
    }

    .cta-icon {
      display: grid;
      place-items: center;
      width: 72px;
      height: 72px;
      border-radius: 999px;
      background: rgba(255,255,255,.14);
      color: #fff;
    }

    .cta-icon svg {
      width: 34px;
      height: 34px;
      fill: currentColor;
    }

    .button-light {
      background: #fff;
      color: var(--base);
      box-shadow: 0 14px 24px rgba(8,16,124,.17);
    }

    .button-linkedin-light {
      background: #fff;
      color: var(--base);
      box-shadow: 0 14px 24px rgba(8,16,124,.17);
    }

    .button-linkedin-light:hover {
      background: #fff;
      box-shadow: 0 16px 28px rgba(8,16,124,.22);
    }

    .button-linkedin .linkedin-logo,
    .button-linkedin-light .linkedin-logo {
      width: 24px;
      height: 24px;
      flex-basis: 24px;
      border-radius: 3px;
    }

    .cta-actions {
      display: flex;
      gap: 12px;
      align-items: center;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .footer {
      padding: 18px 0 36px;
      color: var(--muted);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1fr auto auto;
      gap: 30px;
      align-items: center;
      padding-top: 26px;
      border-top: 1px solid var(--line);
    }

    .footer-brand {
      color: var(--base);
      font-size: 1.45rem;
      font-weight: 900;
      letter-spacing: -.05em;
    }

    .footer p {
      margin: 6px 0 0;
      font-size: .92rem;
    }

    .footer-contact, .footer-links {
      display: flex;
      gap: 18px;
      align-items: center;
      flex-wrap: wrap;
      font-size: .92rem;
    }

    .footer-contact a:hover, .footer-links a:hover {
      color: var(--base);
    }

    .copyright {
      margin-top: 22px;
      text-align: center;
      font-size: .9rem;
    }

    @media (max-width: 1050px) {
      h1 {
        font-size: 4rem;
      }

      .section-heading h2,
      .about-copy h2,
      .gallery-head h2,
      .cta h2 {
        font-size: 2.55rem;
      }

      .hero-grid, .about-card, .cta, .footer-grid {
        grid-template-columns: 1fr;
      }

      .product-showcase {
        grid-template-columns: 1fr;
      }

      .workspace-mockup {
        max-width: 860px;
      }

      .portrait-card {
        max-width: 620px;
      }

      .about-headshot {
        justify-self: start;
        max-width: 520px;
      }

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

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

    @media (max-width: 780px) {
      .container {
        width: min(100% - 28px, var(--max));
      }

      .section {
        padding: 38px 0;
      }

      .nav {
        min-height: 68px;
        grid-template-columns: 1fr auto;
      }

      .menu-button {
        display: block;
      }

      .nav-links {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 10px 0 18px;
      }

      .nav-links.open {
        display: flex;
      }

      .nav-actions {
        display: none;
      }

      .brand {
        font-size: 1.45rem;
      }

      h1 {
        max-width: 100%;
        font-size: 3rem;
      }

      .hero-text {
        font-size: 1.06rem;
      }

      .current-role {
        align-items: flex-start;
        width: 100%;
      }

      .location-chip {
        width: 100%;
        justify-content: flex-start;
      }

      .section-heading h2,
      .about-copy h2,
      .gallery-head h2,
      .cta h2 {
        font-size: 2.2rem;
      }

      .offer-grid, .sector-grid, .stats {
        grid-template-columns: 1fr;
      }

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

      .product-showcase {
        padding: 24px;
      }

      .product-copy h2 {
        font-size: 2.5rem;
      }

      .product-points {
        grid-template-columns: 1fr;
      }

      .education-card-grid {
        grid-template-columns: 1fr;
      }

      .education-copy h2 {
        font-size: 2.5rem;
      }

      .stats div + div {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-left: 0;
        padding-top: 16px;
        margin-top: 16px;
      }

      .gallery-head {
        align-items: start;
        flex-direction: column;
      }

      .gallery-carousel {
        grid-auto-columns: 78%;
      }

      .offer-card {
        min-height: 0;
      }
    }

    @media (max-width: 460px) {
      h1 {
        font-size: 2.08rem;
        max-width: 9.6em;
        line-height: 1;
        letter-spacing: -.04em;
        overflow-wrap: normal;
      }

      .hero-actions {
        flex-direction: column;
        align-items: stretch;
      }

      .current-role {
        padding-right: 12px;
      }

      .cta-actions {
        align-items: stretch;
        flex-direction: column;
      }

      .button {
        width: 100%;
      }

      .about-card {
        padding: 22px;
      }

      .about-copy p {
        font-size: 1rem;
      }
    }

/* Expanded static-site sections */
.section-anchor { scroll-margin-top: 96px; }
.section-heading.split {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
}
.section-heading .section-intro {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}
.section-intro code {
  color: var(--anchor);
  font-weight: 800;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.partner-card {
  display: block;
  color: inherit;
  padding: 26px;
  text-decoration: none;
  transition: transform .17s ease, box-shadow .17s ease, border-color .17s ease;
}
.partner-card:hover {
  transform: translateY(-2px);
  border-color: rgba(21,33,203,.26);
  box-shadow: var(--shadow);
}
.partner-role {
  margin: 0 0 14px;
  color: var(--base);
  font-size: .84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.partner-logo {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--soft2), #fff);
  border: 1px solid var(--line);
  color: var(--base);
  font-size: 1.25rem;
  font-weight: 950;
  letter-spacing: -.04em;
}
.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.partner-card h3,
.contact-panel h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.partner-card p,
.contact-panel p {
  color: var(--muted);
}
.partner-meta {
  color: var(--base);
  font-size: .86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.gallery-card {
  min-height: 238px;
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(245,246,255,.98), rgba(255,255,255,.86));
  color: var(--ink);
  cursor: pointer;
  scroll-snap-align: start;
}
.gallery-card:focus-visible {
  outline: 3px solid rgba(21,33,203,.35);
  outline-offset: 3px;
}
.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(180deg, transparent, rgba(7,16,68,.76));
  opacity: 0;
}
.gallery-card.has-image { color: #fff; }
.gallery-card.has-image::after { opacity: 1; }
.gallery-caption {
  position: relative;
  z-index: 1;
  padding: 20px;
}
.gallery-caption strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}
.gallery-caption span {
  display: none;
  margin-top: 6px;
  color: currentColor;
  opacity: .78;
  font-size: .9rem;
}
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(6,10,46,.72);
}
.gallery-modal.open {
  display: grid;
}
.gallery-modal-panel {
  position: relative;
  width: min(100%, 1040px);
  max-height: min(90vh, 820px);
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
}
.gallery-modal-panel img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #05081f;
}
.gallery-modal-panel h3 {
  margin: 0;
  padding: 16px 20px 18px;
  color: var(--ink);
  font-size: 1.15rem;
  letter-spacing: -.025em;
}
.gallery-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(5,8,31,.72);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.modal-open {
  overflow: hidden;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.video-card {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform .17s ease, box-shadow .17s ease, border-color .17s ease;
}
.video-card:hover {
  transform: translateY(-2px);
  border-color: rgba(21,33,203,.26);
  box-shadow: var(--shadow);
}
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--soft2);
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}
.video-card:hover .video-thumb img {
  transform: scale(1.03);
}
.play-button {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--base);
  box-shadow: 0 14px 24px rgba(21,33,203,.26);
}
.play-button::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #fff;
}
.video-card .partner-meta {
  margin: 24px 26px 10px;
}
.video-card h3 {
  margin: 0;
  padding: 0 26px 28px;
  font-size: 1.18rem;
  line-height: 1.18;
  letter-spacing: -.035em;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: start;
}
.contact-panel,
.contact-form {
  padding: clamp(24px, 3vw, 34px);
}
.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.contact-list a,
.contact-list span {
  color: var(--anchor);
  font-weight: 850;
}
.contact-form {
  display: grid;
  gap: 18px;
}
.form-row {
  display: grid;
  gap: 8px;
}
.form-row label {
  color: var(--ink);
  font-size: .92rem;
  font-weight: 850;
}
.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.form-row textarea {
  min-height: 148px;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--base);
  box-shadow: 0 0 0 4px rgba(21,33,203,.11);
}
.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}
.form-status.success { color: #0f6b3d; }
.form-status.error { color: #a52828; }
@media (max-width: 1050px) {
  .partners-grid,
  .video-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .section-heading.split {
    align-items: start;
    flex-direction: column;
  }
}
@media (max-width: 780px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .gallery-card {
    min-height: 220px;
  }
}

