:root {
  color-scheme: dark;
  --background: #0b1019;
  --surface: #111a27;
  --surface-raised: #172333;
  --text: #f0f3ff;
  --muted: #c3cedd;
  --subtle: #a4afbf;
  --accent: #67f5d2;
  --line: #263345;
  --purple: #b791ff;
  --amber: #f3bd65;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: Inter, "Segoe UI", Roboto, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --display: var(--sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-width: 0;
  margin: 0;
  background:
    radial-gradient(ellipse at 82% 18%, rgb(103 245 210 / 9%), transparent 25rem),
    radial-gradient(ellipse at 14% 48%, rgb(183 145 255 / 5%), transparent 30rem),
    var(--background);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background-image:
    radial-gradient(circle, rgb(230 242 255 / 52%) 0 1px, transparent 1.5px),
    linear-gradient(rgb(103 245 210 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(103 245 210 / 3%) 1px, transparent 1px);
  background-position: 16px 27px, center center, center center;
  background-size: 109px 97px, 42px 42px, 42px 42px;
  content: "";
  opacity: 0.42;
  pointer-events: none;
}

body::after {
  position: fixed;
  z-index: 8;
  inset: 0;
  background: repeating-linear-gradient(transparent 0 3px, rgb(0 0 0 / 4%) 4px);
  content: "";
  pointer-events: none;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

::selection {
  background: var(--accent);
  color: var(--background);
}

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

.section-shell {
  width: min(1080px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--accent);
  color: var(--background);
  font-weight: 700;
}

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgb(255 255 255 / 5%);
  background: rgb(17 18 16 / 88%);
  backdrop-filter: blur(16px);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.navigation,
.navigation-links,
.header-controls,
.wordmark {
  display: flex;
  align-items: center;
}

.navigation {
  min-height: 76px;
  justify-content: space-between;
}

.wordmark {
  gap: 11px;
}

.wordmark-mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid #44463b;
  border-radius: 50%;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
}

.wordmark-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.navigation-links {
  gap: 37px;
  color: #c3cedd;
  font-size: 14px;
}

.header-controls {
  gap: 10px;
}

.navigation-links .nav-resume {
  padding: 10px 13px;
  border: 1px solid #37564f;
  border-radius: 5px;
  color: var(--accent);
  font-weight: 600;
}

.language-picker {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid #35445a;
  border-radius: 5px;
  background: #101927;
}

.language-picker button {
  min-width: 32px;
  min-height: 28px;
  padding: 0 6px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #a6b1c4;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 9px;
}

.language-picker button[aria-pressed="true"] {
  background: var(--accent);
  color: #0b1019;
  font-weight: 700;
}

.language-picker button:hover:not([aria-pressed="true"]) {
  color: var(--text);
}

.navigation-links a {
  transition: color 160ms ease;
}

.navigation-links a:hover {
  color: var(--text);
}

.navigation-links .nav-contact {
  padding: 11px 15px;
  border: 1px solid #373930;
  border-radius: 5px;
  color: var(--text);
}

.nav-contact span {
  margin-left: 7px;
  color: var(--accent);
}

.menu-toggle {
  display: none;
}

.menu-toggle span {
  width: 15px;
  height: 1px;
  background: var(--text);
}

.hero {
  position: relative;
  display: grid;
  min-height: 680px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 58px;
  padding-top: 30px;
  padding-bottom: 102px;
}

.hero-copy,
.terminal {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-label,
.project-category,
.project-stars,
.aside-label,
.terminal-bar,
.scroll-hint,
.hero-index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #bbbdaf;
}

.hero h1,
.section-heading h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(52px, 5.8vw, 76px);
  line-height: 0.99;
}

.hero-role {
  margin: 14px 0 0;
  color: var(--accent);
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.hero h1 span,
.contact h2 span {
  color: var(--accent);
}

.hero-description {
  max-width: 560px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-stack {
  margin-top: 21px;
}

.hero-stack > p {
  margin: 0 0 10px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stack-list li {
  padding: 7px 10px;
  border: 1px solid #37564f;
  border-radius: 4px;
  background: #101927;
  color: #d7e2f2;
  font-size: 12px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 33px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  padding: 0 17px;
  background: var(--accent);
  color: #191b12;
}

.button-primary:hover {
  background: #e2ff83;
}

.button-quiet {
  color: #d2d2c9;
}

.button-quiet span {
  color: var(--accent);
}

.hero-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 21px;
}

.hero-social-link {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid #35465a;
  border-radius: 5px;
  background: rgb(16 25 39 / 86%);
  color: #d7e2f2;
  font-size: 12px;
  font-weight: 600;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.hero-social-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
}

.social-icon {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid #4b6176;
  border-radius: 4px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
}

.hero-social-link > span:last-child {
  color: var(--accent);
}

.terminal {
  overflow: hidden;
  border: 1px solid #30312b;
  border-radius: 8px;
  background: #101927;
  box-shadow: 0 28px 80px rgb(0 0 0 / 35%), 0 0 70px rgb(103 245 210 / 7%);
  transform: rotate(1deg);
}

.terminal-bar {
  display: flex;
  height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  border-bottom: 1px solid #2a2b26;
  color: #999a91;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.terminal-dots {
  display: flex;
  gap: 5px;
}

.terminal-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5a5c50;
}

.terminal-dots i:first-child {
  background: #cf7865;
}

.terminal-dots i:nth-child(2) {
  background: #c9ab5b;
}

.terminal-dots i:nth-child(3) {
  background: #8ca65c;
}

.terminal-language {
  color: #6d6e65;
}

.terminal-code {
  padding: 26px 18px 22px;
  font-family: var(--mono);
  font-size: clamp(9px, 1vw, 11px);
  line-height: 2.2;
  white-space: nowrap;
}

.terminal-code p {
  margin: 0;
}

.code-muted {
  display: inline-block;
  width: 25px;
  color: #55574d;
}

.code-purple {
  color: #c8a9e7;
}

.code-green {
  color: #d3f36b;
}

.code-blue {
  color: #85b7d4;
}

.terminal-result {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 21px;
  padding: 12px 10px;
  border: 1px solid #33372a;
  border-radius: 4px;
  background: #1c2117;
  color: #d4e5ac;
  font-size: 10px;
}

.terminal-result > span:first-child {
  color: var(--accent);
}

.result-time {
  margin-left: auto;
  color: #858b77;
}

.scroll-hint {
  position: absolute;
  bottom: 45px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #797a70;
  font-size: 8px;
}

.scroll-line {
  width: 35px;
  height: 1px;
  background: #6c6d62;
}

.hero-index {
  position: absolute;
  right: 0;
  bottom: 45px;
  color: #77786e;
  font-size: 9px;
}

.experience {
  padding-top: 78px;
  padding-bottom: 82px;
  border-top: 1px solid var(--line);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #b9c5d5;
  font-size: 11px;
}

.section-label > span {
  color: var(--accent);
}

.experience .section-heading {
  margin-top: 26px;
  margin-bottom: 24px;
}

.experience .section-heading h2 {
  margin-top: 0;
  font-size: clamp(36px, 4.2vw, 50px);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.experience-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid #2c4052;
  border-radius: 6px;
  background: linear-gradient(140deg, #14202d, #101824);
}

.experience-featured {
  grid-column: 1 / -1;
}

.experience-card-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.experience-period {
  margin: 0 0 8px;
  color: #b9c5d5;
  font-family: var(--mono);
  font-size: 12px;
}

.experience-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.experience-company {
  margin: 5px 0 0;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}

.experience-tag {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid #37564f;
  border-radius: 3px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.experience-clients {
  margin: 17px 0 0;
  color: #d7e2f2;
  font-size: 14px;
  font-weight: 600;
}

.experience-highlights {
  display: grid;
  gap: 8px 28px;
  margin: 15px 0 0;
  padding-left: 19px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.experience-featured .experience-highlights {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.experience-highlights li::marker {
  color: var(--accent);
}

.experience-previous {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.experience-previous strong {
  color: var(--text);
}

.section-heading > p,
.project-description {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.projects {
  padding-top: 91px;
  padding-bottom: 93px;
  border-top: 1px solid var(--line);
}

.competencies {
  padding-top: 80px;
  padding-bottom: 88px;
  border-top: 1px solid var(--line);
}

.competencies .section-heading {
  margin-bottom: 26px;
}

.competencies .section-heading h2 {
  font-size: clamp(36px, 4.2vw, 50px);
}

.competency-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.competency-card {
  min-height: 135px;
  padding: 18px;
  border: 1px solid #2c4052;
  border-radius: 5px;
  background: linear-gradient(140deg, #14202d, #101824);
}

.competency-index,
.config-heading {
  color: #b9c5d5;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.09em;
}

.competency-card h3 {
  margin: 15px 0 7px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.competency-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 31px;
}

.section-heading h2 {
  margin-top: 21px;
  font-size: 54px;
}

.accent-dot {
  color: var(--accent);
}

.section-heading > p {
  padding-bottom: 5px;
  font-size: 16px;
}

.project-card {
  display: grid;
  min-height: 355px;
  grid-template-columns: 1fr 250px;
  overflow: hidden;
  border: 1px solid #2c4052;
  border-radius: 7px;
  background: linear-gradient(120deg, #121c29 55%, #15202d);
  box-shadow: 0 15px 48px rgb(0 0 0 / 14%);
}

.project-card-copilot {
  border-color: #3b574e;
  background: linear-gradient(120deg, #121c29 48%, #14211f);
}

.projects > .project-card + .project-card {
  margin-top: 18px;
}

.project-card-copilot .project-topline {
  flex-wrap: wrap;
}

.project-main {
  padding: 31px 35px;
}

.project-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-category,
.project-stars,
.aside-label {
  color: #b9c5d5;
  font-size: 10px;
}

.project-stars {
  color: #b6c886;
}

.project-main h3 {
  margin: 27px 0 11px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.project-title-link {
  color: inherit;
  transition: color 160ms ease;
}

.project-title-link:hover {
  color: var(--accent);
}

.project-description {
  max-width: 555px;
  font-size: 15px;
}

.project-tags {
  margin-top: 19px;
}

.project-tags span {
  padding: 6px 8px;
  border-color: #36372f;
  font-size: 10px;
}

.framework-config {
  margin-top: 20px;
  padding: 14px 15px 12px;
  border: 1px solid #304257;
  border-radius: 4px;
  background: rgb(5 12 21 / 35%);
}

.config-heading {
  margin: 0;
  color: var(--accent);
}

.framework-config ul {
  display: grid;
  gap: 7px;
  margin: 11px 0 0;
  padding-left: 15px;
  color: #b7b8ae;
  font-size: 13px;
  line-height: 1.7;
}

.framework-config li::marker {
  color: #a8c75b;
}

.framework-config strong {
  color: #e2e2da;
  font-weight: 600;
}

.copilot-guide-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.copilot-steps {
  display: grid;
  gap: 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.copilot-steps li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
}

.copilot-step-number {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
}

.copilot-step-content {
  min-width: 0;
}

.copilot-step-content > strong {
  color: #e2e2da;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.copilot-step-content p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.copilot-step-content code,
.copilot-demo-command {
  display: block;
  margin-top: 7px;
  padding: 8px 9px;
  overflow-wrap: anywhere;
  border: 1px solid #293a4b;
  border-radius: 3px;
  background: #0b121c;
  color: #d3e0ee;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
}

.copilot-output {
  display: block;
  margin-top: 5px;
  color: #b9c5d5;
  font-size: 12px;
  line-height: 1.5;
}

.copilot-value {
  margin: 20px 0 0;
  color: #dbe5d2;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.copilot-note {
  color: var(--muted);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.project-link:hover {
  color: #e1fd92;
}

.project-detail {
  padding-top: 40px;
  padding-bottom: 90px;
}

.project-detail-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 14px;
}

.project-detail-back:hover {
  color: #e1fd92;
}

.project-detail-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.project-detail-heading .section-label {
  margin-bottom: 12px;
}

.project-detail-heading h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.project-detail-summary {
  max-width: 760px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.project-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.project-detail-tags span {
  padding: 6px 10px;
  border: 1px solid #35445a;
  border-radius: 999px;
  color: #c3cedd;
  font-family: var(--mono);
  font-size: 11px;
}

.project-detail-video,
.project-detail-panel,
.project-ci-section,
.project-contact-panel {
  border: 1px solid #2c4052;
  border-radius: 7px;
  background: linear-gradient(120deg, #121c29 55%, #15202d);
  box-shadow: 0 15px 48px rgb(0 0 0 / 14%);
}

.project-detail-video {
  padding: 24px;
}

.project-detail-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}

.project-detail-section-heading .section-label {
  margin: 0 0 6px;
}

.project-detail-section-heading h2,
.project-detail-panel h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.035em;
}

.project-video-duration {
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.project-video-player {
  display: block;
  width: 100%;
  max-height: 72vh;
  aspect-ratio: 16 / 9;
  border: 1px solid #27384b;
  border-radius: 5px;
  background: #070b11;
  object-fit: contain;
}

.project-video-note,
.project-detail-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.project-detail-panel {
  padding: 25px;
}

.project-detail-panel > .section-label {
  margin: 0 0 8px;
}

.project-detail-copy {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.project-detail-steps {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.project-detail-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  color: #d3deed;
  font-size: 14px;
  line-height: 1.65;
}

.project-detail-step-number {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
}

.project-command-list {
  display: grid;
  gap: 13px;
  margin-top: 16px;
}

.project-command-list p {
  margin: 0 0 6px;
  color: #d3deed;
  font-size: 12px;
  font-weight: 600;
}

.project-command-list pre {
  margin: 0;
  padding: 11px 12px;
  overflow-x: auto;
  border: 1px solid #293a4b;
  border-radius: 4px;
  background: #0b121c;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.project-ci-section {
  margin-top: 18px;
  padding: 25px;
  border-color: #3b574e;
  background: linear-gradient(120deg, #121c29 48%, #14211f);
}

.project-ci-section > .project-detail-copy {
  max-width: 900px;
  margin: 0 0 18px;
}

.project-ci-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  margin-top: 22px;
}

.project-contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 20px 25px;
}

.project-contact-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.project-contact-panel .project-link {
  flex: 0 0 auto;
  margin: 0;
}

.project-detail-error {
  margin: 12px 0 40px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .project-detail {
    padding-top: 24px;
    padding-bottom: 65px;
  }

  .project-detail-back {
    margin-bottom: 23px;
  }

  .project-detail-heading {
    margin-bottom: 25px;
  }

  .project-detail-heading h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .project-detail-summary {
    font-size: 16px;
  }

  .project-detail-video,
  .project-detail-panel,
  .project-ci-section {
    padding: 18px;
  }

  .project-detail-section-heading h2,
  .project-detail-panel h2 {
    font-size: 21px;
  }

  .project-detail-grid,
  .project-ci-steps {
    grid-template-columns: 1fr;
  }

  .project-contact-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }
}

@media print {
  .project-detail-back,
  .project-detail-video,
  .project-ci-section,
  .project-contact-panel .project-link {
    display: none !important;
  }
}

.project-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  overflow: hidden;
  padding: 30px 27px;
  border-left: 1px solid #30312b;
  background: rgb(13 14 12 / 25%);
}

.aside-label {
  margin: 0 0 2px;
}

.project-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}

.project-stat strong {
  min-width: 37px;
  color: var(--accent);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.06em;
}

.project-stat > span {
  color: #c3cedd;
  font-size: 13px;
  line-height: 1.5;
}

.aside-decoration {
  position: absolute;
  right: -14px;
  bottom: 0;
  color: rgb(211 243 107 / 5%);
  font-family: var(--mono);
  font-size: 12px;
}

.project-note {
  margin: 11px 0 0;
  color: var(--subtle);
  font-size: 12px;
  line-height: 1.7;
}

.contact {
  padding-top: 85px;
  padding-bottom: 98px;
  border-top: 1px solid var(--line);
}

.contact-content {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-top: 29px;
}

.contact .eyebrow {
  margin-bottom: 15px;
  color: #c3cedd;
  font-size: 11px;
}

.contact h2 {
  font-size: clamp(48px, 6vw, 70px);
  line-height: 1;
}

.contact-link {
  display: flex;
  min-width: 245px;
  align-items: center;
  justify-content: space-between;
  gap: 19px;
  padding: 15px 0;
  border-bottom: 1px solid #4d5040;
  color: #e0e7f0;
  font-size: 14px;
  transition: border-color 160ms ease, color 160ms ease;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 0;
  border-bottom: 1px solid #4d5040;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 160ms ease, color 160ms ease;
}

.contact-email:hover {
  border-color: var(--accent);
  color: #e4fff8;
}

.contact-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-arrow {
  color: var(--accent);
  font-size: 16px;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  min-height: 75px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-wordmark .wordmark-mark {
  width: 28px;
  height: 28px;
  font-size: 16px;
}

.footer-wordmark .wordmark-name {
  font-size: 13px;
}

.footer-inner > p,
.footer-inner > span {
  color: #a4afbf;
  font-size: 11px;
}

.resume-layout {
  padding-top: 68px;
  padding-bottom: 48px;
}

.resume-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 27px;
  border-bottom: 1px solid var(--line);
}

.resume-heading .section-label {
  margin: 0 0 15px;
}

.resume-heading h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.resume-role {
  margin: 12px 0 0;
  color: var(--accent);
  font-size: 14px;
}

.resume-print {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 13px;
}

.resume-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.32fr) minmax(0, 1fr);
  gap: 34px;
  padding-top: 28px;
}

.resume-sidebar,
.resume-main {
  min-width: 0;
}

.resume-sidebar {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.resume-panel,
.resume-section {
  border: 1px solid #2c4052;
  border-radius: 6px;
  background: linear-gradient(140deg, #121c29, #101824);
}

.resume-panel {
  padding: 17px;
}

.resume-panel h2,
.resume-section > h2 {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.6;
}

.resume-panel > a,
.resume-panel > p {
  display: block;
  margin: 0 0 9px;
  color: #c3ccda;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.resume-panel > a:hover,
.resume-project-link:hover,
.resume-back:hover {
  color: var(--accent);
}

.resume-panel > :last-child {
  margin-bottom: 0;
}

.resume-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.resume-tags span {
  padding: 5px 7px;
  border: 1px solid #35465a;
  border-radius: 3px;
  color: #cad3e2;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.4;
}

.resume-panel .resume-note,
.resume-print-hint {
  margin-top: 11px;
  color: var(--subtle);
  font-size: 12px;
}

.resume-section {
  margin-bottom: 17px;
  padding: 20px;
}

.resume-section > h2 {
  margin-bottom: 17px;
  color: var(--text);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.resume-summary > p,
.resume-entry-compact > p {
  margin: 0;
  color: #bac5d5;
  font-size: 15px;
  line-height: 1.75;
}

.resume-entry {
  padding: 0 0 18px;
  border-bottom: 1px solid #293849;
}

.resume-entry + .resume-entry {
  padding-top: 18px;
}

.resume-entry:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.resume-entry-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
}

.resume-entry-heading h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.resume-entry-heading p {
  margin: 3px 0 0;
  color: var(--accent);
  font-size: 14px;
  line-height: 1.6;
}

.resume-date {
  flex: 0 0 auto;
  padding-top: 3px;
  color: #c3cedd;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

.resume-entry ul {
  display: grid;
  gap: 6px;
  margin: 11px 0 0;
  padding-left: 17px;
  color: #c3cedd;
  font-size: 14px;
  line-height: 1.75;
}

.resume-entry li::marker {
  color: var(--accent);
}

.resume-entry-compact {
  padding-bottom: 0;
  border-bottom: 0;
}

.resume-project-link,
.resume-back {
  display: inline-flex;
  margin-top: 12px;
  color: #c2d7d2;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.resume-print-hint {
  margin: 0;
  text-align: right;
}

.resume-back {
  margin-top: 15px;
  color: var(--accent);
}

@media (min-width: 1500px) {
  .hero {
    min-height: 720px;
  }
}

@media (max-width: 800px) {
  .navigation-links {
    gap: 16px;
  }

  .navigation-links .nav-contact,
  .navigation-links .nav-resume {
    padding-inline: 10px;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 93px;
    padding-bottom: 107px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .terminal {
    width: min(100%, 560px);
    justify-self: center;
    transform: none;
  }

  .project-card {
    grid-template-columns: 1fr 210px;
  }

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

  .project-main {
    padding: 27px 23px;
  }

  .project-aside {
    padding: 27px 19px;
  }

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

  .resume-main {
    order: -1;
  }

  .resume-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .resume-sidebar .resume-panel:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .shell,
  .section-shell {
    width: calc(100% - 40px);
  }

  .wordmark-name {
    font-size: 14px;
  }

  .language-picker button {
    font-size: 11px;
  }

  .navigation {
    min-height: 66px;
  }

  .header-controls {
    gap: 8px;
  }

  .menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #35362f;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
  }

  .navigation-links {
    position: absolute;
    top: 65px;
    right: max(20px, calc((100% - 1200px) / 2));
    left: max(20px, calc((100% - 1200px) / 2));
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 19px;
    border-bottom: 1px solid var(--line);
    background: #101927;
    box-shadow: 0 16px 30px rgb(0 0 0 / 28%);
  }

  .navigation-links.is-open {
    display: flex;
    flex-direction: column;
  }

  .navigation-links > a {
    padding: 14px 0;
    font-size: 15px;
  }

  .navigation-links .nav-resume,
  .navigation-links .nav-contact {
    margin-top: 5px;
    padding: 12px;
  }

  .navigation-links .nav-resume {
    text-align: center;
  }

  .hero {
    gap: 37px;
    padding-top: 64px;
    padding-bottom: 82px;
  }

  .hero h1 {
    font-size: clamp(47px, 12vw, 66px);
  }

  .eyebrow {
    font-size: 11px;
  }

  .hero-role {
    font-size: 23px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-stack {
    margin-top: 18px;
  }

  .stack-list {
    gap: 6px;
  }

  .stack-list li {
    padding: 6px 8px;
    font-size: 11px;
  }

  .hero-actions {
    gap: 15px;
  }

  .hero-socials {
    gap: 7px;
    margin-top: 17px;
  }

  .hero-social-link {
    min-height: 36px;
    gap: 6px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .button {
    font-size: 13px;
  }

  .terminal-code {
    overflow-x: auto;
    padding: 20px 12px 17px;
    font-size: 10px;
  }

  .terminal-bar {
    padding: 0 12px;
    font-size: 10px;
  }

  .terminal-result {
    font-size: 12px;
  }

  .scroll-hint,
  .hero-index {
    bottom: 33px;
  }

  .experience,
  .competencies,
  .projects,
  .contact {
    padding-top: 69px;
    padding-bottom: 74px;
  }

  .experience .section-heading {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .section-label {
    font-size: 11px;
  }

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

  .experience-featured {
    grid-column: auto;
  }

  .experience-card {
    padding: 19px;
  }

  .experience-featured .experience-highlights {
    grid-template-columns: 1fr;
  }

  .experience-card h3 {
    font-size: 19px;
  }

  .experience-highlights {
    font-size: 14px;
  }

  .experience-previous {
    font-size: 13px;
    line-height: 1.7;
  }

  .project-tags span {
    font-size: 11px;
  }

  .section-heading > p {
    font-size: 16px;
    line-height: 1.75;
  }

  .competency-index,
  .config-heading {
    font-size: 10px;
  }

  .competency-card h3 {
    font-size: 17px;
  }

  .competency-card p {
    font-size: 15px;
  }

  .project-category,
  .project-stars {
    font-size: 10px;
  }

  .project-description {
    font-size: 15px;
    line-height: 1.75;
  }

  .framework-config ul {
    font-size: 14px;
  }

  .project-link {
    font-size: 13px;
  }

  .aside-label {
    font-size: 10px;
  }

  .project-stat > span {
    font-size: 12px;
  }

  .project-note {
    font-size: 13px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .section-heading h2 {
    margin-top: 17px;
    font-size: clamp(34px, 9.5vw, 42px);
  }

  .competencies .section-heading h2 {
    font-size: clamp(32px, 9vw, 38px);
  }

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

  .competency-card {
    min-height: 0;
    padding: 16px;
  }

  .competency-card h3 {
    margin-top: 11px;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-main {
    padding: 24px 19px 26px;
  }

  .project-topline {
    align-items: start;
  }

  .project-category,
  .project-stars {
    font-size: 10px;
  }

  .project-main h3 {
    font-size: 25px;
  }

  .project-aside {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 8px;
    padding: 20px 19px;
    border-top: 1px solid #30312b;
    border-left: 0;
  }

  .aside-label {
    grid-column: 1 / -1;
  }

  .project-stat {
    align-items: start;
    flex-direction: column;
    gap: 3px;
  }

  .project-stat > span {
    font-size: 12px;
  }

  .aside-decoration {
    display: none;
  }

  .contact-content {
    align-items: start;
    flex-direction: column;
    gap: 28px;
  }

  .contact .eyebrow {
    font-size: 11px;
  }

  .contact h2 {
    font-size: 54px;
  }

  .contact-link {
    width: 100%;
    min-width: 0;
  }

  .contact-email {
    width: 100%;
  }

  .contact-link,
  .contact-email {
    font-size: 14px;
  }

  .resume-layout {
    padding-top: 44px;
    padding-bottom: 34px;
  }

  .resume-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .resume-heading h1 {
    font-size: 38px;
  }

  .resume-role {
    font-size: 17px;
    line-height: 1.6;
  }

  .resume-grid {
    gap: 15px;
    padding-top: 16px;
  }

  .resume-section {
    padding: 16px;
  }

  .resume-panel h2,
  .resume-section > h2 {
    font-size: 12px;
  }

  .resume-panel > a,
  .resume-panel > p {
    font-size: 14px;
  }

  .resume-tags span {
    font-size: 10px;
  }

  .resume-panel .resume-note,
  .resume-print-hint {
    font-size: 13px;
  }

  .resume-summary > p,
  .resume-entry-compact > p {
    font-size: 16px;
  }

  .resume-entry-heading h3 {
    font-size: 18px;
  }

  .resume-entry-heading p {
    font-size: 15px;
  }

  .resume-entry-heading {
    flex-direction: column;
    gap: 3px;
  }

  .resume-date {
    font-size: 13px;
    text-align: left;
  }

  .resume-entry ul {
    font-size: 15px;
  }

  .resume-project-link,
  .resume-back {
    font-size: 13px;
  }

  .resume-sidebar {
    grid-template-columns: 1fr;
  }

  .resume-sidebar .resume-panel:first-child {
    grid-column: auto;
  }

  .resume-print-hint {
    text-align: left;
    line-height: 1.6;
  }

  .footer-inner {
    min-height: 70px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 9px 16px;
    padding-block: 16px;
  }

  .footer-inner > p {
    order: 1;
    width: 100%;
    margin: 0;
  }

  .footer-inner > p,
  .footer-inner > span {
    font-size: 13px;
  }
}

body {
  font-size: 18px;
}

@media (min-width: 761px) {
  .wordmark-name,
  .navigation-links {
    font-size: 16px;
  }

  .language-picker button {
    font-size: 12px;
  }

  .eyebrow,
  .section-label,
  .project-category,
  .project-stars,
  .aside-label,
  .terminal-bar,
  .scroll-hint,
  .hero-index,
  .hero-stack > p,
  .competency-index,
  .config-heading {
    font-size: 14px;
  }

  .hero-description,
  .experience-highlights,
  .experience-previous,
  .section-heading > p,
  .project-description,
  .competency-card p,
  .framework-config ul,
  .copilot-step-content p,
  .copilot-value,
  .resume-summary > p,
  .resume-entry-compact > p,
  .resume-entry ul {
    font-size: 18px;
  }

  .stack-list li {
    font-size: 15px;
  }

  .button,
  .navigation-links .nav-contact,
  .contact-link,
  .contact-email {
    font-size: 17px;
  }

  .hero-social-link,
  .project-tags span {
    font-size: 15px;
  }

  .terminal-code {
    font-size: 13px;
  }

  .terminal-result {
    font-size: 14px;
  }

  .experience-period,
  .resume-date {
    font-size: 14px;
  }

  .experience-company,
  .resume-entry-heading p {
    font-size: 16px;
  }

  .experience-tag,
  .resume-panel h2,
  .resume-section > h2 {
    font-size: 14px;
  }

  .experience-clients,
  .competency-card p,
  .resume-panel > a,
  .resume-panel > p,
  .resume-entry ul {
    font-size: 17px;
  }

  .copilot-step-number,
  .copilot-step-content > strong,
  .copilot-output,
  .project-note,
  .resume-panel .resume-note,
  .resume-print-hint {
    font-size: 14px;
  }

  .copilot-step-content code,
  .copilot-demo-command,
  .resume-tags span {
    font-size: 13px;
  }

  .project-link,
  .resume-project-link,
  .resume-back {
    font-size: 16px;
  }

  .project-stat > span {
    font-size: 16px;
  }

  .contact .eyebrow {
    font-size: 14px;
  }

  .footer-inner > p,
  .footer-inner > span {
    font-size: 14px;
  }
}

@media (max-width: 760px) {
  .wordmark-name,
  .navigation-links > a {
    font-size: 16px;
  }

  .language-picker button {
    font-size: 12px;
  }

  .eyebrow,
  .section-label,
  .project-category,
  .project-stars,
  .aside-label,
  .terminal-bar,
  .hero-stack > p,
  .competency-index,
  .config-heading,
  .contact .eyebrow {
    font-size: 14px;
  }

  .hero-description,
  .experience-highlights,
  .experience-previous,
  .section-heading > p,
  .project-description,
  .competency-card p,
  .framework-config ul,
  .copilot-step-content p,
  .copilot-value,
  .resume-summary > p,
  .resume-entry-compact > p,
  .resume-entry ul {
    font-size: 18px;
  }

  .stack-list li,
  .hero-social-link,
  .project-tags span {
    font-size: 15px;
  }

  .button,
  .contact-link,
  .contact-email {
    font-size: 16px;
  }

  .terminal-code {
    font-size: 12px;
  }

  .experience-period,
  .resume-date,
  .copilot-step-number,
  .copilot-output,
  .project-note,
  .project-stat > span,
  .resume-panel .resume-note,
  .resume-print-hint {
    font-size: 14px;
  }

  .experience-company,
  .resume-entry-heading p {
    font-size: 16px;
  }

  .experience-tag,
  .resume-panel h2,
  .resume-section > h2 {
    font-size: 14px;
  }

  .experience-clients,
  .resume-panel > a,
  .resume-panel > p,
  .resume-entry ul {
    font-size: 17px;
  }

  .copilot-step-content > strong {
    font-size: 15px;
  }

  .copilot-step-content code,
  .copilot-demo-command,
  .resume-tags span {
    font-size: 13px;
  }

  .project-link,
  .resume-project-link,
  .resume-back {
    font-size: 16px;
  }

  .footer-inner > p,
  .footer-inner > span {
    font-size: 14px;
  }
}

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

@media print {
  @page {
    margin: 14mm;
    size: A4;
  }

  body {
    min-width: 0;
    background: #fff;
    color: #172333;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body::before,
  body::after,
  .site-header,
  .site-footer,
  .resume-print,
  .resume-print-hint,
  .resume-back {
    display: none !important;
  }

  .resume-layout {
    width: 100%;
    padding: 0;
  }

  .resume-heading {
    padding-bottom: 12px;
  }

  .resume-heading h1,
  .resume-section > h2,
  .resume-entry-heading h3 {
    color: #172333;
  }

  .resume-grid {
    grid-template-columns: minmax(160px, 0.3fr) minmax(0, 1fr);
    gap: 14px;
    padding-top: 14px;
  }

  .resume-sidebar {
    display: flex;
  }

  .resume-main {
    order: initial;
  }

  .resume-panel,
  .resume-section {
    break-inside: avoid;
    background: #f5f8fb;
    box-shadow: none;
  }

  .resume-panel > a,
  .resume-panel > p,
  .resume-summary > p,
  .resume-entry-compact > p,
  .resume-entry ul {
    color: #34445a;
  }

  .resume-entry-heading p,
  .resume-date,
  .resume-tags span {
    color: #41645d;
  }

  .resume-entry {
    break-inside: avoid;
  }
}
