:root {
  --background: oklch(0.98 0.01 95);
  --foreground: oklch(0.18 0.02 95);
  --muted: oklch(0.95 0.01 95);
  --muted-2: oklch(0.92 0.01 95);
  --surface: rgba(255, 255, 255, 0.56);
  --surface-strong: rgba(255, 255, 255, 0.74);
  --border: oklch(0.86 0.01 95);
  --border-strong: oklch(0.78 0.02 95);
  --accent: oklch(0.58 0.15 245);
  --accent-foreground: oklch(0.98 0.01 95);
  --shadow-soft: 0 20px 40px rgba(33, 29, 24, 0.06);
  --shadow-card: 0 14px 30px rgba(33, 29, 24, 0.04);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --display-font: "Instrument Serif", Georgia, serif;
  --body-font: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono-font: "SFMono-Regular", "JetBrains Mono", "Menlo", monospace;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  padding-bottom: 6.8rem;
  background:
    radial-gradient(circle at top left, rgba(101, 128, 255, 0.08), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(225, 183, 122, 0.12), transparent 25%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 28%),
    var(--background);
  color: var(--foreground);
  font-family: var(--body-font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

address {
  font-style: normal;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: var(--foreground);
  color: var(--accent-foreground);
  transition: top 180ms ease;
}

.skip-link:focus-visible {
  top: 1rem;
}

p,
li {
  font-size: 1rem;
  line-height: 1.7;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

h1 {
  font-size: clamp(4rem, 8.8vw, 8.8rem);
  max-width: 8.8ch;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  max-width: 12ch;
}

.nowrap {
  white-space: nowrap;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.container {
  width: min(1280px, calc(100vw - 2.5rem));
  margin: 0 auto;
}

.narrow {
  width: min(840px, calc(100vw - 2.5rem));
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  scroll-margin-top: 7rem;
}

.section-tight {
  padding-top: clamp(2rem, 4vw, 3rem);
}

a:focus-visible,
button:focus-visible,
.social-link:focus-visible,
.button:focus-visible {
  outline: 2px solid rgba(85, 108, 232, 0.65);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  padding-top: 0.85rem;
  transition: backdrop-filter 180ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: calc(100% + 0.6rem);
  background: linear-gradient(180deg, rgba(246, 241, 232, 0.88), rgba(246, 241, 232, 0));
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

body.has-dock .site-header::before {
  opacity: 1;
}

.top-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.15rem 0 0.8rem;
}

.brand,
.site-dock a {
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.brand {
  font-weight: 600;
  color: rgba(28, 25, 21, 0.9);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.nav-resume {
  padding: 0.58rem 0.84rem;
  border: 1px solid rgba(27, 24, 20, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: rgba(28, 25, 21, 0.86);
  box-shadow: 0 8px 20px rgba(26, 22, 18, 0.06);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-resume:hover,
.nav-resume:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 24px rgba(26, 22, 18, 0.1);
  transform: translateY(-1px);
}

.site-dock {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  padding: 0.34rem;
  border: 1px solid rgba(122, 111, 98, 0.16);
  border-radius: 1.3rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(247, 242, 234, 0.64));
  box-shadow:
    0 22px 48px rgba(24, 19, 16, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(18px) scale(0.97);
  transition: opacity 220ms ease, transform 220ms ease;
}

body.has-dock .site-dock {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.site-dock a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.62rem 0.88rem;
  border-radius: 1rem;
  color: rgba(38, 34, 29, 0.66);
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.site-dock a:hover,
.site-dock a:focus-visible {
  transform: translateY(-1px);
  color: var(--foreground);
}

.site-dock a.is-active {
  background: rgba(255, 255, 255, 0.84);
  color: var(--foreground);
  box-shadow: 0 12px 20px rgba(24, 19, 16, 0.08);
}

.dock-index {
  font-family: var(--mono-font);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(53, 47, 40, 0.38);
}

.site-dock a.is-active .dock-index {
  color: rgba(53, 47, 40, 0.62);
}

.dock-label {
  font-size: 0.84rem;
  line-height: 1;
}

.hero {
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 9vw, 8rem);
}

.hero-grid,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.hero-main {
  grid-column: 1 / span 8;
}

.hero-aside {
  grid-column: 9 / span 4;
  align-self: end;
  padding-bottom: 0.65rem;
}

.eyebrow,
.section-label,
.role-meta,
.brand-pill,
.impact-label {
  font-family: var(--mono-font);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow,
.section-label {
  margin: 0 0 1.25rem;
  color: rgba(53, 47, 40, 0.58);
}

.hero-copy {
  margin: 0 0 1rem;
  max-width: 32rem;
  font-size: 1.08rem;
}

.hero-prelude {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
  padding: 0.45rem 0.6rem 0.45rem 0.85rem;
  border: 1px solid rgba(122, 111, 98, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow-card);
}

.hero-prelude-label,
.hero-visual-label,
.focus-highlight-label,
.role-tag {
  font-family: var(--mono-font);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-prelude-label {
  color: rgba(53, 47, 40, 0.56);
}

.hero-prelude-link {
  color: var(--foreground);
  font-weight: 600;
}

.hero-lede {
  margin: 1.8rem 0 0;
  max-width: 34rem;
  color: rgba(53, 47, 40, 0.76);
  font-size: 1.04rem;
}

.hero-copy-muted {
  color: rgba(53, 47, 40, 0.72);
}

.hero-actions,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-visual {
  position: relative;
  min-height: 18rem;
  margin-bottom: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: calc(var(--radius-lg) + 0.4rem);
  background: transparent;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 14% 18% 16% 14%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(104, 123, 255, 0.08), transparent 68%);
  filter: blur(20px);
  opacity: 0.8;
  animation: hero-aura-drift 10s ease-in-out infinite;
}

.hero-orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: hero-visual-float 8s ease-in-out infinite;
}

.hero-grid-line,
.hero-signal-path,
.hero-plate-link,
.hero-story-curve,
.hero-growth-bar,
.hero-signal-node,
.hero-plate-node,
.hero-outcome-node,
.hero-narrative-plate {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity, stroke-dashoffset, height, y;
}

.hero-grid-line,
.hero-signal-path,
.hero-plate-link,
.hero-story-curve {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.hero-grid-line {
  stroke: rgba(122, 111, 98, 0.14);
  stroke-width: 1;
  stroke-dasharray: 6 10;
  animation: hero-grid-breathe 9s ease-in-out infinite;
}

.hero-grid-line-vertical {
  animation-delay: 0.8s;
}

.hero-signal-path {
  stroke: rgba(122, 111, 98, 0.26);
  stroke-width: 1.75;
  stroke-linecap: round;
}

.hero-signal-path-primary {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation:
    hero-signal-draw 6.2s ease-in-out infinite,
    hero-signal-drift 7s ease-in-out infinite;
}

.hero-signal-path-secondary {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation:
    hero-signal-draw-soft 6.8s ease-in-out infinite 0.4s,
    hero-signal-drift-soft 7.6s ease-in-out infinite;
}

.hero-signal-path-tertiary {
  stroke: rgba(104, 123, 255, 0.28);
  stroke-dasharray: 210;
  stroke-dashoffset: 210;
  animation:
    hero-signal-draw-soft 7.2s ease-in-out infinite 0.8s,
    hero-signal-drift 8.2s ease-in-out infinite;
}

.hero-signal-node {
  fill: rgba(104, 123, 255, 0.42);
  animation: hero-node-pulse 3.8s ease-in-out infinite;
}

.hero-signal-node-a {
  animation-delay: 0.1s;
}

.hero-signal-node-b {
  fill: rgba(122, 111, 98, 0.3);
  animation-delay: 0.8s;
}

.hero-signal-node-c {
  animation-delay: 1.4s;
}

.hero-narrative-plate {
  fill: rgba(255, 255, 255, 0.46);
  stroke: rgba(122, 111, 98, 0.22);
  stroke-width: 1.4;
  animation:
    hero-plate-breathe 6.2s ease-in-out infinite,
    hero-float-soft 8.4s ease-in-out infinite;
}

.hero-plate-node {
  fill: rgba(104, 123, 255, 0.2);
  stroke: rgba(104, 123, 255, 0.42);
  stroke-width: 1.3;
  animation: hero-core-breathe 4.8s ease-in-out infinite;
}

.hero-plate-link {
  stroke: rgba(122, 111, 98, 0.32);
  stroke-width: 1.5;
  stroke-linecap: round;
  animation: hero-link-fade 5.2s ease-in-out infinite;
}

.hero-plate-link-curve {
  animation-delay: 0.5s;
}

.hero-story-curve {
  stroke: rgba(104, 123, 255, 0.46);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation:
    hero-story-draw 6s ease-in-out infinite 1.2s,
    hero-float-wide 7.6s ease-in-out infinite;
}

.hero-story-curve-soft {
  stroke: rgba(122, 111, 98, 0.24);
  stroke-width: 1.4;
  animation:
    hero-story-draw-soft 6.8s ease-in-out infinite 1.5s,
    hero-float-soft 8.2s ease-in-out infinite;
}

.hero-growth-bar {
  fill: rgba(255, 255, 255, 0.18);
  stroke: rgba(122, 111, 98, 0.24);
  stroke-width: 1.2;
}

.hero-growth-bar-a {
  animation: hero-bar-rise-a 5.6s ease-in-out infinite;
}

.hero-growth-bar-b {
  animation: hero-bar-rise-b 5.6s ease-in-out infinite 0.22s;
}

.hero-growth-bar-c {
  animation: hero-bar-rise-c 5.6s ease-in-out infinite 0.44s;
}

.hero-outcome-node {
  fill: rgba(104, 123, 255, 0.34);
  animation:
    hero-node-pulse-soft 4.2s ease-in-out infinite,
    hero-node-drift 6.4s ease-in-out infinite;
}

.hero-outcome-node-small {
  fill: rgba(122, 111, 98, 0.26);
  animation-delay: 0.9s;
}

@keyframes hero-grid-breathe {
  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.78;
  }
}

@keyframes hero-signal-draw {
  0%,
  14% {
    stroke-dashoffset: 240;
    opacity: 0.2;
  }

  48%,
  86% {
    stroke-dashoffset: 0;
    opacity: 0.96;
  }

  100% {
    stroke-dashoffset: -56;
    opacity: 0.34;
  }
}

@keyframes hero-signal-draw-soft {
  0%,
  18% {
    stroke-dashoffset: 220;
    opacity: 0.18;
  }

  50%,
  86% {
    stroke-dashoffset: 0;
    opacity: 0.76;
  }

  100% {
    stroke-dashoffset: -48;
    opacity: 0.24;
  }
}

@keyframes hero-story-draw {
  0%,
  20% {
    stroke-dashoffset: 220;
    opacity: 0.16;
  }

  54%,
  88% {
    stroke-dashoffset: 0;
    opacity: 0.98;
  }

  100% {
    stroke-dashoffset: -52;
    opacity: 0.36;
  }
}

@keyframes hero-story-draw-soft {
  0%,
  20% {
    stroke-dashoffset: 220;
    opacity: 0.14;
  }

  56%,
  88% {
    stroke-dashoffset: 0;
    opacity: 0.72;
  }

  100% {
    stroke-dashoffset: -40;
    opacity: 0.24;
  }
}

@keyframes hero-plate-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.78;
  }

  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

@keyframes hero-core-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.84;
  }

  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes hero-node-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.28);
  }
}

@keyframes hero-link-fade {
  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.92;
  }
}

@keyframes hero-signal-drift {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(4px, -2px);
  }
}

@keyframes hero-signal-drift-soft {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-3px, 2px);
  }
}

@keyframes hero-node-pulse-soft {
  0%,
  100% {
    opacity: 0.46;
    transform: scale(1);
  }

  50% {
    opacity: 0.86;
    transform: scale(1.18);
  }
}

@keyframes hero-bar-rise-a {
  0%,
  100% {
    height: 52px;
    y: 154px;
    opacity: 0.52;
  }

  50% {
    height: 62px;
    y: 144px;
    opacity: 0.96;
  }
}

@keyframes hero-bar-rise-b {
  0%,
  100% {
    height: 68px;
    y: 138px;
    opacity: 0.52;
  }

  50% {
    height: 82px;
    y: 124px;
    opacity: 0.98;
  }
}

@keyframes hero-bar-rise-c {
  0%,
  100% {
    height: 92px;
    y: 114px;
    opacity: 0.56;
  }

  50% {
    height: 108px;
    y: 98px;
    opacity: 1;
  }
}

@keyframes hero-float-wide {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(4px, -3px);
  }
}

@keyframes hero-float-soft {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-3px, 2px);
  }
}

@keyframes hero-gem-hover {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.82;
  }

  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes hero-visual-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes hero-aura-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.64;
  }

  50% {
    transform: translate(10px, -8px) scale(1.08);
    opacity: 0.94;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual::before,
  .hero-orbit-svg,
  .hero-grid-line,
  .hero-signal-path,
  .hero-narrative-plate,
  .hero-plate-node,
  .hero-plate-link,
  .hero-story-curve,
  .hero-growth-bar,
  .hero-signal-node,
  .hero-outcome-node {
    animation: none;
  }
}

.hero-visual-label,
.focus-highlight-label,
.role-tag {
  color: rgba(53, 47, 40, 0.56);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--foreground);
  color: var(--accent-foreground);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(122, 111, 98, 0.18);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading-wide {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(14rem, 0.8fr);
  align-items: start;
  gap: 1.4rem 2rem;
  margin-bottom: 3rem;
}

.experience-intro-copy {
  min-width: 0;
}

.section-heading-wide h2 {
  max-width: 17ch;
}

.experience-intro {
  max-width: 40rem;
  color: rgba(53, 47, 40, 0.78);
}

.experience-logo-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-self: end;
  align-self: start;
  gap: 0.8rem;
  width: min(22rem, 100%);
  padding-top: 1.25rem;
}

.experience-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5rem;
  padding: 0.35rem 0;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.experience-logo:hover,
.experience-logo:focus-visible {
  transform: translateY(-2px);
}

.experience-logo img {
  display: block;
  max-width: 100%;
  max-height: 4.2rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) saturate(0) contrast(1.02) opacity(0.82);
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.experience-logo-tss {
  max-height: 8.4rem;
}

.experience-logo:hover img,
.experience-logo:focus-visible img {
  filter: grayscale(0) saturate(1) contrast(1);
  opacity: 1;
  transform: translateY(-1px);
}

.experience-axis {
  margin-bottom: 2.5rem;
  opacity: 0.82;
}

.experience-axis-svg,
.focus-wireframe-svg,
.contact-orbit-svg {
  width: 100%;
  height: auto;
  display: block;
}

.axis-line,
.axis-curve,
.wire-orbit,
.wire-stem,
.wire-arc,
.contact-path {
  fill: none;
  stroke: rgba(122, 111, 98, 0.28);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.axis-line {
  stroke-dasharray: 2 6;
}

.axis-curve {
  stroke: rgba(104, 123, 255, 0.22);
}

.axis-node,
.wire-node,
.contact-node {
  fill: rgba(104, 123, 255, 0.42);
}

.axis-diamond,
.wire-diamond,
.contact-diamond {
  fill: rgba(244, 238, 228, 0.9);
  stroke: rgba(122, 111, 98, 0.28);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.impact-card {
  min-height: 12rem;
  padding: 1.4rem;
  border: 1px solid rgba(122, 111, 98, 0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 244, 237, 0.65));
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.impact-card:nth-child(2n) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(247, 244, 237, 0.42));
}

.impact-value {
  font-family: var(--display-font);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 0.95;
  margin: 0;
}

.impact-label {
  margin: 0;
  color: rgba(53, 47, 40, 0.7);
}

.split-grid > *:first-child {
  grid-column: 1 / span 5;
}

.split-grid > *:last-child {
  grid-column: 6 / span 7;
}

.current-focus .split-grid > *:first-child {
  grid-column: 1 / span 6;
}

.current-focus .split-grid > *:last-child {
  grid-column: 7 / span 6;
}

.about-copy p:not(.section-label),
.focus-copy p:not(.section-label),
.focus-details p,
.work-style p:not(.section-label),
.contact-note {
  max-width: 36rem;
  color: rgba(53, 47, 40, 0.82);
}

.about-portrait {
  width: min(18rem, 58%);
  margin: 1.35rem 0 1.4rem;
}

.about-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 1.4rem;
  border: 1px solid rgba(122, 111, 98, 0.12);
  box-shadow: 0 18px 36px rgba(26, 22, 18, 0.08);
  filter: saturate(0.92) contrast(1.02);
}

.focus-note {
  margin-bottom: 1.5rem;
  padding: 0 0 0 1rem;
  border-left: 2px solid rgba(122, 111, 98, 0.18);
}

.focus-wireframe {
  max-width: 24rem;
  margin: 0 0 1.6rem auto;
  opacity: 0.9;
  transition: transform 320ms ease, opacity 320ms ease;
}

.wire-orbit {
  stroke: rgba(122, 111, 98, 0.22);
}

.wire-core {
  fill: rgba(104, 123, 255, 0.12);
  stroke: rgba(104, 123, 255, 0.38);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.wire-stem {
  stroke: rgba(122, 111, 98, 0.24);
}

.wire-arc {
  stroke: rgba(104, 123, 255, 0.24);
}

.wire-arc-soft {
  stroke: rgba(122, 111, 98, 0.18);
}

.wire-node-soft {
  fill: rgba(122, 111, 98, 0.26);
}

.focus-kicker {
  margin: 0 0 0.75rem;
  font-family: var(--mono-font);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(53, 47, 40, 0.58);
}

.focus-highlight {
  margin-top: 1.8rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(122, 111, 98, 0.18);
}

.focus-highlight-label {
  margin: 0 0 0.75rem;
}

.focus-highlight p:last-child {
  margin: 0;
  max-width: 34rem;
}

.focus-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  margin-left: 1rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(27, 24, 20, 0.08);
  border-radius: 999px;
  background: var(--foreground);
  color: var(--accent-foreground);
  font-size: 0.92rem;
  box-shadow: 0 10px 22px rgba(26, 22, 18, 0.14);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    color 180ms ease;
}

.focus-link:hover,
.focus-link:focus-visible {
  background: rgba(22, 19, 16, 0.9);
  border-color: rgba(27, 24, 20, 0.14);
  color: var(--accent-foreground);
  transform: translateY(-1px);
}

.focus-process {
  margin: 1.3rem 0 1.6rem;
}

.focus-process-svg {
  width: 100%;
  max-width: 40rem;
  height: auto;
  display: block;
}

.process-pill {
  fill: rgba(255, 255, 255, 0.58);
  stroke: rgba(122, 111, 98, 0.16);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.process-pill-highlight {
  fill: rgba(104, 123, 255, 0.08);
  stroke: rgba(104, 123, 255, 0.28);
}

.process-link,
.process-arrow {
  fill: none;
  stroke: rgba(122, 111, 98, 0.26);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.process-text {
  fill: rgba(38, 34, 29, 0.78);
  font-family: var(--mono-font);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.capability-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.capability-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(122, 111, 98, 0.14);
}

.experience-list {
  display: grid;
  gap: 1.75rem;
}

.experience-item {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem 1.75rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(122, 111, 98, 0.14);
}

.experience-item:first-child {
  border-top: 1px solid rgba(122, 111, 98, 0.18);
}

.experience-meta {
  grid-column: 1 / span 3;
}

.experience-body {
  grid-column: 4 / span 9;
  position: relative;
}

.role-tag {
  margin: 0 0 1rem;
}

.role-company {
  margin-bottom: 0.6rem;
  font-size: clamp(1.6rem, 2vw, 2rem);
}

.role-title {
  margin: 0;
  color: rgba(53, 47, 40, 0.78);
}

.role-meta {
  margin-top: 0.35rem;
  color: rgba(53, 47, 40, 0.52);
}

.experience-summary {
  margin-top: 0;
  max-width: 42rem;
}

.experience-bullets {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  max-width: 48rem;
  color: rgba(53, 47, 40, 0.84);
}

.experience-bullets li + li {
  margin-top: 0.6rem;
}

.experience-item.is-featured .role-company {
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
}

.experience-item.is-featured {
  padding-top: 2.2rem;
  padding-bottom: 2.2rem;
}

.experience-item.is-featured .experience-body::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: -1rem;
  width: 2px;
  height: calc(100% - 0.2rem);
  background: linear-gradient(180deg, rgba(104, 123, 255, 0.45), rgba(104, 123, 255, 0));
}

.brand-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.brand-pill,
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.1rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(122, 111, 98, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: rgba(38, 34, 29, 0.8);
}

.brand-pill {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(122, 111, 98, 0.18);
  border-radius: 0;
  padding: 0.4rem 0;
}

.work-style h2 {
  margin-bottom: 1.2rem;
  max-width: 13ch;
}

.contact-grid > *:first-child {
  grid-column: 1 / span 7;
}

.contact-grid > *:last-child {
  grid-column: 8 / span 5;
}

.contact {
  padding-bottom: clamp(5rem, 8vw, 8rem);
}

.contact-grid {
  padding: clamp(2rem, 4vw, 3rem) 0 0;
  border-top: 1px solid rgba(122, 111, 98, 0.16);
}

.contact-copy h2 {
  max-width: 16ch;
}

.contact-caption {
  max-width: 34rem;
  margin-top: 1.25rem;
  color: rgba(53, 47, 40, 0.78);
}

.contact-seal {
  width: 5.5rem;
  margin: 0 0 1rem auto;
  opacity: 0.88;
  transition: transform 320ms ease, opacity 320ms ease;
}

.contact-seal-svg {
  width: 100%;
  height: auto;
  display: block;
}

.seal-ring {
  fill: none;
  stroke: rgba(122, 111, 98, 0.26);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.seal-ring-soft {
  stroke: rgba(104, 123, 255, 0.22);
}

.seal-letter {
  fill: rgba(35, 31, 26, 0.96);
}

.seal-trace {
  fill: none;
  stroke: rgba(122, 111, 98, 0.22);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.contact-orbit {
  max-width: 23rem;
  margin: 0 0 1.4rem auto;
  opacity: 0.82;
  transition: transform 320ms ease, opacity 320ms ease;
}

.contact-path {
  stroke: rgba(122, 111, 98, 0.22);
}

.contact-path-soft {
  stroke: rgba(104, 123, 255, 0.18);
}

.contact-node-soft {
  fill: rgba(122, 111, 98, 0.22);
}

.social-link {
  list-style: none;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    color 180ms ease;
}

.social-links {
  list-style: none;
  padding: 0;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.85);
  color: var(--foreground);
}

.social-link-icon {
  width: 3.1rem;
  min-width: 3.1rem;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}

.social-link-compact {
  padding-top: 0;
  padding-bottom: 0;
  background: var(--foreground);
  border-color: rgba(27, 24, 20, 0.08);
  color: var(--accent-foreground);
  box-shadow: 0 10px 22px rgba(26, 22, 18, 0.14);
}

.social-link-compact:hover,
.social-link-compact:focus-visible {
  background: rgba(22, 19, 16, 0.9);
  color: var(--accent-foreground);
}

.social-link-icon svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 540ms ease,
    transform 540ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.current-focus:hover .focus-wireframe,
.current-focus:focus-within .focus-wireframe,
.contact:hover .contact-orbit,
.contact:focus-within .contact-orbit,
.contact:hover .contact-seal,
.contact:focus-within .contact-seal {
  transform: translateY(-4px);
  opacity: 1;
}

.experience:hover .axis-curve,
.experience:focus-within .axis-curve {
  stroke: rgba(104, 123, 255, 0.34);
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(122, 111, 98, 0.12);
}

.footer-line,
.footer-link {
  color: rgba(53, 47, 40, 0.68);
  font-size: 0.92rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-visible,
  .button,
  .social-link,
  .site-dock a,
  .nav-resume {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .section-heading-wide {
    grid-template-columns: 1fr;
  }

  .experience-logo-rail {
    justify-self: start;
    width: min(24rem, 100%);
  }

  .experience-logo {
    justify-content: center;
  }

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

  .hero-main,
  .hero-aside,
  .split-grid > *:first-child,
  .split-grid > *:last-child,
  .contact-grid > *:first-child,
  .contact-grid > *:last-child {
    grid-column: 1 / -1;
  }

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

  .experience-meta,
  .experience-body {
    grid-column: 1 / -1;
  }

  .hero-aside {
    padding-bottom: 0;
  }

  .hero-visual {
    min-height: 15rem;
  }

  .experience-item.is-featured .experience-body::before {
    display: none;
  }

  .focus-wireframe,
  .contact-orbit {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 760px) {
  .container,
  .narrow {
    width: min(calc(100vw - 1.5rem), 100%);
  }

  body {
    padding-bottom: 7.4rem;
  }

  .site-header {
    padding-top: 0.7rem;
  }

  .top-rail {
    gap: 0.9rem;
  }

  .header-actions {
    width: auto;
  }

  .nav-resume {
    padding: 0.7rem 0.9rem;
  }

  .site-dock {
    width: min(calc(100vw - 1rem), 34rem);
    justify-content: space-between;
    gap: 0.15rem;
    padding: 0.34rem;
    border-radius: 1.25rem;
    bottom: 0.6rem;
  }

  .site-dock a {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.74rem 0.45rem;
  }

  .dock-index {
    display: none;
  }

  .dock-label {
    font-size: 0.8rem;
  }

  h1 {
    max-width: 10.5ch;
  }

  h2 {
    max-width: 14ch;
  }

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

  .impact-card {
    min-height: auto;
    gap: 1rem;
  }

  .hero-visual {
    min-height: 14rem;
    padding: 1rem;
  }

  .contact-grid {
    border-radius: 1.5rem;
  }

  .experience-axis {
    margin-bottom: 1.75rem;
  }

  .focus-wireframe {
    max-width: 18rem;
  }

  .contact-orbit {
    max-width: 18rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
