:root {
  color-scheme: dark;
  --bg: #121a29;
  --bg-alt: #182333;
  --panel: #1b293b;
  --panel-border: #34465c;
  --text: #f6f2ed;
  --muted: #b8bdc5;
  --accent: #90b7e8;
  --accent-blue: #acc8e9;
  --max: 1140px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.6 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.container {
  width: min(var(--max), calc(100% - 56px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent);
  color: #07121a;
  padding: 8px 15px;
  z-index: 99;
}
.skip-link:focus {
  top: 16px;
}
.background-orb {
  position: absolute;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.2;
  z-index: -1;
}
.orb-one {
  width: 520px;
  height: 520px;
  right: -140px;
  top: 60px;
  background: #607fac;
  border-radius: 50%;
}
.orb-two {
  width: 400px;
  height: 400px;
  left: -200px;
  top: 600px;
  background: #b68c69;
  border-radius: 50%;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(18, 26, 41, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #ffffff12;
}
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 800;
  white-space: nowrap;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: #293d57;
  border: 1px solid #607ca1;
  border-radius: 9px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: -0.1em;
}
.dot {
  color: var(--accent);
}
.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav a {
  color: #d4d1d0;
  font-size: 13px;
  font-weight: 650;
  transition: color 0.2s;
}
.nav a:hover {
  color: var(--accent);
}
.nav .nav-contact {
  color: var(--accent);
  border: 1px solid #718fb6;
  padding: 9px 15px;
  border-radius: 8px;
}
.nav-toggle {
  display: none;
}
.hero {
  min-height: 690px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: 80px;
  padding-bottom: 85px;
}
.eyebrow,
.section-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.19em;
  color: var(--accent);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background: var(--accent);
  box-shadow: 0 0 0 5px #90b7e81c;
}
.hero h1 {
  font-size: clamp(46px, 6.5vw, 86px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.065em;
  max-width: 940px;
  margin: 25px 0;
}
.gradient-text {
  background: linear-gradient(100deg, #b2d0f5, #d9ab83);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.hero-copy {
  max-width: 630px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}
.hero-actions {
  display: flex;
  gap: 13px;
  margin-top: 35px;
}
.btn {
  font-size: 14px;
  font-weight: 700;
  border-radius: 9px;
  padding: 13px 21px;
  display: inline-flex;
  align-items: center;
  gap: 25px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  color: #152337;
  background: var(--accent);
}
.btn-primary:hover {
  background: #bed6f3;
}
.btn-secondary {
  background: #26374b;
  border: 1px solid #4b6078;
}
.hero-bottom {
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  color: #949eae;
  font-size: 10px;
  letter-spacing: 0.15em;
  font-weight: 750;
}
.section {
  padding: 105px 0;
}
.section-alt {
  background: linear-gradient(180deg, #192436, #151e2c);
  border-top: 1px solid #324257;
  border-bottom: 1px solid #324257;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 45px;
  margin-bottom: 36px;
}
.section-kicker {
  margin: 0 0 12px;
}
.section-heading h2,
.about-layout h2 {
  font-size: clamp(32px, 4.1vw, 51px);
  line-height: 1.12;
  letter-spacing: -0.05em;
  margin: 0;
}
.section-heading > p {
  color: var(--muted);
  max-width: 380px;
  font-size: 15px;
  margin: 0 0 3px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.project-card {
  background: #202e40;
  border: 1px solid var(--panel-border);
  border-radius: 15px;
  overflow: hidden;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: #7897bb;
}
.project-visual {
  height: 235px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #ffffff12;
}
.project-body {
  padding: 25px 27px 28px;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 750;
}
.project-number {
  color: #acb2bd;
}
.project-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 8px 0;
}
.project-title-row h3 {
  font-size: 27px;
  letter-spacing: -0.04em;
  margin: 0;
}
.project-status {
  border: 1px solid #526782;
  background: #2c4159;
  color: #d7e4f2;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.02em;
  padding: 5px 9px;
  border-radius: 100px;
}
.project-description {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 8px 0 20px;
  min-height: 73px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-list span {
  font-size: 11px;
  font-weight: 650;
  color: #d1d2d6;
  background: #2d3c4e;
  border: 1px solid #415269;
  padding: 5px 9px;
  border-radius: 5px;
}
.project-link {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  margin-top: 21px;
}
.project-link-muted {
  color: #a3a8b3;
}
.visual-wind {
  background: radial-gradient(
    ellipse at 70% 30%,
    #456b89 0,
    #293e56 30%,
    #1b2a3c 75%
  );
}
.visual-map {
  inset: 0;
  position: absolute;
  background-image:
    linear-gradient(#9cc0f021 1px, transparent 1px),
    linear-gradient(90deg, #9cc0f021 1px, transparent 1px);
  background-size: 32px 32px;
}
.map-line {
  position: absolute;
  height: 2px;
  background: #a5c5ec;
  transform-origin: left;
  box-shadow: 0 0 14px #90b7e8;
}
.map-line.l1 {
  width: 220px;
  top: 110px;
  left: 80px;
  transform: rotate(-24deg);
}
.map-line.l2 {
  width: 150px;
  top: 110px;
  left: 80px;
  transform: rotate(32deg);
}
.map-line.l3 {
  width: 150px;
  top: 174px;
  left: 203px;
  transform: rotate(-49deg);
}
.map-point {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #c5dbf4;
  border: 3px solid #3d5975;
  border-radius: 50%;
  box-shadow: 0 0 0 9px #a5c5ec20;
}
.p1 {
  top: 104px;
  left: 74px;
}
.p2 {
  top: 20px;
  left: 276px;
}
.p3 {
  top: 167px;
  left: 198px;
}
.p4 {
  top: 56px;
  left: 298px;
}
.map-hud {
  position: absolute;
  bottom: 17px;
  left: 20px;
  color: #c5dbf4;
  font-size: 10px;
  letter-spacing: 0.18em;
}
.visual-svap {
  background: radial-gradient(ellipse at 70% 10%, #49688a, #1f3046 65%);
}
.visual-pipeline {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
}
.pipeline-node {
  border: 1px solid #96b5dd;
  background: #314963;
  box-shadow: 0 0 22px #a0bee32a;
  border-radius: 8px;
  padding: 14px 10px;
  font-size: 11px;
  letter-spacing: 0.07em;
  color: #dce9fa;
  font-weight: 800;
}
.pipeline-arrow {
  color: #b7cce5;
  font-size: 25px;
}
.visual-cascade {
  background: radial-gradient(circle, #6a4a382a, #332638 40%, #1c1b30 78%);
}
.visual-cascade {
  display: grid;
  place-items: center;
}
.cascade-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid #f7a66b67;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.r1 {
  width: 105px;
  height: 105px;
}
.r2 {
  width: 190px;
  height: 190px;
}
.r3 {
  width: 280px;
  height: 280px;
}
.cascade-center {
  display: grid;
  place-items: center;
  background: #7c4e41;
  border: 1px solid #edaa7d;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 26px;
  color: #ffd5ae;
}
.cascade-caption,
.hope-caption {
  position: absolute;
  bottom: 16px;
  left: 20px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #d7ad9c;
}
.visual-hope {
  background: radial-gradient(circle, #36466d, #19223f 50%, #111b32 90%);
  display: grid;
  place-items: center;
}
.hope-core {
  width: 67px;
  height: 67px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e4baff, #8b78d8 70%);
  box-shadow: 0 0 60px #a584ea7a;
}
.hope-orbit {
  position: absolute;
  border: 1px solid #aa9cda70;
  border-radius: 50%;
  width: 220px;
  height: 90px;
  transform: rotate(35deg);
}
.hope-orbit.o2 {
  transform: rotate(-35deg);
}
.hope-orbit.o3 {
  transform: rotate(90deg);
}
.hope-caption {
  color: #c8b7ef;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.process-card {
  padding: 26px 23px 28px;
  border: 1px solid #3b4a5e;
  border-radius: 12px;
  background: #202e40;
}
.step-num {
  font-size: 12px;
  font-weight: 800;
  color: #b0a497;
}
.step-icon {
  font-size: 31px;
  color: var(--accent);
  margin: 22px 0 12px;
}
.process-card h3,
.framework-card h3 {
  font-size: 18px;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
}
.process-card p,
.framework-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.framework-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.framework-card {
  border: 1px solid #3b4a5e;
  border-radius: 12px;
  background: #1b293b;
  padding: 27px;
}
.framework-icon {
  color: var(--accent);
  font-size: 25px;
  line-height: 1;
  margin-bottom: 20px;
  font-weight: 800;
}
.framework-card p {
  max-width: 430px;
  min-height: 54px;
  margin-bottom: 22px;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.about-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 20px;
}
.text-link {
  color: var(--accent);
  font-weight: 750;
  font-size: 14px;
}
.site-footer {
  padding: 32px 0;
  background: #111826;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-inner > span {
  color: #acacb5;
  font-size: 12px;
}
@media (max-width: 850px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav {
    gap: 20px;
  }
  .hero {
    min-height: 630px;
  }
  .about-layout {
    gap: 35px;
  }
}
@media (max-width: 650px) {
  .container {
    width: min(var(--max), calc(100% - 36px));
  }
  .header-inner {
    height: 68px;
  }
  .nav-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: #29394e;
    border: 1px solid #4a5e74;
    border-radius: 8px;
    cursor: pointer;
  }
  .nav-toggle span {
    height: 2px;
    width: 18px;
    background: var(--text);
  }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #1b2737;
    border-bottom: 1px solid #40536a;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 22px 22px;
    gap: 0;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 11px;
  }
  .nav .nav-contact {
    margin-top: 10px;
    text-align: center;
  }
  .hero {
    min-height: 610px;
    padding-top: 85px;
  }
  .hero h1 {
    font-size: clamp(43px, 12vw, 66px);
  }
  .hero-copy {
    font-size: 16px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.09em;
  }
  .hero-bottom {
    bottom: 20px;
  }
  .scroll-hint {
    display: none;
  }
  .section {
    padding: 75px 0;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 16px;
  }
  .project-grid,
  .framework-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }
  .project-visual {
    height: 205px;
  }
  .project-description {
    min-height: 0;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .process-card {
    padding: 20px 17px;
  }
  .footer-inner {
    flex-wrap: wrap;
  }
  .footer-inner > span:nth-child(2) {
    display: none;
  }
}
@media (max-width: 390px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    justify-content: space-between;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .project-title-row {
    align-items: flex-start;
  }
  .pipeline-node {
    font-size: 9px;
    padding: 10px 6px;
  }
  .pipeline-arrow {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* v1.1 — approachable blue palette; structure and behavior unchanged */
:root {
  --warm: #dfb48b;
  --panel: #202e40;
  --muted: #b8bdc5;
}
body {
  background:
    radial-gradient(ellipse 65% 22% at 82% 10%, #31435b55, transparent 75%),
    var(--bg);
}
.logo-mark {
  background: #30435b;
  border-color: #6684aa;
  border-radius: 11px;
}
.hero h1 {
  letter-spacing: -0.055em;
}
.gradient-text {
  background: linear-gradient(105deg, #b7d2f1 12%, #a9bde0 52%, #e0b58d 95%);
  background-clip: text;
  -webkit-background-clip: text;
}
.orb-two {
  opacity: 0.12;
}
.btn-primary {
  box-shadow: 0 8px 26px #0a142438;
}
.btn-secondary:hover,
.nav .nav-contact:hover {
  background: #2b3d52;
}
.project-card,
.process-card,
.framework-card {
  box-shadow: 0 10px 35px #0c14251a;
}
.project-card:hover {
  box-shadow: 0 18px 45px #0a14253b;
}
.project-status {
  color: #e6d9c8;
  border-color: #796b61;
  background: #433d3c;
}
.section-alt {
  background: linear-gradient(180deg, #1b2738, #172232);
}
.site-footer {
  border-top: 1px solid #344359;
}

/* v1.2 multi-page navigation and compact landing */
.nav a[aria-current="page"] {
  color: var(--accent);
  position: relative;
}
.nav a[aria-current="page"]:after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}
.hero {
  min-height: 580px;
  padding-block: 75px 95px;
}
.hero h1 {
  font-size: clamp(42px, 5.5vw, 72px);
  max-width: 1060px;
}
.hero-philosophy {
  margin: 18px 0 0;
  color: #dfb48b;
  font-size: 15px;
  font-style: italic;
}
.hero-bottom {
  bottom: 32px;
}
.home-featured {
  padding-top: 25px;
  padding-bottom: 110px;
}
.quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.quick-links > a {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  padding: 25px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.quick-links > a:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.quick-links span {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 750;
}
.quick-links strong {
  font-size: 20px;
}
.quick-links small {
  font-size: 13px;
  color: var(--muted);
}
.interior-page {
  min-height: calc(100vh - 230px);
  padding-top: 75px;
}
.project-details {
  border-top: 1px solid var(--panel-border);
  margin-top: 18px;
  padding-top: 12px;
}
.project-details summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}
.project-details p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}
.about-section.interior-page {
  padding-bottom: 100px;
}
@media (max-width: 850px) {
  .quick-links {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 510px;
  }
}
@media (max-width: 650px) {
  .nav a[aria-current="page"]:after {
    display: none;
  }
  .hero {
    min-height: 540px;
    padding-block: 75px;
  }
  .home-featured {
    padding-bottom: 70px;
  }
  .interior-page {
    padding-top: 55px;
  }
  .quick-links > a {
    padding: 20px;
  }
}

/* v1.3 — experience-led homepage */
.home-problems {
  padding-top: 28px;
  padding-bottom: 95px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.problem-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 13px;
  padding: 28px;
  min-height: 245px;
  box-shadow: 0 10px 35px #0c14251a;
}
.problem-number {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.problem-card h3 {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin: 16px 0 10px;
}
.problem-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.7;
}
.problem-context {
  margin-top: auto;
  font-size: 12px;
  font-weight: 650;
  color: #dfb48b;
}
.problem-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}
.problem-footer p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.problem-footer a {
  white-space: nowrap;
}
@media (max-width: 700px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .problem-card {
    min-height: 0;
    padding: 23px;
  }
  .problem-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .home-problems {
    padding-bottom: 70px;
  }
}

/* v1.4 — problem-set label in warm amber; experience heading stays primary */
.home-problems .section-kicker {
  color: var(--warm);
}

/* Featured work follows the experience overview. */
.home-work-links {
  padding-top: 10px;
  padding-bottom: 90px;
}
.home-work-links .section-kicker {
  color: var(--warm, #dfb48b);
}
@media (max-width: 650px) {
  .home-work-links {
    padding-top: 0;
    padding-bottom: 70px;
  }
}

/* v1.6 — experience cards link directly to corresponding Results projects */
a.problem-card {
  position: relative;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
a.problem-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 18px 45px #0a14253b;
}
a.problem-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.problem-category {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.problem-arrow {
  position: absolute;
  top: 24px;
  right: 25px;
  color: var(--accent);
  font-size: 20px;
}
.project-card[id] {
  scroll-margin-top: 105px;
}
.project-card:target {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px #90b7e83d;
}
@media (prefers-reduced-motion: reduce) {
  a.problem-card {
    transition: none;
  }
}

/* v1.8 — give the linked project a stronger, welcoming focus treatment. */
.project-card:target {
  position: relative;
  z-index: 1;
  border-color: #b7d2f1;
  box-shadow:
    0 0 0 2px #90b7e885,
    0 18px 55px #070f20b8,
    0 0 42px #90b7e852;
}
.project-card:target:hover {
  box-shadow:
    0 0 0 2px #90b7e899,
    0 24px 62px #070f20c9,
    0 0 48px #90b7e866;
}
.visual-education {
  height: 235px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(
    ellipse at 55% 35%,
    #4b6382 0%,
    #26354b 55%,
    #1b293b 100%
  );
  color: #e9e4da;
}
.education-label,
.education-caption {
  position: absolute;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #dcb593;
  font-weight: 750;
}
.education-label {
  top: 22px;
  left: 24px;
}
.education-caption {
  bottom: 18px;
  left: 24px;
}
.education-nodes {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 16px;
}
.education-nodes span:not(.education-arrow) {
  border: 1px solid #839fc3;
  background: #344963;
  border-radius: 7px;
  padding: 12px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.education-arrow {
  font-size: 21px;
  color: #b6cde8;
}
@media (max-width: 460px) {
  .education-nodes {
    gap: 5px;
  }
  .education-nodes span:not(.education-arrow) {
    font-size: 9px;
    padding: 10px 6px;
  }
}

/* v1.9: evidence-led results cards */
.project-applications {
  margin-top: 19px;
  border-top: 1px solid var(--panel-border);
  padding-top: 15px;
}
.project-applications h4 {
  font-size: 13px;
  color: var(--text);
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}
.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.sector-list span {
  background: #293b52;
  color: #c1dcfa;
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 11px;
}
.project-applications p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 11px 0 0;
}
.project-disclosure {
  font-size: 12px;
  color: #c6cbd4;
  margin: 18px 0 0;
  padding: 11px 12px;
  border-left: 2px solid var(--accent);
  background: #29384b;
}
.project-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}
.project-highlight {
  background: #293b52;
  border-radius: 8px;
  padding: 12px 7px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.project-highlight strong {
  color: var(--accent);
  font-size: 18px;
  line-height: 1.2;
}
.project-highlight span {
  color: var(--muted);
  font-size: 10px;
}
.project-card:target {
  border-color: var(--accent);
  box-shadow:
    0 0 0 2px #90b7e855,
    0 20px 65px #040b17c9,
    0 0 35px #90b7e844;
}

/* v1.9.1: education visual must not stretch with CSS grid row. */
@media (max-width: 650px) {
  .project-visual.visual-education {
    height: 205px;
  }
}

/* v2.0 — process page expanded to 5 stages with compact themed visuals */
.process-grid-enhanced {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.process-card-enhanced {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 20px 20px 22px;
  background: #202e40;
}
.process-card-enhanced .step-num {
  display: inline-block;
  margin-bottom: 12px;
  color: #d7bfaa;
  letter-spacing: 0.12em;
}
.process-card-enhanced h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}
.process-card-enhanced p {
  margin: 0 0 16px;
  min-height: 88px;
}
.process-card-enhanced .tag-list {
  margin-top: auto;
}
.process-card-enhanced .tag-list span {
  background: #2d3c4e;
  border-color: #415269;
}
.process-visual {
  height: 150px;
  border: 1px solid #3b4a5e;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #223146, #1b293b);
}
.process-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    #ffffff05 35%,
    transparent 70%
  );
}

.process-visual-problem {
  background: radial-gradient(
    circle at 50% 40%,
    #314764 0%,
    #223146 50%,
    #1a2536 100%
  );
}
.pv-target {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid #d39f7770;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.pv-ring-1 {
  width: 48px;
  height: 48px;
}
.pv-ring-2 {
  width: 98px;
  height: 98px;
}
.pv-ring-3 {
  width: 148px;
  height: 148px;
}
.pv-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #dfb48b;
  box-shadow: 0 0 0 10px #dfb48b22;
}
.pv-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9fc0e6;
}
.pv-dot-a {
  left: 34px;
  top: 38px;
}
.pv-dot-b {
  right: 34px;
  bottom: 36px;
}

.process-visual-evaluate {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 20%, #354c68, #1c2a3b 70%);
}
.pv-stack {
  position: absolute;
  min-width: 102px;
  text-align: center;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #e7eef9;
  border: 1px solid #8fa9cb;
  background: #344963;
}
.pv-oss {
  left: 26px;
  top: 28px;
}
.pv-env {
  right: 26px;
  top: 58px;
}
.pv-build {
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
}
.pv-connector {
  position: absolute;
  height: 2px;
  background: #a9c4e7;
  transform-origin: left;
  opacity: 0.75;
}
.pv-connector.c1 {
  width: 92px;
  left: 110px;
  top: 62px;
  transform: rotate(19deg);
}
.pv-connector.c2 {
  width: 88px;
  left: 126px;
  top: 90px;
  transform: rotate(-27deg);
}

.process-visual-design {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: radial-gradient(circle at 50% 0%, #3d5677, #1f2f45 64%);
}
.pv-node {
  border: 1px solid #96b5dd;
  background: #314963;
  box-shadow: 0 0 18px #a0bee32a;
  border-radius: 8px;
  padding: 12px 10px;
  font-size: 11px;
  letter-spacing: 0.07em;
  color: #dce9fa;
  font-weight: 800;
}
.pv-arrow {
  color: #b7cce5;
  font-size: 22px;
  font-weight: 800;
}

.process-visual-validate {
  background: radial-gradient(circle at 60% 15%, #38506f, #1d2c3f 70%);
}
.pv-chart {
  position: absolute;
  left: 30px;
  right: 86px;
  bottom: 28px;
  height: 78px;
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.pv-chart .bar {
  display: block;
  flex: 1;
  border: 1px solid #7e9dc3;
  background: linear-gradient(180deg, #5f7ea5, #324862);
  border-radius: 7px 7px 4px 4px;
}
.pv-chart .b1 {
  height: 34%;
}
.pv-chart .b2 {
  height: 58%;
}
.pv-chart .b3 {
  height: 78%;
}
.pv-chart .b4 {
  height: 52%;
}
.pv-check {
  position: absolute;
  right: 26px;
  top: 32px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #355070;
  border: 1px solid #98b7dd;
  color: #dbe8f8;
  font-weight: 800;
  box-shadow: 0 0 22px #90b7e82a;
}

.process-visual-deliver {
  background: radial-gradient(circle at 65% 30%, #405879, #1f2e42 68%);
}
.pv-doc {
  position: absolute;
  left: 42px;
  top: 28px;
  width: 58px;
  height: 78px;
  border-radius: 10px;
  background: #30465f;
  border: 1px solid #91accf;
  box-shadow: 0 0 18px #90b7e824;
}
.pv-doc:before,
.pv-doc:after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #c6d8ef;
  border-radius: 2px;
}
.pv-doc:before {
  top: 22px;
  box-shadow:
    0 14px 0 #c6d8ef,
    0 28px 0 #c6d8ef;
}
.pv-bubble {
  position: absolute;
  right: 42px;
  top: 38px;
  width: 64px;
  height: 44px;
  border-radius: 14px;
  background: #3a506e;
  border: 1px solid #9db6d7;
}
.pv-bubble:after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: -8px;
  width: 12px;
  height: 12px;
  background: #3a506e;
  border-left: 1px solid #9db6d7;
  border-bottom: 1px solid #9db6d7;
  transform: rotate(-45deg);
}
.pv-arrow-up {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  font-size: 24px;
  color: #dfb48b;
  font-weight: 800;
}

.process-principles {
  padding-top: 48px;
}
.process-principles .section-heading {
  margin-bottom: 0;
}
.process-principles-heading .section-kicker {
  color: var(--warm, #dfb48b);
}

@media (max-width: 1050px) {
  .process-grid-enhanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .process-grid-enhanced {
    grid-template-columns: 1fr;
  }
  .process-card-enhanced p {
    min-height: 0;
  }
  .process-visual {
    height: 132px;
  }
  .pv-stack {
    min-width: 90px;
    font-size: 10px;
    padding: 9px 8px;
  }
  .pv-oss {
    left: 16px;
    top: 18px;
  }
  .pv-env {
    right: 16px;
    top: 46px;
  }
  .pv-build {
    bottom: 16px;
  }
  .pv-connector.c1 {
    width: 72px;
    left: 90px;
    top: 47px;
  }
  .pv-connector.c2 {
    width: 72px;
    left: 98px;
    top: 73px;
  }
  .pv-chart {
    left: 22px;
    right: 78px;
  }
  .pv-doc {
    left: 28px;
    top: 23px;
  }
  .pv-bubble {
    right: 28px;
    top: 32px;
  }
}

/* v2.1 — interactive implementation strategy estimator */
.implementation-estimator {
  padding-top: 52px;
}
.estimator-heading .section-kicker {
  color: var(--warm, #dfb48b);
}
.estimator-layout {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}
.estimator-controls,
.estimator-chart-card {
  background: #202e40;
  border: 1px solid #34465c;
  border-radius: 15px;
  box-shadow: 0 10px 35px #0c14251a;
}
.estimator-controls {
  padding: 24px;
}
.estimator-chart-card {
  padding: 22px;
}
.estimator-control + .estimator-control {
  margin-top: 20px;
}
.estimator-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.estimator-label-row label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.estimator-label-row strong {
  font-size: 13px;
  color: var(--accent);
}
.estimator-controls input[type="range"] {
  width: 100%;
  appearance: none;
  background: transparent;
}
.estimator-controls input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: #30445d;
  border: 1px solid #46617f;
}
.estimator-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  margin-top: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #dfeaf8;
  box-shadow: 0 0 0 6px #90b7e824;
  cursor: pointer;
}
.estimator-controls input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: #30445d;
  border: 1px solid #46617f;
}
.estimator-controls input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #dfeaf8;
  box-shadow: 0 0 0 6px #90b7e824;
  cursor: pointer;
}
.estimator-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.estimator-recommendation {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #34465c;
}
.estimator-overline {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--warm, #dfb48b);
  text-transform: uppercase;
}
.estimator-recommendation h3 {
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: -0.035em;
}
.estimator-recommendation p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.estimator-recommendation .tag-list {
  margin-top: 16px;
}
.estimator-chart {
  position: relative;
  height: 360px;
  border-radius: 13px;
  border: 1px solid #3b4a5e;
  background: linear-gradient(180deg, #223146, #1b293b);
  overflow: hidden;
}
.estimator-chart:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    #ffffff05 35%,
    transparent 72%
  );
}
.chart-grid {
  position: absolute;
  inset: 20px 20px 34px 34px;
  background-image:
    linear-gradient(#9cc0f017 1px, transparent 1px),
    linear-gradient(90deg, #9cc0f017 1px, transparent 1px);
  background-size: 25% 25%;
  border-left: 1px solid #5f7b9a;
  border-bottom: 1px solid #5f7b9a;
}
.chart-zone {
  position: absolute;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #dce7f7;
  opacity: 0.82;
}
.zone-1 {
  left: 54px;
  bottom: 70px;
}
.zone-2 {
  right: 42px;
  bottom: 74px;
}
.zone-3 {
  left: 56px;
  top: 52px;
}
.zone-4 {
  right: 40px;
  top: 52px;
}
.zone-5 {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #dfb48b;
}
.chart-point {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dfb48b;
  border: 3px solid #f8eadc;
  box-shadow:
    0 0 0 8px #dfb48b24,
    0 0 24px #dfb48b55;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition:
    left 0.2s ease,
    top 0.2s ease;
}
.chart-axis {
  position: absolute;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8bdc5;
}
.chart-axis-y {
  left: -18px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left top;
}
.chart-axis-x {
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
}
.estimator-note {
  margin: 12px 4px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .estimator-layout {
    grid-template-columns: 1fr;
  }
  .estimator-chart {
    height: 330px;
  }
}
@media (max-width: 650px) {
  .implementation-estimator {
    padding-top: 38px;
  }
  .estimator-controls,
  .estimator-chart-card {
    padding: 18px;
  }
  .estimator-chart {
    height: 290px;
  }
  .chart-zone {
    font-size: 10px;
  }
  .zone-1 {
    left: 42px;
    bottom: 58px;
  }
  .zone-2 {
    right: 30px;
    bottom: 60px;
  }
  .zone-3 {
    left: 42px;
    top: 42px;
  }
  .zone-4 {
    right: 28px;
    top: 42px;
  }
  .chart-axis-y {
    left: -13px;
    font-size: 10px;
  }
  .chart-axis-x {
    font-size: 10px;
  }
}

/* v2.2 — transparent sources & methodology for qualitative strategy chart */
.estimator-sources {
  margin-top: 20px;
  background: #202e40;
  border: 1px solid #40536a;
  border-radius: 14px;
  overflow: hidden;
}
.estimator-sources summary {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 750;
  color: #f6f2ed;
  list-style: none;
}
.estimator-sources summary::-webkit-details-marker {
  display: none;
}
.estimator-sources summary:after {
  content: "⌄";
  margin-left: auto;
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s;
}
.estimator-sources[open] summary:after {
  transform: rotate(180deg);
}
.estimator-sources summary:hover {
  background: #2a3c51;
}
.sources-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: #dfb48b;
  border: 1px solid #526782;
  border-radius: 7px;
}
.sources-hint {
  font-size: 12px;
  color: #b8bdc5;
  font-weight: 500;
}
.sources-body {
  padding: 4px 23px 24px;
  border-top: 1px solid #40536a;
  color: #cbd0d7;
  font-size: 13px;
  line-height: 1.8;
}
.sources-body > p {
  margin: 17px 0;
}
.sources-body strong {
  color: #f6f2ed;
}
.sources-body h3 {
  color: #f6f2ed;
  margin: 24px 0 12px;
  font-size: 16px;
}
.sources-table-wrap {
  overflow-x: auto;
}
.sources-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 450px;
}
.sources-table th,
.sources-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #40536a;
}
.sources-table th {
  color: #90b7e8;
  font-size: 12px;
}
.sources-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.sources-list li {
  display: grid;
  gap: 3px;
}
.sources-list a {
  color: #a9cef8;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 650;
}
.sources-list span {
  color: #cbd0d7;
}
.sources-body .sources-caveat {
  border-left: 2px solid #dfb48b;
  padding: 10px 14px;
  background: #2a384b;
  border-radius: 0 6px 6px 0;
}
@media (max-width: 650px) {
  .estimator-sources summary {
    padding: 14px 16px;
    flex-wrap: wrap;
  }
  .sources-hint {
    width: 100%;
    padding-left: 43px;
  }
  .sources-body {
    padding: 4px 16px 18px;
  }
}

/* v2.3: one engineering-principle section, with direct chart manipulation */
.process-principles {
  margin-top: 20px;
  padding: 38px 30px 34px;
  border: 1px solid #425774;
  border-radius: 17px;
  background: linear-gradient(165deg, #202f43, #182638);
  box-shadow: 0 12px 36px #0b152629;
}
.process-principles .process-principles-heading {
  margin-bottom: 28px;
}
.process-principles .implementation-estimator {
  padding-top: 27px;
  border-top: 1px solid #40536a;
}
.estimator-heading h2 {
  font-size: clamp(24px, 3vw, 33px);
}
.estimator-chart {
  touch-action: none;
  cursor: crosshair;
}
.chart-point {
  cursor: grab;
  touch-action: none;
  z-index: 2;
}
.chart-point:active {
  cursor: grabbing;
}
.chart-point:focus-visible {
  outline: 3px solid #f6f2ed;
  outline-offset: 5px;
}
.estimator-drag-hint {
  margin: 12px 4px 0;
  color: #dfb48b;
  font-size: 12px;
  font-weight: 700;
}
@media (max-width: 650px) {
  .process-principles {
    padding: 26px 16px 24px;
  }
  .process-principles .process-principles-heading {
    margin-bottom: 20px;
  }
}

/* v2.4 — Frameworks: skill-led visual cards and working environments */
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.toolkit-card {
  background: #202e40;
  border: 1px solid #34465c;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 35px #0c14251a;
}
.toolkit-art {
  height: 142px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #ffffff18;
  background: radial-gradient(ellipse at 55% 25%, #3d5674, #203047 70%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.toolkit-content {
  padding: 24px 26px 28px;
}
.toolkit-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #dfb48b;
  margin: 0 0 8px;
}
.toolkit-card h3 {
  margin: 0 0 9px;
  font-size: 22px;
  letter-spacing: -0.025em;
}
.toolkit-content > p:not(.toolkit-label) {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.toolkit-art.visual-pipeline-art {
  gap: 14px;
}
.visual-pipeline-art span {
  font-size: 13px;
  font-weight: 800;
  color: #dbeafb;
  background: #324a66;
  border: 1px solid #96b5dd;
  border-radius: 9px;
  padding: 12px 15px;
}
.visual-pipeline-art i {
  font-style: normal;
  color: #dfb48b;
  font-size: 25px;
}
.visual-spatial-art .geo-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#9cc0f017 1px, transparent 1px),
    linear-gradient(90deg, #9cc0f017 1px, transparent 1px);
  background-size: 26px 26px;
}
.geo-route {
  position: absolute;
  width: 190px;
  height: 65px;
  border-top: 2px solid #b6d4f5;
  border-right: 2px solid #b6d4f5;
  transform: rotate(-15deg);
  border-radius: 20px;
}
.geo-pin {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 3px solid #d6e7fa;
  border-radius: 50%;
  background: #4c729f;
  box-shadow: 0 0 0 7px #90b7e820;
}
.geo-a {
  left: 27%;
  top: 60%;
}
.geo-b {
  left: 52%;
  top: 26%;
}
.geo-c {
  right: 23%;
  top: 46%;
}
.ml-node {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #c5d8f3;
  background: #5274a1;
  box-shadow: 0 0 19px #90b7e850;
  z-index: 1;
}
.ml-one {
  left: 29%;
  top: 34%;
}
.ml-two {
  left: 48%;
  top: 19%;
}
.ml-three {
  left: 54%;
  bottom: 18%;
}
.ml-four {
  right: 24%;
  top: 44%;
}
.ml-link {
  position: absolute;
  height: 2px;
  background: #b3cdec;
  transform-origin: left;
}
.ml-l1 {
  left: 34%;
  top: 42%;
  width: 86px;
  transform: rotate(-23deg);
}
.ml-l2 {
  left: 35%;
  top: 49%;
  width: 135px;
  transform: rotate(23deg);
}
.ml-l3 {
  left: 57%;
  top: 36%;
  width: 94px;
  transform: rotate(31deg);
}
.app-window {
  width: 190px;
  height: 108px;
  background: #243b55;
  border: 1px solid #9cb9de;
  border-radius: 10px;
  box-shadow: 0 12px 36px #0a142566;
  overflow: hidden;
}
.app-bar {
  height: 25px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 12px;
  border-bottom: 1px solid #6e89a7;
}
.app-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dfb48b;
}
.app-content {
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 22px 22px;
  gap: 8px;
}
.app-content div {
  background: #55759b;
  border-radius: 5px;
}
.app-content div:first-child {
  grid-row: span 2;
}
.framework-environments {
  padding-top: 68px;
}
.framework-environments .section-kicker {
  color: #dfb48b;
}
.environment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.environment-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  border: 1px solid #34465c;
  background: #202e40;
  padding: 22px;
  border-radius: 12px;
}
.environment-symbol {
  font-size: 28px;
  color: #90b7e8;
  line-height: 1;
}
.environment-item h3 {
  font-size: 17px;
  margin: 0 0 8px;
}
.environment-item p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.7;
}
@media (max-width: 850px) {
  .environment-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .toolkit-grid {
    grid-template-columns: 1fr;
  }
  .toolkit-art {
    height: 125px;
  }
  .toolkit-content {
    padding: 21px;
  }
  .framework-environments {
    padding-top: 48px;
  }
}

/* v2.5 — evidence-backed skills: subtle, accessible repository links */
.toolkit-card .tag-list a.evidence-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  color: #d6e8ff;
  background: #344c68;
  border: 1px solid #789ac3;
  padding: 5px 9px;
  border-radius: 5px;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s;
}
.toolkit-card .tag-list a.evidence-tag span {
  background: none;
  border: 0;
  padding: 0;
  color: #b8d2f2;
  font-size: 13px;
}
.toolkit-card .tag-list a.evidence-tag:hover {
  background: #3f5b7d;
  border-color: #b4d1f3;
  transform: translateY(-1px);
}
.toolkit-card .tag-list a.evidence-tag:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.framework-evidence-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 19px 0 0;
}
.evidence-example {
  font-weight: 700;
  color: #c7e0ff;
}
@media (prefers-reduced-motion: reduce) {
  .toolkit-card .tag-list a.evidence-tag {
    transition: none;
  }
}

/* v2.6 — About: credentials and professional associations */
.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}
.about-credential {
  display: inline-flex;
  align-items: center;
  border: 1px solid #6684aa;
  background: #293d55;
  color: #dce9f8;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
  padding: 9px 12px;
}
.about-credential:first-child {
  border-color: #a5846a;
  color: #eac5a2;
  background: #403a3b;
}
.about-associations {
  margin-top: 78px;
}
.about-associations .section-kicker {
  color: #dfb48b;
}
.association-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.association-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 110px;
  background: #202e40;
  border: 1px solid #34465c;
  border-radius: 12px;
  padding: 21px 45px 21px 20px;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.association-card:hover {
  transform: translateY(-3px);
  border-color: #90b7e8;
  box-shadow: 0 14px 34px #0a14253b;
}
.association-name {
  font-size: 18px;
  font-weight: 750;
  color: #f6f2ed;
}
.association-type {
  font-size: 12px;
  color: #b8bdc5;
  line-height: 1.5;
}
.association-arrow {
  position: absolute;
  top: 17px;
  right: 19px;
  color: #90b7e8;
  font-size: 19px;
}
.association-note {
  max-width: 810px;
  color: #b8bdc5;
  font-size: 12px;
  line-height: 1.7;
  margin: 20px 0 0;
}
@media (max-width: 850px) {
  .association-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .about-associations {
    margin-top: 50px;
  }
  .association-grid {
    grid-template-columns: 1fr;
  }
  .association-card {
    min-height: 95px;
  }
}

/* v2.7 — contact page */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 68px;
  align-items: start;
}
.contact-layout h1 {
  font-size: clamp(36px, 4.6vw, 59px);
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin: 12px 0 24px;
}
.contact-intro {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 500px;
}
.contact-privacy {
  color: #dfb48b;
  font-size: 13px;
  line-height: 1.7;
  max-width: 460px;
  margin-top: 30px;
}
.contact-form-card {
  padding: 30px;
  background: #202e40;
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  box-shadow: 0 18px 42px #0a142544;
}
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
#contact-form label {
  font-size: 13px;
  font-weight: 700;
  margin-top: 9px;
  color: #e3eaf2;
}
#contact-form input,
#contact-form textarea,
#contact-form select {
  font: inherit;
  color: #f6f2ed;
  background: #172438;
  border: 1px solid #4e6480;
  border-radius: 8px;
  padding: 11px 13px;
  width: 100%;
  min-width: 0;
}
#contact-form input:focus,
#contact-form textarea:focus,
#contact-form select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
#contact-form textarea {
  resize: vertical;
}
#contact-form select option {
  background: #172438;
}
.contact-submit {
  border: 0;
  margin-top: 18px;
  cursor: pointer;
  justify-content: space-between;
}
.contact-small {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
  line-height: 1.7;
}
.contact-setup {
  color: #dfb48b;
  font-size: 13px;
  line-height: 1.5;
}
.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  left: -9999px;
}
@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 650px) {
  .contact-form-card {
    padding: 20px;
  }
}

/* v2.9 About portrait slot */
.about-photo-frame {
  margin: 28px 0 22px;
  max-width: 365px;
  aspect-ratio: 4/3;
  background: #202e40;
  border: 1px solid #40546e;
  border-radius: 16px;
  padding: 9px;
  box-shadow: 0 15px 38px #0b14253d;
}
.about-photo-placeholder {
  height: 100%;
  width: 100%;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: radial-gradient(
    ellipse at 50% 35%,
    #3d526e 0,
    #273a50 48%,
    #1b293b 100%
  );
  color: #c2d7ef;
  overflow: hidden;
}
.about-photo-placeholder small {
  color: #c2d7ef;
  font-size: 10px;
  letter-spacing: 0.17em;
  font-weight: 750;
}
.portrait-outline {
  display: block;
  position: relative;
  width: 112px;
  height: 108px;
  overflow: hidden;
}
.portrait-outline:before {
  content: "";
  display: block;
  position: absolute;
  top: 8px;
  left: 40px;
  width: 32px;
  height: 32px;
  border: 3px solid #9bb8db;
  border-radius: 50%;
}
.portrait-outline:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -33px;
  left: 12px;
  width: 88px;
  height: 82px;
  border: 3px solid #9bb8db;
  border-radius: 46% 46% 10% 10%;
}
@media (max-width: 650px) {
  .about-photo-frame {
    max-width: 100%;
    width: 100%;
  }
}

/* v3.0 — personal branding and estimator readability */
.logo {
  letter-spacing: 0.045em;
  font-size: 13px;
}
.implementation-estimator {
  padding-top: 68px;
}
.estimator-heading {
  margin-bottom: 52px;
  align-items: start;
}
.estimator-heading h2 {
  max-width: 680px;
  line-height: 1.2;
}
.estimator-chart .chart-grid {
  left: 49px;
  bottom: 44px;
}
.estimator-chart .chart-axis-y {
  left: 11px;
  top: 50%;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  transform-origin: center;
  white-space: nowrap;
}
.estimator-chart .chart-axis-x {
  bottom: 11px;
  white-space: nowrap;
}
@media (max-width: 650px) {
  .header-inner .logo {
    font-size: 11px;
    gap: 7px;
    letter-spacing: 0;
  }
  .site-footer .logo {
    font-size: 12px;
    letter-spacing: 0;
  }
  .implementation-estimator {
    padding-top: 58px;
  }
  .estimator-heading {
    margin-bottom: 34px;
  }
  .estimator-chart .chart-axis-y {
    left: 7px;
    font-size: 10px;
  }
  .estimator-chart .chart-grid {
    left: 39px;
  }
}

/* v3.1 — progressive-disclosure Areas of Experience */
.experience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.experience-grid .experience-tile {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 220px;
  height: 220px;
  overflow: hidden;
  padding: 0;
  background: #202e40;
  border: 1px solid #34465c;
  border-radius: 13px;
  box-shadow: 0 10px 35px #0c14251a;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.experience-tile .experience-trigger {
  list-style: none;
  cursor: pointer;
  min-height: 72px;
  padding: 22px 18px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 8px;
}
.experience-tile .experience-trigger::-webkit-details-marker {
  display: none;
}
.experience-tile .problem-category {
  font-size: 11px;
  line-height: 1.5;
  color: #a9cbf4;
  letter-spacing: 0.09em;
  font-weight: 800;
}
.experience-expand-icon {
  flex: 0 0 auto;
  color: #dfb48b;
  font-size: 19px;
  line-height: 1;
}
.experience-reveal {
  padding: 0 18px 18px;
  opacity: 0;
  transform: translateY(7px);
  visibility: hidden;
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
  pointer-events: none;
}
.experience-tile .experience-reveal h3 {
  font-size: 15px;
  line-height: 1.28;
  margin: 0 0 8px;
}
.experience-tile .experience-reveal p {
  font-size: 12px;
  line-height: 1.55;
  margin: 0 0 9px;
  color: #c1cad7;
}
.experience-tile .experience-reveal .problem-context {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  color: #dfb48b;
  margin: 0 0 10px;
}
.experience-project-link {
  color: #b4d3f7;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
  font-weight: 750;
}
.experience-grid .experience-tile:is(:hover, :focus-within, [open]) {
  border-color: #91b5e2;
  box-shadow: 0 15px 35px #07112177;
  transform: none;
}
.experience-tile:is(:hover, :focus-within, [open]) .experience-trigger {
  padding-bottom: 12px;
  min-height: 53px;
}
.experience-tile:is(:hover, :focus-within, [open]) .experience-reveal {
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
}
.experience-tile:is(:hover, :focus-within, [open]) .experience-expand-icon {
  transform: rotate(45deg);
}
.experience-trigger:focus-visible,
.experience-project-link:focus-visible {
  outline: 2px solid #dfb48b;
  outline-offset: -4px;
  border-radius: 6px;
}
@media (max-width: 1050px) {
  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .experience-grid .experience-tile {
    height: 205px;
    min-height: 205px;
  }
}
@media (max-width: 650px) {
  .experience-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .experience-grid .experience-tile {
    height: 224px;
    min-height: 224px;
  }
  .experience-tile .experience-trigger {
    padding: 14px 12px;
    min-height: 65px;
  }
  .experience-tile .problem-category {
    font-size: 10px;
  }
  .experience-reveal {
    padding: 0 12px 14px;
  }
  .experience-tile .experience-reveal h3 {
    font-size: 13px;
  }
  .experience-tile .experience-reveal p {
    font-size: 11px;
    line-height: 1.4;
  }
  .experience-tile .experience-reveal .problem-context {
    font-size: 10px;
    margin-bottom: 6px;
  }
  .experience-project-link {
    font-size: 11px;
  }
}
@media (max-width: 400px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }
  .experience-grid .experience-tile {
    height: 195px;
    min-height: 195px;
  }
}
@media (hover: none) {
  .experience-tile:not([open]):not(:focus-within) .experience-reveal {
    visibility: hidden;
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .experience-tile,
  .experience-reveal {
    transition: none !important;
  }
}

/* Maintain sufficient room for revealed content without clipping. */
@media (min-width: 1051px) {
  .experience-grid .experience-tile {
    height: 274px;
    min-height: 274px;
  }
}
@media (min-width: 401px) and (max-width: 1050px) {
  .experience-grid .experience-tile {
    height: 275px;
    min-height: 275px;
  }
}
@media (max-width: 400px) {
  .experience-grid .experience-tile {
    height: 215px;
    min-height: 215px;
  }
}

/* v3.2: calm two-column experience tiles; staggered right column */
.experience-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  align-items: start;
  padding-bottom: 38px;
}
.experience-grid .experience-tile {
  height: 230px;
  min-height: 230px;
}
.experience-grid .experience-tile:nth-child(even) {
  transform: translateY(30px);
}
.experience-grid
  .experience-tile:is(:hover, :focus-within, [open]):nth-child(even) {
  transform: translateY(30px);
}
.experience-tile .experience-trigger {
  height: 100%;
  min-height: 0;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  transition:
    height 0.2s ease,
    padding 0.2s ease;
}
.experience-tile .problem-category {
  font-size: clamp(12px, 1.4vw, 16px);
  letter-spacing: 0.09em;
  max-width: 90%;
  line-height: 1.5;
}
.experience-expand-icon {
  position: absolute;
  right: 20px;
  top: 18px;
}
.experience-tile:is(:hover, :focus-within, [open]) .experience-trigger {
  height: auto;
  min-height: 54px;
  padding: 16px 20px 8px;
  justify-content: flex-start;
  text-align: left;
}
.experience-tile:is(:hover, :focus-within, [open]) .problem-category {
  font-size: 12px;
  max-width: calc(100% - 30px);
}
.experience-tile .experience-reveal {
  padding: 0 20px 18px;
}
@media (max-width: 650px) {
  .experience-grid {
    gap: 12px;
    padding-bottom: 24px;
  }
  .experience-grid .experience-tile {
    height: 245px;
    min-height: 245px;
  }
  .experience-grid .experience-tile:nth-child(even),
  .experience-grid
    .experience-tile:is(:hover, :focus-within, [open]):nth-child(even) {
    transform: translateY(18px);
  }
  .experience-tile .experience-trigger {
    padding: 12px;
  }
  .experience-tile .problem-category {
    font-size: 11px;
  }
  .experience-tile:is(:hover, :focus-within, [open]) .experience-trigger {
    padding: 12px 10px 6px;
  }
  .experience-tile .experience-reveal {
    padding: 0 10px 12px;
  }
}
@media (max-width: 400px) {
  .experience-grid {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }
  .experience-grid .experience-tile {
    height: 215px;
    min-height: 215px;
  }
  .experience-grid .experience-tile:nth-child(even),
  .experience-grid
    .experience-tile:is(:hover, :focus-within, [open]):nth-child(even) {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .experience-tile .experience-trigger {
    transition: none;
  }
}

/* v3.3 — accessible reveal: content truly opens, with soft rounded corners */
.experience-grid .experience-tile {
  border-radius: 26px;
  overflow: hidden;
}
.experience-grid .experience-tile[open] {
  height: auto;
  min-height: 230px;
  overflow: visible;
}
.experience-grid .experience-tile[open] .experience-trigger {
  height: auto;
  min-height: 62px;
  padding: 17px 22px 12px;
  justify-content: flex-start;
  text-align: left;
}
.experience-grid .experience-tile[open] .experience-reveal {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.experience-grid .experience-tile[open] .experience-trigger .problem-category {
  font-size: 12px;
  max-width: calc(100% - 36px);
}
.experience-grid .experience-tile[open] .experience-expand-icon {
  transform: rotate(45deg);
}
@media (max-width: 650px) {
  .experience-grid .experience-tile {
    border-radius: 22px;
  }
  .experience-grid .experience-tile[open] {
    height: auto;
    min-height: 245px;
  }
  .experience-grid .experience-tile[open] .experience-trigger {
    padding: 15px 14px 9px;
  }
  .experience-grid .experience-tile[open] .experience-reveal {
    padding: 0 14px 16px;
  }
}
@media (max-width: 400px) {
  .experience-grid .experience-tile[open] {
    min-height: 215px;
  }
}

/* v3.4: connected-node reveal. Central label anchors three satellite nodes. */
.experience-grid {
  gap: 24px 24px;
  align-items: start;
}
.experience-grid .experience-node-tile {
  border-radius: 30px;
  min-height: 180px;
  height: 180px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #2e435e 0%, #202e40 75%);
  transition:
    height 0.3s ease,
    border-color 0.2s ease,
    box-shadow 0.25s ease;
}
.experience-node-tile .experience-trigger {
  height: 100%;
  padding: 20px;
  justify-content: center;
  text-align: center;
}
.experience-node-tile .problem-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  max-width: 90%;
  padding: 14px 20px;
  border: 1px solid #708fb5;
  border-radius: 999px;
  background: #334c6a;
  color: #d3e7ff;
  box-shadow:
    0 0 0 9px #90b7e811,
    0 10px 24px #06101b44;
  font-size: clamp(12px, 1.25vw, 15px);
}
.experience-node-tile .experience-expand-icon {
  right: 22px;
  top: 17px;
}
.experience-grid .experience-node-tile[open] {
  height: auto;
  min-height: 390px;
  overflow: hidden;
  border-color: #90b7e8;
  box-shadow:
    0 18px 48px #06101b55,
    0 0 30px #90b7e81a;
}
.experience-grid .experience-node-tile[open] .experience-trigger,
.experience-grid
  .experience-node-tile:is(:hover, :focus-within)
  .experience-trigger {
  height: auto;
  min-height: 112px;
  padding: 16px 15px 13px;
  justify-content: center;
  text-align: center;
}
.experience-grid
  .experience-node-tile[open]
  .experience-trigger
  .problem-category,
.experience-grid
  .experience-node-tile:is(:hover, :focus-within)
  .problem-category {
  font-size: 12px;
  max-width: 90%;
}
.experience-node-tile .experience-network {
  padding: 0 18px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
}
.experience-node-tile[open] .experience-network {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.experience-network:before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  height: 18px;
  border-left: 2px solid #dfb48b88;
}
.experience-satellite {
  position: relative;
  min-width: 0;
  background: #263a50;
  border: 1px solid #567394;
  border-radius: 20px;
  padding: 16px 15px;
  box-shadow: 0 8px 20px #06101a33;
}
.experience-satellite:before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  height: 9px;
  border-left: 1px solid #dfb48b99;
}
.node-problem {
  grid-column: 1/-1;
}
.node-tools {
  grid-column: 1;
}
.node-project {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.satellite-label {
  display: block;
  color: #dfb48b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 7px;
}
.satellite-title {
  display: block;
  color: #f6f2ed;
  font-size: 14px;
  line-height: 1.4;
}
.experience-satellite p {
  margin: 8px 0 0 !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
  color: #c1cad7 !important;
}
.node-tools .satellite-title {
  color: #d3e7ff;
  font-size: 12px;
}
.node-project .experience-project-link {
  color: #d3e7ff;
  font-size: 13px;
}
.experience-node-tile .experience-trigger:focus-visible {
  outline: 2px solid #dfb48b;
  outline-offset: -5px;
}
@media (min-width: 651px) {
  .experience-grid .experience-node-tile:nth-child(even),
  .experience-grid
    .experience-node-tile:is(:hover, :focus-within, [open]):nth-child(even) {
    transform: translateY(32px);
  }
}
@media (max-width: 650px) {
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 0;
  }
  .experience-grid .experience-node-tile,
  .experience-grid .experience-node-tile[open] {
    min-height: 155px;
  }
  .experience-grid .experience-node-tile {
    height: 155px;
    border-radius: 25px;
  }
  .experience-grid .experience-node-tile:nth-child(even),
  .experience-grid
    .experience-node-tile:is(:hover, :focus-within, [open]):nth-child(even) {
    transform: none;
  }
  .experience-node-tile .experience-network {
    padding: 0 12px 15px;
    gap: 9px;
  }
  .experience-satellite {
    padding: 13px 11px;
    border-radius: 16px;
  }
  .experience-node-tile .problem-category {
    min-height: 60px;
  }
  .experience-grid .experience-node-tile[open] {
    min-height: 370px;
  }
}
@media (max-width: 390px) {
  .experience-node-tile .experience-network {
    grid-template-columns: 1fr;
  }
  .node-tools,
  .node-project {
    grid-column: 1;
  }
  .experience-grid .experience-node-tile[open] {
    min-height: 440px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .experience-grid .experience-node-tile {
    transition: none;
  }
}
