/* Standalone styles for the Cloudflare Pages static edition. */
html { min-width: 320px; }
body { min-height: 100vh; overflow-x: hidden; }
img, svg { vertical-align: middle; }
button { color: inherit; }
:root {
  --bg: #f8f7f3;
  --surface: #f0eee7;
  --text: #252b29;
  --muted: #646a65;
  --line: #ddded6;
  --accent: #897348;
  --soft: #e9e6dc;
  --header: rgba(248, 247, 243, 0.9);
  --button: #29332e;
  --button-text: #fffefa;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #171c1a;
  --surface: #202622;
  --text: #f1efe7;
  --muted: #adb5ad;
  --line: #384139;
  --accent: #c2ab7c;
  --soft: #30382f;
  --header: rgba(23, 28, 26, 0.92);
  --button: #e5e4d8;
  --button-text: #1c251f;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition:
    background-color 0.35s,
    color 0.35s;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
::selection {
  background: var(--soft);
  color: var(--text);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
.container {
  width: min(1240px, calc(100% - 112px));
  margin-inline: auto;
}
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 92px;
  display: flex;
  align-items: center;
  transition: height 0.3s;
}
.is-scrolled .nav-inner {
  height: 72px;
}
.wordmark {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -3px;
  line-height: 1;
}
.wordmark span {
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 34px;
  margin-left: auto;
  align-items: center;
  font-size: 13px;
}
.nav-links a {
  position: relative;
  padding: 10px 0;
  color: var(--muted);
}
.nav-links a:hover,
.nav-links a[aria-current] {
  color: var(--text);
}
.nav-links a[aria-current]:after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 18px;
  height: 1px;
  background: var(--accent);
}
.nav-github {
  display: flex;
  align-items: center;
  gap: 7px;
}
.nav-controls {
  display: flex;
  margin-left: 30px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.icon-button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.icon-button:hover {
  background: var(--soft);
}
.mobile-menu {
  display: none;
}
.hero-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 39px 0 54px;
  color: var(--muted);
}
.location-label {
  font-size: 12px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 8%;
  align-items: center;
}
.role {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.035em;
  margin: 0 0 24px;
}
.role > span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--accent);
}
h1 {
  font-size: clamp(78px, 8.5vw, 126px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.07em;
  margin: 0 0 30px;
}
h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.065em;
  color: var(--accent);
}
.hero-tagline {
  font-size: 20px;
  line-height: 1.55;
  max-width: 490px;
  margin: 0 0 15px;
  letter-spacing: -0.02em;
}
.hero-support {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 430px;
  margin: 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 32px;
}
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--button);
  color: var(--button-text);
  padding: 16px 21px;
  font-size: 13px;
  border: 1px solid var(--button);
  border-radius: 3px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #00000010;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
}
.text-link:hover {
  border-color: var(--accent);
}
.engineering-panel {
  position: relative;
  background: linear-gradient(145deg, var(--surface), var(--bg));
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 25px 30px 18px;
  box-shadow: 0 20px 60px #17251c05;
}
.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}
.panel-top .eyebrow {
  font-size: 10px;
  letter-spacing: 0.12em;
}
.small-cross {
  font-size: 24px;
  font-weight: 200;
  color: var(--accent);
}
.experience-number {
  font-family: Georgia, serif;
  font-size: 150px;
  letter-spacing: -0.08em;
  line-height: 1.2;
  margin-top: 6px;
  color: var(--text);
}
.experience-number span {
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-left: 20px;
  color: var(--accent);
}
.panel-caption {
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 32px;
  letter-spacing: -0.025em;
}
.stack-lines {
  border-top: 1px solid var(--line);
}
.stack-line {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 14px;
  padding: 15px 0;
  font-size: 13px;
}
.stack-line svg {
  color: var(--accent);
}
.stack-line small {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}
.panel-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-top: 21px;
  color: var(--muted);
}
.hero-bottom {
  margin-top: 64px;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.hero-bottom a {
  display: flex;
  gap: 18px;
  align-items: center;
}
.section {
  padding-top: 115px;
  padding-bottom: 115px;
}
.section h2 {
  font-weight: 400;
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.045em;
  line-height: 1.15;
  margin: 22px 0 28px;
}
h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--muted);
}
.intro-copy {
  font-size: 21px;
  max-width: 680px;
  line-height: 1.65;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--button);
  color: var(--button-text);
  padding: 12px 20px;
}
.skip-link:focus {
  top: 12px;
}
@media (min-width: 1500px) {
  .hero-topline {
    margin-bottom: 65px;
  }
  .hero-grid {
    gap: 12%;
  }
  .hero {
    padding-top: 10px;
  }
}
@media (max-width: 1000px) {
  .container {
    width: calc(100% - 64px);
  }
  .hero-grid {
    gap: 5%;
    grid-template-columns: 1.2fr 1fr;
  }
  .engineering-panel {
    padding: 22px;
  }
  .hero-actions {
    gap: 18px;
  }
  .button-primary {
    gap: 12px;
    padding: 14px;
  }
  .hero-tagline {
    font-size: 18px;
  }
  .stack-line small {
    display: none;
  }
  .panel-bottom {
    font-size: 8px;
  }
  .hero-topline .eyebrow {
    font-size: 10px;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 90px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .nav-inner,
  .is-scrolled .nav-inner {
    height: 72px;
  }
  .nav-controls {
    margin-left: auto;
    border: 0;
    gap: 5px;
    padding: 0;
  }
  .mobile-menu {
    display: grid;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 10px;
    font-size: 16px;
  }
  .nav-links a[aria-current]:after {
    display: none;
  }
  .hero-topline {
    margin: 28px 0 42px;
  }
  .hero-topline .eyebrow {
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .location-label {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  h1 {
    font-size: 98px;
  }
  .hero-tagline {
    font-size: 20px;
    max-width: 480px;
  }
  .hero-support {
    font-size: 14px;
  }
  .hero-actions {
    gap: 25px;
    flex-wrap: wrap;
  }
  .button-primary {
    padding: 16px 20px;
  }
  .engineering-panel {
    padding: 22px 25px;
  }
  .experience-number {
    font-size: 120px;
  }
  .panel-caption {
    font-size: 21px;
  }
  .stack-line small {
    display: block;
  }
  .panel-bottom {
    font-size: 9px;
  }
  .hero-bottom {
    margin-top: 35px;
    gap: 15px;
    font-size: 10px;
  }
  .hero-bottom > a {
    white-space: nowrap;
    gap: 8px;
  }
  .section {
    padding-block: 75px;
  }
  .intro-copy {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Editorial sections */
.section-heading .eyebrow {
  color: var(--muted);
  font-size: 12px;
}
.section-heading .eyebrow > span {
  color: var(--accent);
  margin-right: 8px;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 9%;
}
.about-content > .intro-copy {
  font-size: 24px;
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 24px;
  letter-spacing: -0.025em;
}
.about-content > p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 20px;
  line-height: 1.85;
}
.confidential-note {
  display: flex;
  gap: 15px;
  margin-top: 32px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.confidential-note > svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 3px;
}
.confidential-note h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 7px;
}
.confidential-note p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.principles > div {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.principles > div:first-child {
  padding-left: 0;
  border: 0;
}
.principles span {
  color: var(--accent);
  font-size: 12px;
}
.principles h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 11px 0 4px;
  letter-spacing: -0.02em;
}
.principles p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.skills-section {
  background: #252e29;
  color: #f3f2e9;
  --muted: #b9c0b8;
  --accent: #c9b589;
  --line: #485048;
  --surface: #2b352e;
  --text: #f3f2e9;
}
.skills-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 40px;
}
.skills-heading h2 {
  margin-bottom: 0;
}
.skills-heading h2 em {
  color: #c9b589;
}
.skills-intro {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 4px;
  max-width: 285px;
}
.skill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.skill-card {
  padding: 32px;
  border: 1px solid #465047;
  border-radius: 3px;
  background: linear-gradient(130deg, #ffffff04, transparent);
  transition:
    border-color 0.3s,
    background 0.3s,
    transform 0.3s;
}
.skill-card:hover {
  border-color: #a99874;
  background: #ffffff04;
  transform: translateY(-3px);
}
.skill-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent);
  margin-bottom: 26px;
}
.skill-card-top > span {
  font-size: 12px;
  font-family: monospace;
  color: #b0b9af;
}
.skill-card h3 {
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 13px;
  letter-spacing: -0.025em;
}
.skill-card > p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 450px;
  margin: 0 0 25px;
}
.skill-tags {
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.skill-tags li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #e2e5da;
  background: #ffffff04;
  border: 1px solid #4c564c;
  padding: 5px 11px;
  border-radius: 3px;
  transition: border-color 0.2s;
}
.skill-tag-icon {
  flex-shrink: 0;
  color: var(--accent);
}
.skill-card:hover .skill-tags li {
  border-color: #66705f;
}
.skills-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 12px;
}
.skills-bottom > span:last-child {
  display: flex;
  align-items: center;
  gap: 14px;
}
.skills-bottom i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
}
.experience-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 9%;
}
.experience-intro {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 320px;
}
.milestone {
  margin-top: 43px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  max-width: 250px;
}
.milestone > span {
  font-size: 84px;
  line-height: 1.1;
  font-family: Georgia, serif;
  letter-spacing: -0.07em;
}
.milestone > span > span {
  font-size: 42px;
  vertical-align: top;
  color: var(--accent);
  line-height: 1.5;
  display: inline-block;
  margin-left: 8px;
}
.milestone p {
  font-size: 13px;
  margin: 10px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.milestone small {
  color: var(--muted);
  font-size: 12px;
}
.timeline {
  padding-top: 6px;
}
.timeline-item {
  position: relative;
  display: flex;
  gap: 24px;
  padding: 0 0 36px;
}
.timeline-item:before {
  content: "";
  position: absolute;
  left: 18px;
  top: 42px;
  bottom: 4px;
  width: 1px;
  background: var(--line);
}
.timeline-item:last-child:before {
  display: none;
}
.timeline-number {
  flex-shrink: 0;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-size: 11px;
  background: var(--bg);
}
.timeline-item .eyebrow {
  margin: 7px 0 12px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.13em;
}
.timeline-item h3 {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
.timeline-item p:last-child {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.9;
}
.community {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
  margin-top: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.community > div {
  display: flex;
  align-items: center;
  gap: 20px;
}
.community-mark {
  font-family: Georgia, serif;
  font-size: 25px;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.community .eyebrow {
  font-size: 10px;
  margin: 0 0 3px;
  color: var(--muted);
}
.community h3 {
  font-size: 17px;
  font-weight: 400;
  margin: 0;
}
.community > p {
  font-size: 13px;
  color: var(--muted);
}
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 65px 0 0;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 55px;
}
.footer-name {
  font-size: 32px;
  letter-spacing: -0.055em;
}
.footer-name > span {
  color: var(--accent);
}
.footer-role {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 23px;
}
.footer-statement {
  font-family: Georgia, serif;
  font-size: 22px;
  color: var(--muted);
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin: 0;
}
.footer-details {
  text-align: right;
  align-self: end;
}
.footer-details > p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  margin: 25px 0 0;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 23px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}
.footer-bottom a {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reveal {
  transition:
    opacity 0.75s,
    transform 0.75s;
}
.reveal-pending {
  opacity: 0;
  transform: translateY(18px);
}
.nav-links,
.text-link,
.button-primary {
  font-size: 14px;
}
.hero-topline .eyebrow {
  font-size: 12px;
}
.panel-top .eyebrow,
.stack-line small,
.panel-bottom {
  font-size: 12px;
}
.panel-top .eyebrow {
  letter-spacing: 0.05em;
}
.panel-bottom {
  font-size: 10px;
}
.hero-bottom {
  font-size: 12px;
}
.skill-tags li {
  font-size: 13px;
}
.principles p {
  font-size: 14px;
}
.stack-line {
  font-size: 14px;
}
.skill-card > p,
.timeline-item p:last-child {
  font-size: 15px;
}
@media (max-width: 1000px) {
  .about-layout,
  .experience-layout {
    gap: 6%;
    grid-template-columns: 1fr 1.15fr;
  }
  .section h2 {
    font-size: 39px;
  }
  .skills-heading {
    gap: 25px;
  }
  .skills-intro {
    max-width: 240px;
  }
  .skill-card {
    padding: 26px;
  }
  .principles > div {
    padding-left: 20px;
  }
  .principles p {
    max-width: 190px;
  }
  .panel-top .eyebrow {
    font-size: 10px;
  }
  .panel-bottom {
    font-size: 9px;
  }
}
@media (max-width: 700px) {
  .about-layout,
  .experience-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .section h2 {
    font-size: 38px;
  }
  .about-content > .intro-copy {
    font-size: 22px;
  }
  .principles {
    grid-template-columns: 1fr;
    margin-top: 40px;
    padding-top: 0;
  }
  .principles > div,
  .principles > div:first-child {
    position: relative;
    padding: 22px 0 22px 36px;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .principles span {
    position: absolute;
    left: 0;
    top: 26px;
  }
  .principles h3 {
    margin-top: 0;
  }
  .principles p {
    max-width: none;
  }
  .skills-heading {
    display: block;
    margin-bottom: 30px;
  }
  .skills-intro {
    margin-top: 23px;
    max-width: none;
    font-size: 15px;
  }
  .skill-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .skill-card {
    padding: 26px;
  }
  .skill-card-top {
    margin-bottom: 20px;
  }
  .skills-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    font-size: 11px;
  }
  .milestone {
    max-width: none;
    margin-top: 25px;
    margin-bottom: 20px;
  }
  .milestone > span {
    font-size: 70px;
  }
  .milestone p {
    display: inline-block;
    margin-left: 20px;
    font-size: 12px;
  }
  .milestone small {
    display: block;
  }
  .timeline-item {
    gap: 19px;
  }
  .timeline-item h3 {
    font-size: 20px;
  }
  .timeline-item p:last-child {
    font-size: 15px;
  }
  .community {
    margin-top: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .community > p {
    margin: 0 0 0 69px;
    font-size: 12px;
  }
  .footer-main {
    flex-direction: column;
    gap: 30px;
    padding-bottom: 35px;
  }
  .footer-details {
    align-self: start;
    text-align: left;
  }
  .footer-details > p {
    margin-top: 18px;
  }
  .footer-bottom {
    font-size: 10px;
  }
  .site-footer {
    padding-top: 42px;
  }
  .hero-topline .eyebrow {
    font-size: 9px;
  }
  .panel-top .eyebrow {
    font-size: 11px;
  }
  .hero-bottom {
    font-size: 10px;
  }
  .hero-actions {
    gap: 20px;
  }
  .confidential-note {
    padding: 21px;
  }
  .hero .hero-support {
    max-width: 360px;
  }
}
@media (max-width: 370px) {
  h1 {
    font-size: 84px;
  }
  .hero-actions {
    gap: 14px;
  }
  .button-primary {
    padding: 14px;
    font-size: 12px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .section h2 {
    font-size: 33px;
  }
  .skill-card {
    padding: 22px;
  }
  .engineering-panel {
    padding: 20px;
  }
  .stack-line small {
    font-size: 10px;
  }
  .skills-bottom > span:last-child {
    gap: 10px;
  }
  .milestone p {
    margin-left: 14px;
    font-size: 11px;
  }
  .hero-bottom > span {
    max-width: 170px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-pending {
    opacity: 1;
    transform: none;
  }
}

/* Professional engineering direction */
:root {
  --bg: #f6f8fb;
  --surface: #edf1f6;
  --text: #172333;
  --muted: #5d6b7b;
  --line: #d7e0e9;
  --accent: #2f6eaa;
  --soft: #e5edf6;
  --header: rgba(246, 248, 251, 0.93);
  --button: #183858;
  --button-text: #f8fbff;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #080a0d;
  --surface: #11151b;
  --text: #f0f3f7;
  --muted: #a9b1bd;
  --line: #292f38;
  --accent: #8db9e5;
  --soft: #1b2633;
  --header: rgba(8, 10, 13, 0.92);
  --button: #dceafa;
  --button-text: #111b27;
  color-scheme: dark;
}
body { font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif; }
.site-header { border-bottom-color: color-mix(in srgb, var(--line) 80%, transparent); }
.wordmark { font-family: inherit; font-weight: 750; font-size: 27px; letter-spacing: -1.7px; }
.wordmark span, .footer-name > span { color: var(--accent); }
.nav-links { gap: 32px; }
.nav-links a[aria-current]:after { width: 100%; height: 2px; border-radius: 2px; }
.nav-controls { border-color: var(--line); }
.hero-topline { margin: 32px 0 44px; }
.hero-topline .eyebrow { color: var(--muted); font-size: 11px; letter-spacing: .1em; }
.location-label { color: var(--muted); }
.hero-grid { grid-template-columns: 1.1fr 1fr; gap: 7%; }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 0 0 22px; }
.role { margin: 0; color: var(--text); font-weight: 600; font-size: 14px; letter-spacing: 0; }
.role > span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.years-badge { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; line-height: 1.5; }
h1 { max-width: 720px; font-size: clamp(58px, 7vw, 98px); font-weight: 670; line-height: 1.04; letter-spacing: -.075em; margin: 0 0 25px; }
h1 em { font-family: inherit; font-weight: inherit; color: inherit; }
.title-period { color: var(--accent); }
.hero-tagline { max-width: 570px; font-size: clamp(19px, 2.1vw, 23px); font-weight: 450; line-height: 1.5; letter-spacing: -.03em; }
.hero-support { max-width: 510px; font-size: 15px; line-height: 1.8; }
.button-primary { min-height: 50px; padding: 13px 18px; border-radius: 5px; font-weight: 550; gap: 16px; }
.text-link { font-weight: 550; }
.engineering-panel { padding: 28px 30px 20px; border: 1px solid #263e55; border-radius: 7px; color: #eef4fa; background: #172b40; box-shadow: 0 22px 55px rgba(18, 42, 66, .13); }
:root[data-theme="dark"] .engineering-panel { background: #1b2e40; }
.panel-top { justify-content: space-between; align-items: flex-start; color: #d5e3f0; }
.panel-top > svg { color: #83b7e8; margin-top: 2px; }
.panel-heading { display: grid; gap: 4px; }
.panel-kicker { color: #8db7dc; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; letter-spacing: .12em; }
.panel-top .eyebrow { color: #e4edf6; font-size: 16px; font-weight: 550; letter-spacing: -.02em; text-transform: none; }
.architecture-flow { margin-top: 27px; border: 1px solid #3a5269; border-radius: 5px; overflow: hidden; }
.architecture-layer { min-height: 76px; position: relative; display: flex; align-items: center; gap: 13px; padding: 12px 16px; background: rgba(255,255,255,.025); }
.architecture-layer + .architecture-layer { border-top: 1px solid #3a5269; }
.architecture-layer:not(:last-child)::after { content: ""; height: 9px; width: 1px; position: absolute; left: 23px; bottom: -9px; z-index: 1; background: #83b7e8; }
.architecture-index { width: 18px; color: #85a3bd; font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.architecture-icon { width: 35px; height: 35px; display: grid; flex: 0 0 35px; place-items: center; border: 1px solid #496783; border-radius: 5px; color: #a4c9ec; background: #ffffff07; }
.architecture-copy { min-width: 0; display: grid; gap: 3px; }
.architecture-copy strong { font-size: 13px; font-weight: 550; }
.architecture-copy small { color: #b0c0cf; font: 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.architecture-node { width: 7px; height: 7px; flex: 0 0 7px; margin-left: auto; border-radius: 50%; background: #85b9e9; box-shadow: 0 0 0 4px rgba(133,185,233,.1); }
.integration-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.integration-mark { width: 30px; height: 30px; display: grid; place-items: center; color: #a4c9ec; border: 1px solid #496783; border-radius: 5px; }
.integration-row > span:last-child { display: grid; gap: 2px; }
.integration-row strong { font-size: 11px; font-weight: 550; }
.integration-row small { color: #b0c0cf; font-size: 11px; }
.panel-bottom { justify-content: flex-start; gap: 17px; border-top: 1px solid #3a5269; padding-top: 15px; margin-top: 18px; color: #b3c3d1; font-size: 10px; letter-spacing: .02em; text-transform: none; }
.panel-bottom span + span::before { content: "·"; margin-right: 17px; color: #83b7e8; }
.hero-bottom { margin-top: 50px; color: var(--muted); }
.section h2 { font-family: inherit; font-weight: 640; letter-spacing: -.055em; }
h2 em { font-family: inherit; font-weight: 450; font-style: normal; color: var(--muted); }
.skills-section { background: #142538; color: #f0f5fa; --muted: #b2c0cf; --accent: #8db9e5; --line: #35495d; --surface: #1b3044; --text: #f0f5fa; }
.skills-heading h2 em { color: #9abfe4; }
.skill-card { border-color: #3a4e62; border-radius: 6px; background: rgba(255,255,255,.018); }
.skill-card:hover { border-color: #7299bd; background: rgba(255,255,255,.04); }
.skill-tags li { border-radius: 4px; background: rgba(255,255,255,.035); }
.skill-tag-icon { color: #9bc5ec; }
.section-heading .eyebrow { letter-spacing: .12em; }
.timeline-number { border-radius: 5px; }
.confidential-note { border-radius: 6px; }
.community-mark { border-radius: 6px; }
.site-footer { background: var(--surface); }
.footer-name { font-family: inherit; font-size: 25px; font-weight: 650; letter-spacing: -.045em; }
:root[data-theme="dark"] body {
  background-color: #050607;
  background-image: linear-gradient(
    155deg,
    #050607 0%,
    #080a0e 22%,
    #0d141e 47%,
    #080d13 70%,
    #050607 100%
  );
  background-size: 100% 260vh;
  background-position: center calc(50% + var(--parallax-y, 0px));
  background-attachment: fixed;
  background-repeat: no-repeat;
}
:root[data-theme="dark"] .hero {
  position: relative;
  isolation: isolate;
}
:root[data-theme="dark"] .hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 110px;
  right: -7vw;
  width: min(58vw, 760px);
  height: 610px;
  pointer-events: none;
  opacity: .42;
  background-image:
    radial-gradient(ellipse at 56% 42%, rgba(83, 123, 171, .12), transparent 63%),
    linear-gradient(rgba(160, 185, 215, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 185, 215, .035) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 80%, transparent 100%);
}
:root[data-theme="dark"] .hero::after {
  content: "const application = {\A  interface: 'accessible',\A  services: ['frontend', 'api'],\A  data: 'designed with care',\A  performance: 'by design'\A};";
  position: absolute;
  z-index: -1;
  top: 182px;
  right: -2vw;
  width: 390px;
  color: #a9bfd9;
  opacity: .12;
  pointer-events: none;
  white-space: pre;
  font: 12px/2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .02em;
  transform: rotate(-5deg);
}
:root[data-theme="dark"] .engineering-panel {
  border-color: rgba(161, 183, 208, .2);
  background: linear-gradient(145deg, rgba(18, 23, 30, .94), rgba(8, 11, 15, .86));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .035);
}
:root[data-theme="dark"] .architecture-flow {
  border-color: rgba(161, 183, 208, .18);
}
:root[data-theme="dark"] .architecture-layer,
:root[data-theme="dark"] .skill-card {
  background: linear-gradient(115deg, rgba(255,255,255,.025), rgba(255,255,255,.006));
}
:root[data-theme="dark"] .architecture-layer + .architecture-layer,
:root[data-theme="dark"] .panel-bottom {
  border-color: rgba(161, 183, 208, .16);
}
:root[data-theme="dark"] .architecture-icon,
:root[data-theme="dark"] .integration-mark {
  border-color: rgba(161, 183, 208, .24);
  background: rgba(255,255,255,.025);
}
:root[data-theme="dark"] .skills-section {
  background: linear-gradient(130deg, rgba(10, 15, 22, .7), rgba(5, 6, 7, .4));
  border-block: 1px solid rgba(161, 183, 208, .12);
}
:root[data-theme="dark"] .site-footer {
  background: rgba(8, 10, 13, .82);
}
:root[data-theme="dark"] .section-heading .eyebrow,
:root[data-theme="dark"] .hero-topline .eyebrow {
  color: #b6c0cd;
}
@media (prefers-reduced-motion: reduce) {
  :root[data-theme="dark"] body {
    background-position: center 50%;
    background-attachment: scroll;
  }
}
@media (min-width: 1200px) {
  .hero { padding-bottom: 14px; }
  .hero-grid { gap: 8%; }
  .hero-copy { padding-block: 4px; }
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1.08fr 1fr; gap: 4%; }
  .engineering-panel { padding: 22px; }
  h1 { font-size: clamp(53px, 7vw, 72px); }
  .panel-top .eyebrow { font-size: 15px; }
  .architecture-layer { gap: 9px; padding-inline: 11px; }
  .architecture-copy small { font-size: 10px; }
  .integration-row small { font-size: 10px; }
}
@media (max-width: 700px) {
  :root[data-theme="dark"] .hero::before {
    top: 180px;
    right: -40vw;
    width: 120vw;
    height: 500px;
    opacity: .32;
  }
  :root[data-theme="dark"] .hero::after { display: none; }
  .hero-topline { margin: 26px 0 35px; }
  .hero-topline .eyebrow { font-size: 9px; }
  .hero-grid { grid-template-columns: 1fr; gap: 37px; }
  .hero-meta { margin-bottom: 18px; }
  h1 { max-width: 500px; font-size: clamp(54px, 13vw, 78px); line-height: 1.04; }
  .hero-tagline { font-size: 20px; }
  .hero-support { font-size: 14px; }
  .engineering-panel { padding: 22px 20px 17px; }
  .panel-top .eyebrow { font-size: 15px; }
  .architecture-layer { min-height: 72px; padding-inline: 13px; }
  .architecture-copy small { font-size: 11px; }
  .integration-row small { font-size: 11px; }
  .panel-bottom { gap: 11px; font-size: 9px; }
  .panel-bottom span + span::before { margin-right: 11px; }
  .hero-bottom { margin-top: 33px; }
  .skills-section { padding-block: 78px; }
}
@media (max-width: 370px) {
  h1 { font-size: 52px; }
  .panel-bottom { gap: 8px; }
  .panel-bottom span + span::before { margin-right: 8px; }
  .panel-bottom span { font-size: 8px; }
}
svg:has(> use) { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.skill-tag-icon { width: 15px; height: 15px; }
.skill-card-wide { grid-column: 1 / -1; }
.skill-wide-layout {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) 1.2fr;
  gap: 30px;
  align-items: start;
}
.skill-card-wide .skill-card-top { margin-bottom: 18px; }
.skill-wide-layout h3 { margin-top: 0; }
.skill-wide-layout > p,
.skill-wide-layout > div > p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.skill-wide-layout .skill-tags { align-content: start; }
.practice-block {
  display: grid;
  grid-template-columns: minmax(190px, .72fr) 1.65fr;
  gap: clamp(26px, 6vw, 78px);
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.practice-heading .eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
}
.practice-heading h3 {
  margin: 0;
  max-width: 270px;
  font-size: clamp(21px, 2.5vw, 28px);
  font-weight: 560;
  line-height: 1.2;
  letter-spacing: -.045em;
}
.practice-heading > p:last-child {
  max-width: 270px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.practice-content { display: grid; gap: 14px; }
.practice-foundation {
  display: grid;
  grid-template-columns: minmax(150px, .62fr) minmax(0, 1.5fr);
  align-items: start;
  gap: 24px;
  padding: 21px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,.018);
}
.practice-label {
  margin: 0 0 5px;
  color: var(--accent);
  font: 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.practice-foundation h4 { margin: 0; font-size: 15px; font-weight: 570; }
.practice-foundation-intro > p:last-child {
  max-width: 250px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.practice-principles {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.practice-principles li {
  display: grid;
  grid-template-columns: minmax(125px, .72fr) minmax(0, 1.4fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.practice-principles li:first-child { padding-top: 0; }
.practice-principles li:last-child { padding-bottom: 0; border-bottom: 0; }
.practice-principles strong {
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
}
.practice-principles span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.practice-card {
  min-width: 0;
  padding: 20px 21px 17px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,.018);
}
.practice-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}
.practice-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--accent);
  font: 600 12px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.practice-card-title h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 570;
}
.practice-card ul {
  display: grid;
  gap: 10px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}
.practice-card li {
  position: relative;
  padding-left: 15px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.practice-card li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
:root[data-theme="dark"] .practice-card { background: rgba(255,255,255,.018); }
@media (max-width: 800px) {
  .practice-block { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
}
@media (max-width: 540px) {
  .practice-foundation { grid-template-columns: 1fr; gap: 18px; }
  .practice-foundation-intro > p:last-child { max-width: none; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card { padding: 18px; }
  .skill-wide-layout { grid-template-columns: 1fr; gap: 20px; }
}
