:root {
  color-scheme: dark;
  --ink: #f2f0eb;
  --muted: #b6b3c0;
  --subtle: #9996a8;
  --surface: #1b1a23;
  --surface-raised: #24222e;
  --line: #383540;
  --accent: #c7b0ed;
  --accent-strong: #b29ad8;
  --green: #9bc7b2;
  --page: 1240px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #14141b;
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  background: #14141b;
}
a {
  color: inherit;
  text-decoration-color: var(--accent-strong);
  text-underline-offset: 0.28em;
}
a:hover {
  color: var(--accent);
}
button {
  font: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: #c7b0ed;
  color: #16131c;
}
p {
  line-height: 1.75;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
img {
  max-width: 100%;
}
.skip-link {
  position: absolute;
  z-index: 20;
  top: -6rem;
  left: 1rem;
  padding: 1rem;
  background: var(--ink);
  color: #14141b;
}
.skip-link:focus {
  top: 1rem;
}
.preview-banner {
  padding: 0.55rem 1rem;
  border-bottom: 1px solid #4b3f60;
  background: #282230;
  color: #dfceef;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.site-header,
main,
.site-footer {
  width: min(var(--page), 100% - 6rem);
  margin-inline: auto;
}
.site-header {
  min-height: 105px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #75618e;
  color: var(--accent);
  font-size: 1.45rem;
  font-family: Georgia, serif;
  letter-spacing: -0.08em;
  border-radius: 50%;
}
.brand-logo {
  object-fit: contain;
}
.primary-navigation ul {
  display: flex;
  gap: 2.15rem;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.primary-navigation a {
  position: relative;
  display: block;
  min-height: 44px;
  align-content: center;
  text-decoration: none;
  font-size: 0.82rem;
  color: var(--muted);
}
.primary-navigation a:hover,
.primary-navigation a[aria-current="page"] {
  color: var(--ink);
}
.primary-navigation a[aria-current="page"]::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 18px;
  height: 2px;
  content: "";
  background: var(--accent);
}
.primary-navigation li:last-child a {
  border: 1px solid #5c546a;
  border-radius: 3px;
  padding: 0.25rem 1rem;
  color: var(--ink);
}
.nav-toggle {
  display: none;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.65rem 1rem;
  min-height: 44px;
  border-radius: 3px;
}
main {
  min-height: calc(100vh - 200px);
}
.eyebrow,
.system-label {
  margin: 0 0 1.35rem;
  color: var(--accent);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 650;
  line-height: 1.7;
}
.eyebrow-divider {
  margin: 0 0.45em;
  color: #6b637a;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 0.82fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  padding-block: clamp(4rem, 7.8vw, 7rem) 5rem;
}
.hero-copy {
  padding-bottom: 0.5rem;
}
.hero-copy h1 {
  margin-bottom: 1.7rem;
  font-size: clamp(3.25rem, 5.2vw, 4.9rem);
  font-weight: 550;
  letter-spacing: -0.057em;
  line-height: 1.03;
  max-width: 800px;
  text-wrap: initial;
}
.hero-statement,
.hero-emphasis {
  display: block;
}
.hero-emphasis {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.055em;
  color: var(--accent);
  margin-top: 0.13em;
}
.lead {
  max-width: 580px;
  color: #c5c1cf;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.85;
}
.lead p {
  margin-bottom: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}
.button,
.return-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}
.button-primary,
.return-button {
  background: var(--accent);
  color: #21192b;
}
.button-primary:hover,
.return-button:hover {
  color: #21192b;
  background: #dac8f5;
  transform: translateY(-2px);
}
.button-quiet {
  color: var(--ink);
  border-color: #61566e;
}
.button-quiet::after {
  content: "→";
  font-size: 1rem;
  margin-left: 0.5rem;
}
.button-quiet:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.name-line {
  margin: 1.45rem 0 0;
  font-size: 0.7rem;
  color: var(--subtle);
  letter-spacing: 0.03em;
}
.portrait-frame {
  position: relative;
  margin: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0.5rem;
}
.portrait-frame::before {
  position: absolute;
  content: "";
  inset: 47px -12px 42px 12px;
  border: 1px solid #69567e;
  z-index: 0;
  pointer-events: none;
}
.portrait-overline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  margin-bottom: 1rem;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b5a2ce;
}
.portrait-image {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  max-height: 500px;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 3px;
}
.portrait-frame figcaption {
  position: relative;
  color: var(--muted);
  font-size: 0.65rem;
  margin-top: 1.15rem;
  letter-spacing: 0.03em;
}
.evidence-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.15rem 0 2.3rem;
}
.evidence-list {
  display: grid;
  grid-template-columns: 0.88fr 1fr 1.35fr;
  margin: 0;
}
.evidence-item {
  display: flex;
  flex-direction: column;
  padding: 0 2.5rem;
  border-left: 1px solid var(--line);
}
.evidence-item:first-child {
  padding-left: 0;
  border: 0;
}
.evidence-item:last-child {
  padding-right: 0;
}
.evidence-item dt {
  order: 2;
  font-weight: 650;
  font-size: 0.83rem;
  margin: 0.65rem 0 0.4rem;
}
.evidence-item dd {
  margin: 0;
}
.evidence-value {
  order: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 4.4vw, 4.2rem);
  letter-spacing: -0.055em;
  color: #eee6f8;
  line-height: 1.15;
}
.evidence-detail {
  order: 3;
  max-width: 285px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.7;
}
.section-block {
  padding-block: 5.5rem;
  border-top: 1px solid var(--line);
}
.evidence-section + .section-block {
  border-top: 0;
}
.section-block h2 {
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.13;
  margin-bottom: 1.6rem;
}
.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 410px;
}
.featured-experience {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
}
.leadership-list {
  display: grid;
  align-content: start;
}
.leadership-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 1.1rem;
  border-bottom: 1px solid var(--line);
  padding: 1.55rem 0;
}
.leadership-row:first-child {
  padding-top: 0;
}
.leadership-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.row-number {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.65rem;
  padding-top: 0.3rem;
}
.leadership-row h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  letter-spacing: -0.015em;
}
.leadership-row p {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.85;
}
.interest-block {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
  align-items: start;
}
.about-preview {
  max-width: 600px;
  padding-top: 2.5rem;
  color: #c9c4d3;
  font-size: 1.1rem;
}
.text-link {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  font-weight: 600;
  font-size: 0.8rem;
  margin-top: 0.8rem;
  color: var(--accent);
  text-decoration: none;
  min-height: 44px;
}
.text-link:hover {
  text-decoration: underline;
}
.home-projects .project-grid {
  margin-block: 2rem 1rem;
}
.home-projects > .section-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 2rem;
}
.home-projects > .section-heading .eyebrow {
  width: 100%;
  margin-bottom: 1rem;
}
.home-projects > .section-heading h2 {
  margin-bottom: 0;
}
.home-projects > .section-heading > p:last-child {
  font-size: 0.8rem;
  margin-left: auto;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}
.project-card {
  border-top: 1px solid var(--line);
  padding: 2rem 2.3rem 1rem 0;
  background: none;
  min-width: 0;
}
.project-card:nth-child(even) {
  border-left: 1px solid var(--line);
  padding-left: 2.3rem;
  padding-right: 0;
}
.project-card h3 {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  font-weight: 550;
  margin-bottom: 0.85rem;
}
.project-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.85;
  max-width: 520px;
}
.project-card .project-stage {
  color: var(--accent);
  font-size: 0.64rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.project-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 1rem;
}
.project-figure {
  margin: 0 0 1rem;
}
.project-figure figcaption {
  font-size: 0.8rem;
  color: var(--muted);
}
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.contact-section h2 {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(2.4rem, 4.7vw, 4.2rem);
  font-weight: 400;
  color: #e9ddf7;
  letter-spacing: -0.04em;
}
.contact-section p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.9rem;
}
.contact-links {
  display: grid;
  align-content: start;
  gap: 0;
}
.contact-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  overflow-wrap: anywhere;
}
.contact-link span {
  color: var(--accent);
}
.page-intro {
  max-width: 920px;
  padding: 5rem 0 3.5rem;
}
.page-intro h1 {
  font-size: clamp(3rem, 6.9vw, 6.4rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.06em;
  margin-bottom: 1.5rem;
}
.page-intro p:not(.eyebrow) {
  color: #c5bfce;
  font-size: 1.08rem;
  line-height: 1.85;
  max-width: 700px;
}
.page-intro .page-deck {
  font-family: Georgia, serif;
  font-size: 2.25rem;
  line-height: 1.3;
  font-style: italic;
  color: var(--accent);
}
.page-intro a[href^="mailto"],
.page-intro a[href*="linkedin.com"] {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.25rem 0;
  font-size: clamp(0.9rem, 3vw, 1.3rem);
  overflow-wrap: anywhere;
}
.page-intro a[href*="linkedin.com"] {
  font-size: 1rem;
}
.about-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 6rem;
  padding: 0 0 5rem;
  align-items: start;
}
.about-portrait {
  margin: 0;
  max-width: 410px;
}
.about-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 3px;
}
.about-portrait figcaption {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1rem;
}
.prose {
  max-width: 680px;
  color: #cbc5d4;
  font-size: 1.02rem;
  line-height: 1.9;
}
.prose p {
  margin-bottom: 1.7rem;
}
.prose h2 {
  font-size: 1.4rem;
  font-weight: 550;
  color: var(--ink);
  margin-top: 2.8rem;
}
.interest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.interest-list li {
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.timeline {
  margin-top: 0.8rem;
}
.timeline-entry {
  display: grid;
  grid-template-columns: 160px 1fr;
  column-gap: 3rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}
.timeline-entry .timeline-date {
  grid-row: 1/5;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.74rem;
  color: var(--accent);
  padding-top: 0.35rem;
}
.timeline-entry h3 {
  grid-column: 2;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 550;
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
}
.timeline-org {
  grid-column: 2;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.timeline-entry > p:not(.timeline-date):not(.timeline-org) {
  grid-column: 2;
  color: #c1bacb;
  max-width: 800px;
  font-size: 0.96rem;
}
.timeline-entry ul {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.9rem;
  padding-left: 1.15rem;
  margin-top: 0.3rem;
  max-width: 800px;
}
.timeline-entry li {
  line-height: 1.85;
  margin-bottom: 0.8rem;
  padding-left: 0.25rem;
}
.timeline-current {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.timeline-current h3 {
  font-size: 2rem;
}
.timeline-current .timeline-date::after {
  content: "CURRENT ROLE";
  display: block;
  margin-top: 1rem;
  font-family: inherit;
  font-size: 0.57rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.skill-group {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.skill-group h3 {
  font-size: 1.08rem;
  font-weight: 600;
}
.skill-group p {
  font-size: 0.86rem;
  color: var(--muted);
}
.skill-group .quiet-note {
  font-size: 0.72rem;
  color: var(--accent);
}
.skill-group ul {
  padding-left: 1rem;
  font-size: 0.84rem;
  color: var(--muted);
}
.skill-group li {
  line-height: 1.85;
  margin-bottom: 0.35rem;
}
.cert-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  list-style: none;
  gap: 1.5rem 2.5rem;
}
.cert-list > li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  line-height: 1.8;
}
.cert-list span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}
.project-grid-large {
  padding-bottom: 5rem;
}
.draft-badge {
  display: inline-block;
  margin-bottom: 0.8rem;
  border: 1px solid #806595;
  border-radius: 3px;
  padding: 0.3rem 0.55rem;
  font-size: 0.65rem;
  color: #dfc9f5;
}
.draft-callout {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px dashed var(--accent);
  color: var(--accent);
}
.quiet-note {
  color: var(--muted);
  line-height: 1.7;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: 2rem;
  color: var(--subtle);
  font-size: 0.7rem;
}
.site-footer p {
  margin: 0;
}
.footer-end {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.pi-trigger {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 1rem;
  cursor: pointer;
}
.pi-trigger:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.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;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1400px) {
  .hero-copy h1 {
    font-size: 5.2rem;
  }
  .hero-grid {
    padding-block: 6rem 5rem;
  }
}
@media (max-width: 1000px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 3rem);
  }
  .hero-grid {
    grid-template-columns: 1.35fr 0.8fr;
    gap: 2rem;
  }
  .hero-copy h1 {
    font-size: 3.7rem;
  }
  .featured-experience,
  .interest-block,
  .contact-section {
    gap: 3rem;
  }
  .evidence-item {
    padding-inline: 1.5rem;
  }
  .skill-grid {
    gap: 1.5rem;
  }
  .about-layout {
    gap: 3rem;
  }
  .timeline-entry {
    grid-template-columns: 130px 1fr;
    gap: 0 2rem;
  }
}
@media (max-width: 740px) {
  .site-header {
    min-height: 85px;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding-block: 1rem;
  }
  .js .nav-toggle {
    display: block;
  }
  .primary-navigation {
    width: 100%;
    padding: 0.65rem 0 0.3rem;
  }
  .js .primary-navigation {
    display: none;
  }
  .js .primary-navigation.is-open {
    display: block;
  }
  .primary-navigation ul {
    gap: 1rem;
    flex-wrap: wrap;
  }
  .primary-navigation li:last-child a {
    padding: 0.1rem 0.6rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.6rem;
    padding-block: 3rem 3.5rem;
  }
  .hero-copy h1 {
    font-size: clamp(2.9rem, 9.8vw, 4.4rem);
    max-width: 640px;
  }
  .hero-copy > .eyebrow {
    max-width: 360px;
    font-size: 0.61rem;
  }
  .hero-copy .lead {
    max-width: 580px;
    font-size: 1rem;
  }
  .portrait-frame {
    width: min(100%, 400px);
    justify-self: center;
  }
  .portrait-image {
    aspect-ratio: 1/1;
    max-height: none;
  }
  .portrait-frame::before {
    inset: 36px -9px 36px 9px;
  }
  .portrait-overline {
    font-size: 0.56rem;
  }
  .evidence-list {
    grid-template-columns: 1fr;
  }
  .evidence-item {
    padding: 1.5rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .evidence-item:first-child {
    padding-top: 0;
  }
  .evidence-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .evidence-value {
    font-size: 3.3rem;
  }
  .evidence-detail {
    max-width: 390px;
  }
  .evidence-section {
    padding-block: 2rem;
  }
  .section-block {
    padding-block: 3.5rem;
  }
  .featured-experience,
  .interest-block,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .section-heading p:not(.eyebrow) {
    max-width: 580px;
  }
  .section-block h2 {
    font-size: 2.5rem;
  }
  .about-preview {
    padding-top: 0;
    font-size: 1rem;
  }
  .project-grid,
  .skill-grid,
  .cert-list {
    grid-template-columns: 1fr;
  }
  .project-card:nth-child(even) {
    border-left: 0;
    padding-left: 0;
  }
  .project-card {
    padding: 1.7rem 0 1rem;
  }
  .home-projects > .section-heading > p:last-child {
    margin: 0.75rem 0 0;
    width: 100%;
  }
  .contact-section h2 {
    font-size: 2.9rem;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-portrait {
    max-width: 390px;
  }
  .prose {
    font-size: 1rem;
  }
  .page-intro {
    padding: 3rem 0 2.5rem;
  }
  .page-intro h1 {
    font-size: 3.7rem;
  }
  .timeline-entry {
    grid-template-columns: 1fr;
    padding: 2rem 0;
  }
  .timeline-entry .timeline-date {
    grid-row: auto;
    grid-column: 1;
  }
  .timeline-entry h3,
  .timeline-org,
  .timeline-entry > p:not(.timeline-date):not(.timeline-org),
  .timeline-entry ul {
    grid-column: 1;
  }
  .timeline-current .timeline-date::after {
    display: inline-block;
    margin: 0 0 0 1rem;
  }
  .timeline-current h3 {
    font-size: 1.7rem;
  }
  .timeline-entry ul {
    font-size: 0.9rem;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
  .footer-end {
    justify-content: space-between;
    width: 100%;
  }
}
@media (max-width: 380px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 2.2rem);
  }
  .hero-copy h1 {
    font-size: 2.65rem;
  }
  .hero-actions {
    gap: 0.6rem;
  }
  .hero-actions .button {
    width: 100%;
  }
  .primary-navigation ul {
    gap: 0.8rem;
  }
  .brand {
    font-size: 0.86rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Preserved creative interaction, separate from the professional narrative. */
.system-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  border: 0;
  padding: clamp(1rem, 4vw, 3rem);
  background: #0c0d10;
  color: #e9e9e4;
}
.system-dialog::backdrop {
  background: #0c0d10;
}
.system-screen {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid #33353b;
  padding: clamp(1.2rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse at 75% 45%, rgba(86, 74, 113, 0.2), transparent 40rem), #101115;
}
.system-topline {
  display: flex;
  justify-content: space-between;
  color: #9c9eaa;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}
.dialog-close {
  border: 0;
  background: transparent;
  color: #c5c6ce;
  cursor: pointer;
  font-size: 1.8rem;
}
.scanline {
  position: absolute;
  top: 0;
  right: 12%;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, rgba(198, 169, 237, 0.42), transparent);
  opacity: 0.5;
}
.system-sequence,
.restricted-panel {
  width: min(680px, 100%);
  margin: auto;
  padding-block: 4rem;
}
.system-label {
  color: #ae91d4;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.system-sequence h2,
.restricted-panel h3 {
  margin: 0 0 2rem;
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
}
.terminal-lines {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  color: #b9bac1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  list-style: none;
}
.terminal-lines li {
  opacity: 0.45;
  transition:
    opacity 0.45s ease,
    color 0.45s ease;
}
.terminal-lines li.is-current {
  color: #d8c6f0;
  opacity: 1;
}
.sequence-meter {
  width: 100%;
  height: 2px;
  margin-top: 2rem;
  background: #292a31;
}
.sequence-meter span {
  display: block;
  width: 0;
  height: 100%;
  background: #a98bd1;
  transition: width 0.65s ease;
}
.system-sequence[data-progress="1"] .sequence-meter span {
  width: 33.333%;
}
.system-sequence[data-progress="2"] .sequence-meter span {
  width: 66.667%;
}
.system-sequence[data-progress="3"] .sequence-meter span {
  width: 100%;
}
.system-sequence.is-complete {
  display: none;
}
.restricted-panel[hidden] {
  display: none;
}
.restricted-panel h3 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 4.4rem);
}
.restricted-panel > p:not(.system-label) {
  max-width: 580px;
  color: #b9bac1;
  line-height: 1.7;
}
.system-status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 2rem 0;
  color: #b9bac1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(142, 211, 177, 0.4);
}

.section-block h2.timeline-label {
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  line-height: 1.7;
  text-transform: uppercase;
}
