/* Approved Footer and Back to Top cascade in source order; zero-specificity ownership. */

body.modal-open #topBtn:where(.site-footer, .site-footer *) {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(12px) !important;
}

:where(a, button, input, textarea, select, [tabindex]):where(.site-footer, .site-footer *) {
  -webkit-tap-highlight-color: transparent;
}
:where(a, button, input, textarea, select, [tabindex]):focus-visible:where(
    .site-footer,
    .site-footer *
  ) {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 12px;
}

.container:where(.site-footer, .site-footer *) {
  width: min(var(--maxw), calc(100% - 44px));
  margin: 0 auto;
}

.topbtn svg:where(.site-footer, .site-footer *) {
  display: block;
}

.brand-linkedin:where(.site-footer, .site-footer *) {
  --brand: #0a66c2;
}
.brand-kaggle:where(.site-footer, .site-footer *) {
  --brand: #1698d3;
}
.brand-x:where(.site-footer, .site-footer *),
.brand-mono:where(.site-footer, .site-footer *) {
  --brand: var(--monoicon);
}
.brand-huggingface:where(.site-footer, .site-footer *) {
  --brand: #ffd21e;
}
.brand-streamlit:where(.site-footer, .site-footer *) {
  --brand: #ff4b4b;
}
.brand-gmail:where(.site-footer, .site-footer *) {
  --brand: #ea4335;
}

.brand-mark:where(.site-footer, .site-footer *) {
  display: block;
  object-fit: contain;
}

.copy:where(.site-footer, .site-footer *) {
  font-family: var(--font-display);
  margin: 0;
  color: color-mix(in srgb, var(--txt) 86%, transparent);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.topbtn:where(.site-footer, .site-footer *) {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--card) 62%, transparent);
  border: 1px solid color-mix(in srgb, var(--txt) 14%, transparent);
  box-shadow: 0 24px 86px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--t) var(--ease);
  z-index: 1300;
  user-select: none;
  color: color-mix(in srgb, var(--accent) 88%, #fff);
}

[data-theme='light'] .topbtn:where(.site-footer, .site-footer *) {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 24px 86px rgba(0, 0, 0, 0.18);
  color: color-mix(in srgb, var(--accent) 75%, #000);
}

.topbtn:hover:where(.site-footer, .site-footer *) {
  transform: translateY(0) scale(1.06);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 30px 96px rgba(79, 140, 255, 0.18);
}

.topbtn.show:where(.site-footer, .site-footer *) {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.footer-top-slot:where(.site-footer, .site-footer *) {
  height: 52px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.topbtn.footer-docked:where(.site-footer, .site-footer *) {
  position: static;
  flex: 0 0 52px;
}
@media (max-width: 520px) {
  .container:where(.site-footer, .site-footer *) {
    width: min(var(--maxw), calc(100% - 28px));
  }
}

.site-footer:where(.site-footer, .site-footer *) {
  padding: 44px 0 28px;
  border-top: 1px solid color-mix(in srgb, var(--txt) 10%, transparent);
  background: color-mix(in srgb, var(--card2) 36%, transparent);
}

.footer-inner:where(.site-footer, .site-footer *) {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 22px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid color-mix(in srgb, var(--txt) 10%, transparent);
}

.footer-brand:where(.site-footer, .site-footer *) {
  min-width: 0;
  margin-left: 0;
}

.footer-logo:where(.site-footer, .site-footer *) {
  font-family:
    'SpaceGroteskLocal',
    'Space Grotesk',
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 1.42rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 14px rgba(124, 58, 237, 0.22);
}

.footer-note:where(.site-footer, .site-footer *) {
  margin: 12px 0 0;
  color: var(--muted2);
  line-height: 1.75;
  max-width: 46ch;
  font-weight: 650;
}

.footer-col:where(.site-footer, .site-footer *) {
  display: grid;
  gap: 10px;
}

.footer-head:where(.site-footer, .site-footer *) {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.98rem;
  color: color-mix(in srgb, var(--txt) 86%, transparent);
  position: relative;
  display: inline-block;
}
.footer-head:where(.site-footer, .site-footer *)::after {
  content: '';
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 85%, transparent);
  opacity: 0.95;
}
[data-theme='light'] .footer-head:where(.site-footer, .site-footer *)::after {
  background: color-mix(in srgb, var(--accent) 70%, #000);
  opacity: 0.75;
}

.footer-col a:where(.site-footer, .site-footer *) {
  font-family: var(--font-display);
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  transition: all var(--t) var(--ease);
}

.footer-col a:hover:where(.site-footer, .site-footer *) {
  color: var(--txt);
  transform: translateY(-1px);
}

.footer-icons:where(.site-footer, .site-footer *) {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
}

.footer-icons a:where(.site-footer, .site-footer *) {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--txt) 12%, transparent);
  background: color-mix(in srgb, var(--card2) 72%, transparent);
  color: var(--brand, color-mix(in srgb, var(--txt) 88%, transparent));
  text-decoration: none;
  transition: all var(--t) var(--ease);
}

.footer-icons a:hover:where(.site-footer, .site-footer *) {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand, var(--accent)) 55%, transparent);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

:root[data-theme='light'] .footer-icons a:where(.site-footer, .site-footer *) {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(5, 8, 16, 0.14);
  box-shadow: 0 12px 30px rgba(10, 20, 45, 0.1);
}

:root[data-theme='light'] .footer-icons a:hover:where(.site-footer, .site-footer *) {
  box-shadow: 0 18px 44px rgba(10, 20, 45, 0.14);
}

.footer-icons svg:where(.site-footer, .site-footer *) {
  width: 19px;
  height: 19px;
}

.footer-icons .brand-mark:where(.site-footer, .site-footer *) {
  width: 19px;
  height: 19px;
  display: block;
  object-fit: contain;
}

.footer-icons a[aria-label='Kaggle'] .brand-mark:where(.site-footer, .site-footer *) {
  width: 24px;
  height: 24px;
}

.footer-icons a[aria-label='Streamlit'] .brand-mark:where(.site-footer, .site-footer *) {
  width: 19px;
  height: 19px;
}

.footer-bottom:where(.site-footer, .site-footer *) {
  padding-top: 18px;
  text-align: center;
}

@media (max-width: 1200px) {
  .footer-inner:where(.site-footer, .site-footer *) {
    grid-template-columns: 1.7fr 1fr 1.2fr;
  }
}

@media (max-width: 820px) {
  .footer-inner:where(.site-footer, .site-footer *) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .footer-note:where(.site-footer, .site-footer *) {
    max-width: none;
  }
}

@media (max-width: 720px), (pointer: coarse) {
  .topbtn:where(.site-footer, .site-footer *) {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbtn:where(.site-footer, .site-footer *) {
    background-color: color-mix(in srgb, var(--card2) 96%, var(--bg0));
  }
}

svg.hydrated-icon:where(.site-footer, .site-footer *),
.footer-icons svg.inline-icon:where(.site-footer, .site-footer *) {
  display: block;
  flex: 0 0 auto;
}

@media (max-width: 520px) {
  .container:where(.site-footer, .site-footer *) {
    width: min(var(--maxw), calc(100% - 28px));
  }
}

.footer-inner-final:where(.site-footer, .site-footer *) {
  grid-template-columns: minmax(280px, 1.45fr) minmax(170px, 0.7fr) minmax(280px, 1fr);
  align-items: start;
}
.footer-inner-final .footer-note:where(.site-footer, .site-footer *) {
  max-width: 520px;
}
.footer-inner-final .footer-icons:where(.site-footer, .site-footer *) {
  max-width: 330px;
}

@media (max-width: 980px) {
  .footer-inner-final:where(.site-footer, .site-footer *) {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .footer-inner-final .footer-brand:where(.site-footer, .site-footer *) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .footer-inner-final:where(.site-footer, .site-footer *) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .footer-inner-final .footer-brand:where(.site-footer, .site-footer *) {
    grid-column: auto;
  }
}
.site-footer:where(.site-footer, .site-footer *) {
  padding-top: 2.6rem;
}
.footer-inner-final:where(.site-footer, .site-footer *) {
  grid-template-columns: minmax(260px, 1.25fr) minmax(260px, 0.95fr) minmax(260px, 0.9fr);
  gap: clamp(1.5rem, 3vw, 2.4rem);
}
.footer-logo:where(.site-footer, .site-footer *) {
  font-size: 1.28rem;
}
.footer-note:where(.site-footer, .site-footer *) {
  line-height: 1.6;
}
.footer-link-grid:where(.site-footer, .site-footer *) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.48rem 1rem;
}
.footer-link-grid a:where(.site-footer, .site-footer *) {
  margin: 0;
}
.footer-icons:where(.site-footer, .site-footer *) {
  gap: 0.55rem;
}
.footer-bottom:where(.site-footer, .site-footer *) {
  padding-top: 1rem;
}
@media (max-width: 1200px) {
  .footer-inner-final:where(.site-footer, .site-footer *) {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 1200px) {
  .footer-inner-final .footer-brand:where(.site-footer, .site-footer *) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .container:where(.site-footer, .site-footer *) {
    width: min(var(--maxw), calc(100% - 28px));
  }
}

@media (max-width: 720px) {
  .footer-inner-final:where(.site-footer, .site-footer *) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .footer-inner-final .footer-brand:where(.site-footer, .site-footer *) {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .footer-link-grid:where(.site-footer, .site-footer *) {
    max-width: 520px;
  }
}

@media (max-width: 420px) {
  .container:where(.site-footer, .site-footer *) {
    width: calc(100% - 22px);
  }
}

@media (max-width: 420px) {
  .footer-link-grid:where(.site-footer, .site-footer *) {
    grid-template-columns: 1fr 1fr;
    gap: 0.42rem 0.8rem;
  }
}
.brand-linkedin svg.inline-icon:where(.site-footer, .site-footer *) {
  color: #0a66c2;
}
.brand-gmail svg.inline-icon:where(.site-footer, .site-footer *) {
  color: #ea4335;
}
.brand-huggingface svg.inline-icon:where(.site-footer, .site-footer *) {
  color: #ffd21e;
}
.footer-icons .brand-mono svg.inline-icon:where(.site-footer, .site-footer *) {
  color: var(--txt);
}
.footer-icons a:where(.site-footer, .site-footer *) {
  isolation: isolate;
}

.container:where(.site-footer, .site-footer *) {
  width: min(var(--content-max), calc(100% - clamp(32px, 7vw, 104px)));
}
.site-footer:where(.site-footer, .site-footer *) {
  padding-top: clamp(2.6rem, 4vw, 3.5rem);
}
.footer-inner-final:where(.site-footer, .site-footer *) {
  grid-template-columns: minmax(max-content, 1.25fr) minmax(160px, 0.55fr) 408px;
  align-items: start;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.footer-inner-final .footer-brand:where(.site-footer, .site-footer *) {
  max-width: none;
}
.footer-inner-final .footer-note:where(.site-footer, .site-footer *) {
  max-width: none;
  white-space: nowrap;
}
.footer-inner-final > .footer-col:last-child:where(.site-footer, .site-footer *) {
  justify-self: end;
  width: 408px;
  max-width: 100%;
}
.footer-logo:where(.site-footer, .site-footer *) {
  font-size: clamp(1.45rem, 1.8vw, 1.8rem);
}
.footer-note:where(.site-footer, .site-footer *) {
  max-width: 500px;
  font-size: 1rem;
  line-height: 1.72;
}
.footer-head:where(.site-footer, .site-footer *) {
  margin-bottom: 0;
}
.footer-link-grid:where(.site-footer, .site-footer *) {
  display: grid;
  grid-template-columns: max-content;
  gap: 0.55rem;
  max-width: none;
}
.footer-link-grid a:where(.site-footer, .site-footer *) {
  font-size: 1.05rem;
  line-height: 1.4;
}
.footer-inner-final .footer-icons:where(.site-footer, .site-footer *) {
  display: grid;
  grid-template-columns: repeat(8, 44px);
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  overflow: visible;
}
.footer-icons a:where(.site-footer, .site-footer *) {
  width: 44px;
  max-width: 44px;
  height: 44px;
  aspect-ratio: 1;
  min-width: 0;
  justify-self: start;
  border-radius: 14px;
}
.footer-icons svg:where(.site-footer, .site-footer *),
.footer-icons svg.inline-icon:where(.site-footer, .site-footer *),
.footer-icons .brand-mark:where(.site-footer, .site-footer *),
.footer-icons a[aria-label='Hugging Face'] svg:where(.site-footer, .site-footer *),
.footer-icons a[aria-label='Streamlit'] .brand-mark:where(.site-footer, .site-footer *),
.footer-icons a[aria-label='Kaggle'] .brand-mark:where(.site-footer, .site-footer *),
.footer-icons a[aria-label='X'] svg:where(.site-footer, .site-footer *),
.footer-icons a[aria-label*='Email'] svg:where(.site-footer, .site-footer *) {
  width: 25px;
  height: 25px;
}
.footer-bottom:where(.site-footer, .site-footer *) {
  border-top: 1px solid var(--stroke);
  padding-top: 1.35rem;
  padding-bottom: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 1rem;
  align-items: center;
}
.footer-bottom .copy:where(.site-footer, .site-footer *),
.copy:where(.site-footer, .site-footer *) {
  text-align: center;
  font-size: 1.12rem;
  font-weight: 800;
}

@media (min-width: 1201px) {
  .container.footer-inner-final:where(.site-footer, .site-footer *) {
    position: relative;
    width: min(calc(var(--content-max) + 2rem), calc(100% - clamp(32px, 5vw, 80px)));
    border-bottom-color: transparent;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  .footer-inner-final:where(.site-footer, .site-footer *)::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: min(var(--content-max), calc(100vw - clamp(32px, 7vw, 104px)));
    border-bottom: 1px solid color-mix(in srgb, var(--txt) 10%, transparent);
    pointer-events: none;
  }
  .footer-inner-final .footer-brand:where(.site-footer, .site-footer *) {
    justify-self: start;
  }
  .footer-inner-final > .footer-col:nth-child(2):where(.site-footer, .site-footer *) {
    justify-self: center;
  }
}

@media (max-width: 1200px) {
  .footer-inner-final:where(.site-footer, .site-footer *) {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1200px) {
  .footer-inner-final .footer-brand:where(.site-footer, .site-footer *) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1200px) {
  .footer-inner-final > .footer-col:last-child:where(.site-footer, .site-footer *) {
    width: 200px;
  }
  .footer-inner-final .footer-icons:where(.site-footer, .site-footer *) {
    grid-template-columns: repeat(4, 44px);
  }
}

@media (max-width: 720px) {
  .container:where(.site-footer, .site-footer *) {
    width: min(100% - 24px, 1400px);
  }
}

@media (max-width: 720px) {
  .footer-inner-final:where(.site-footer, .site-footer *) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .footer-inner-final .footer-brand:where(.site-footer, .site-footer *) {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .footer-bottom .copy:where(.site-footer, .site-footer *),
  .copy:where(.site-footer, .site-footer *) {
    font-size: 1.02rem;
  }
}

.footer-bottom .copy:where(.site-footer, .site-footer *) {
  grid-column: 2;
}
.footer-top-slot:where(.site-footer, .site-footer *) {
  grid-column: 3;
}

@media (max-width: 720px) {
  .footer-inner-final > .footer-col:last-child:where(.site-footer, .site-footer *) {
    justify-self: stretch;
    width: auto;
  }
}

@media (max-width: 600px) {
  .footer-bottom:where(.site-footer, .site-footer *) {
    grid-template-columns: minmax(0, 1fr) 52px;
  }
  .footer-bottom .copy:where(.site-footer, .site-footer *) {
    grid-column: 1;
    text-align: left;
  }
  .footer-top-slot:where(.site-footer, .site-footer *) {
    grid-column: 2;
  }
}

@media (max-width: 520px) {
  .footer-inner-final .footer-note:where(.site-footer, .site-footer *) {
    white-space: normal;
  }
}

/* The button shadow obscures keyboard focus. Keep its
 * approved geometry/shadow and expose the existing focus ring without reflow. */
.topbtn:focus-visible:where(.site-footer *) {
  border-radius: 999px;
  box-shadow:
    var(--ring),
    0 24px 86px rgba(0, 0, 0, 0.32);
}
[data-theme='light'] .topbtn:focus-visible:where(.site-footer *) {
  box-shadow:
    var(--ring),
    0 24px 86px rgba(0, 0, 0, 0.18);
}
/* Approved working-with-me cascade in source order; zero-specificity section ownership. */

section:where(#working-with-me, #working-with-me *) {
  scroll-margin-top: var(--section-scroll-offset);
}

html.preload .fade:where(#working-with-me, #working-with-me *) {
  opacity: 1 !important;
  transform: none !important;
}

.container:where(#working-with-me, #working-with-me *) {
  width: min(var(--maxw), calc(100% - 44px));
  margin: 0 auto;
}
section:where(#working-with-me, #working-with-me *) {
  padding: 110px 0;
  position: relative;
}

.section-head:where(#working-with-me, #working-with-me *) {
  text-align: center;
  margin-bottom: 44px;
}
.title:where(#working-with-me, #working-with-me *) {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  background: linear-gradient(
    135deg,
    var(--txt) 0%,
    color-mix(in srgb, var(--txt) 92%, transparent) 28%,
    var(--primary) 76%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title.section-title:where(#working-with-me, #working-with-me *) {
  display: inline-block;
  position: relative;
}
.title.section-title:where(#working-with-me, #working-with-me *)::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    color-mix(in srgb, var(--primary) 55%, var(--accent)) 100%
  );
  box-shadow: 0 10px 30px rgba(79, 140, 255, 0.16);
  opacity: 0.95;
}
:root[data-theme='light'] .title.section-title:where(#working-with-me, #working-with-me *)::after {
  box-shadow: 0 10px 24px rgba(79, 140, 255, 0.14);
  opacity: 0.9;
}
.subtitle:where(#working-with-me, #working-with-me *) {
  margin-top: 10px;
  color: var(--muted2);
  font-size: 1.18rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.fade:where(#working-with-me, #working-with-me *) {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
  transition-delay: var(--d, 0ms);
}
.fade.in:where(#working-with-me, #working-with-me *) {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 720px) {
  section:where(#working-with-me, #working-with-me *) {
    padding: 86px 0;
  }
}
@media (max-width: 520px) {
  .container:where(#working-with-me, #working-with-me *) {
    width: min(var(--maxw), calc(100% - 28px));
  }
}

.qa-wrap:where(#working-with-me, #working-with-me *) {
  display: grid;
  gap: 14px;
}

.qa-item:where(#working-with-me, #working-with-me *) {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

:root[data-theme='light'] .qa-item:where(#working-with-me, #working-with-me *) {
  box-shadow: 0 14px 50px rgba(10, 20, 45, 0.12);
}

.qa-item summary:where(#working-with-me, #working-with-me *) {
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  user-select: none;
  color: var(--txt);
  font-weight: 650;
  letter-spacing: 0.01em;
}

.qa-item summary:where(#working-with-me, #working-with-me *)::-webkit-details-marker {
  display: none;
}

.qa-item summary:where(#working-with-me, #working-with-me *)::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid color-mix(in srgb, var(--txt) 75%, transparent);
  border-bottom: 2px solid color-mix(in srgb, var(--txt) 75%, transparent);
  transform: rotate(45deg);
  transition: transform var(--t) var(--ease);
  flex: 0 0 auto;
  margin-left: 6px;
}

.qa-item[open] summary:where(#working-with-me, #working-with-me *)::after {
  transform: rotate(-135deg);
}

.qa-item .qa-body:where(#working-with-me, #working-with-me *) {
  padding: 0 16px 14px 16px;
  color: var(--muted);
}

.qa-item .qa-body p:where(#working-with-me, #working-with-me *) {
  margin: 0;
  line-height: 1.6;
}

.qa-item:hover:where(#working-with-me, #working-with-me *) {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--stroke));
}

.qa-item[open]:where(#working-with-me, #working-with-me *) {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--card2) 92%, transparent),
    var(--card)
  );
  border-color: color-mix(in srgb, var(--primary) 55%, var(--stroke));
}

@media (max-width: 720px) {
  .qa-item summary:where(#working-with-me, #working-with-me *) {
    padding: 13px 14px;
    font-weight: 640;
  }
}

@media (max-width: 720px) {
  .qa-item .qa-body:where(#working-with-me, #working-with-me *) {
    padding: 0 14px 13px 14px;
  }
}

@media (max-width: 720px) {
  section:where(#working-with-me, #working-with-me *) {
    padding: 74px 0;
  }
}

@media (max-width: 520px) {
  .container:where(#working-with-me, #working-with-me *) {
    width: min(var(--maxw), calc(100% - 28px));
  }
}

#working-with-me .section-head .subtitle:where(#working-with-me, #working-with-me *) {
  max-width: 900px;
}
section:where(#working-with-me, #working-with-me *) {
  padding-block: clamp(4.8rem, 7.5vw, 7.25rem);
}
.section-head:where(#working-with-me, #working-with-me *) {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.title:where(#working-with-me, #working-with-me *) {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.04;
  text-wrap: balance;
}
.subtitle:where(#working-with-me, #working-with-me *) {
  max-width: 780px;
  margin-top: 0.85rem;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.65;
  text-wrap: balance;
}

@media (max-width: 720px) {
  section:where(#working-with-me, #working-with-me *) {
    padding-block: 4rem;
  }
}

@media (max-width: 720px) {
  .container:where(#working-with-me, #working-with-me *) {
    width: min(var(--maxw), calc(100% - 28px));
  }
}

@media (max-width: 720px) {
  .title:where(#working-with-me, #working-with-me *) {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }
}

@media (max-width: 720px) {
  .section-head:where(#working-with-me, #working-with-me *) {
    margin-bottom: 1.8rem;
  }
}

@media (max-width: 420px) {
  .container:where(#working-with-me, #working-with-me *) {
    width: calc(100% - 22px);
  }
}
.working-faq:where(#working-with-me, #working-with-me *) {
  max-width: 980px;
  margin: 0 auto;
  gap: 0.8rem;
}
.working-faq .qa-item:where(#working-with-me, #working-with-me *) {
  border-radius: 18px;
  box-shadow: none;
  background: color-mix(in srgb, var(--card) 90%, transparent);
}
.working-faq .qa-item summary:where(#working-with-me, #working-with-me *) {
  padding: 1rem 1.1rem;
  font-size: 1rem;
  font-weight: 780;
}
.working-faq .qa-item .qa-body:where(#working-with-me, #working-with-me *) {
  padding: 0 1.1rem 1rem;
  font-size: 0.96rem;
  line-height: 1.7;
}
.working-faq .qa-item[open]:where(#working-with-me, #working-with-me *) {
  border-color: color-mix(in srgb, var(--primary) 50%, var(--stroke));
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--primary) 6%, var(--card2)),
    var(--card)
  );
}
@media (max-width: 720px) {
  .working-faq .qa-item summary:where(#working-with-me, #working-with-me *) {
    font-size: 0.94rem;
  }
}

.container:where(#working-with-me, #working-with-me *) {
  width: min(var(--content-max), calc(100% - clamp(32px, 7vw, 104px)));
}
#working-with-me .container:where(#working-with-me, #working-with-me *) {
  width: min(1400px, calc(100% - clamp(32px, 6vw, 88px)));
}
main > section:not(.hero) .section-title:where(#working-with-me, #working-with-me *) {
  font-size: clamp(2.2rem, 3.9vw, 3.45rem);
}
main > section:not(.hero) .subtitle:where(#working-with-me, #working-with-me *) {
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
}
.working-faq:where(#working-with-me, #working-with-me *) {
  max-width: 1120px;
  margin-inline: auto;
}
.working-faq .qa-item summary:where(#working-with-me, #working-with-me *) {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
}
.working-faq .qa-body p:where(#working-with-me, #working-with-me *) {
  max-width: 980px;
  font-size: 0.98rem;
  line-height: 1.7;
}

@media (max-width: 720px) {
  .container:where(#working-with-me, #working-with-me *),
  #working-with-me .container:where(#working-with-me, #working-with-me *) {
    width: min(100% - 24px, 1400px);
  }
}

@media (max-width: 720px) {
  main > section:not(.hero) .section-title:where(#working-with-me, #working-with-me *) {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }
}
/* Approved contact cascade in source order; zero-specificity section ownership. */

section:where(#contact, #contact *) {
  scroll-margin-top: var(--section-scroll-offset);
}

html.preload .fade:where(#contact, #contact *) {
  opacity: 1 !important;
  transform: none !important;
}

:where(a, button, input, textarea, select, [tabindex]):where(#contact, #contact *) {
  -webkit-tap-highlight-color: transparent;
}
:where(a, button, input, textarea, select, [tabindex]):focus-visible:where(#contact, #contact *) {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 12px;
}

.container:where(#contact, #contact *) {
  width: min(var(--maxw), calc(100% - 44px));
  margin: 0 auto;
}
section:where(#contact, #contact *) {
  padding: 110px 0;
  position: relative;
}

.brand-linkedin:where(#contact, #contact *) {
  --brand: #0a66c2;
}

.section-head:where(#contact, #contact *) {
  text-align: center;
  margin-bottom: 44px;
}
.title:where(#contact, #contact *) {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  background: linear-gradient(
    135deg,
    var(--txt) 0%,
    color-mix(in srgb, var(--txt) 92%, transparent) 28%,
    var(--primary) 76%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title.section-title:where(#contact, #contact *) {
  display: inline-block;
  position: relative;
}
.title.section-title:where(#contact, #contact *)::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    color-mix(in srgb, var(--primary) 55%, var(--accent)) 100%
  );
  box-shadow: 0 10px 30px rgba(79, 140, 255, 0.16);
  opacity: 0.95;
}
:root[data-theme='light'] .title.section-title:where(#contact, #contact *)::after {
  box-shadow: 0 10px 24px rgba(79, 140, 255, 0.14);
  opacity: 0.9;
}
.subtitle:where(#contact, #contact *) {
  margin-top: 10px;
  color: var(--muted2);
  font-size: 1.18rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.social-link:where(#contact, #contact *) {
  --brand: var(--txt);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--stroke2));
  border-radius: 999px;
  background: var(--card2);
  background: color-mix(in srgb, var(--card2) 60%, transparent);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}
.social-link:hover:where(#contact, #contact *) {
  transform: translateY(-2px);
  background: var(--card2);
  background: color-mix(in srgb, var(--card2) 70%, transparent);
  border-color: color-mix(in srgb, var(--brand) 55%, var(--stroke2));
  box-shadow: 0 18px 70px color-mix(in srgb, var(--brand) 12%, transparent);
}

.social-ico:where(#contact, #contact *) {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--brand);
}
.social-ico svg:where(#contact, #contact *) {
  width: 24px;
  height: 24px;
  display: block;
}
.social-label:where(#contact, #contact *) {
  font-weight: 900;
  font-size: 1.06rem;
  letter-spacing: 0.2px;
  color: color-mix(in srgb, var(--brand) 70%, var(--txt));
}

.social-link.brand-linkedin:where(#contact, #contact *) {
  --brand: #0a66c2;
  border-color: color-mix(in srgb, #0a66c2 46%, var(--stroke2));
}

.social-link.brand-linkedin .social-ico:where(#contact, #contact *),
.social-link.brand-linkedin .social-ico svg:where(#contact, #contact *),
.social-link.brand-linkedin .social-label:where(#contact, #contact *) {
  color: #0a66c2;
}

.social-link.brand-linkedin:hover:where(#contact, #contact *) {
  border-color: color-mix(in srgb, #0a66c2 70%, var(--stroke2));
  box-shadow: 0 18px 70px color-mix(in srgb, #0a66c2 16%, transparent);
}

@media (max-width: 520px) {
  .social-ico:where(#contact, #contact *) {
    width: 26px;
    height: 26px;
  }
}

.fade:where(#contact, #contact *) {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
  transition-delay: var(--d, 0ms);
}
.fade.in:where(#contact, #contact *) {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 720px) {
  section:where(#contact, #contact *) {
    padding: 86px 0;
  }
}
@media (max-width: 520px) {
  .container:where(#contact, #contact *) {
    width: min(var(--maxw), calc(100% - 28px));
  }
}
#contact .section-head .subtitle:where(#contact, #contact *) {
  max-width: 820px;
}

svg.hydrated-icon:where(#contact, #contact *),
.social-ico svg.inline-icon:where(#contact, #contact *) {
  display: block;
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  section:where(#contact, #contact *) {
    padding: 74px 0;
  }
}

@media (max-width: 520px) {
  .container:where(#contact, #contact *) {
    width: min(var(--maxw), calc(100% - 28px));
  }
}
section:where(#contact, #contact *) {
  padding-block: clamp(4.8rem, 7.5vw, 7.25rem);
}
.section-head:where(#contact, #contact *) {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.title:where(#contact, #contact *) {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.04;
  text-wrap: balance;
}
.subtitle:where(#contact, #contact *) {
  max-width: 780px;
  margin-top: 0.85rem;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.65;
  text-wrap: balance;
}

@media (max-width: 720px) {
  section:where(#contact, #contact *) {
    padding-block: 4rem;
  }
}

@media (max-width: 720px) {
  .container:where(#contact, #contact *) {
    width: min(var(--maxw), calc(100% - 28px));
  }
}

@media (max-width: 720px) {
  .title:where(#contact, #contact *) {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }
}

@media (max-width: 720px) {
  .section-head:where(#contact, #contact *) {
    margin-bottom: 1.8rem;
  }
}

@media (max-width: 420px) {
  .container:where(#contact, #contact *) {
    width: calc(100% - 22px);
  }
}
.brand-linkedin svg.inline-icon:where(#contact, #contact *) {
  color: #0a66c2;
}
.contact-original-refined:where(#contact, #contact *) {
  padding-block: clamp(3.8rem, 6vw, 5.6rem);
  text-align: center;
}
.contact-original-refined .section-head:where(#contact, #contact *) {
  margin-bottom: 1.7rem;
}
.contact-original-refined .subtitle:where(#contact, #contact *) {
  max-width: 800px;
  margin-inline: auto;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.65;
}
.contact-linkedin:where(#contact, #contact *) {
  width: max-content;
  min-width: 170px;
  min-height: 54px;
  margin: 0 auto;
  padding-inline: 1.25rem;
  justify-content: center;
  border-color: color-mix(in srgb, #0a66c2 56%, var(--stroke));
}
.contact-linkedin:hover:where(#contact, #contact *) {
  border-color: color-mix(in srgb, #0a66c2 82%, var(--stroke));
  background: color-mix(in srgb, #0a66c2 10%, var(--card));
}
@media (max-width: 720px) {
  .contact-original-refined:where(#contact, #contact *) {
    padding-block: 3.2rem;
  }
}
@media (max-width: 720px) {
  .contact-original-refined .section-head:where(#contact, #contact *) {
    margin-bottom: 1.35rem;
  }
}

.container:where(#contact, #contact *) {
  width: min(var(--content-max), calc(100% - clamp(32px, 7vw, 104px)));
}
main > section:not(.hero) .section-title:where(#contact, #contact *) {
  font-size: clamp(2.2rem, 3.9vw, 3.45rem);
}
main > section:not(.hero) .subtitle:where(#contact, #contact *) {
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
}
.contact-original-refined:where(#contact, #contact *) {
  padding-block: clamp(3.5rem, 7vw, 5.7rem);
  text-align: center;
}
.contact-original-refined .section-head:where(#contact, #contact *) {
  max-width: 980px;
  margin-inline: auto;
  margin-bottom: 1.7rem;
}
.contact-original-refined .subtitle:where(#contact, #contact *) {
  max-width: 860px;
  margin-inline: auto;
}
.contact-linkedin:where(#contact, #contact *) {
  width: max-content;
  min-width: 170px;
  min-height: 54px;
  margin: 0.2rem auto 0;
  padding-inline: 1.25rem;
  justify-content: center;
  border-color: color-mix(in srgb, #0a66c2 56%, var(--stroke));
}
.contact-linkedin:hover:where(#contact, #contact *) {
  border-color: color-mix(in srgb, #0a66c2 82%, var(--stroke));
  background: color-mix(in srgb, #0a66c2 10%, var(--card));
}

@media (max-width: 720px) {
  .container:where(#contact, #contact *) {
    width: min(100% - 24px, 1400px);
  }
}

@media (max-width: 720px) {
  main > section:not(.hero) .section-title:where(#contact, #contact *) {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }
}

@media (max-width: 720px) {
  .contact-original-refined:where(#contact, #contact *) {
    padding-block: 3.3rem;
  }
}

/* Preserve the approved pill shape under the separately emitted base focus reset. */
.contact-linkedin:focus-visible:where(#contact, #contact *) {
  border-radius: 999px;
}
/* Technical Stack cascade extracted in source order; zero-specificity section ownership. */

[hidden]:where(#tech, #tech *) {
  display: none !important;
}
section:where(#tech, #tech *) {
  scroll-margin-top: var(--section-scroll-offset);
}

html.preload .fade:where(#tech, #tech *) {
  opacity: 1 !important;
  transform: none !important;
}

:where(a, button, input, textarea, select, [tabindex]):where(#tech, #tech *) {
  -webkit-tap-highlight-color: transparent;
}
:where(a, button, input, textarea, select, [tabindex]):focus-visible:where(#tech, #tech *) {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 12px;
}

.container:where(#tech, #tech *) {
  width: min(var(--maxw), calc(100% - 44px));
  margin: 0 auto;
}
section:where(#tech, #tech *) {
  padding: 110px 0;
  position: relative;
}

.card:where(#tech, #tech *) {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(180%);
  transition:
    transform var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
@supports (background: color-mix(in srgb, white, transparent)) {
  .card:where(#tech, #tech *) {
    background: color-mix(in srgb, var(--card) 86%, transparent);
  }
}
.card:hover:where(#tech, #tech *) {
  border-color: var(--stroke2);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(79, 140, 255, 0.12),
    0 0 44px rgba(79, 140, 255, 0.1);
}

.section-head:where(#tech, #tech *) {
  text-align: center;
  margin-bottom: 44px;
}
.title:where(#tech, #tech *) {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  background: linear-gradient(
    135deg,
    var(--txt) 0%,
    color-mix(in srgb, var(--txt) 92%, transparent) 28%,
    var(--primary) 76%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title.section-title:where(#tech, #tech *) {
  display: inline-block;
  position: relative;
}
.title.section-title:where(#tech, #tech *)::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    color-mix(in srgb, var(--primary) 55%, var(--accent)) 100%
  );
  box-shadow: 0 10px 30px rgba(79, 140, 255, 0.16);
  opacity: 0.95;
}
:root[data-theme='light'] .title.section-title:where(#tech, #tech *)::after {
  box-shadow: 0 10px 24px rgba(79, 140, 255, 0.14);
  opacity: 0.9;
}
.subtitle:where(#tech, #tech *) {
  margin-top: 10px;
  color: var(--muted2);
  font-size: 1.18rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.fade:where(#tech, #tech *) {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
  transition-delay: var(--d, 0ms);
}
.fade.in:where(#tech, #tech *) {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 720px) {
  section:where(#tech, #tech *) {
    padding: 86px 0;
  }
}
@media (max-width: 520px) {
  .container:where(#tech, #tech *) {
    width: min(var(--maxw), calc(100% - 28px));
  }
}

@media (max-width: 720px), (pointer: coarse) {
  .card:where(#tech, #tech *) {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (max-width: 720px), (pointer: coarse) {
  .card:where(#tech, #tech *) {
    background-color: color-mix(in srgb, var(--card2) 94%, var(--bg0));
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card:where(#tech, #tech *) {
    background-color: color-mix(in srgb, var(--card2) 96%, var(--bg0));
  }
}

svg.hydrated-icon:where(#tech, #tech *) {
  display: block;
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  section:where(#tech, #tech *) {
    padding: 74px 0;
  }
}

@media (max-width: 520px) {
  .container:where(#tech, #tech *) {
    width: min(var(--maxw), calc(100% - 28px));
  }
}

#tech .section-head .subtitle:where(#tech, #tech *) {
  max-width: 900px;
}

.tech-tabs-shell:where(#tech, #tech *) {
  padding: clamp(1rem, 2vw, 1.5rem);
  overflow: hidden;
}
.tech-tabs:where(#tech, #tech *) {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.1rem 0.1rem 0.85rem;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.tech-tab:where(#tech, #tech *) {
  appearance: none;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--card) 82%, transparent);
  color: var(--muted);
  min-height: 48px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  white-space: nowrap;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  scroll-snap-align: start;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}
.tech-tab:hover:where(#tech, #tech *) {
  color: var(--txt);
  border-color: color-mix(in srgb, var(--accent) 58%, var(--stroke));
}
.tech-tab.active:where(#tech, #tech *) {
  color: #fff;
  border-color: color-mix(in srgb, var(--accent) 78%, transparent);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent) 88%, #2563eb),
    color-mix(in srgb, var(--primary) 70%, #7c3aed)
  );
  box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 18%, transparent);
}
.tech-tab:focus-visible:where(#tech, #tech *) {
  /* Keep the approved pill radius when the separately emitted base focus reset follows this CSS. */
  border-radius: 999px;
  outline: 3px solid color-mix(in srgb, var(--accent) 42%, transparent);
  outline-offset: 3px;
}
.tech-tab .tab-ico:where(#tech, #tech *) {
  display: inline-grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
}
.tech-tab .tab-ico svg:where(#tech, #tech *) {
  width: 100%;
  height: 100%;
}
.tech-tab-panels:where(#tech, #tech *) {
  border-top: 1px solid var(--stroke);
  padding-top: 1.25rem;
}
.tech-panel[hidden]:where(#tech, #tech *) {
  display: none !important;
}
.tech-skill-grid:where(#tech, #tech *) {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}
.tech-skill-grid > .tech-skill:where(#tech, #tech *) {
  min-height: 62px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--stroke) 90%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--card2) 72%, transparent);
  color: var(--txt);
  font-weight: 760;
  line-height: 1.3;
}

@media (max-width: 1100px) {
  .tech-skill-grid:where(#tech, #tech *) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .tech-tabs-shell:where(#tech, #tech *) {
    padding: 0.9rem;
  }
}
@media (max-width: 720px) {
  .tech-tabs:where(#tech, #tech *) {
    margin-inline: -0.15rem;
    padding-inline: 0.15rem;
  }
}
@media (max-width: 720px) {
  .tech-tab:where(#tech, #tech *) {
    min-height: 44px;
    padding: 0.65rem 0.85rem;
    font-size: 0.86rem;
  }
}
@media (max-width: 720px) {
  .tech-skill-grid:where(#tech, #tech *) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
}
@media (max-width: 720px) {
  .tech-skill-grid > .tech-skill:where(#tech, #tech *) {
    min-height: 56px;
    padding: 0.65rem;
    font-size: 0.88rem;
  }
}
@media (max-width: 420px) {
  .tech-skill-grid:where(#tech, #tech *) {
    grid-template-columns: 1fr 1fr;
  }
}
section:where(#tech, #tech *) {
  padding-block: clamp(4.8rem, 7.5vw, 7.25rem);
}
.section-head:where(#tech, #tech *) {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.title:where(#tech, #tech *) {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.04;
  text-wrap: balance;
}
.subtitle:where(#tech, #tech *) {
  max-width: 780px;
  margin-top: 0.85rem;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.65;
  text-wrap: balance;
}
.tech-tabs-shell:where(#tech, #tech *) {
  border-radius: 24px;
  padding: clamp(1rem, 2.2vw, 1.55rem);
}
.tech-tabs:where(#tech, #tech *) {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}
.tech-tab:where(#tech, #tech *) {
  min-height: 50px;
  padding-inline: 1.05rem;
}
.tech-skill-grid:where(#tech, #tech *) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.tech-skill-grid > .tech-skill:where(#tech, #tech *) {
  min-height: 60px;
  border-radius: 16px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}
@media (hover: hover) {
  .tech-skill-grid > .tech-skill:hover:where(#tech, #tech *) {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--primary) 42%, var(--stroke));
    background: color-mix(in srgb, var(--primary) 8%, var(--card2));
  }
}
@media (max-width: 1100px) {
  .tech-skill-grid:where(#tech, #tech *) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  section:where(#tech, #tech *) {
    padding-block: 4rem;
  }
}

@media (max-width: 720px) {
  .container:where(#tech, #tech *) {
    width: min(var(--maxw), calc(100% - 28px));
  }
}

@media (max-width: 720px) {
  .title:where(#tech, #tech *) {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }
}

@media (max-width: 720px) {
  .section-head:where(#tech, #tech *) {
    margin-bottom: 1.8rem;
  }
}

@media (max-width: 720px) {
  .tech-tabs-shell:where(#tech, #tech *) {
    padding: 0.85rem;
  }
}

@media (max-width: 720px) {
  .tech-tabs:where(#tech, #tech *) {
    margin-inline: -0.2rem;
    padding-inline: 0.2rem;
  }
}

@media (max-width: 720px) {
  .tech-tab:where(#tech, #tech *) {
    min-height: 44px;
    padding: 0.62rem 0.78rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 720px) {
  .tech-skill-grid:where(#tech, #tech *) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }
}

@media (max-width: 720px) {
  .tech-skill-grid > .tech-skill:where(#tech, #tech *) {
    min-height: 54px;
    padding: 0.6rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 420px) {
  .container:where(#tech, #tech *) {
    width: calc(100% - 22px);
  }
}

@media (max-width: 420px) {
  .tech-skill-grid:where(#tech, #tech *) {
    grid-template-columns: 1fr;
  }
}
section.tech-panel:where(#tech, #tech *) {
  padding: 0 !important;
  scroll-margin-top: 0;
}
@media (max-width: 420px) {
  .tech-skill-grid:where(#tech, #tech *) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 340px) {
  .tech-skill-grid:where(#tech, #tech *) {
    grid-template-columns: 1fr;
  }
}
.tech-skill-grid:where(#tech, #tech *) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.82rem;
}
.tech-skill-grid .tech-skill:where(#tech, #tech *) {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 0.72rem;
  border: 1px solid color-mix(in srgb, var(--stroke) 92%, transparent);
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--card2) 82%, transparent),
    color-mix(in srgb, var(--card) 88%, transparent)
  );
  color: var(--txt);
  text-align: center;
  font-weight: 760;
  line-height: 1.25;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}
.tech-skill-icon:where(#tech, #tech *) {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: color-mix(in srgb, var(--primary) 9%, var(--card2));
  border: 1px solid color-mix(in srgb, var(--primary) 24%, var(--stroke));
  color: var(--primary);
}
.tech-skill-icon svg:where(#tech, #tech *),
.tech-skill-icon .inline-icon:where(#tech, #tech *) {
  width: 23px;
  height: 23px;
}
.tech-skill-label:where(#tech, #tech *) {
  display: block;
  max-width: 17ch;
}
.tech-skill[data-brand='pytorch'] .tech-skill-icon:where(#tech, #tech *) {
  color: #ee4c2c;
}
.tech-skill[data-brand='scikitlearn'] .tech-skill-icon:where(#tech, #tech *) {
  color: #f7931e;
}
.tech-skill[data-brand='xgboost'] .tech-skill-icon:where(#tech, #tech *) {
  color: #ff7a00;
}
.tech-skill[data-brand='pandas'] .tech-skill-icon:where(#tech, #tech *) {
  color: #8a63d2;
}
.tech-skill[data-brand='huggingface'] .tech-skill-icon:where(#tech, #tech *) {
  color: #ffd21e;
}
.tech-skill[data-brand='fastapi'] .tech-skill-icon:where(#tech, #tech *) {
  color: #009688;
}
.tech-skill[data-brand='postgresql'] .tech-skill-icon:where(#tech, #tech *) {
  color: #5b9bd5;
}
.tech-skill[data-brand='pgvector'] .tech-skill-icon:where(#tech, #tech *) {
  color: #8b5cf6;
}
.tech-skill[data-brand='redis'] .tech-skill-icon:where(#tech, #tech *) {
  color: #dc382d;
}
.tech-skill[data-brand='docker'] .tech-skill-icon:where(#tech, #tech *) {
  color: #2496ed;
}
.tech-skill[data-brand='pytest'] .tech-skill-icon:where(#tech, #tech *) {
  color: #34a853;
}
.tech-skill[data-brand='github'] .tech-skill-icon:where(#tech, #tech *) {
  color: color-mix(in srgb, var(--txt) 88%, transparent);
}
.tech-skill[data-brand='opentelemetry'] .tech-skill-icon:where(#tech, #tech *) {
  color: #f5a623;
}
.tech-skill[data-brand='mlflow'] .tech-skill-icon:where(#tech, #tech *) {
  color: #0194e2;
}
@media (hover: hover) {
  .tech-skill-grid .tech-skill:hover:where(#tech, #tech *) {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--primary) 46%, var(--stroke));
    box-shadow: 0 14px 34px color-mix(in srgb, var(--primary) 9%, transparent);
  }
}

@media (max-width: 1100px) {
  .tech-skill-grid:where(#tech, #tech *) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .tech-skill-grid:where(#tech, #tech *) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .tech-skill-grid .tech-skill:where(#tech, #tech *) {
    min-height: 96px;
    padding: 0.75rem 0.55rem;
  }
}
@media (max-width: 720px) {
  .tech-skill-icon:where(#tech, #tech *) {
    width: 38px;
    height: 38px;
  }
}
@media (max-width: 360px) {
  .tech-skill-grid:where(#tech, #tech *) {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }
}
@media (max-width: 360px) {
  .tech-skill-label:where(#tech, #tech *) {
    font-size: 0.82rem;
  }
}

.container:where(#tech, #tech *) {
  width: min(var(--content-max), calc(100% - clamp(32px, 7vw, 104px)));
}
#tech .container:where(#tech, #tech *) {
  width: min(1400px, calc(100% - clamp(32px, 6vw, 88px)));
}
main > section:not(.hero) .section-title:where(#tech, #tech *) {
  font-size: clamp(2.2rem, 3.9vw, 3.45rem);
}
main > section:not(.hero) .subtitle:where(#tech, #tech *) {
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
}
.core-stack-head:where(#tech, #tech *) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.38rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--stroke);
}
.core-stack-head h3:where(#tech, #tech *) {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
}
.core-stack-head p:where(#tech, #tech *) {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}
.core-stack-grid:where(#tech, #tech *) {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.35rem 0 1.5rem;
}
.core-stack-item:where(#tech, #tech *) {
  --brand: var(--primary);
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.85rem;
  min-height: 145px;
  padding: 1rem 0.75rem;
  border: 1px solid color-mix(in srgb, var(--brand) 70%, var(--stroke));
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--card2) 94%, transparent),
    color-mix(in srgb, var(--card) 95%, transparent)
  );
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--brand) 15%, transparent);
  text-align: center;
  transition:
    transform var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    background var(--t) var(--ease);
}
.core-stack-icon:where(#tech, #tech *) {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid color-mix(in srgb, var(--brand) 46%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--brand) 12%, var(--card));
  color: var(--brand);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--brand) 9%, transparent);
}
.core-stack-icon svg:where(#tech, #tech *) {
  width: 26px;
  height: 26px;
}
.core-stack-label:where(#tech, #tech *) {
  color: var(--txt);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.2;
}
.core-stack-item[data-brand='python']:where(#tech, #tech *) {
  --brand: #4b8bbe;
}
.core-stack-item[data-brand='fastapi']:where(#tech, #tech *) {
  --brand: #009688;
}
.core-stack-item[data-brand='postgresql']:where(#tech, #tech *) {
  --brand: #5b9bd5;
}
.core-stack-item[data-brand='redis']:where(#tech, #tech *) {
  --brand: #dc382d;
}
.core-stack-item[data-brand='pytorch']:where(#tech, #tech *) {
  --brand: #ee4c2c;
}
.core-stack-item[data-brand='scikitlearn']:where(#tech, #tech *) {
  --brand: #f7931e;
}
.core-stack-item[data-brand='huggingface']:where(#tech, #tech *) {
  --brand: #ffd21e;
}
.core-stack-item[data-brand='docker']:where(#tech, #tech *) {
  --brand: #2496ed;
}
.core-stack-item[data-brand='pytest']:where(#tech, #tech *) {
  --brand: #34a853;
}
.core-stack-item[data-brand='github']:where(#tech, #tech *) {
  --brand: #8b95a7;
}
.core-stack-item[data-brand='opentelemetry']:where(#tech, #tech *) {
  --brand: #f5a623;
}
.stack-explorer:where(#tech, #tech *) {
  border-top: 1px solid var(--stroke);
  padding-top: 0.2rem;
}
.stack-explorer-toggle:where(#tech, #tech *) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: fit-content;
  margin: 1rem auto 0;
  padding: 0.72rem 1.1rem;
  border: 1px solid var(--stroke2);
  border-radius: 999px;
  background: color-mix(in srgb, var(--card2) 78%, transparent);
  color: var(--txt);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
  transition: all var(--t) var(--ease);
}
.stack-explorer-toggle:where(#tech, #tech *)::-webkit-details-marker {
  display: none;
}
.stack-explorer-toggle:hover:where(#tech, #tech *) {
  border-color: color-mix(in srgb, var(--primary) 60%, var(--stroke2));
  background: color-mix(in srgb, var(--primary) 8%, var(--card2));
}
.stack-explorer-toggle span:first-child:where(#tech, #tech *) {
  font-weight: 900;
}
.stack-explorer-chevron:where(#tech, #tech *) {
  transition: transform var(--t) var(--ease);
}
.stack-explorer[open] .stack-explorer-chevron:where(#tech, #tech *) {
  transform: rotate(180deg);
}
.stack-explorer-body:where(#tech, #tech *) {
  padding-top: 1.1rem;
}
.stack-explorer-body .tech-tabs:where(#tech, #tech *) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
  width: 100%;
  margin: 0;
  padding: 0 0 1rem;
  overflow: visible;
  scrollbar-width: none;
}
.stack-explorer-body .tech-tabs:where(#tech, #tech *)::-webkit-scrollbar {
  display: none;
}
.stack-explorer-body .tech-tab:where(#tech, #tech *) {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 0.72rem 0.85rem;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
}
.stack-explorer-body .tech-tab .tab-ico:where(#tech, #tech *) {
  flex: 0 0 auto;
}
.tech-panel-head:where(#tech, #tech *) {
  margin: 0 0 1rem;
  padding: 0.1rem 0.15rem 0.9rem;
  border-bottom: 1px solid var(--stroke);
}
.tech-panel-head h4:where(#tech, #tech *) {
  margin: 0 0 0.3rem;
  font-size: 1.08rem;
}
.tech-panel-head p:where(#tech, #tech *) {
  margin: 0;
  color: var(--muted2);
  line-height: 1.55;
}
section.tech-panel:where(#tech, #tech *) {
  padding: 0 !important;
  scroll-margin-top: 0;
}
.tech-skill-grid > .tech-skill:where(#tech, #tech *) {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 46px auto;
  place-items: center;
  align-content: center;
  gap: 0.68rem;
  padding: 0.9rem 0.75rem;
  text-align: center;
}
.tech-skill-grid > .tech-skill > .tech-skill-icon:where(#tech, #tech *) {
  min-height: 0 !important;
  width: 46px;
  height: 46px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
}
.tech-skill-grid > .tech-skill > .tech-skill-icon svg:where(#tech, #tech *),
.tech-skill-grid > .tech-skill > .tech-skill-icon .inline-icon:where(#tech, #tech *) {
  width: 25px;
  height: 25px;
  display: block;
}
.tech-skill-grid > .tech-skill > .tech-skill-label:where(#tech, #tech *) {
  min-height: 0 !important;
  max-width: 18ch;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: block;
  color: var(--txt);
  font-size: 0.93rem;
  font-weight: 820;
  line-height: 1.25;
}
@media (hover: hover) {
  .core-stack-item:hover:where(#tech, #tech *) {
    transform: translateY(-4px);
    border-color: var(--brand);
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--brand) 7%, var(--card2)),
      var(--card)
    );
    box-shadow: 0 16px 40px color-mix(in srgb, var(--brand) 12%, transparent);
  }
}

@media (max-width: 1180px) {
  .core-stack-grid:where(#tech, #tech *) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .stack-explorer-body .tech-tabs:where(#tech, #tech *) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container:where(#tech, #tech *),
  #tech .container:where(#tech, #tech *) {
    width: min(100% - 24px, 1400px);
  }
}

@media (max-width: 720px) {
  main > section:not(.hero) .section-title:where(#tech, #tech *) {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }
}

@media (max-width: 720px) {
  .core-stack-grid:where(#tech, #tech *) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }
}

@media (max-width: 720px) {
  .core-stack-item:where(#tech, #tech *) {
    min-height: 118px;
    border-radius: 18px;
  }
}

@media (max-width: 720px) {
  .core-stack-icon:where(#tech, #tech *) {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 720px) {
  .core-stack-label:where(#tech, #tech *) {
    font-size: 0.9rem;
  }
}

@media (max-width: 720px) {
  .stack-explorer-body .tech-tabs:where(#tech, #tech *) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.58rem;
    padding-inline: 0;
  }
}

@media (max-width: 720px) {
  .stack-explorer-body .tech-tab:where(#tech, #tech *) {
    min-height: 54px;
    padding: 0.62rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 720px) {
  .tech-skill-grid > .tech-skill:where(#tech, #tech *) {
    min-height: 100px;
    padding: 0.72rem 0.55rem;
  }
}

@media (max-width: 720px) {
  .tech-skill-grid > .tech-skill > .tech-skill-icon:where(#tech, #tech *) {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 720px) {
  .tech-skill-grid > .tech-skill > .tech-skill-label:where(#tech, #tech *) {
    font-size: 0.84rem;
  }
}

@media (max-width: 430px) {
  .core-stack-grid:where(#tech, #tech *) {
    gap: 0.55rem;
  }
}

@media (max-width: 430px) {
  .core-stack-item:where(#tech, #tech *) {
    min-height: 110px;
    padding: 0.75rem 0.45rem;
  }
}

@media (max-width: 430px) {
  .core-stack-label:where(#tech, #tech *) {
    font-size: 0.82rem;
  }
}

@media (max-width: 430px) {
  .stack-explorer-body .tech-tabs:where(#tech, #tech *) {
    grid-template-columns: 1fr 1fr;
  }
}
/* Capabilities component cascade; zero-specificity boundaries protect other sections. */

section:where(#capabilities, #capabilities *) {
  scroll-margin-top: var(--section-scroll-offset);
}

html.preload .fade:where(#capabilities, #capabilities *) {
  opacity: 1 !important;
  transform: none !important;
}

.container:where(#capabilities, #capabilities *) {
  width: min(var(--maxw), calc(100% - 44px));
  margin: 0 auto;
}
section:where(#capabilities, #capabilities *) {
  padding: 110px 0;
  position: relative;
}

.card:where(#capabilities, #capabilities *) {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(180%);
  transition:
    transform var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
@supports (background: color-mix(in srgb, white, transparent)) {
  .card:where(#capabilities, #capabilities *) {
    background: color-mix(in srgb, var(--card) 86%, transparent);
  }
}
.card:hover:where(#capabilities, #capabilities *) {
  border-color: var(--stroke2);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(79, 140, 255, 0.12),
    0 0 44px rgba(79, 140, 255, 0.1);
}

.section-head:where(#capabilities, #capabilities *) {
  text-align: center;
  margin-bottom: 44px;
}
.title:where(#capabilities, #capabilities *) {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  background: linear-gradient(
    135deg,
    var(--txt) 0%,
    color-mix(in srgb, var(--txt) 92%, transparent) 28%,
    var(--primary) 76%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title.section-title:where(#capabilities, #capabilities *) {
  display: inline-block;
  position: relative;
}
.title.section-title:where(#capabilities, #capabilities *)::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    color-mix(in srgb, var(--primary) 55%, var(--accent)) 100%
  );
  box-shadow: 0 10px 30px rgba(79, 140, 255, 0.16);
  opacity: 0.95;
}
:root[data-theme='light'] .title.section-title:where(#capabilities, #capabilities *)::after {
  box-shadow: 0 10px 24px rgba(79, 140, 255, 0.14);
  opacity: 0.9;
}
.subtitle:where(#capabilities, #capabilities *) {
  margin-top: 10px;
  color: var(--muted2);
  font-size: 1.18rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.fade:where(#capabilities, #capabilities *) {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
  transition-delay: var(--d, 0ms);
}
.fade.in:where(#capabilities, #capabilities *) {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 720px) {
  section:where(#capabilities, #capabilities *) {
    padding: 86px 0;
  }
}
@media (max-width: 520px) {
  .container:where(#capabilities, #capabilities *) {
    width: min(var(--maxw), calc(100% - 28px));
  }
}

@media (max-width: 720px), (pointer: coarse) {
  .card:where(#capabilities, #capabilities *) {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (max-width: 720px), (pointer: coarse) {
  .card:where(#capabilities, #capabilities *) {
    background-color: color-mix(in srgb, var(--card2) 94%, var(--bg0));
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card:where(#capabilities, #capabilities *) {
    background-color: color-mix(in srgb, var(--card2) 96%, var(--bg0));
  }
}

.capabilities-grid:where(#capabilities, #capabilities *) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.service-card:where(#capabilities, #capabilities *) {
  padding: 18px;
}

.service-head:where(#capabilities, #capabilities *) {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--txt) 10%, transparent);
  margin-bottom: 14px;
}

.service-ico:where(#capabilities, #capabilities *) {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.22), rgba(255, 77, 141, 0.14));
  border: 1px solid var(--stroke2);
  box-shadow: 0 12px 34px rgba(79, 140, 255, 0.12);
  color: color-mix(in srgb, var(--txt) 92%, transparent);
}

.service-ico svg:where(#capabilities, #capabilities *) {
  font-size: 20px;
}

.service-head h3:where(#capabilities, #capabilities *) {
  font-family: var(--font-display);
  font-weight: 950;
  letter-spacing: -0.01em;
  font-size: 1.08rem;
  margin: 0;
  color: color-mix(in srgb, var(--txt) 94%, transparent);
}

.service-desc:where(#capabilities, #capabilities *) {
  margin: 0;
  padding: 0 10px 10px;
  color: var(--muted2);
  font-weight: 760;
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .capabilities-grid:where(#capabilities, #capabilities *) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .capabilities-grid:where(#capabilities, #capabilities *) {
    grid-template-columns: 1fr;
  }
}

svg.hydrated-icon:where(#capabilities, #capabilities *) {
  display: block;
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  section:where(#capabilities, #capabilities *) {
    padding: 74px 0;
  }
}

@media (max-width: 520px) {
  .container:where(#capabilities, #capabilities *) {
    width: min(var(--maxw), calc(100% - 28px));
  }
}

.capabilities-grid-final .service-card:where(#capabilities, #capabilities *) {
  min-height: 225px;
  display: flex;
  flex-direction: column;
}
.capabilities-grid-final .service-desc:where(#capabilities, #capabilities *) {
  flex: 1;
}

#capabilities .section-head .subtitle:where(#capabilities, #capabilities *) {
  max-width: 900px;
}

@media (max-width: 720px) {
  .capabilities-grid-final .service-card:where(#capabilities, #capabilities *) {
    min-height: 0;
  }
}

.capabilities-grid-final:where(#capabilities, #capabilities *) {
  align-items: stretch;
}
.capabilities-grid-final .service-card:where(#capabilities, #capabilities *) {
  min-height: 0;
  padding: 1.45rem;
}
.capabilities-grid-final .service-head:where(#capabilities, #capabilities *) {
  margin-bottom: 0.8rem;
}
.capabilities-grid-final .service-head h3:where(#capabilities, #capabilities *) {
  line-height: 1.22;
}
.capabilities-grid-final .service-desc:where(#capabilities, #capabilities *) {
  margin: 0;
  max-width: 46ch;
  line-height: 1.62;
}
section:where(#capabilities, #capabilities *) {
  padding-block: clamp(4.8rem, 7.5vw, 7.25rem);
}
.section-head:where(#capabilities, #capabilities *) {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.title:where(#capabilities, #capabilities *) {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.04;
  text-wrap: balance;
}
.subtitle:where(#capabilities, #capabilities *) {
  max-width: 780px;
  margin-top: 0.85rem;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.65;
  text-wrap: balance;
}
.capabilities-grid-final:where(#capabilities, #capabilities *) {
  gap: clamp(0.9rem, 1.7vw, 1.2rem);
}
.capabilities-grid-final .service-card:where(#capabilities, #capabilities *) {
  position: relative;
  min-height: 0;
  padding: clamp(1.2rem, 2vw, 1.55rem);
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
}
.capabilities-grid-final .service-card:where(#capabilities, #capabilities *)::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.capabilities-grid-final .service-card:hover:where(#capabilities, #capabilities *)::before {
  opacity: 1;
}
.capabilities-grid-final .service-head:where(#capabilities, #capabilities *) {
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}
.capabilities-grid-final .service-head h3:where(#capabilities, #capabilities *) {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.26;
}
.capabilities-grid-final .service-ico:where(#capabilities, #capabilities *) {
  flex: 0 0 auto;
}
.capabilities-grid-final .service-desc:where(#capabilities, #capabilities *) {
  max-width: 48ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.68;
}
@media (max-width: 1100px) {
  .capabilities-grid:where(#capabilities, #capabilities *) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  section:where(#capabilities, #capabilities *) {
    padding-block: 4rem;
  }
}

@media (max-width: 720px) {
  .container:where(#capabilities, #capabilities *) {
    width: min(var(--maxw), calc(100% - 28px));
  }
}

@media (max-width: 720px) {
  .title:where(#capabilities, #capabilities *) {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }
}

@media (max-width: 720px) {
  .section-head:where(#capabilities, #capabilities *) {
    margin-bottom: 1.8rem;
  }
}

@media (max-width: 720px) {
  .capabilities-grid:where(#capabilities, #capabilities *) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .capabilities-grid-final .service-card:where(#capabilities, #capabilities *) {
    padding: 1.2rem;
  }
}

@media (max-width: 420px) {
  .container:where(#capabilities, #capabilities *) {
    width: calc(100% - 22px);
  }
}

.container:where(#capabilities, #capabilities *) {
  width: min(var(--content-max), calc(100% - clamp(32px, 7vw, 104px)));
}
#capabilities .container:where(#capabilities, #capabilities *) {
  width: min(1400px, calc(100% - clamp(32px, 6vw, 88px)));
}
main > section:not(.hero) .section-title:where(#capabilities, #capabilities *) {
  font-size: clamp(2.2rem, 3.9vw, 3.45rem);
}
main > section:not(.hero) .subtitle:where(#capabilities, #capabilities *) {
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
}
.capabilities-grid-final:where(#capabilities, #capabilities *) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.capabilities-grid-final .service-card:where(#capabilities, #capabilities *) {
  min-height: 0;
  padding: 1.7rem 1.65rem;
}
.capabilities-grid-final .service-head h3:where(#capabilities, #capabilities *) {
  font-size: clamp(1.18rem, 1.55vw, 1.42rem);
  line-height: 1.25;
}
.capabilities-grid-final .service-desc:where(#capabilities, #capabilities *) {
  margin-top: 1.15rem;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.65;
}

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

@media (max-width: 720px) {
  .container:where(#capabilities, #capabilities *),
  #capabilities .container:where(#capabilities, #capabilities *) {
    width: min(100% - 24px, 1400px);
  }
}

@media (max-width: 720px) {
  main > section:not(.hero) .section-title:where(#capabilities, #capabilities *) {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }
}

@media (max-width: 720px) {
  .capabilities-grid-final:where(#capabilities, #capabilities *) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .capabilities-grid-final .service-card:where(#capabilities, #capabilities *) {
    padding: 1.35rem 1.2rem;
  }
}
/* Selected Projects rules in golden-master cascade order, scoped to this section. */
section:where(#supporting-work, #supporting-work *) {
  scroll-margin-top: var(--section-scroll-offset);
}
:where(a, button, input, textarea, select, [tabindex]):where(#supporting-work, #supporting-work *) {
  -webkit-tap-highlight-color: transparent;
}
:where(a, button, input, textarea, select, [tabindex]):focus-visible:where(
    #supporting-work,
    #supporting-work *
  ) {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 12px;
}
.container:where(#supporting-work, #supporting-work *) {
  width: min(var(--maxw), calc(100% - 44px));
  margin: 0 auto;
}
section:where(#supporting-work, #supporting-work *) {
  padding: 110px 0;
  position: relative;
}
.btn:where(#supporting-work, #supporting-work *) {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid color-mix(in srgb, var(--txt) 14%, transparent);
  background: color-mix(in srgb, var(--card) 86%, transparent);
  color: var(--txt);
  transition: all var(--t) var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}
.btn:where(#supporting-work, #supporting-work *)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.9s var(--ease);
  opacity: 0.85;
}
.btn:hover:where(#supporting-work, #supporting-work *) {
  transform: translateY(-3px);
  border-color: var(--stroke2);
  box-shadow: 0 18px 60px rgba(79, 140, 255, 0.14);
}
.btn:hover:where(#supporting-work, #supporting-work *)::before {
  transform: translateX(100%);
}
.btn.repo:where(#supporting-work, #supporting-work *) {
  min-width: 132px;
  min-height: 44px;
  background: linear-gradient(90deg, #5b8bff 0%, #8b5cf6 45%, #ff4d8d 100%);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 22px 80px rgba(79, 140, 255, 0.18),
    0 22px 80px rgba(255, 77, 141, 0.14);
  color: #fff;
}
.btn.repo:hover:where(#supporting-work, #supporting-work *) {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.2);
}
.btn.repo:active:where(#supporting-work, #supporting-work *) {
  transform: translateY(-1px) scale(0.99);
}
.btn.ghost:where(#supporting-work, #supporting-work *) {
  background: transparent;
}
.btn.small:where(#supporting-work, #supporting-work *) {
  padding: 10px 14px;
  font-weight: 900;
}
.section-head:where(#supporting-work, #supporting-work *) {
  text-align: center;
  margin-bottom: 44px;
}
.title:where(#supporting-work, #supporting-work *) {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  background: linear-gradient(
    135deg,
    var(--txt) 0%,
    color-mix(in srgb, var(--txt) 92%, transparent) 28%,
    var(--primary) 76%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.title.section-title:where(#supporting-work, #supporting-work *) {
  display: inline-block;
  position: relative;
}
.title.section-title:where(#supporting-work, #supporting-work *)::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    color-mix(in srgb, var(--primary) 55%, var(--accent)) 100%
  );
  box-shadow: 0 10px 30px rgba(79, 140, 255, 0.16);
  opacity: 0.95;
}
:root[data-theme='light'] .title.section-title:where(#supporting-work, #supporting-work *)::after {
  box-shadow: 0 10px 24px rgba(79, 140, 255, 0.14);
  opacity: 0.9;
}
.subtitle:where(#supporting-work, #supporting-work *) {
  margin-top: 10px;
  color: var(--muted2);
  font-size: 1.18rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.p-img:where(#supporting-work, #supporting-work *) {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
  transform: none;
  transition: transform var(--t2) var(--ease2);
}
@media (max-width: 900px) {
  .supporting-media .p-img:where(#supporting-work, #supporting-work *) {
    object-fit: contain;
    transform: none;
  }
}
.fade:where(#supporting-work, #supporting-work *) {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
  transition-delay: var(--d, 0ms);
}
.fade.in:where(#supporting-work, #supporting-work *) {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 720px) {
  section:where(#supporting-work, #supporting-work *) {
    padding: 86px 0;
  }
}
@media (max-width: 520px) {
  .container:where(#supporting-work, #supporting-work *) {
    width: min(var(--maxw), calc(100% - 28px));
  }
}
@media (hover: none) {
  .btn:hover:where(#supporting-work, #supporting-work *) {
    transform: none;
  }
}
.compact-head:where(#supporting-work, #supporting-work *) {
  margin-bottom: 22px;
}
.supporting-work:where(#supporting-work, #supporting-work *) {
  padding-top: clamp(56px, 8vw, 92px);
}
.supporting-shell:where(#supporting-work, #supporting-work *) {
  display: grid;
  grid-template-columns: minmax(310px, 0.92fr) minmax(0, 1.35fr);
  gap: 20px;
  align-items: start;
}
.supporting-list:where(#supporting-work, #supporting-work *) {
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: color-mix(in srgb, var(--card) 72%, transparent);
  backdrop-filter: blur(16px);
}
.supporting-row:where(#supporting-work, #supporting-work *) {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 54px;
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid var(--stroke);
  color: var(--txt);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    background var(--t) var(--ease),
    transform var(--t) var(--ease);
}
.supporting-row:last-child:where(#supporting-work, #supporting-work *) {
  border-bottom: 0;
}
.supporting-row:hover:where(#supporting-work, #supporting-work *),
.supporting-row.active:where(#supporting-work, #supporting-work *) {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}
.supporting-row.active:where(#supporting-work, #supporting-work *) {
  box-shadow: inset 3px 0 0 var(--primary);
}
.supporting-row:focus-visible:where(#supporting-work, #supporting-work *) {
  position: relative;
  z-index: 1;
  outline: none;
  box-shadow: inset 0 0 0 2px var(--primary);
}
.supporting-index:where(#supporting-work, #supporting-work *) {
  color: var(--muted2);
  font: 800 0.75rem/1 var(--font-mono);
  letter-spacing: 0.08em;
}
.supporting-name:where(#supporting-work, #supporting-work *) {
  font-weight: 900;
}
.supporting-kind:where(#supporting-work, #supporting-work *) {
  color: var(--muted2);
  font-size: 0.73rem;
  text-align: right;
}
.supporting-preview:where(#supporting-work, #supporting-work *) {
  display: grid;
  grid-template-rows: 225px auto;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: color-mix(in srgb, var(--card) 78%, transparent);
  box-shadow: var(--shadow);
}
.supporting-media:where(#supporting-work, #supporting-work *) {
  height: 225px;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.12), rgba(45, 212, 191, 0.07));
}
.supporting-media .p-img:where(#supporting-work, #supporting-work *) {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
}
.supporting-copy:where(#supporting-work, #supporting-work *) {
  padding: 18px 20px 20px;
}
.supporting-type:where(#supporting-work, #supporting-work *) {
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.supporting-copy h3:where(#supporting-work, #supporting-work *) {
  margin: 0 0 8px;
  font-size: 1.32rem;
}
.supporting-copy p:where(#supporting-work, #supporting-work *) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.supporting-actions:where(#supporting-work, #supporting-work *) {
  display: flex;
  gap: 9px;
  margin-top: 16px;
}
@media (max-width: 900px) {
  .supporting-shell:where(#supporting-work, #supporting-work *) {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .supporting-preview:where(#supporting-work, #supporting-work *) {
    grid-template-rows: 240px auto;
  }
}
@media (max-width: 900px) {
  .supporting-media:where(#supporting-work, #supporting-work *) {
    height: 240px;
  }
}
@media (max-width: 720px) {
  section:where(#supporting-work, #supporting-work *) {
    padding: 74px 0;
  }
}
@media (max-width: 720px) {
  .supporting-list:where(#supporting-work, #supporting-work *) {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
}
@media (max-width: 720px) {
  .supporting-row:where(#supporting-work, #supporting-work *) {
    flex: 0 0 min(78vw, 270px);
    grid-template-columns: 36px minmax(0, 1fr);
    min-height: 68px;
    padding: 13px 14px;
    border: 1px solid var(--stroke);
    border-radius: 16px;
    background: color-mix(in srgb, var(--card) 80%, transparent);
    scroll-snap-align: start;
  }
}
@media (max-width: 720px) {
  .supporting-row:last-child:where(#supporting-work, #supporting-work *) {
    border-bottom: 1px solid var(--stroke);
  }
}
@media (max-width: 720px) {
  .supporting-row.active:where(#supporting-work, #supporting-work *) {
    border-color: color-mix(in srgb, var(--primary) 42%, var(--stroke));
    box-shadow: inset 3px 0 0 var(--primary);
  }
}
@media (max-width: 720px) {
  .supporting-kind:where(#supporting-work, #supporting-work *) {
    display: none;
  }
}
@media (max-width: 720px) {
  .supporting-preview:where(#supporting-work, #supporting-work *) {
    grid-template-rows: 210px auto;
  }
}
@media (max-width: 720px) {
  .supporting-media:where(#supporting-work, #supporting-work *) {
    height: 210px;
  }
}
@media (max-width: 520px) {
  .container:where(#supporting-work, #supporting-work *) {
    width: min(var(--maxw), calc(100% - 28px));
  }
}
@media (max-width: 520px) {
  .supporting-actions:where(#supporting-work, #supporting-work *) {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .supporting-actions .btn:where(#supporting-work, #supporting-work *) {
    width: 100%;
  }
}
#supporting-work .section-head .subtitle:where(#supporting-work, #supporting-work *) {
  max-width: 900px;
}
section:where(#supporting-work, #supporting-work *) {
  padding-block: clamp(4.8rem, 7.5vw, 7.25rem);
}
.section-head:where(#supporting-work, #supporting-work *) {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.title:where(#supporting-work, #supporting-work *) {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.04;
  text-wrap: balance;
}
.subtitle:where(#supporting-work, #supporting-work *) {
  max-width: 780px;
  margin-top: 0.85rem;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.65;
  text-wrap: balance;
}
.supporting-shell:where(#supporting-work, #supporting-work *) {
  gap: clamp(1rem, 2vw, 1.5rem);
}
.supporting-row:where(#supporting-work, #supporting-work *) {
  min-height: 58px;
}
.supporting-row.active:where(#supporting-work, #supporting-work *) {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--primary) 14%, transparent),
    color-mix(in srgb, var(--card) 58%, transparent)
  );
}
.supporting-preview:where(#supporting-work, #supporting-work *) {
  border-radius: 22px;
}
.supporting-copy p:where(#supporting-work, #supporting-work *) {
  max-width: 64ch;
}
@media (max-width: 900px) {
  .supporting-shell:where(#supporting-work, #supporting-work *) {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  section:where(#supporting-work, #supporting-work *) {
    padding-block: 4rem;
  }
}
@media (max-width: 720px) {
  .container:where(#supporting-work, #supporting-work *) {
    width: min(var(--maxw), calc(100% - 28px));
  }
}
@media (max-width: 720px) {
  .title:where(#supporting-work, #supporting-work *) {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }
}
@media (max-width: 720px) {
  .section-head:where(#supporting-work, #supporting-work *) {
    margin-bottom: 1.8rem;
  }
}
@media (max-width: 420px) {
  .container:where(#supporting-work, #supporting-work *) {
    width: calc(100% - 22px);
  }
}
@media (max-width: 420px) {
  .supporting-actions:where(#supporting-work, #supporting-work *) {
    grid-template-columns: 1fr;
  }
}
.container:where(#supporting-work, #supporting-work *) {
  width: min(var(--content-max), calc(100% - clamp(32px, 7vw, 104px)));
}
main > section:not(.hero) .section-title:where(#supporting-work, #supporting-work *) {
  font-size: clamp(2.2rem, 3.9vw, 3.45rem);
}
main > section:not(.hero) .subtitle:where(#supporting-work, #supporting-work *) {
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
}
#supporting-work .container:where(#supporting-work, #supporting-work *) {
  width: min(1500px, calc(100% - clamp(32px, 4.5vw, 72px)));
}
.supporting-preview:where(#supporting-work, #supporting-work *) {
  grid-template-rows: auto auto;
  border-radius: 24px;
}
.supporting-media:where(#supporting-work, #supporting-work *) {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: color-mix(in srgb, var(--card2) 92%, transparent);
}
.supporting-media .p-img:where(#supporting-work, #supporting-work *) {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.supporting-copy:where(#supporting-work, #supporting-work *) {
  padding: clamp(1.25rem, 2vw, 1.7rem) clamp(1.3rem, 2.2vw, 1.9rem) clamp(1.35rem, 2.2vw, 1.8rem);
}
.supporting-type:where(#supporting-work, #supporting-work *) {
  margin-bottom: 0.55rem;
}
.supporting-copy h3:where(#supporting-work, #supporting-work *) {
  margin-bottom: 0.65rem;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1.22;
}
.supporting-copy p:where(#supporting-work, #supporting-work *) {
  max-width: 76ch;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.62;
  -webkit-line-clamp: 2;
}
.supporting-actions:where(#supporting-work, #supporting-work *) {
  margin-top: 1.15rem;
}
@media (min-width: 901px) {
  .supporting-shell:where(#supporting-work, #supporting-work *) {
    grid-template-columns: minmax(330px, 0.68fr) minmax(0, 1.72fr);
    gap: clamp(1.4rem, 2.2vw, 2rem);
    align-items: stretch;
  }
}
@media (min-width: 901px) {
  .supporting-list:where(#supporting-work, #supporting-work *) {
    display: grid;
    grid-template-rows: repeat(6, minmax(0, 1fr));
    height: 100%;
    align-self: stretch;
    border-radius: 22px;
  }
}
@media (min-width: 901px) {
  .supporting-row:where(#supporting-work, #supporting-work *) {
    min-height: 0;
    height: 100%;
    padding: clamp(16px, 1.4vw, 22px) clamp(16px, 1.35vw, 20px);
    align-content: center;
  }
}
@media (min-width: 901px) {
  .supporting-index:where(#supporting-work, #supporting-work *) {
    font-size: clamp(0.76rem, 0.8vw, 0.84rem);
  }
}
@media (min-width: 901px) {
  .supporting-name:where(#supporting-work, #supporting-work *) {
    font-size: clamp(0.98rem, 1.05vw, 1.12rem);
    line-height: 1.3;
  }
}
@media (min-width: 901px) {
  .supporting-kind:where(#supporting-work, #supporting-work *) {
    font-size: clamp(0.72rem, 0.78vw, 0.8rem);
    line-height: 1.25;
  }
}
@media (min-width: 901px) and (max-width: 1120px) {
  #supporting-work .container:where(#supporting-work, #supporting-work *) {
    width: min(100% - 36px, 1120px);
  }
}
@media (min-width: 901px) and (max-width: 1120px) {
  .supporting-shell:where(#supporting-work, #supporting-work *) {
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.35fr);
    gap: 1.15rem;
  }
}
@media (min-width: 901px) and (max-width: 1120px) {
  .supporting-row:where(#supporting-work, #supporting-work *) {
    padding-block: 15px;
  }
}
@media (min-width: 901px) and (max-width: 1120px) {
  .supporting-name:where(#supporting-work, #supporting-work *) {
    font-size: 0.98rem;
  }
}
@media (min-width: 901px) and (max-width: 1120px) {
  .supporting-kind:where(#supporting-work, #supporting-work *) {
    font-size: 0.71rem;
  }
}
@media (max-width: 900px) {
  #supporting-work .container:where(#supporting-work, #supporting-work *) {
    width: min(100% - 28px, 900px);
  }
}
@media (max-width: 900px) {
  .supporting-shell:where(#supporting-work, #supporting-work *) {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .supporting-list:where(#supporting-work, #supporting-work *) {
    order: 2;
  }
}
@media (max-width: 900px) {
  .supporting-preview:where(#supporting-work, #supporting-work *) {
    order: 1;
  }
}
@media (max-width: 900px) {
  .supporting-media:where(#supporting-work, #supporting-work *) {
    aspect-ratio: 16 / 9;
  }
}
@media (max-width: 720px) {
  .container:where(#supporting-work, #supporting-work *) {
    width: min(100% - 24px, 1400px);
  }
}
@media (max-width: 720px) {
  main > section:not(.hero) .section-title:where(#supporting-work, #supporting-work *) {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }
}
@media (max-width: 720px) {
  #supporting-work .container:where(#supporting-work, #supporting-work *) {
    width: min(100% - 24px, 720px);
  }
}
@media (max-width: 720px) {
  .supporting-shell:where(#supporting-work, #supporting-work *) {
    gap: 12px;
  }
}
@media (max-width: 720px) {
  .supporting-preview:where(#supporting-work, #supporting-work *) {
    border-radius: 20px;
  }
}
@media (max-width: 720px) {
  .supporting-media:where(#supporting-work, #supporting-work *) {
    aspect-ratio: 16 / 10;
  }
}
@media (max-width: 720px) {
  .supporting-copy:where(#supporting-work, #supporting-work *) {
    padding: 1.05rem 1rem 1.15rem;
  }
}
@media (max-width: 720px) {
  .supporting-copy h3:where(#supporting-work, #supporting-work *) {
    font-size: 1.24rem;
  }
}
@media (max-width: 720px) {
  .supporting-copy p:where(#supporting-work, #supporting-work *) {
    -webkit-line-clamp: 3;
  }
}

/* Continue the approved keyboard-focus treatment for project actions. */
#supporting-work .btn:focus-visible {
  border-radius: 999px;
  box-shadow: var(--ring);
}

/* Keep keyboard focus distinct from the selected marker on the mobile selector rail. */
#supporting-work .supporting-row:focus-visible {
  box-shadow: inset 0 0 0 2px var(--primary);
}
@media (max-width: 720px) {
  #supporting-work .supporting-row:focus-visible {
    border-radius: 16px;
  }
}
/* Featured Work and modal only; original cascade with zero-specificity boundaries. */
body.modal-open {
  overflow: hidden;
}

:where(a, button, input, textarea, select, [tabindex]):where(
  #projects,
  #projects *,
  #projectModal,
  #projectModal *
) {
  -webkit-tap-highlight-color: transparent;
}
:where(a, button, input, textarea, select, [tabindex]):focus-visible:where(
    #projects,
    #projects *,
    #projectModal,
    #projectModal *
  ) {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 12px;
}

.iconbtn:where(#projects, #projects *, #projectModal, #projectModal *) {
  border: 1px solid color-mix(in srgb, var(--txt) 14%, transparent);
  background: color-mix(in srgb, var(--card) 86%, transparent);
  color: var(--txt);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 850;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--t) var(--ease);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}
.iconbtn:hover:where(#projects, #projects *, #projectModal, #projectModal *) {
  transform: translateY(-2px);
  border-color: var(--stroke2);
  box-shadow: 0 16px 44px rgba(79, 140, 255, 0.14);
}

.btn:where(#projects, #projects *, #projectModal, #projectModal *) {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid color-mix(in srgb, var(--txt) 14%, transparent);
  background: color-mix(in srgb, var(--card) 86%, transparent);
  color: var(--txt);
  transition: all var(--t) var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}
.btn:where(#projects, #projects *, #projectModal, #projectModal *)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.9s var(--ease);
  opacity: 0.85;
}
.btn:hover:where(#projects, #projects *, #projectModal, #projectModal *) {
  transform: translateY(-3px);
  border-color: var(--stroke2);
  box-shadow: 0 18px 60px rgba(79, 140, 255, 0.14);
}
.btn:hover:where(#projects, #projects *, #projectModal, #projectModal *)::before {
  transform: translateX(100%);
}
.btn:is(.repo, .primary):where(#projects, #projects *, #projectModal, #projectModal *) {
  min-width: 132px;
  min-height: 44px;
  background: linear-gradient(90deg, #5b8bff 0%, #8b5cf6 45%, #ff4d8d 100%);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 22px 80px rgba(79, 140, 255, 0.18),
    0 22px 80px rgba(255, 77, 141, 0.14);
  color: #fff;
}
.btn:is(.repo, .primary):hover:where(#projects, #projects *, #projectModal, #projectModal *) {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.2);
}
.btn:is(.repo, .primary):active:where(#projects, #projects *, #projectModal, #projectModal *) {
  transform: translateY(-1px) scale(0.99);
}
.btn.ghost:where(#projects, #projects *, #projectModal, #projectModal *) {
  background: transparent;
}
.btn.small:where(#projects, #projects *, #projectModal, #projectModal *) {
  padding: 10px 14px;
  font-weight: 900;
}

.card:where(#projects, #projects *, #projectModal, #projectModal *) {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(180%);
  transition:
    transform var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
@supports (background: color-mix(in srgb, white, transparent)) {
  .card:where(#projects, #projects *, #projectModal, #projectModal *) {
    background: color-mix(in srgb, var(--card) 86%, transparent);
  }
}
.card:hover:where(#projects, #projects *, #projectModal, #projectModal *) {
  border-color: var(--stroke2);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(79, 140, 255, 0.12),
    0 0 44px rgba(79, 140, 255, 0.1);
}

.section-head:where(#projects, #projects *, #projectModal, #projectModal *) {
  text-align: center;
  margin-bottom: 44px;
}
.title:where(#projects, #projects *, #projectModal, #projectModal *) {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  background: linear-gradient(
    135deg,
    var(--txt) 0%,
    color-mix(in srgb, var(--txt) 92%, transparent) 28%,
    var(--primary) 76%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title.section-title:where(#projects, #projects *, #projectModal, #projectModal *) {
  display: inline-block;
  position: relative;
}
.title.section-title:where(#projects, #projects *, #projectModal, #projectModal *)::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    color-mix(in srgb, var(--primary) 55%, var(--accent)) 100%
  );
  box-shadow: 0 10px 30px rgba(79, 140, 255, 0.16);
  opacity: 0.95;
}
:root[data-theme='light']
  .title.section-title:where(#projects, #projects *, #projectModal, #projectModal *)::after {
  box-shadow: 0 10px 24px rgba(79, 140, 255, 0.14);
  opacity: 0.9;
}
.subtitle:where(#projects, #projects *, #projectModal, #projectModal *) {
  margin-top: 10px;
  color: var(--muted2);
  font-size: 1.18rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.grid3:where(#projects, #projects *, #projectModal, #projectModal *) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.p-card:where(#projects, #projects *, #projectModal, #projectModal *) {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.p-typebar:where(#projects, #projects *, #projectModal, #projectModal *) {
  margin: 14px 14px 12px;
  padding: 10px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent);
  color: color-mix(in srgb, var(--txt) 92%, transparent);
  font-weight: 950;
  font-size: 0.94rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.p-card:hover:where(#projects, #projects *, #projectModal, #projectModal *) {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    var(--shadow2),
    0 0 0 1px rgba(79, 140, 255, 0.1);
}
.p-card:where(#projects, #projects *, #projectModal, #projectModal *)::after {
  content: '';
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(
      420px 220px at var(--mx, 50%) var(--my, 40%),
      rgba(255, 255, 255, 0.1),
      transparent 60%
    ),
    linear-gradient(135deg, rgba(79, 140, 255, 0.08), rgba(255, 77, 141, 0.06));
  opacity: 0;
  transition: opacity var(--t2) var(--ease2);
  pointer-events: none;
}
.p-card:hover:where(#projects, #projects *, #projectModal, #projectModal *)::after {
  opacity: 1;
}

.p-top:where(#projects, #projects *, #projectModal, #projectModal *) {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      800px 260px at 30% 0%,
      color-mix(in srgb, var(--primary) 22%, transparent),
      transparent 55%
    ),
    linear-gradient(135deg, rgba(79, 140, 255, 0.16), rgba(255, 77, 141, 0.12));
  border-bottom: 1px solid color-mix(in srgb, var(--txt) 10%, transparent);
  aspect-ratio: 16/9;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform var(--t2) var(--ease2);
}
@supports not (aspect-ratio: 16/9) {
  .p-top:where(#projects, #projects *, #projectModal, #projectModal *) {
    height: 170px;
  }
}
.p-img:where(#projects, #projects *, #projectModal, #projectModal *) {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
  transform: none;
  transition: transform var(--t2) var(--ease2);
}
.p-card:hover .p-img:where(#projects, #projects *, #projectModal, #projectModal *) {
  transform: none;
}

.p-body:where(#projects, #projects *, #projectModal, #projectModal *) {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}
.p-body h3:where(#projects, #projects *, #projectModal, #projectModal *) {
  margin-top: 0;
  font-size: 1.14rem;
  font-weight: 950;
}
.p-body p:where(#projects, #projects *, #projectModal, #projectModal *) {
  margin-top: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.12rem;
}

.p-impact:where(#projects, #projects *, #projectModal, #projectModal *) {
  margin: 10px 0 10px;
  color: color-mix(in srgb, var(--txt) 86%, transparent);
  font-weight: 650;
  line-height: 1.5;
  font-size: 0.98rem;
}

.p-tags:where(#projects, #projects *, #projectModal, #projectModal *) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

.p-tags .tag:where(#projects, #projects *, #projectModal, #projectModal *) {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted2);
  font-size: 0.96rem;
  line-height: 1.1;
  user-select: none;
}

.p-actions:where(#projects, #projects *, #projectModal, #projectModal *) {
  margin-top: auto;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
}

.p-actions .btn:where(#projects, #projects *, #projectModal, #projectModal *) {
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  align-self: stretch;
  padding: 10px 18px;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
}

.p-actions .btn:is(.repo, .primary):where(#projects, #projects *, #projectModal, #projectModal *) {
  min-width: 0;
  min-height: 48px;
  padding: 10px 18px;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
}

.modal:where(#projects, #projects *, #projectModal, #projectModal *) {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}
.modal.show:where(#projects, #projects *, #projectModal, #projectModal *) {
  display: block;
}
.modal-backdrop:where(#projects, #projects *, #projectModal, #projectModal *) {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(6px);
}
:root[data-theme='light']
  .modal-backdrop:where(#projects, #projects *, #projectModal, #projectModal *) {
  background: rgba(30, 40, 70, 0.2);
}

.modal-card:where(#projects, #projects *, #projectModal, #projectModal *) {
  position: relative;
  width: min(980px, calc(100% - 24px));
  margin: 72px auto 24px;
  background: color-mix(in srgb, var(--card2) 84%, transparent);
  border: 1px solid var(--stroke2);
  border-radius: 24px;
  box-shadow: var(--shadow2);
  padding: 16px;
  max-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-head:where(#projects, #projects *, #projectModal, #projectModal *) {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.modal-type:where(#projects, #projects *, #projectModal, #projectModal *) {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--primary) 26%, transparent);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  font-weight: 950;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.modal-title:where(#projects, #projects *, #projectModal, #projectModal *) {
  margin-top: 10px;
  font-weight: 950;
  font-size: 1.3rem;
}
.modal-body:where(#projects, #projects *, #projectModal, #projectModal *) {
  margin-top: 14px;
  display: grid;
  grid-auto-rows: max-content;
  gap: 14px;
  flex: 1;
  overflow: auto;
  padding-right: 2px;
  padding-bottom: 6px;
}
.modal-media:where(#projects, #projects *, #projectModal, #projectModal *) {
  width: 100%;
  height: clamp(180px, 34vh, 420px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--txt) 10%, transparent);
  background:
    radial-gradient(
      900px 240px at 30% 0%,
      color-mix(in srgb, var(--primary) 20%, transparent),
      transparent 55%
    ),
    linear-gradient(135deg, rgba(79, 140, 255, 0.14), rgba(255, 77, 141, 0.1));
  display: grid;
  place-items: center;
}
.modal-media img:where(#projects, #projects *, #projectModal, #projectModal *) {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: none;
}

@media (max-width: 900px) {
  .modal-media:not(.is-evagix-media):where(#projects, #projects *, #projectModal, #projectModal *) {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 900px) {
  .p-top .p-img:where(#projects, #projects *, #projectModal, #projectModal *),
  .p-card:hover .p-img:where(#projects, #projects *, #projectModal, #projectModal *) {
    object-fit: contain;
    transform: none;
  }
}
.modal-grid:where(#projects, #projects *, #projectModal, #projectModal *) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.modal-block:where(#projects, #projects *, #projectModal, #projectModal *) {
  border: 1px solid color-mix(in srgb, var(--txt) 12%, transparent);
  background: color-mix(in srgb, var(--card) 74%, transparent);
  border-radius: 18px;
  padding: 12px;
}
.modal-block h4:where(#projects, #projects *, #projectModal, #projectModal *) {
  font-weight: 950;
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.modal-block p:where(#projects, #projects *, #projectModal, #projectModal *) {
  color: var(--muted);
  line-height: 1.8;
}
.modal-block ul:where(#projects, #projects *, #projectModal, #projectModal *) {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}
.modal-block li:where(#projects, #projects *, #projectModal, #projectModal *) {
  color: var(--muted);
  line-height: 1.7;
  font-weight: 750;
}
.taggrid:where(#projects, #projects *, #projectModal, #projectModal *) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.tag:where(#projects, #projects *, #projectModal, #projectModal *) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--txt) 12%, transparent);
  background: color-mix(in srgb, var(--card2) 60%, transparent);
  color: color-mix(in srgb, var(--txt) 88%, transparent);
  font-weight: 850;
  letter-spacing: 0.12px;
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .taggrid:where(#projects, #projects *, #projectModal, #projectModal *) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .taggrid:where(#projects, #projects *, #projectModal, #projectModal *) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .taggrid:where(#projects, #projects *, #projectModal, #projectModal *) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.modal-foot:where(#projects, #projects *, #projectModal, #projectModal *) {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--txt) 10%, transparent);
  background: color-mix(in srgb, var(--card2) 92%, transparent);
}

.fade:where(#projects, #projects *, #projectModal, #projectModal *) {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
  transition-delay: var(--d, 0ms);
}
.fade.in:where(#projects, #projects *, #projectModal, #projectModal *) {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .grid3:where(#projects, #projects *, #projectModal, #projectModal *) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .modal-grid:where(#projects, #projects *, #projectModal, #projectModal *) {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .grid3:where(#projects, #projects *, #projectModal, #projectModal *) {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .p-typebar:where(#projects, #projects *, #projectModal, #projectModal *) {
    font-size: 0.86rem;
  }
}

@media (hover: none) {
  .p-card:hover:where(#projects, #projects *, #projectModal, #projectModal *) {
    transform: none;
  }
}

@media (hover: none) {
  .btn:hover:where(#projects, #projects *, #projectModal, #projectModal *) {
    transform: none;
  }
}

@media (max-width: 720px), (pointer: coarse) {
  .card:where(#projects, #projects *, #projectModal, #projectModal *),
  .modal-card:where(#projects, #projects *, #projectModal, #projectModal *),
  .p-card:where(#projects, #projects *, #projectModal, #projectModal *) {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (max-width: 720px), (pointer: coarse) {
  .card:where(#projects, #projects *, #projectModal, #projectModal *),
  .modal-card:where(#projects, #projects *, #projectModal, #projectModal *),
  .p-card:where(#projects, #projects *, #projectModal, #projectModal *) {
    background-color: color-mix(in srgb, var(--card2) 94%, var(--bg0));
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card:where(#projects, #projects *, #projectModal, #projectModal *),
  .modal-card:where(#projects, #projects *, #projectModal, #projectModal *),
  .p-card:where(#projects, #projects *, #projectModal, #projectModal *) {
    background-color: color-mix(in srgb, var(--card2) 96%, var(--bg0));
  }
}
.flagship-grid:where(#projects, #projects *, #projectModal, #projectModal *) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.flagship-grid .p-card:where(#projects, #projects *, #projectModal, #projectModal *) {
  min-height: 100%;
  cursor: default;
}
.flagship-grid .p-card:hover:where(#projects, #projects *, #projectModal, #projectModal *) {
  transform: translateY(-3px) scale(1.008);
}
.flagship-grid .p-typebar:where(#projects, #projects *, #projectModal, #projectModal *) {
  justify-content: flex-start;
  width: max-content;
  max-width: calc(100% - 28px);
  padding: 8px 12px;
  font-size: 0.79rem;
  letter-spacing: 0.09em;
}
.flagship-grid .p-body:where(#projects, #projects *, #projectModal, #projectModal *) {
  gap: 10px;
  padding: 17px 18px 18px;
}
.flagship-grid .p-body h3:where(#projects, #projects *, #projectModal, #projectModal *) {
  margin-bottom: 1px;
  font-size: 1.34rem;
}
.flagship-grid .p-impact:where(#projects, #projects *, #projectModal, #projectModal *) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin: 0;
  color: var(--muted);
  font-size: 0.99rem;
  line-height: 1.6;
}
.flagship-grid .p-tags:where(#projects, #projects *, #projectModal, #projectModal *) {
  gap: 7px;
  margin-top: 1px;
}
.flagship-grid .p-tags .tag:where(#projects, #projects *, #projectModal, #projectModal *) {
  padding: 6px 9px;
  font-size: 0.78rem;
}
.flagship-grid .p-actions:where(#projects, #projects *, #projectModal, #projectModal *) {
  margin-top: auto;
  padding-top: 4px;
}
.flagship-grid .p-actions .btn:where(#projects, #projects *, #projectModal, #projectModal *) {
  min-height: 39px;
}

@media (max-width: 900px) {
  .flagship-grid:where(#projects, #projects *, #projectModal, #projectModal *) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .flagship-grid .p-body:where(#projects, #projects *, #projectModal, #projectModal *) {
    padding: 16px;
  }
}

@media (max-width: 520px) {
  .flagship-grid .p-actions:where(#projects, #projects *, #projectModal, #projectModal *) {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .flagship-grid .p-actions .btn:where(#projects, #projects *, #projectModal, #projectModal *) {
    width: 100%;
  }
}

#projects .section-head .subtitle:where(#projects, #projects *, #projectModal, #projectModal *) {
  max-width: 900px;
}
.section-head:where(#projects, #projects *, #projectModal, #projectModal *) {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.title:where(#projects, #projects *, #projectModal, #projectModal *) {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.04;
  text-wrap: balance;
}
.subtitle:where(#projects, #projects *, #projectModal, #projectModal *) {
  max-width: 780px;
  margin-top: 0.85rem;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.65;
  text-wrap: balance;
}
.flagship-grid:where(#projects, #projects *, #projectModal, #projectModal *) {
  gap: clamp(1rem, 2vw, 1.35rem);
}
.flagship-grid .p-card:where(#projects, #projects *, #projectModal, #projectModal *) {
  border-radius: 22px;
  overflow: hidden;
}
.flagship-grid .p-typebar:where(#projects, #projects *, #projectModal, #projectModal *) {
  margin: 1rem 1rem 0.7rem;
}
.flagship-grid .p-body:where(#projects, #projects *, #projectModal, #projectModal *) {
  padding: 1rem 1.1rem 1.15rem;
}
.flagship-grid .p-impact:where(#projects, #projects *, #projectModal, #projectModal *) {
  max-width: 58ch;
  -webkit-line-clamp: 2;
}
.flagship-grid .p-actions:where(#projects, #projects *, #projectModal, #projectModal *) {
  gap: 0.55rem;
}

@media (max-width: 900px) {
  .flagship-grid:where(#projects, #projects *, #projectModal, #projectModal *) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .title:where(#projects, #projects *, #projectModal, #projectModal *) {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }
}

@media (max-width: 720px) {
  .section-head:where(#projects, #projects *, #projectModal, #projectModal *) {
    margin-bottom: 1.8rem;
  }
}

@media (max-width: 420px) {
  .flagship-grid .p-impact:where(#projects, #projects *, #projectModal, #projectModal *) {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  .flagship-grid .p-actions:where(#projects, #projects *, #projectModal, #projectModal *) {
    grid-template-columns: 1fr;
  }
}
main
  > section:not(.hero)
  .section-title:where(#projects, #projects *, #projectModal, #projectModal *) {
  font-size: clamp(2.2rem, 3.9vw, 3.45rem);
}
main > section:not(.hero) .subtitle:where(#projects, #projects *, #projectModal, #projectModal *) {
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
}
.is-evagix-media:where(#projects, #projects *, #projectModal, #projectModal *) {
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 214, 255, 0.09), transparent 58%),
    color-mix(in srgb, var(--card2) 96%, #020713);
}
.is-evagix-media .p-img:where(#projects, #projects *, #projectModal, #projectModal *) {
  object-fit: contain !important;
  object-position: center !important;
  padding: clamp(10px, 1.4vw, 18px);
}
.modal-media.is-evagix-media .p-img:where(#projects, #projects *, #projectModal, #projectModal *) {
  padding: 0;
  background: #08111d;
}

@media (max-width: 720px) {
  main
    > section:not(.hero)
    .section-title:where(#projects, #projects *, #projectModal, #projectModal *) {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }
}

/* Preserve pill geometry and keep keyboard focus visible through the card/button cascade. */
#projects .btn:focus-visible,
#projectModal .btn:focus-visible,
#projectModal .iconbtn:focus-visible {
  border-radius: 999px;
  box-shadow: var(--ring);
}

/* Native case-study links preserve the approved card title treatment. */
#projects .p-body h3 a {
  color: inherit;
  text-decoration: none;
}

/* Compact card evidence remains separate from tags and wraps without truncation. */
#projects .p-body .p-proof {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}
/* Hero-only extraction: original relative rule order and effective overrides retained. */

section {
  scroll-margin-top: var(--section-scroll-offset);
}

html.preload .fade {
  opacity: 1 !important;
  transform: none !important;
}

.container {
  width: min(var(--maxw), calc(100% - 44px));
  margin: 0 auto;
}
section {
  padding: 110px 0;
  position: relative;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-top: 92px;
}
.hero-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 52px 0 18px;
  text-align: center;
}

.hero-avatar {
  width: clamp(162px, 18vw, 240px);
  height: clamp(162px, 18vw, 240px);
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--stroke2);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.32),
    0 0 44px rgba(79, 140, 255, 0.16);
  background: color-mix(in srgb, var(--card2) 60%, transparent);
  display: block;
  margin: 0 auto 14px;
}

.name {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.14;
  font-size: clamp(3.2rem, 6.2vw, 5.5rem);
  margin: 8px 0 12px;
  background: linear-gradient(135deg, var(--txt) 0%, var(--primary) 44%, var(--accent) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: nameGradient 8s ease-in-out infinite;
  text-shadow: 0 0 26px rgba(79, 140, 255, 0.1);
  display: inline-block;
  position: relative;
  overflow: visible;
  padding: 0 0.14em 0.08em 0.08em;
  text-wrap: balance;
}

.name::after {
  content: '';
  display: block;
  width: 42px;
  height: 2px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 85%, transparent);
  opacity: 0.95;
}

[data-theme='light'] .name::after {
  background: color-mix(in srgb, var(--accent) 70%, #000);
  opacity: 0.8;
}

.role {
  color: color-mix(in srgb, var(--txt) 78%, transparent);
  font-size: 1.42rem;
  font-weight: 780;
  margin: 2px 0 14px;
  letter-spacing: 0.35px;
  display: inline-block;
  position: relative;
}

.role::after {
  content: '';
  display: block;
  width: 34px;
  height: 2px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 85%, transparent);
  opacity: 0.95;
}

[data-theme='light'] .role::after {
  background: color-mix(in srgb, var(--accent) 70%, #000);
  opacity: 0.8;
}
.tagline {
  color: color-mix(in srgb, var(--txt) 80%, transparent);
  font-size: clamp(1.08rem, 1.45vw, 1.18rem);
  width: min(100%, 1180px);
  max-width: none;
  margin: 0 auto 28px;
  line-height: 1.85;
  white-space: normal;
  text-wrap: balance;
}

.hero-loop {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  max-width: 920px;
  margin: -10px auto 14px;
  font-size: 1.25rem;
  color: color-mix(in srgb, var(--txt) 78%, transparent);
}
.hero-loop .loop-text {
  font-weight: 870;
  letter-spacing: 0.2px;
}
.hero-loop .loop-cursor {
  margin-left: 2px;
  opacity: 1;
  animation: blink 1s steps(1, end) infinite;
}

@media (max-width: 1180px) {
  .tagline {
    width: min(100%, 980px);
    white-space: normal;
    text-wrap: balance;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-loop .loop-cursor {
    animation: none;
    opacity: 0.65;
  }
}

.cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.cta .btn:not(.primary) {
  border-color: color-mix(in srgb, var(--txt) 18%, transparent);
  background: color-mix(in srgb, var(--card) 78%, transparent);
}

.cta .btn:not(.primary):hover {
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  box-shadow: 0 22px 76px rgba(79, 140, 255, 0.18);
}

[data-theme='light'] .cta .btn:not(.primary) {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(0, 0, 0, 0.12);
}

.hero-cv-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  padding: 4px 8px;
  color: color-mix(in srgb, var(--txt) 72%, transparent);
  font-size: 0.98rem;
  font-weight: 850;
  text-decoration: none;
  border-radius: 10px;
  transition:
    color var(--t) var(--ease),
    background var(--t) var(--ease),
    transform var(--t) var(--ease);
}
.hero-cv-link:hover {
  color: var(--txt);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  transform: translateY(-1px);
}
.hero-cv-link:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.hero-cv-link span {
  color: var(--primary);
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid color-mix(in srgb, var(--txt) 14%, transparent);
  background: color-mix(in srgb, var(--card) 86%, transparent);
  color: var(--txt);
  transition: all var(--t) var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.9s var(--ease);
  opacity: 0.85;
}
.btn:hover {
  transform: translateY(-3px);
  border-color: var(--stroke2);
  box-shadow: 0 18px 60px rgba(79, 140, 255, 0.14);
}
.btn:hover::before {
  transform: translateX(100%);
}
.btn.primary {
  background: linear-gradient(135deg, rgba(79, 140, 255, 1), rgba(255, 77, 141, 0.92));
  border-color: rgba(79, 140, 255, 0.42);
  box-shadow: 0 18px 70px rgba(79, 140, 255, 0.24);
}

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

.fade {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
  transition-delay: var(--d, 0ms);
}
.fade.in {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 720px) {
  section {
    padding: 86px 0;
  }
}
@media (max-width: 520px) {
  .container {
    width: min(var(--maxw), calc(100% - 28px));
  }
}

@media (hover: none) {
  .btn:hover {
    transform: none;
  }
}

.hero-inner .name {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 6px auto 4px;
}
.hero-inner .role {
  display: block;
  width: fit-content;
  margin: 0 auto 10px;
}

.hero-inner .name::after {
  display: none;
}
.hero-divider {
  width: clamp(170px, 24vw, 260px);
  height: 3px;
  margin: 2px auto 12px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--primary) 86%, transparent),
    color-mix(in srgb, var(--accent) 86%, transparent)
  );
  opacity: 0.9;
}

[data-theme='light'] .hero-divider {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--primary) 60%, #000),
    color-mix(in srgb, var(--accent) 60%, #000)
  );
  opacity: 0.75;
}
.hero-inner .role::after {
  margin: 8px auto 0;
}

.hero-loop {
  flex-wrap: wrap;
}
.hero-loop .loop-text {
  text-align: center;
  line-height: 1.4;
}
.hero {
  min-height: 92svh;
  padding-top: 88px;
}
.hero-inner {
  padding: 42px 0 30px;
}
.hero-avatar {
  width: clamp(150px, 16vw, 210px);
  height: clamp(150px, 16vw, 210px);
  margin-bottom: 12px;
}
.name {
  font-size: clamp(3rem, 5.5vw, 4.9rem);
  margin-bottom: 7px;
}
.hero-inner .role {
  margin-bottom: 9px;
  font-size: clamp(1.14rem, 1.8vw, 1.32rem);
}
.tagline {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(1.02rem, 1.3vw, 1.14rem);
  line-height: 1.72;
}
.hero-cv-link {
  margin-top: 9px;
}

@media (max-width: 720px) {
  section {
    padding: 74px 0;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding-top: 104px;
    padding-bottom: 34px;
  }
}

@media (max-width: 720px) {
  .hero-inner {
    padding: 24px 0 10px;
  }
}

@media (max-width: 720px) {
  .hero-avatar {
    width: 126px;
    height: 126px;
  }
}

@media (max-width: 720px) {
  .name {
    font-size: clamp(2.35rem, 11.5vw, 2.95rem);
    white-space: nowrap;
    letter-spacing: -0.025em;
  }
}

@media (max-width: 720px) {
  .hero-divider {
    width: 150px;
    margin-bottom: 10px;
  }
}

@media (max-width: 720px) {
  .tagline {
    max-width: 560px;
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.62;
  }
}

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

@media (max-width: 520px) {
  .hero {
    padding-top: 92px;
  }
}

@media (max-width: 520px) {
  .hero-avatar {
    width: 116px;
    height: 116px;
  }
}

@media (max-width: 520px) {
  .name {
    font-size: clamp(2.15rem, 11.2vw, 2.55rem);
  }
}

@media (max-width: 520px) {
  .hero-inner .role {
    font-size: 1.08rem;
  }
}

@media (max-width: 520px) {
  .cta {
    gap: 9px;
    margin-top: 14px;
  }
}

@media (max-width: 520px) {
  .cta .btn {
    flex: 1 1 140px;
  }
}
section {
  padding-block: clamp(4.8rem, 7.5vw, 7.25rem);
}
.hero {
  min-height: min(880px, 100svh);
  display: grid;
  place-items: center;
  padding-top: 7.5rem;
  padding-bottom: 4rem;
}
.hero-inner {
  max-width: 920px;
}
.hero-avatar {
  width: clamp(132px, 11vw, 164px);
  height: clamp(132px, 11vw, 164px);
}
.hero-inner .name {
  font-size: clamp(3.35rem, 7vw, 5.8rem);
  line-height: 0.98;
  margin-top: 0.85rem;
  text-wrap: balance;
}
.hero-inner .role {
  margin-top: 0.2rem;
  font-size: clamp(1.15rem, 2vw, 1.48rem);
  letter-spacing: 0.015em;
}
.tagline {
  max-width: 760px;
  margin-inline: auto;
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  line-height: 1.68;
  text-wrap: balance;
}
.cta {
  margin-top: 1.55rem;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 7.4rem;
    padding-bottom: 3.5rem;
  }
}

@media (max-width: 900px) {
  .hero-inner .name {
    font-size: clamp(3rem, 9vw, 4.5rem);
  }
}

@media (max-width: 720px) {
  section {
    padding-block: 4rem;
  }
}

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

@media (max-width: 720px) {
  .hero {
    padding-top: 6.8rem;
    padding-bottom: 2.8rem;
  }
}

@media (max-width: 720px) {
  .hero-avatar {
    width: 112px;
    height: 112px;
  }
}

@media (max-width: 720px) {
  .hero-inner .name {
    font-size: clamp(2.45rem, 11vw, 3.25rem);
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .tagline {
    max-width: 35rem;
    font-size: 0.98rem;
    line-height: 1.62;
  }
}

@media (max-width: 720px) {
  .cta {
    width: 100%;
    max-width: 430px;
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .cta .btn {
    flex: 1 1 0;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 22px);
  }
}

@media (max-width: 420px) {
  .cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .cta .btn {
    width: 100%;
    min-width: 0;
  }
}
.hero-avatar {
  width: clamp(168px, 15vw, 218px);
  height: clamp(168px, 15vw, 218px);
}
@media (max-width: 720px) {
  .hero-avatar {
    width: 132px;
    height: 132px;
  }
}

.container {
  width: min(var(--content-max), calc(100% - clamp(32px, 7vw, 104px)));
}
.hero-avatar {
  width: clamp(162px, 18vw, 240px);
  height: clamp(162px, 18vw, 240px);
}
.hero .cta {
  margin-top: 20px;
  gap: 14px;
}
.hero .cta .btn {
  min-width: 164px;
  min-height: 52px;
  padding-inline: 24px;
}
.hero-cv-link {
  margin-top: 14px;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.hero-loop {
  width: min(100%, 880px);
  min-height: 2.1rem;
  margin: 1rem auto 0.15rem;
  padding-inline: 12px;
  color: color-mix(in srgb, var(--txt) 88%, transparent);
  font-family: var(--font-mono);
  font-size: clamp(0.94rem, 1.35vw, 1.12rem);
  font-weight: 860;
  line-height: 1.5;
  letter-spacing: 0.015em;
  text-transform: none;
}
.hero-loop .loop-text {
  display: inline-block;
  min-width: 0;
  text-align: center;
  text-wrap: balance;
}
.hero-loop .loop-cursor {
  flex: 0 0 auto;
  color: var(--primary);
  font-weight: 900;
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1400px);
  }
}

@media (max-width: 720px) {
  .hero-avatar {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 720px) {
  .hero .cta {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .hero .cta .btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 16px;
  }
}

@media (max-width: 720px) {
  .hero-loop {
    width: min(100%, 390px);
    min-height: 3.1rem;
    margin-top: 0.85rem;
    padding-inline: 4px;
    font-size: clamp(0.82rem, 3.7vw, 0.96rem);
    line-height: 1.45;
  }
}

@media (max-width: 430px) {
  .hero-loop {
    width: 100%;
    min-height: 3.2rem;
    font-size: clamp(0.78rem, 3.8vw, 0.9rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-loop .loop-cursor {
    display: none;
  }
}

@keyframes nameGradient {
  0%,
  100% {
    background-position: 0% 50%;
    filter: brightness(1);
  }
  50% {
    background-position: 100% 50%;
    filter: brightness(1.05);
  }
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Keep the approved focus token visible above normal CTA shadows. */
.hero .cta .btn:focus-visible {
  border-radius: 999px;
  box-shadow: var(--ring);
}
.hero-cv-link:focus-visible {
  border-radius: 10px;
}
/* About component cascade; zero-specificity boundaries protect other sections. */

.name-gradient:where(#about *) {
  background: linear-gradient(90deg, #5b8bff 0%, #8b5cf6 45%, #ff4d8d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.card:where(#about *) {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(180%);
  transition:
    transform var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}
@supports (background: color-mix(in srgb, white, transparent)) {
  .card:where(#about *) {
    background: color-mix(in srgb, var(--card) 86%, transparent);
  }
}
.card:hover:where(#about *) {
  border-color: var(--stroke2);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(79, 140, 255, 0.12),
    0 0 44px rgba(79, 140, 255, 0.1);
}

.section-head:where(#about *) {
  text-align: center;
  margin-bottom: 44px;
}
.title:where(#about *) {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  background: linear-gradient(
    135deg,
    var(--txt) 0%,
    color-mix(in srgb, var(--txt) 92%, transparent) 28%,
    var(--primary) 76%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title.section-title:where(#about *) {
  display: inline-block;
  position: relative;
}
.title.section-title:where(#about *)::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    color-mix(in srgb, var(--primary) 55%, var(--accent)) 100%
  );
  box-shadow: 0 10px 30px rgba(79, 140, 255, 0.16);
  opacity: 0.95;
}
:root[data-theme='light'] .title.section-title:where(#about *)::after {
  box-shadow: 0 10px 24px rgba(79, 140, 255, 0.14);
  opacity: 0.9;
}

#about .container {
  max-width: 980px;
}
.about-wrap:where(#about *) {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 760px;
  margin: 26px auto 0;
}
.about-card:where(#about *) {
  padding: 34px;
}

.about-hello:where(#about *) {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.62rem;
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--txt);
}

.about-lead:where(#about *) {
  margin: 0 0 18px;
  color: color-mix(in srgb, var(--txt) 72%, transparent);
  line-height: 1.78;
  font-size: 1.08rem;
  font-weight: 600;
}

.fade:where(#about *) {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
  transition-delay: var(--d, 0ms);
}
.fade.in:where(#about *) {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px), (pointer: coarse) {
  .card:where(#about *) {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (max-width: 720px), (pointer: coarse) {
  .card:where(#about *) {
    background-color: color-mix(in srgb, var(--card2) 94%, var(--bg0));
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card:where(#about *) {
    background-color: color-mix(in srgb, var(--card2) 96%, var(--bg0));
  }
}

.engineering-profile:where(#about *) {
  padding: clamp(24px, 3.2vw, 36px);
}
.engineering-profile .about-lead:where(#about *) {
  max-width: 920px;
}

@media (max-width: 520px) {
  .engineering-profile:where(#about *) {
    padding: 22px 18px;
  }
}
.about-wrap-final:where(#about *) {
  max-width: 1040px;
}
.about-wrap-final .about-card:where(#about *) {
  padding: clamp(28px, 4vw, 42px);
}
.about-wrap-final .about-lead:where(#about *) {
  max-width: 930px;
  margin-bottom: 15px;
}

@media (max-width: 720px) {
  .about-wrap-final .about-card:where(#about *) {
    padding: 24px 20px;
  }
}
.section-head:where(#about *) {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.title:where(#about *) {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.04;
  text-wrap: balance;
}
.about-wrap-final:where(#about *) {
  max-width: 1060px;
}
.about-wrap-final .about-card:where(#about *) {
  position: relative;
  overflow: visible;
  padding: clamp(1.7rem, 4vw, 2.8rem);
}
.about-hello:where(#about *) {
  max-width: 940px;
  line-height: 1.25;
  text-wrap: balance;
}
.about-wrap-final .about-lead:where(#about *) {
  max-width: 940px;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.78;
}

@media (max-width: 720px) {
  .title:where(#about *) {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }
}

@media (max-width: 720px) {
  .section-head:where(#about *) {
    margin-bottom: 1.8rem;
  }
}

@media (max-width: 720px) {
  .about-wrap-final .about-card:where(#about *) {
    padding: 1.4rem 1.2rem;
  }
}

@media (max-width: 720px) {
  .about-hello:where(#about *) {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }
}
#about .container {
  width: min(1400px, calc(100% - clamp(32px, 6vw, 88px)));
}
main > section:not(.hero) .section-title:where(#about *) {
  font-size: clamp(2.2rem, 3.9vw, 3.45rem);
}
.about-wrap-final:where(#about *) {
  max-width: 1240px;
}
#about .about-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.75rem, 3vw, 2.25rem);
  width: 100%;
  max-width: min(var(--maxw), 60rem);
  margin-inline: auto;
  padding: 0;
}
#about .about-hello {
  position: relative;
  padding-inline-start: 1.125rem;
  max-width: none;
  margin: 0;
  font-size: clamp(1.75rem, 2.1vw, 1.875rem);
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: wrap;
}
#about .about-hello::before {
  content: '';
  position: absolute;
  inset-block: 0.2em;
  inset-inline-start: 0;
  width: 2px;
  border-radius: 1px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  opacity: 0.75;
  pointer-events: none;
}
#about .about-copy {
  display: grid;
  gap: clamp(1.25rem, 2vw, 1.5rem);
  min-width: 0;
  max-width: none;
}
#about .about-lead {
  max-width: none;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 400;
  color: color-mix(in srgb, var(--txt) 74%, transparent);
}
#about .about-lead strong {
  font-weight: 600;
}
@media (min-width: 901px) {
  #about .container {
    max-width: 1400px;
  }
}

@media (max-width: 720px) {
  #about .container {
    width: min(100% - 40px, 1400px);
  }
}

@media (max-width: 720px) {
  #about .about-hello {
    font-size: clamp(1.4375rem, 6vw, 1.5rem);
    line-height: 1.6;
  }
}

@media (max-width: 720px) {
  #about .about-lead {
    font-size: 1.0625rem;
    line-height: 1.65;
    font-weight: 400;
  }
}

@media (max-width: 720px) {
  main > section:not(.hero) .section-title:where(#about *) {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }
}
