:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0b1120;
  color: #edf3ff;
  line-height: 1.65;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
a:focus-visible { outline: 2px solid #80e6ce; outline-offset: 4px; }
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 10; padding: 8px 14px; background: #80e6ce; color: #0b1120; }
.skip-link:focus { top: 12px; }
.container { width: min(100% - 48px, 1120px); margin-inline: auto; }
.site-header { border-bottom: 1px solid #233149; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 78px; }
.brand { flex: none; font-size: 1.24rem; font-weight: 800; letter-spacing: -.06em; text-decoration: none; }
.brand span { color: #80e6ce; }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); }
.site-nav a { color: #aebdd1; font-size: .82rem; font-weight: 600; white-space: nowrap; text-decoration: none; }
.site-nav a:hover, .profile-links a:hover { color: #80e6ce; }
.eyebrow { margin: 0 0 18px; color: #80e6ce; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { display: inline-block; margin-right: 10px; padding: 3px 7px; border: 1px solid #3a726e; border-radius: 4px; letter-spacing: 0; }
.hero { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(260px, .6fr); align-items: end; gap: 42px clamp(36px, 5vw, 70px); padding-block: clamp(100px, 11vw, 154px); }
.hero-copy { max-width: 760px; }
.hero-name { margin: 0 0 28px; font-size: 1.15rem; font-weight: 800; letter-spacing: -.035em; }
.hero-name span { display: inline-block; margin-left: 12px; color: #aebdd1; font-size: .86rem; font-weight: 600; letter-spacing: 0; }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(2.2rem, 3.5vw, 3.2rem); line-height: 1.16; letter-spacing: -.06em; word-break: keep-all; }
.hero h1 span { color: #80e6ce; }
.lead { max-width: 620px; margin: 34px 0 0; color: #d2ddec; font-size: 1.03rem; word-break: keep-all; }
.supporting-copy { max-width: 580px; margin: 12px 0 0; color: #9fb0c4; font-size: .94rem; word-break: keep-all; }
.profile-card { padding: 24px; border: 1px solid #2c3d54; border-radius: 14px; background: #101b2e; }
.profile-card .eyebrow { margin-bottom: 12px; }
.profile-links { display: grid; gap: 12px; margin-top: 20px; }
.profile-links > div { padding-top: 0; }
.profile-links > div > span { display: block; color: #80e6ce; font-size: .7rem; font-weight: 700; }
.profile-links a { display: flex; justify-content: space-between; gap: 6px; margin-top: 3px; font-size: .8rem; overflow-wrap: anywhere; text-decoration: none; }
.profile-links a span { flex: none; }
.section { padding-block: clamp(76px, 9vw, 122px); scroll-margin-top: 24px; }
.section-tint { border-block: 1px solid #1f2c40; background: #111b2c; }
.section-heading { margin-bottom: 46px; }
.section-heading h2 { margin: 0; font-size: clamp(1.55rem, 2.3vw, 2rem); line-height: 1.3; letter-spacing: -.04em; word-break: keep-all; }
.section-heading > p:last-child { margin: 16px 0 0; color: #aebdd1; }
.strategy-flow { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.strategy-flow::before { position: absolute; top: 20px; right: 20px; left: 20px; height: 2px; background: #375d63; content: ""; }
.strategy-flow > li { position: relative; min-width: 0; padding-right: 12px; }
.step-number { position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #80e6ce; border-radius: 50%; background: #111b2c; color: #80e6ce; font-size: .76rem; font-weight: 800; line-height: 1; }
.strategy-flow h3 { margin: 20px 0 12px; font-size: 1.18rem; letter-spacing: -.03em; }
.term-list, .skill-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.term-list li, .skill-list li { padding: 3px 7px; border: 1px solid #344761; border-radius: 4px; color: #b8c9da; font-size: .77rem; line-height: 1.4; }
.term-list li { padding: 5px 8px; font-size: .8rem; }
.experience { margin-top: 24px; padding: clamp(26px, 4vw, 44px); border: 1px solid #2b3c52; border-radius: 16px; background: #101a2b; scroll-margin-top: 24px; }
.experience-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.experience-number { margin: 0 0 10px; color: #80e6ce; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.experience-header h3 { margin: 0; font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.3; letter-spacing: -.03em; }
.experience-role { margin: 8px 0 0; color: #d2ddec; font-size: .95rem; font-weight: 700; }
.experience-role span { margin-left: 8px; color: #aebdd1; font-weight: 500; }
.experience-date { flex: none; margin-top: 24px; color: #80e6ce; font-size: .84rem; font-weight: 700; }
.experience-summary { max-width: 820px; margin: 24px 0 0; color: #b8c7da; font-size: 1rem; word-break: keep-all; }
.app-types { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.app-types span { padding: 5px 10px; border: 1px solid #344761; border-radius: 5px; color: #b8c7da; font-size: .79rem; }
.app-types strong { margin-left: 6px; color: #80e6ce; }
.responsibilities { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; margin-top: 34px; }
.responsibilities h4, .cases-heading { margin: 0; color: #80e6ce; font-size: .86rem; font-weight: 800; }
.responsibilities ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; margin: 0; padding-left: 18px; color: #b8c7da; font-size: .9rem; word-break: keep-all; }
.cases-heading { margin: 42px 0 18px; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.case-card { display: flex; flex-direction: column; min-height: 374px; padding: clamp(24px, 3vw, 34px); border: 1px solid #34465e; border-radius: 12px; background: #17243a; text-decoration: none; transition: border-color .15s ease; }
.case-card:hover { border-color: #80e6ce; }
.case-top { display: flex; justify-content: space-between; gap: 16px; font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.case-index { color: #80e6ce; }
.case-tag { padding: 3px 8px; border: 1px solid #3a5263; border-radius: 4px; color: #b4c7d7; font-size: .68rem; letter-spacing: 0; }
.case-feature { margin: 28px 0 0; }
.case-feature dt { color: #9bb0c3; font-size: .76rem; font-weight: 700; }
.case-feature dd { margin: 8px 0 0; }
.case-feature strong { display: block; color: #80e6ce; font-size: clamp(1.55rem, 2.35vw, 2rem); line-height: 1.28; letter-spacing: -.045em; word-break: keep-all; }
.case-feature-long strong { font-size: clamp(1.35rem, 1.9vw, 1.65rem); }
.case-card h5 { margin: 20px 0 0; font-size: 1.25rem; line-height: 1.4; letter-spacing: -.02em; word-break: keep-all; }
.case-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; margin: 24px 0 0; }
.case-details div { min-width: 0; }
.case-details div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.case-details dt { color: #91a8bd; font-size: .72rem; font-weight: 700; }
.case-details dd { margin: 4px 0 0; color: #cbd8e6; font-size: .88rem; word-break: keep-all; }
.case-link { display: block; margin-top: auto; padding-top: 22px; color: #80e6ce; font-size: 1.3rem; text-align: right; }
.skills-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.skill-group { padding: 22px 0; border-top: 2px solid #80e6ce; }
.skill-group h3 { margin: 0 0 12px; font-size: 1rem; }
.credentials-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.credential { padding: 25px 28px; border: 1px solid #304057; border-radius: 10px; background: #142036; }
.credential h3 { margin: 0 0 22px; color: #80e6ce; font-size: .86rem; }
.credential p { margin: 0 0 5px; font-size: 1.13rem; font-weight: 700; }
.credential time { color: #aebdd1; font-size: .84rem; }
.site-footer { padding-block: 24px; border-top: 1px solid #233149; color: #8295af; font-size: .82rem; }
.site-footer .container { display: flex; justify-content: space-between; gap: 16px; }
.detail-main { padding-block: 62px 112px; }
.back-link { display: inline-block; margin-bottom: 46px; color: #aebdd1; font-size: .9rem; text-decoration: none; }
.back-link:hover { color: #80e6ce; }
.detail-header { max-width: 870px; padding-bottom: 54px; border-bottom: 1px solid #304057; }
.detail-header h1 { margin: 0; font-size: clamp(1.75rem, 2.7vw, 2.3rem); line-height: 1.3; letter-spacing: -.04em; word-break: keep-all; }
.detail-header > p:last-child { margin: 22px 0 0; color: #aebdd1; font-size: 1.06rem; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; color: #80e6ce; font-size: .85rem; font-weight: 700; }
.detail-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 850px; margin: 34px 0 0; }
.detail-highlights div { padding: 20px 22px; border: 1px solid #304057; border-radius: 10px; background: #142036; }
.detail-highlights dt { color: #aebdd1; font-size: .76rem; font-weight: 700; }
.detail-highlights dd { margin: 7px 0 0; color: #80e6ce; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 800; line-height: 1.3; word-break: keep-all; }
.detail-flow { display: flex; flex-wrap: wrap; gap: 10px; max-width: 850px; margin: 24px 0 0; padding: 0; list-style: none; }
.detail-flow li { display: flex; align-items: center; gap: 10px; color: #d2ddec; font-size: .86rem; font-weight: 700; }
.detail-flow li + li::before { color: #80e6ce; content: "→"; }
.detail-content { max-width: 850px; }
.detail-block { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 30px; padding: 38px 0; border-bottom: 1px solid #304057; }
.detail-block h2 { margin: 0; color: #80e6ce; font-size: .92rem; font-weight: 800; letter-spacing: .02em; }
.detail-block p, .detail-block ul { margin: 0; color: #d2ddec; word-break: keep-all; }
.detail-block p + p { margin-top: 14px; }
.detail-block ul { padding-left: 20px; }
.detail-block li + li { margin-top: 9px; }
.detail-block-wide { grid-template-columns: 1fr; gap: 16px; }
.harness-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; }
.harness-roles div { padding: 16px 18px; border: 1px solid #304057; border-radius: 8px; background: #142036; }
.harness-roles dt { color: #80e6ce; font-size: .86rem; font-weight: 800; }
.harness-roles dd { margin: 6px 0 0; color: #d2ddec; font-size: .88rem; word-break: keep-all; }
.harness-diagram { max-width: 760px; margin: 24px 0; }
.harness-diagram figcaption { margin-bottom: 12px; color: #80e6ce; font-size: .85rem; font-weight: 800; }
.diagram-steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.diagram-steps li { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 58px; padding: 12px 16px; border: 1px solid #344761; border-radius: 7px; background: #17243a; }
.diagram-steps li span { color: #80e6ce; font-size: .78rem; font-weight: 800; }
.diagram-steps li strong { font-size: .92rem; line-height: 1.45; word-break: keep-all; }
.diagram-steps li small { grid-column: 2; margin-top: -8px; color: #aebdd1; font-size: .73rem; }
.harness-diagram .diagram-note { margin: 18px 0 0; padding-left: 14px; border-left: 2px solid #80e6ce; color: #d2ddec; font-size: .87rem; }
.diagram-note strong { margin-right: 8px; color: #80e6ce; }
.detail-next { display: inline-block; margin-top: 42px; color: #80e6ce; font-weight: 700; text-decoration: none; }
.detail-next:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .header-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 10px; padding-block: 16px; }
  .site-nav { width: 100%; overflow-x: auto; padding-bottom: 5px; }
  .hero { grid-template-columns: 1fr; padding-block: 96px; }
  .profile-card { max-width: 420px; }
  .strategy-flow { grid-template-columns: 1fr; gap: 26px; }
  .strategy-flow::before { top: 20px; right: auto; bottom: 20px; left: 20px; width: 2px; height: auto; }
  .strategy-flow > li { min-height: 42px; padding: 0 0 0 68px; }
  .step-number { position: absolute; top: 0; left: 0; }
  .strategy-flow h3 { margin: 2px 0 10px; }
  .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .container { width: min(100% - 36px, 1120px); }
  .site-nav { display: grid; grid-template-columns: repeat(3, max-content); gap: 8px 18px; overflow-x: visible; }
  .hero { gap: 40px; padding-block: 74px 90px; }
  .hero h1 { font-size: clamp(1.95rem, 7vw, 2.45rem); }
  .section { padding-block: 70px; }
  .case-grid, .credentials-grid { grid-template-columns: 1fr; }
  .experience { margin-top: 18px; padding: 24px 18px; }
  .experience-header { flex-direction: column; gap: 4px; }
  .experience-date { margin-top: 0; }
  .responsibilities { grid-template-columns: 1fr; gap: 12px; }
  .responsibilities ul { grid-template-columns: 1fr; }
  .case-card { min-height: 0; padding: 24px; }
  .case-details { grid-template-columns: 1fr; gap: 12px; }
  .case-details div:last-child:nth-child(odd) { grid-column: auto; }
  .case-feature strong { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .case-feature-long strong { font-size: clamp(1.35rem, 5.4vw, 1.6rem); }
  .detail-main { padding-block: 42px 80px; }
  .detail-highlights { grid-template-columns: 1fr; gap: 8px; }
  .detail-highlights div { padding: 15px 18px; }
  .detail-flow { flex-direction: column; gap: 7px; }
  .detail-flow li + li::before { transform: rotate(90deg); }
  .back-link { margin-bottom: 32px; }
  .detail-block { grid-template-columns: 1fr; gap: 10px; padding-block: 28px; }
  .harness-roles { grid-template-columns: 1fr; }
  .diagram-steps li { grid-template-columns: 72px minmax(0, 1fr); padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .case-card { transition: none; }
}
