:root {
      color-scheme: light;
      --ink: #10213f;
      --muted: #5f6f86;
      --soft: #eef6ff;
      --paper: #ffffff;
      --line: #d7e5f5;
      --blue-900: #073b84;
      --blue-700: #0b63ce;
      --blue-500: #1593e6;
      --blue-100: #dff0ff;
      --cyan: #18bfd4;
      --green: #22a06b;
      --gold: #f2aa2e;
      --coral: #f05f4d;
      --violet: #7c5cff;
      --shadow: 0 18px 50px rgba(14, 86, 160, 0.14);
      --radius: 8px;
      --max: 1160px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      min-height: 100vh;
      background:
        linear-gradient(90deg, rgba(11, 99, 206, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(11, 99, 206, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 42%, #eff7ff 100%);
      background-size: 44px 44px, 44px 44px, auto;
      color: var(--ink);
      font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
      text-rendering: optimizeLegibility;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(125deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.48) 42%, rgba(223, 240, 255, 0.72));
      z-index: -1;
    }

    img {
      display: block;
      max-width: 100%;
      height: auto;
    }

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

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

    .skip-link {
      position: absolute;
      left: 1rem;
      top: -4rem;
      z-index: 100;
      padding: 0.75rem 1rem;
      background: var(--ink);
      color: white;
      border-radius: var(--radius);
      transition: top 180ms ease;
    }

    .skip-link:focus {
      top: 1rem;
    }

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

    .site-header {
      position: sticky;
      top: 0;
      z-index: 40;
      border-bottom: 1px solid rgba(157, 184, 218, 0.42);
      background: rgba(247, 251, 255, 0.84);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }

    .nav {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 0.7rem;
      font-weight: 900;
      letter-spacing: 0;
    }

    .brand-mark {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border-radius: var(--radius);
      color: white;
      background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
      box-shadow: 0 10px 24px rgba(11, 99, 206, 0.28);
      overflow: hidden;
      position: relative;
    }

    .brand-mark::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, transparent 0 35%, rgba(255, 255, 255, 0.45) 48%, transparent 62% 100%);
      transform: translateX(-120%);
      animation: sheen 5s ease-in-out infinite;
    }

    .brand-name {
      display: grid;
      line-height: 1.05;
    }

    .brand-name small {
      color: var(--muted);
      font-size: 0.72rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 0.35rem;
      color: #38516f;
      font-size: 0.92rem;
      font-weight: 760;
    }

    .nav-links a {
      padding: 0.58rem 0.8rem;
      border-radius: var(--radius);
      transition: color 180ms ease, background 180ms ease;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
      color: var(--blue-900);
      background: var(--blue-100);
      outline: 0;
    }

    .menu-button {
      display: none;
      width: 44px;
      height: 44px;
      place-items: center;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: white;
      color: var(--ink);
      cursor: pointer;
    }

    .menu-button span,
    .menu-button::before,
    .menu-button::after {
      content: "";
      width: 18px;
      height: 2px;
      display: block;
      border-radius: 999px;
      background: currentColor;
      transition: transform 180ms ease, opacity 180ms ease;
    }

    .menu-button::before {
      transform: translateY(-6px);
    }

    .menu-button::after {
      transform: translateY(6px);
    }

    .menu-button[aria-expanded="true"] span {
      opacity: 0;
    }

    .menu-button[aria-expanded="true"]::before {
      transform: translateY(2px) rotate(45deg);
    }

    .menu-button[aria-expanded="true"]::after {
      transform: translateY(-2px) rotate(-45deg);
    }

    .hero {
      padding: 4.2rem 0 5.2rem;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
      gap: clamp(2rem, 5vw, 5rem);
      align-items: center;
    }

    .eyebrow {
      width: fit-content;
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      padding: 0.42rem 0.65rem;
      border: 1px solid rgba(11, 99, 206, 0.18);
      border-radius: var(--radius);
      background: rgba(223, 240, 255, 0.7);
      color: var(--blue-900);
      font-size: 0.82rem;
      font-weight: 850;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .eyebrow::before {
      content: "";
      width: 0.55rem;
      height: 0.55rem;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 0 5px rgba(34, 160, 107, 0.16);
    }

    .hero h1 {
      max-width: 15ch;
      margin-top: 1.1rem;
      font-size: clamp(2.55rem, 6.2vw, 5.25rem);
      line-height: 0.98;
      letter-spacing: 0;
    }

    .hero h1 span {
      display: block;
      color: var(--blue-700);
    }

    .hero-copy {
      max-width: 680px;
      margin-top: 1.5rem;
      color: #415775;
      font-size: clamp(1.06rem, 2vw, 1.24rem);
      text-wrap: pretty;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      margin-top: 2rem;
    }

    .button {
      min-height: 48px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.55rem;
      padding: 0.78rem 1.05rem;
      border: 1px solid transparent;
      border-radius: var(--radius);
      font-weight: 850;
      transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
    }

    .button:hover,
    .button:focus-visible {
      transform: translateY(-2px);
      outline: 0;
    }

    .button-primary {
      color: white;
      background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
      box-shadow: 0 16px 32px rgba(11, 99, 206, 0.25);
    }

    .button-primary:hover,
    .button-primary:focus-visible {
      box-shadow: 0 20px 44px rgba(11, 99, 206, 0.34);
    }

    .button-ghost {
      border-color: var(--line);
      background: rgba(255, 255, 255, 0.84);
      color: var(--blue-900);
    }

    .icon {
      width: 1em;
      flex: 0 0 auto;
      text-align: center;
      line-height: 1;
    }

    .quick-stack {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 1.35rem;
    }

    .quick-stack span {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.45rem 0.62rem;
      border: 1px solid rgba(11, 99, 206, 0.13);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.72);
      color: #50627a;
      font-size: 0.86rem;
      font-weight: 760;
    }

    .hero-visual {
      display: grid;
      gap: 1rem;
    }

    .portrait-panel {
      position: relative;
      padding: 0.8rem;
      border: 1px solid rgba(157, 184, 218, 0.55);
      border-radius: var(--radius);
      background: linear-gradient(180deg, white, #edf6ff);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .portrait-panel::before {
      content: "";
      position: absolute;
      left: 0.8rem;
      right: 0.8rem;
      top: 0.8rem;
      height: 10px;
      border-radius: 5px 5px 0 0;
      background: linear-gradient(90deg, var(--blue-700), var(--cyan), var(--green), var(--gold), var(--coral));
      z-index: 2;
    }

    .portrait-panel img {
      width: 100%;
      aspect-ratio: 4 / 4.35;
      object-fit: cover;
      border-radius: calc(var(--radius) - 2px);
      filter: saturate(1.05);
    }

    .portrait-caption {
      display: grid;
      gap: 0.4rem;
      padding: 0.9rem 0.25rem 0.1rem;
    }

    .portrait-caption strong {
      font-size: 1rem;
    }

    .portrait-caption span {
      color: var(--muted);
      font-size: 0.92rem;
    }

    .signal-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.7rem;
    }

    .signal {
      padding: 1rem;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.86);
      box-shadow: 0 10px 28px rgba(14, 86, 160, 0.08);
    }

    .signal strong {
      display: block;
      color: var(--blue-900);
      font-size: clamp(1.35rem, 3vw, 2.05rem);
      line-height: 1;
    }

    .signal span {
      display: block;
      margin-top: 0.35rem;
      color: var(--muted);
      font-size: 0.78rem;
      font-weight: 760;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .section {
      padding: 5rem 0;
      content-visibility: auto;
      contain-intrinsic-size: 700px;
    }

    .section:first-of-type {
      padding-top: 2rem;
    }

    .section-band {
      border-block: 1px solid rgba(157, 184, 218, 0.42);
      background:
        linear-gradient(135deg, rgba(223, 240, 255, 0.92), rgba(255, 255, 255, 0.82)),
        linear-gradient(90deg, rgba(11, 99, 206, 0.08) 1px, transparent 1px);
      background-size: auto, 36px 36px;
    }

    .section-heading {
      display: grid;
      gap: 0.65rem;
      max-width: 760px;
      margin-bottom: 2rem;
    }

    .section-heading.center {
      margin-inline: auto;
      text-align: center;
    }

    .kicker {
      color: var(--blue-700);
      font-size: 0.78rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.12em;
    }

    .section h2 {
      font-size: clamp(2rem, 4vw, 3.15rem);
      line-height: 1.04;
      letter-spacing: 0;
      text-wrap: balance;
    }

    .section-heading p {
      color: var(--muted);
      font-size: 1.03rem;
      text-wrap: pretty;
    }

    .about-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
      gap: 1.2rem;
      align-items: start;
    }

    .story {
      display: grid;
      gap: 1rem;
      color: #425873;
      font-size: 1.04rem;
    }

    .story strong {
      color: var(--blue-900);
    }

    .info-panel,
    .skill-card,
    .role-card,
    .cert-card,
    .project-card {
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.9);
      box-shadow: 0 14px 38px rgba(14, 86, 160, 0.08);
    }

    .info-panel {
      padding: 1.2rem;
    }

    .info-row {
      display: grid;
      grid-template-columns: 120px minmax(0, 1fr);
      gap: 1rem;
      padding: 0.8rem 0;
      border-bottom: 1px solid rgba(215, 229, 245, 0.8);
    }

    .info-row:last-child {
      border-bottom: 0;
    }

    .info-row span:first-child {
      color: var(--muted);
      font-size: 0.76rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .info-row span:last-child,
    .info-row a {
      min-width: 0;
      color: var(--ink);
      font-weight: 780;
      overflow-wrap: anywhere;
    }

    .info-row a {
      color: var(--blue-700);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .focus-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0.9rem;
      margin-top: 2rem;
    }

    .skill-card {
      min-height: 158px;
      display: grid;
      align-content: start;
      gap: 0.75rem;
      padding: 1.1rem;
      overflow: hidden;
      position: relative;
      transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    }

    .skill-card::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 5px;
      background: var(--accent, var(--blue-500));
    }

    .skill-card:hover {
      transform: translateY(-5px);
      border-color: rgba(11, 99, 206, 0.32);
      box-shadow: 0 22px 42px rgba(14, 86, 160, 0.14);
    }

    .skill-icon {
      width: 42px;
      height: 42px;
      display: inline-grid;
      place-items: center;
      border-radius: var(--radius);
      color: var(--accent, var(--blue-700));
      background: color-mix(in srgb, var(--accent, var(--blue-700)) 12%, white);
      font-size: 1.18rem;
    }

    .skill-card strong {
      font-size: 1.02rem;
      line-height: 1.18;
    }

    .skill-card span {
      color: var(--muted);
      font-size: 0.92rem;
    }

    .timeline {
      position: relative;
      display: grid;
      gap: 1rem;
    }

    .timeline::before {
      content: "";
      position: absolute;
      left: 11px;
      top: 0.4rem;
      bottom: 0.4rem;
      width: 2px;
      background: linear-gradient(var(--blue-700), var(--cyan), var(--green), var(--gold));
    }

    .role {
      display: grid;
      grid-template-columns: 24px minmax(0, 1fr);
      gap: 1rem;
      align-items: start;
    }

    .role-marker {
      position: relative;
      z-index: 1;
      width: 24px;
      height: 24px;
      margin-top: 1.15rem;
      border: 5px solid white;
      border-radius: 50%;
      background: var(--accent, var(--blue-700));
      box-shadow: 0 0 0 1px var(--line);
    }

    .role-card {
      padding: 1.25rem;
      transition: transform 180ms ease, box-shadow 180ms ease;
    }

    .role-card:hover {
      transform: translateX(4px);
      box-shadow: 0 22px 48px rgba(14, 86, 160, 0.13);
    }

    .role-top {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      align-items: flex-start;
      margin-bottom: 0.85rem;
    }

    .role-card h3 {
      font-size: 1.2rem;
      line-height: 1.25;
    }

    .role-card h3 a {
      color: var(--blue-900);
    }

    .role-card h3 a:hover {
      color: var(--blue-700);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .role-card .meta {
      margin-top: 0.25rem;
      color: var(--muted);
      font-size: 0.85rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .date {
      flex: 0 0 auto;
      padding: 0.38rem 0.52rem;
      border: 1px solid rgba(11, 99, 206, 0.15);
      border-radius: var(--radius);
      background: var(--soft);
      color: var(--blue-900);
      font-size: 0.82rem;
      font-weight: 850;
      white-space: nowrap;
    }

    .role-card ul {
      margin: 0;
      padding-left: 1.1rem;
      color: #4c607a;
    }

    .role-card li + li {
      margin-top: 0.32rem;
    }

    .cert-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0.85rem;
    }

    .cert-card {
      min-height: 116px;
      display: grid;
      align-content: space-between;
      padding: 1rem;
      border-left: 5px solid var(--accent, var(--blue-500));
      position: relative;
      transition: transform 180ms ease, box-shadow 180ms ease;
    }

    .cert-card::before {
      content: "\f19d";
      width: 34px;
      height: 34px;
      display: inline-grid;
      place-items: center;
      margin-bottom: 0.65rem;
      border-radius: var(--radius);
      color: var(--accent, var(--blue-500));
      background: color-mix(in srgb, var(--accent, var(--blue-500)) 11%, white);
      font-family: "Font Awesome 6 Free";
      font-size: 0.95rem;
      font-weight: 900;
    }

    .cert-card:hover,
    .cert-card:focus-visible {
      transform: translateY(-4px);
      box-shadow: 0 20px 42px rgba(14, 86, 160, 0.13);
      outline: 0;
    }

    .cert-card strong {
      line-height: 1.25;
    }

    .cert-card span {
      color: var(--muted);
      font-size: 0.74rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .portfolio-top {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 1.2rem;
      margin-bottom: 1.4rem;
    }

    .filter-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 0.45rem;
      padding: 0.35rem;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.78);
    }

    .filter-btn {
      min-height: 38px;
      padding: 0.55rem 0.72rem;
      border: 0;
      border-radius: calc(var(--radius) - 2px);
      background: transparent;
      color: #49617e;
      font: inherit;
      font-size: 0.86rem;
      font-weight: 820;
      cursor: pointer;
      transition: background 160ms ease, color 160ms ease;
    }

    .filter-btn:hover,
    .filter-btn:focus-visible,
    .filter-btn.is-active {
      background: var(--blue-700);
      color: white;
      outline: 0;
    }

    .project-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }

    .project-card {
      display: flex;
      min-height: 100%;
      flex-direction: column;
      overflow: hidden;
      transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    }

    .project-card:hover {
      transform: translateY(-6px);
      border-color: rgba(11, 99, 206, 0.35);
      box-shadow: 0 24px 52px rgba(14, 86, 160, 0.15);
    }

    .project-media {
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
      background: var(--soft);
    }

    .project-visual {
      min-height: 174px;
      display: grid;
      place-items: center;
      padding: 1.2rem;
      color: white;
      background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        linear-gradient(135deg, var(--visual-a, var(--blue-900)), var(--visual-b, var(--blue-500)));
      background-size: 28px 28px, 28px 28px, auto;
    }

    .project-visual span {
      width: min(100%, 220px);
      padding: 1rem;
      border: 1px solid rgba(255, 255, 255, 0.42);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.14);
      font-weight: 900;
      text-align: center;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .project-body {
      display: flex;
      min-height: 260px;
      flex: 1;
      flex-direction: column;
      gap: 0.8rem;
      padding: 1rem;
    }

    .badge {
      width: fit-content;
      padding: 0.3rem 0.48rem;
      border-radius: calc(var(--radius) - 2px);
      color: var(--badge-ink, var(--blue-900));
      background: var(--badge-bg, var(--blue-100));
      font-size: 0.72rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.07em;
    }

    .project-body h3 {
      font-size: 1.18rem;
      line-height: 1.2;
    }

    .project-body p {
      color: var(--muted);
      font-size: 0.94rem;
      text-wrap: pretty;
    }

    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.35rem;
      margin-top: auto;
    }

    .tags span {
      padding: 0.28rem 0.44rem;
      border: 1px solid var(--line);
      border-radius: calc(var(--radius) - 2px);
      color: #58708f;
      background: #f7fbff;
      font-size: 0.76rem;
      font-weight: 760;
    }

    .project-link {
      display: inline-flex;
      width: fit-content;
      align-items: center;
      gap: 0.35rem;
      margin-top: 0.1rem;
      color: var(--blue-700);
      font-weight: 900;
      text-decoration: underline;
      text-underline-offset: 4px;
    }

    .project-link::after {
      content: "\f061";
      font-family: "Font Awesome 6 Free";
      font-size: 0.78rem;
      font-weight: 900;
      line-height: 1;
      text-decoration: none;
      transition: transform 160ms ease;
    }

    .project-link:hover::after,
    .project-link:focus-visible::after {
      transform: translateX(2px);
    }

    .is-hidden {
      display: none;
    }

    .contact-panel {
      position: relative;
      isolation: isolate;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
      gap: 2rem;
      align-items: center;
      padding: clamp(1.4rem, 4vw, 2.2rem);
      border-radius: var(--radius);
      color: white;
      background: #063475;
      box-shadow: 0 28px 70px rgba(6, 52, 117, 0.25);
      overflow: hidden;
    }

    .contact-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      background: url("images/staticmap.jpg") center / cover no-repeat;
      opacity: 0.72;
      z-index: -2;
    }

    .contact-panel::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(4, 31, 76, 0.92), rgba(5, 67, 132, 0.72) 50%, rgba(24, 191, 212, 0.28)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
      background-size: auto, 34px 34px, 34px 34px;
      z-index: -1;
    }

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

    .location-pill {
      width: fit-content;
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      margin: 0.75rem 0 0.95rem;
      padding: 0.42rem 0.58rem;
      border: 1px solid rgba(255, 255, 255, 0.28);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.16);
      color: white;
      font-size: 0.83rem;
      font-weight: 850;
      backdrop-filter: blur(10px);
    }

    .contact-panel h2 {
      color: white;
    }

    .contact-panel p {
      max-width: 650px;
      margin-top: 0.9rem;
      color: rgba(255, 255, 255, 0.82);
      font-size: 1.08rem;
      text-wrap: pretty;
    }

    .contact-list {
      display: grid;
      gap: 0.65rem;
    }

    .contact-list a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.75rem 0.8rem;
      border: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.16);
      color: white;
      font-size: 0.95rem;
      font-weight: 780;
      overflow-wrap: anywhere;
      backdrop-filter: blur(12px);
    }

    .contact-list a > span {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      gap: 0.42rem;
      color: rgba(255, 255, 255, 0.72);
      font-size: 0.75rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .contact-list a > strong {
      min-width: 0;
      text-align: right;
    }

    .contact-list a:hover,
    .contact-list a:focus-visible {
      background: rgba(255, 255, 255, 0.24);
      outline: 0;
    }

    .footer {
      padding: 2rem 0 3rem;
      color: #6a7d96;
      font-size: 0.92rem;
      text-align: center;
    }

    [data-reveal] {
      opacity: 0;
      transform: translateY(18px);
      transition: opacity 520ms ease, transform 520ms ease;
    }

    [data-reveal].is-visible {
      opacity: 1;
      transform: none;
    }

    @keyframes sheen {
      0%,
      62% {
        transform: translateX(-120%);
      }

      78%,
      100% {
        transform: translateX(120%);
      }
    }

    @media (max-width: 980px) {
      .hero-grid,
      .about-grid,
      .contact-panel {
        grid-template-columns: 1fr;
      }

      .hero h1 {
        max-width: 15ch;
      }

      .focus-grid,
      .cert-grid,
      .project-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .portfolio-top {
        display: grid;
        align-items: start;
      }
    }

    @media (max-width: 760px) {
      .container {
        width: min(100% - 1.25rem, var(--max));
      }

      body {
        background-size: 34px 34px, 34px 34px, auto;
      }

      .nav {
        min-height: 64px;
      }

      .brand {
        gap: 0.55rem;
      }

      .brand-mark {
        width: 36px;
        height: 36px;
        font-size: 0.92rem;
      }

      .brand-name {
        font-size: 0.95rem;
      }

      .brand-name small {
        font-size: 0.64rem;
      }

      .menu-button {
        display: grid;
      }

      .nav-links {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + 0.6rem);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0.6rem;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: white;
        box-shadow: var(--shadow);
      }

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

      .nav-links a {
        padding: 0.78rem;
      }

      .hero {
        padding: 2.15rem 0 3.35rem;
      }

      .hero-grid {
        gap: 2rem;
      }

      .eyebrow {
        font-size: 0.72rem;
        line-height: 1.25;
      }

      .hero h1 {
        max-width: 11.5ch;
        font-size: clamp(2.5rem, 14vw, 4.25rem);
      }

      .hero-copy {
        margin-top: 1.1rem;
        font-size: 1rem;
      }

      .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.65rem;
        margin-top: 1.35rem;
      }

      .button {
        width: 100%;
        min-height: 46px;
      }

      .quick-stack {
        gap: 0.42rem;
      }

      .quick-stack span {
        font-size: 0.8rem;
      }

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

      .section {
        padding: 3.2rem 0;
        contain-intrinsic-size: 900px;
      }

      .section-heading {
        margin-bottom: 1.35rem;
      }

      .section h2 {
        font-size: clamp(1.8rem, 9vw, 2.45rem);
      }

      .focus-grid,
      .cert-grid,
      .project-grid {
        grid-template-columns: 1fr;
      }

      .filter-bar {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
      }

      .filter-btn {
        flex: 0 0 auto;
      }

      .role {
        grid-template-columns: 18px minmax(0, 1fr);
        gap: 0.75rem;
      }

      .timeline::before {
        left: 8px;
      }

      .role-marker {
        width: 18px;
        height: 18px;
        border-width: 4px;
      }

      .role-top {
        display: grid;
        gap: 0.55rem;
      }

      .date {
        width: fit-content;
        white-space: normal;
      }

      .info-row {
        grid-template-columns: 1fr;
        gap: 0.2rem;
      }

      .project-body {
        min-height: auto;
      }

      .contact-panel {
        gap: 1.2rem;
        padding: 1.15rem;
      }

      .contact-panel::after {
        background:
          linear-gradient(180deg, rgba(4, 31, 76, 0.92), rgba(5, 67, 132, 0.78)),
          linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
          linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
        background-size: auto, 30px 30px, 30px 30px;
      }

      .contact-list a {
        display: grid;
        justify-content: stretch;
        gap: 0.3rem;
      }

      .contact-list a > strong {
        text-align: left;
      }
    }

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

      *,
      *::before,
      *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
      }
    }
