@font-face {
  font-family:Manrope;
  src:url('../fonts/manrope-400.ttf') format('truetype');
  font-weight:400;
  font-display:swap;
}

@font-face {
  font-family:Manrope;
  src:url('../fonts/manrope-500.ttf') format('truetype');
  font-weight:500;
  font-display:swap;
}

@font-face {
  font-family:Manrope;
  src:url('../fonts/manrope-600.ttf') format('truetype');
  font-weight:600;
  font-display:swap;
}

@font-face {
  font-family:Manrope;
  src:url('../fonts/manrope-700.ttf') format('truetype');
  font-weight:700;
  font-display:swap;
}

@font-face {
  font-family:Manrope;
  src:url('../fonts/manrope-800.ttf') format('truetype');
  font-weight:800;
  font-display:swap;
}

@font-face {
  font-family:Roboto;
  src:url('../fonts/roboto-variable.ttf') format('truetype');
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
}

:root {
  color-scheme:light;
  --navy:#102537;
  --ink:#0c2033;
  --muted:#566780;
  --gold:#f2c811;
  --gold-text:#987000;
  --teal:#26a8b4;
  --paper:#f9faf8;
  --line:#e3e8ed;
  --tile:#f0f3f5;
  --font:Roboto,'Segoe UI',sans-serif;
  --font-heading:Manrope,'Segoe UI',sans-serif;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;

  scroll-padding-top:80px;
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font);
  font-size:15px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

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

button {
  font:inherit;
}

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

svg {
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
}

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

h1,h2,h3 {
  font-family:var(--font-heading);
  line-height:1.2;
}

button,a,summary {
  -webkit-tap-highlight-color:transparent;
}

a:focus-visible,button:focus-visible,summary:focus-visible {
  outline:3px solid #2476a3;
  outline-offset:5px;
  border-radius:4px;
}

summary {
  cursor:pointer;
  list-style:none;
}

summary::-webkit-details-marker {
  display:none;
}

details>summary::marker {
  content:'';
}

.container {
  width:min(1200px,calc(100% - 64px));
  margin-inline:auto;
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.skip-link {
  position:fixed;
  top:10px;
  left:10px;
  z-index:20;
  transform:translateY(-160%);
  padding:10px 20px;
  background:var(--navy);
  color:white;
  border-radius:6px;
}

.skip-link:focus {
  transform:translateY(0);
}

.site-header {
  background:var(--paper);

  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:10;
}

.header-inner {
  min-height:68px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.wordmark {
  font-family:var(--font-heading);
  font-size:25px;
  font-weight:800;
  letter-spacing:-1.3px;
  line-height:1.1;
  white-space:nowrap;
}

.wordmark span {
  color:#ce9900;
  font-size:1.2em;
}

.site-nav {
  display:flex;
  align-items:center;

  gap:26px;
  font-size:13px;
  font-weight:600;
}

.site-nav>a:not(.button) {
  padding-block:10px;
  transition:color .2s;
}

.site-nav>a:not(.button):hover {
  color:var(--gold-text);
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;

  gap:14px;

  padding:11px 20px;

  min-height:44px;
  background:var(--navy);
  border:1px solid var(--navy);
  border-radius:6px;
  color:white;
  font-size:13px;
  font-weight:700;
  line-height:1.3;
  transition:background .2s,transform .2s,box-shadow .2s;
}

.button:hover {
  background:#24465c;
  box-shadow:0 5px 15px #10253716;
  transform:translateY(-2px);
}

.button span {
  font-size:20px;
  font-weight:400;
}

.button-small {
  padding:11px 19px;
  min-height:44px;
  gap:12px;
}

.button-outline {
  background:transparent;
  color:var(--ink);
}

.button-outline:hover {
  background:#edf0f1;
}

.menu-toggle {
  display:none;
}

.hero {
  display:grid;

  grid-template-columns:minmax(0,1fr) 300px;
  align-items:center;

  gap:44px;

  padding:22px 0;
}

.hero-copy {
  padding-block:0;
}

.eyebrow {
  color:var(--gold-text);
  text-transform:uppercase;
  font-size:11px;
  font-weight:800;
  letter-spacing:1.4px;
  line-height:1.7;

  margin-bottom:10px;
}

.eyebrow span {
  padding-inline:4px;
}

h1 {
  font-size:clamp(38px,3.65vw,48px);
  font-weight:800;

  letter-spacing:-2px;

  line-height:1.12;
}

h1>span {
  color:#be8a00;
}

.hero-description {
  max-width:580px;
  color:var(--muted);

  font-size:16px;

  line-height:1.55;

  margin-top:16px;
}

.hero-actions {
  display:flex;

  gap:12px;
  flex-wrap:wrap;

  margin-top:20px;
}

.hero-meta {
  display:flex;
  gap:26px;
  align-items:center;
  color:var(--muted);
  font-size:12px;

  margin-top:16px;
}

.hero-meta>span,.hero-meta>a {
  display:flex;
  align-items:center;
  gap:10px;
}

.hero-meta>a {
  border-left:1px solid #cbd3dc;
  padding-left:26px;
  color:var(--navy);
}

.hero-meta svg {
  width:19px;
  height:19px;
}

.linkedin-mark {
  display:inline-flex;
  background:var(--navy);
  color:white;
  width:17px;
  height:17px;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:800;
  border-radius:1px;
  line-height:1;
}

.portrait {
  position:relative;

  border-radius:12px;
  overflow:hidden;
  background:transparent;

  aspect-ratio:auto;

  max-height:none;
  width:100%;
  height:330px;
}

.portrait>img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 28%;
}

.portrait>.portrait-dark,
:root[data-theme="dark"] .portrait>.portrait-light {
  display:none;
}

:root[data-theme="dark"] .portrait>.portrait-dark {
  display:block;
}

.portrait figcaption {
  position:absolute;
  bottom:0;
  left:0;
  width:100%;

  padding:30px 17px 13px;
  background:linear-gradient(transparent,var(--paper) 65%);
  color:var(--ink);
  line-height:1.55;
}

.portrait figcaption strong {
  display:block;

  font-size:15px;
  font-weight:800;
}

.portrait figcaption>span:last-child {
  font-size:12px;
  color:var(--muted);
}

.gold-rule {
  display:block;
  width:38px;
  height:3px;
  background:#c99400;

  margin-bottom:5px;
}






.icon-tile {
  width:42px;

  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--tile);
  border-radius:9px;
  flex-shrink:0;
}

.icon-tile svg {
  width:24px;

  height:24px;
}



.work-section {
  padding-block:26px 22px;
}

.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;

  gap:18px;

  margin-bottom:16px;
}

.section-heading .eyebrow {
  margin-bottom:6px;
}

h2 {
  font-size:26px;

  letter-spacing:-.9px;
  font-weight:800;
}

.text-link {
  font-size:13px;
  font-weight:700;
  display:inline-flex;
  gap:14px;
  align-items:center;
  min-height:40px;
  white-space:nowrap;
}

.text-link:hover {
  text-decoration:underline;
  text-underline-offset:5px;
}

.text-link>span {
  font-size:20px;
}

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

  gap:18px;
  align-items:start;
}

.project-card {
  border:1px solid var(--line);
  border-radius:13px;
  background:white;
  overflow:hidden;
  transition:border-color .2s,box-shadow .2s;
}

.project-card:hover {
  border-color:#b9c9d3;
  box-shadow:0 10px 28px #10253708;
}

.project-preview {
  padding:10px 12px 0;
  background:var(--tile);
}

.project-preview img {
  width:100%;

  height:auto;
  object-fit:contain;
  color-scheme:inherit;
  border:1px solid var(--line);
  border-radius:6px;
}

.preview-note {
  display:block;
  font-size:10px;
  color:#6b7b90;
  text-align:right;

  padding:2px 4px 5px;
}

.project-copy {
  padding:12px 17px 14px;
}

.category {
  font-size:10px;
  color:#245b7b;
  font-weight:800;
  letter-spacing:1.5px;
  text-transform:uppercase;

  margin-bottom:6px;
}

.project-copy h3 {
  font-size:17px;
  letter-spacing:-.5px;
  position:relative;
}


.project-copy>p:not(.category) {
  font-size:13px;
  color:var(--muted);

  margin-top:6px;
}

.detail-cue {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  color:#45617a;
  font-weight:700;

  margin-top:8px;
}

.detail-cue span {
  font-size:17px;
  transition:transform .2s;
}

.project-card[open] .detail-cue span {
  transform:rotate(45deg);
}

.project-details {
  border-top:1px solid var(--line);

  padding:16px 17px;
  font-size:13px;
  color:var(--muted);
}

.project-details ul {
  padding-left:18px;
}

.project-details a {
  color:var(--navy);
}

.more-projects {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));

  gap:26px;
  max-width:770px;

  margin:12px auto 0;
  font-size:13px;
}

.more-projects summary {
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-bottom:1px solid #d6dfe5;
  min-height:44px;
}

.more-projects summary:hover {
  color:var(--gold-text);
}

.more-projects summary span {
  font-size:20px;
}

.more-projects p {
  margin:16px 0 8px;
  color:var(--muted);
}

.expertise-section {
  --expertise-surface:#ffffff;
  --model-accent:#18746e;
  --design-accent:#3366a0;
  --insight-accent:#906815;
  border-block:1px solid var(--line);
  padding-block:30px 22px;
}
.expertise-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:32px;
  margin-bottom:22px;
  scroll-margin-top:85px;
}
.expertise-heading h2 { font-size:26px; }
.expertise-heading>p { max-width:355px; font-size:13px; line-height:1.65; color:var(--muted); }
.expertise-journey { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; list-style:none; padding:0; margin:0; }
.expertise-step {
  --step-accent:var(--model-accent);
  display:flex;
  flex-direction:column;
  padding:18px 20px;
  border:1px solid var(--line);
  border-radius:12px;
  background:linear-gradient(125deg,color-mix(in srgb,var(--step-accent) 7%,var(--expertise-surface)),var(--expertise-surface) 75%);
}
.expertise-visualize { --step-accent:var(--design-accent); }
.expertise-insight { --step-accent:var(--insight-accent); }
.expertise-step-top { display:flex; justify-content:space-between; align-items:start; gap:10px; margin-bottom:15px; }
.expertise-stage { display:flex; flex-direction:column; gap:7px; font-size:10px; font-weight:600; color:var(--step-accent); }
.expertise-stage>span { font-family:var(--font-heading); font-size:12px; letter-spacing:1px; }
.expertise-visual { width:88px; height:50px; color:var(--step-accent); stroke-width:1.5; }
.expertise-visual .visual-guide { opacity:.24; }
.expertise-visual .visual-fill { fill:color-mix(in srgb,var(--step-accent) 13%,transparent); }
.expertise-step h3 { font-size:17px; letter-spacing:-.4px; margin:0 0 9px; }
.expertise-step>p { font-size:13px; line-height:1.65; color:var(--muted); margin-bottom:16px; }
.expertise-tools { display:flex; flex-wrap:wrap; gap:6px; list-style:none; margin:auto 0 0; padding:12px 0 0; border-top:1px solid var(--line); }
.expertise-tools li { font-size:10px; font-weight:500; padding:3px 8px; border-radius:4px; color:var(--step-accent); background:color-mix(in srgb,var(--step-accent) 8%,var(--expertise-surface)); }
.expertise-footnote { display:flex; align-items:center; gap:8px; margin-top:14px; color:var(--muted); font-size:11px; }
.expertise-dot { width:5px; height:5px; border-radius:50%; background:var(--gold-text); }
.expertise-platforms { margin-left:auto; }
.expertise-platforms strong { font-weight:500; color:var(--ink); }
[data-theme="dark"] .expertise-section { --expertise-surface:#162330; --model-accent:#78c7bc; --design-accent:#94bde9; --insight-accent:#e6c36b; }

.credentials-section { padding-block:28px 32px; }
.credentials-heading { margin-bottom:20px; }
.credentials-heading h2 { font-size:26px; }
.certification-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; padding:0; margin:0; list-style:none; }
.certification-tile {
  --credential-accent:#3e7199;
  display:flex;
  flex-direction:column;
  min-width:0;
  border:1px solid var(--line);
  border-radius:12px;
  padding:18px;
  background:linear-gradient(145deg,color-mix(in srgb,var(--credential-accent) 6%,var(--paper)),var(--paper) 65%);
}
.certification-top { display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.certification-badge { width:64px; height:64px; object-fit:contain; flex-shrink:0; }
.certification-issuer { font-size:11px; color:var(--muted); font-weight:500; }
.certification-symbol { width:64px; height:64px; border-radius:16px; display:grid; place-items:center; color:var(--credential-accent); background:color-mix(in srgb,var(--credential-accent) 9%,var(--paper)); }
.certification-symbol svg { width:34px; height:34px; stroke-width:1.5; }
.certification-dax { --credential-accent:#987000; }
.certification-sql { --credential-accent:#18746e; }
.certification-tile h3 { font-size:16px; line-height:1.45; letter-spacing:-.3px; min-height:47px; }
.certification-type { margin-top:6px; font-size:11px; color:var(--muted); }
.certification-date { display:flex; justify-content:space-between; align-items:center; gap:8px; padding-top:12px; margin-top:18px; border-top:1px solid var(--line); font-size:11px; }
.certification-date-label { color:var(--muted); }
[data-theme="dark"] .certification-tile { --credential-accent:#94bde9; }
[data-theme="dark"] .certification-dax { --credential-accent:#e6c36b; }
[data-theme="dark"] .certification-sql { --credential-accent:#78c7bc; }
@media(max-width:950px) { .certification-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:440px) { .certification-grid { grid-template-columns:1fr; } }

.contact-section {
  background:#112a3c;
  color:white;
  overflow:hidden;
}

.contact-inner {
  position:relative;

  padding-block:25px;
}

.contact-copy {
  position:relative;
  z-index:1;
}

.contact-copy h2 {
  font-size:26px;
  letter-spacing:-1px;
}

.contact-copy>p {
  font-size:14px;
  color:#c4d0db;

  margin-top:8px;
}

.contact-actions {
  display:flex;
  align-items:center;

  gap:24px;

  margin-top:16px;
}

.button-gold {
  background:#f6ce38;
  border-color:#f6ce38;
  color:#102537;

  padding:10px 20px;

  min-height:44px;
}

.button-gold:hover {
  background:#ffe06e;
}

.email-link {
  display:flex;
  align-items:center;
  gap:13px;
  font-size:13px;
}

.email-link:hover {
  text-decoration:underline;
  text-underline-offset:5px;
}

.email-link svg {
  width:19px;
  height:19px;
}

.contact-bars {
  position:absolute;
  right:0;
  bottom:0;
  height:90%;
  width:29%;
  display:flex;
  align-items:end;
  gap:16px;
  opacity:.37;
  transform:skewY(-3deg);
  mask-image:linear-gradient(to top,transparent,#000);
}

.contact-bars i {
  display:block;
  width:28px;
  height:15%;
  background:#2b6996;
}

.contact-bars i:nth-child(2) {
  height:27%;
}

.contact-bars i:nth-child(3) {
  height:43%;
}

.contact-bars i:nth-child(4) {
  height:34%;
}

.contact-bars i:nth-child(5) {
  height:62%;
}

.contact-bars i:nth-child(6) {
  height:77%;
}

.contact-bars i:nth-child(7) {
  height:96%;
}

.contact-bars i:nth-child(8) {
  height:84%;
}

.footer-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;

  padding-block:18px;
}

.footer-inner .wordmark {
  font-size:19px;
  letter-spacing:-.7px;
}

.footer-inner>div {
  display:flex;
  align-items:center;
  gap:27px;
  font-size:12px;
  font-weight:600;
}

.footer-inner p {
  border-left:1px solid var(--line);
  padding-left:27px;
  font-size:11px;
  color:var(--muted);
  font-weight:400;
  line-height:1.5;
}

@media(min-width:1450px) {
  .hero {
    gap:56px;
  }
  .portrait {
    max-height:none;
  }
}

@media(max-width:1050px) {
  .container {
    width:calc(100% - 48px);
  }
  .site-nav {
    gap:22px;
  }
  .hero {
    gap:26px;
  }
  h1 {
    font-size:clamp(34px,4vw,42px);
    letter-spacing:-2px;
  }
  .hero-description {
    font-size:16px;
  }
  .eyebrow {
    font-size:10px;
    letter-spacing:1px;
  }
  h2 {
    font-size:24px;
  }
  .section-heading {
    align-items:start;
  }
  .project-copy {
    padding-inline:19px;
  }
  .project-copy h3 {
    font-size:16px;
  }
  .button {
    gap:12px;
    padding-inline:21px;
  }
  .contact-bars {
    opacity:.22;
  }
}

@media(max-width:700px) {
  html {
    scroll-padding-top:72px;
  }
  .container {
    width:calc(100% - 40px);
  }
  .header-inner {
    min-height:62px;
    flex-wrap:wrap;
    gap:0;
  }
  .wordmark {
    font-size:22px;
  }
  .site-nav {
    width:100%;
    flex-wrap:wrap;
    justify-content:center;
    gap:14px;
    padding:5px 0 18px;
  }
  .has-js .menu-toggle {
    display:flex;
    align-items:center;
    gap:12px;
    min-height:44px;
    padding:8px 13px;
    background:transparent;
    border:1px solid var(--line);
    border-radius:6px;
    font-size:12px;
    font-weight:700;
    color:var(--ink);
  }
  .has-js .site-nav {
    display:none;
  }
  .has-js .site-nav.is-open {
    display:flex;
    align-items:stretch;
    flex-direction:column;
    padding-top:12px;
    gap:4px;
  }
  .has-js .site-nav>a:not(.button) {
    padding:10px 12px;
  }
  .has-js .site-nav .button {
    margin-top:8px;
  }
  .hero {
    grid-template-columns:1fr;

    gap:18px;

    padding-top:18px;

    padding-bottom:18px;
  }
  .hero-copy {
    padding:0;
  }
  .eyebrow {
    font-size:9px;
    letter-spacing:1.05px;

    margin-bottom:10px;
  }
  h1 {
    font-size:clamp(32px,8vw,42px);

    letter-spacing:-1.4px;
    line-height:1.1;
  }
  .hero-description {
    font-size:15px;
    max-width:490px;

    margin-top:13px;
  }
  .hero-actions {
    margin-top:16px;

    gap:10px;
  }
  .button {
    font-size:12px;

    min-height:44px;

    padding:10px 16px;
  }
  .hero-meta {
    margin-top:14px;

    gap:16px;
    font-size:11px;
  }
  .hero-meta>a {
    padding-left:16px;
  }
  .portrait {
    max-width:240px;

    max-height:none;
    justify-self:center;

    aspect-ratio:auto;
    height:240px;
  }
  .portrait>img {
    object-position:center 25%;
  }
  .portrait figcaption {
    padding:27px 14px 10px;
  }
  .work-section {
    padding-block:24px 20px;
  }
  .section-heading {
    display:block;

    margin-bottom:13px;
  }
  .section-heading .eyebrow {
    margin-bottom:6px;
  }
  h2 {
    font-size:24px;
    letter-spacing:-1px;
  }
  .section-heading>.text-link {
    margin-top:3px;
  }
  .project-grid {
    grid-template-columns:1fr;

    gap:14px;
  }
  .project-preview {
    padding:8px 10px 0;
  }
  .project-preview img {
    height:auto;
    max-height:none;
  }
  .project-copy {
    padding:10px 14px 12px;
  }
  .project-copy h3 {
    font-size:16px;
  }
  .project-copy>p:not(.category) {
    font-size:12px;
  }
  .more-projects {
    grid-template-columns:1fr;

    gap:6px;

    margin-top:10px;
  }
  .more-projects summary {
    font-size:12px;
  }
  .expertise-section { padding-block:24px 20px; }
  .expertise-heading { display:block; margin-bottom:18px; }
  .expertise-heading h2 { font-size:24px; }
  .expertise-heading>p { margin-top:12px; max-width:480px; }
  .expertise-journey { grid-template-columns:1fr; gap:10px; }
  .expertise-step { padding:16px 18px; }
  .expertise-step-top { margin-bottom:8px; }
  .expertise-step>p { margin-bottom:12px; }
  .expertise-footnote { flex-wrap:wrap; font-size:10px; }
  .expertise-platforms { width:100%; margin-left:13px; }
  .credentials-section { padding-block:24px; }
  .credentials-heading h2 { font-size:24px; }
  .certification-tile { padding:16px; }
  .certification-tile h3 { min-height:0; }
  .certification-top { margin-bottom:12px; }
  .contact-inner {
    padding-block:24px;
  }
  .contact-copy h2 {
    font-size:24px;
    max-width:340px;
    line-height:1.25;
  }
  .contact-copy>p {
    font-size:12px;
    max-width:300px;
  }
  .contact-actions {
    align-items:start;
    flex-direction:column;

    gap:15px;
  }
  .email-link {
    font-size:12px;
  }
  .contact-bars {
    width:48%;
    opacity:.17;
    gap:10px;
  }
  .footer-inner {
    padding-block:18px;
  }
  .footer-inner .wordmark {
    font-size:17px;
  }
  .footer-inner>div {
    font-size:11px;
  }
  .footer-inner p {
    display:none;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none!important;
  }
}

/* Theme controls remain visible beside the mobile menu. */
.header-inner { gap:18px; }
.site-nav { margin-left:auto; }
.theme-toggle {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  flex-shrink:0;
  padding:0;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--tile);
  color:var(--ink);
  cursor:pointer;
}
.theme-toggle[hidden] { display:none; }
.theme-toggle:hover { border-color:var(--muted); }
.theme-toggle svg { width:20px; height:20px; }
.theme-sun { display:none; }
:root[data-theme="dark"] {
  color-scheme:dark;
  --ink:#edf2f7;
  --muted:#b0bfd0;
  --gold-text:#e6c36b;
  --paper:#101923;
  --line:#2c3b4b;
  --tile:#1e2d3c;
}
[data-theme="dark"] .theme-moon { display:none; }
[data-theme="dark"] .theme-sun { display:block; }
[data-theme="dark"] h1>span,
[data-theme="dark"] .wordmark span { color:#e6c36b; }
[data-theme="dark"] .project-card { background:#162330; }
[data-theme="dark"] .project-card:hover { border-color:#647c94; }
[data-theme="dark"] .project-preview { background:var(--tile); }
[data-theme="dark"] .preview-note { color:#46596e; }
[data-theme="dark"] .category,
[data-theme="dark"] .detail-cue { color:#9dc5e1; }
[data-theme="dark"] .hero-meta>a,
[data-theme="dark"] .project-details a { color:var(--ink); }
[data-theme="dark"] .hero-meta>a,
[data-theme="dark"] .more-projects summary { border-color:var(--line); }
[data-theme="dark"] .button:not(.button-gold) { background:#28465e; border-color:#45647b; }
[data-theme="dark"] .button:not(.button-gold):hover { background:#365b77; }
[data-theme="dark"] .linkedin-mark { background:#dbe7ef; color:#102537; }
[data-theme="dark"] a:focus-visible,
[data-theme="dark"] button:focus-visible,
[data-theme="dark"] summary:focus-visible { outline-color:#e6c36b; }
@media(max-width:700px) {
  .header-inner { gap:10px; }
  .header-inner>.wordmark { margin-right:auto; }
  .theme-toggle { order:1; }
  .menu-toggle { order:2; }
  .site-nav { order:3; margin-left:0; }
}
@media(max-width:380px) {
  .header-inner>.wordmark { font-size:19px; }
  .has-js .menu-toggle { padding-inline:10px; }
}

/* A compact editorial ribbon gives the numbers their own visual hierarchy. */
.impact-section { padding-block:2px 0; }
.impact-ribbon {
  position:relative;
  display:grid;
  grid-template-columns:200px minmax(0,1fr);
  align-items:center;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--tile);
  color:var(--ink);
}
.impact-ribbon::before {
  content:'';
  position:absolute;
  inset:20px auto 20px 0;
  width:3px;
  border-radius:0 3px 3px 0;
  background:var(--gold-text);
}
.impact-intro { padding:20px 26px; }
.impact-intro>span {
  color:var(--gold-text);
  font-size:9px;
  font-weight:700;
  letter-spacing:1.7px;
  text-transform:uppercase;
}
.impact-intro p {
  margin-top:6px;
  font-family:var(--font-heading);
  font-size:15px;
  font-weight:600;
  line-height:1.35;
  letter-spacing:-.2px;
}
.impact-stats {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin:0;
  padding:0;
}
.impact-stat {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding:0 30px;
  border-left:1px solid var(--line);
}
.impact-stat dd {
  order:-1;
  margin:0 0 5px;
  font-family:var(--font-heading);
  font-weight:800;
  font-size:38px;
  line-height:1;
  letter-spacing:-1.5px;
  font-variant-numeric:tabular-nums;
}
.impact-stat dd span {
  color:var(--gold-text);
  font-size:23px;
  font-weight:500;
  vertical-align:top;
  margin-left:4px;
  line-height:1.1;
}
.impact-stat dt { color:var(--muted); font-size:12px; line-height:1.4; }
[data-theme="dark"] .impact-ribbon { background:#1a2d3e; border-color:#354a5f; }
@media(max-width:900px) {
  .impact-ribbon { grid-template-columns:160px minmax(0,1fr); }
  .impact-intro { padding:19px 20px; }
  .impact-stat { padding-inline:20px; }
  .impact-stat dd { font-size:34px; }
}
@media(max-width:700px) {
  .impact-ribbon { grid-template-columns:1fr; border-radius:10px; }
  .impact-ribbon::before { inset:15px auto auto 0; height:22px; }
  .impact-intro { display:flex; align-items:center; gap:12px; padding:15px 16px 0; }
  .impact-intro>span { font-size:8px; letter-spacing:1px; }
  .impact-intro p { margin:0; font-family:var(--font); font-size:11px; font-weight:400; color:var(--muted); }
  .impact-intro br { display:none; }
  .impact-stats { padding:17px 0; }
  .impact-stat { padding-inline:14px; }
  .impact-stat:first-child { border-left:0; }
  .impact-stat dd { font-size:29px; letter-spacing:-1px; margin-bottom:7px; }
  .impact-stat dd span { font-size:18px; margin-left:2px; }
  .impact-stat dt { font-size:11px; max-width:100px; }
}
@media(max-width:380px) {
  .impact-stat { padding-inline:10px; }
  .impact-stat dd { font-size:27px; }
}

.report-open { border:0; background:none; color:var(--ink); padding:0; margin-right:22px; cursor:pointer; }
.report-dialog { width:min(1060px,calc(100% - 28px)); max-height:90vh; padding:20px; border:1px solid var(--line); border-radius:12px; background:var(--paper); color:var(--ink); }
.report-dialog::backdrop { background:#06111dc9; }
.report-dialog-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:16px; }
.report-dialog-heading h2 { font-size:21px; }
.report-dialog-heading p { margin-top:4px; font-size:12px; color:var(--muted); }
.report-close { min-height:44px; padding:8px 16px; border:1px solid var(--line); border-radius:6px; background:var(--tile); color:var(--ink); cursor:pointer; }
.report-scroll { overflow:auto; border:1px solid var(--line); border-radius:6px; }
.report-scroll:focus-visible { outline:2px solid var(--gold-text); outline-offset:3px; }
.report-large-image { display:block; width:100%; min-width:700px; height:auto; color-scheme:inherit; }
@media(max-width:700px) {
  .report-dialog { padding:14px; }
  .report-dialog-heading h2 { font-size:18px; }
}
