:root {
  color-scheme: dark;
  --background: #09090b;
  --surface: rgba(24, 24, 27, 0.68);
  --surface-strong: #18181b;
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(167, 139, 250, 0.48);
  --text: #fafafa;
  --muted: #a1a1aa;
  --purple: #a78bfa;
  --purple-bright: #c4b5fd;
  --cyan: #67e8f9;
  --max-width: 1200px;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(88, 28, 135, 0.12), transparent 27rem),
    radial-gradient(circle at 80% 45%, rgba(8, 145, 178, 0.06), transparent 32rem),
    var(--background);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  content: "";
  pointer-events: none;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--text);
  color: var(--background);
  font-weight: 700;
  transition: transform 160ms ease;
}

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

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.site-shell {
  width: min(calc(100% - 2rem), 1440px);
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  display: flex;
  width: min(calc(100% - 4rem), var(--max-width));
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  transform: translateX(-50%);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--purple-bright);
  font-size: 0.7rem;
  letter-spacing: 0;
}

.site-nav {
  gap: 1.75rem;
  color: #d4d4d8;
  font-size: 0.82rem;
  font-weight: 500;
}

.site-nav > a:not(.nav-cta) {
  transition: color 160ms ease;
}

.site-nav > a:not(.nav-cta):hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 160ms ease, background 160ms ease;
}

.nav-cta:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  display: flex;
  min-height: 94vh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 8rem 1rem 6rem;
  overflow: hidden;
  text-align: center;
}

.hero::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(70vw, 900px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.45), transparent);
  content: "";
  transform: translateX(-50%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.55;
  pointer-events: none;
}

.hero-orb-left {
  top: 19%;
  left: 4%;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(126, 34, 206, 0.28), transparent 68%);
  animation: float 8s ease-in-out infinite;
}

.hero-orb-right {
  right: 1%;
  bottom: 12%;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.17), transparent 68%);
  animation: float 10s ease-in-out 1s infinite reverse;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  color: var(--purple-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero > .eyebrow {
  justify-content: center;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 999px;
  background: rgba(88, 28, 135, 0.1);
  backdrop-filter: blur(10px);
}

.status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 0.8rem rgba(134, 239, 172, 0.8);
}

.hero h1 {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(3.5rem, 9.5vw, 8.5rem);
  font-weight: 700;
  letter-spacing: -0.085em;
  line-height: 0.86;
}

.hero h1 span {
  display: block;
}

.hero-gradient {
  padding-right: 0.09em;
  background: linear-gradient(115deg, #fafafa 20%, #c4b5fd 52%, #67e8f9 120%);
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 580px;
  margin: 2rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

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

.button-primary:hover {
  background: var(--purple-bright);
}

.button-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #71717a;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-line {
  position: relative;
  width: 2.5rem;
  height: 1px;
  overflow: hidden;
  background: #3f3f46;
}

.scroll-line::after {
  position: absolute;
  inset: 0;
  background: var(--purple);
  content: "";
  animation: scan 2.4s ease-in-out infinite;
}

.marquee {
  width: calc(100% + 2rem);
  margin-left: -1rem;
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.018);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1.25rem 1.25rem;
  color: #d4d4d8;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marquee-content i {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0.7rem rgba(167, 139, 250, 0.8);
}

.section {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: clamp(6rem, 10vw, 10rem) 0;
}

.clarity-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  border-bottom: 1px solid var(--border);
}

.clarity-copy h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.clarity-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.clarity-legend {
  display: flex;
  max-width: 520px;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
  color: #a1a1aa;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clarity-legend span:not(.legend-line) {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.clarity-legend i {
  display: block;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
}

.legend-chaos {
  background: #e2e8f0;
  box-shadow: 0 0 0.7rem rgba(226, 232, 240, 0.5);
}

.legend-order {
  background: var(--purple);
  box-shadow: 0 0 0.7rem rgba(167, 139, 250, 0.7);
}

.legend-line {
  width: min(5vw, 3.5rem);
  height: 1px;
  background: linear-gradient(90deg, #52525b, var(--purple));
}

.entropy-figure {
  position: relative;
  width: min(100%, 580px);
  margin: 0;
  justify-self: end;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(145deg, rgba(24, 24, 27, 0.86), rgba(9, 9, 11, 0.94));
  background-size: 48px 48px, 48px 48px, auto;
  box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  isolation: isolate;
}

.entropy-glow {
  position: absolute;
  z-index: -1;
  right: -8%;
  bottom: -8%;
  width: 68%;
  height: 68%;
  border-radius: 50%;
  background: rgba(109, 40, 217, 0.2);
  filter: blur(55px);
}

.entropy-canvas {
  display: block;
  width: 100%;
}

.entropy-figure figcaption {
  position: absolute;
  right: 1.25rem;
  bottom: 1.15rem;
  left: 1.25rem;
  display: flex;
  justify-content: space-between;
  color: #71717a;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.entropy-figure figcaption span:last-child {
  color: var(--purple-bright);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  align-items: end;
  gap: 3rem;
  margin-bottom: 3rem;
}

.section-heading .eyebrow,
.about-copy .eyebrow,
.footer-heading .eyebrow {
  margin-bottom: 1rem;
}

.section-heading h2,
.about-copy h2,
.footer-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.75rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.section-heading > p {
  max-width: 420px;
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.bento-grid {
  display: grid;
  grid-auto-rows: minmax(210px, auto);
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.project-card {
  position: relative;
  display: flex;
  min-height: 340px;
  justify-content: space-between;
  flex-direction: column;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(39, 39, 42, 0.72), rgba(18, 18, 21, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

a.project-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 3rem rgba(109, 40, 217, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.project-card-receipt {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 620px;
  border-color: rgba(232, 212, 184, 0.18);
  background:
    radial-gradient(circle at 76% 32%, rgba(221, 115, 70, 0.13), transparent 30%),
    linear-gradient(145deg, rgba(35, 31, 28, 0.96), rgba(17, 15, 14, 0.98));
}

.project-card-receipt .card-content {
  max-width: 48%;
}

.project-card-prosper {
  grid-row: span 2;
  min-height: 620px;
}

.project-card-process {
  min-height: 380px;
}

.project-card-next {
  grid-column: span 2;
  min-height: 380px;
}

.card-topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-index {
  color: #71717a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-arrow {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: #d4d4d8;
  font-size: 1rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

a.project-card:hover .card-arrow {
  background: var(--text);
  color: var(--background);
  transform: rotate(45deg);
}

.card-content {
  position: relative;
  z-index: 2;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.tag-list span,
.availability-pill {
  padding: 0.38rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #a1a1aa;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.project-card h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.project-card p:not(.card-quote) {
  max-width: 480px;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.receipt-project-visual {
  position: absolute;
  top: 3.6rem;
  right: 2rem;
  width: min(50%, 390px);
  height: 455px;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card-receipt:hover .receipt-project-visual {
  transform: translateY(-5px) rotate(1deg);
}

.receipt-project-glow {
  position: absolute;
  inset: 14% 1% 4%;
  border-radius: 50%;
  background: rgba(215, 116, 70, 0.2);
  filter: blur(45px);
}

.receipt-project-screen {
  position: absolute;
  top: 0;
  right: 12%;
  width: 245px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 2.5rem 5rem rgba(0, 0, 0, 0.5);
  transform: rotate(4deg);
}

.receipt-project-icon {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 1.6rem;
  width: 92px;
  height: 92px;
  border-radius: 22px;
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.5);
  transform: rotate(-7deg);
}

.receipt-project-status {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.78);
  color: #d6c9bb;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.prosper-visual {
  position: absolute;
  top: 12%;
  left: 50%;
  display: grid;
  width: 19rem;
  height: 19rem;
  place-items: center;
  transform: translateX(-50%);
}

.prosper-visual::before {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: rgba(8, 145, 178, 0.22);
  content: "";
  filter: blur(45px);
}

.prosper-ring {
  position: absolute;
  border: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 50%;
  transition: transform 500ms ease;
}

.prosper-ring-one {
  width: 100%;
  height: 100%;
  border-style: dashed;
  animation: rotate 28s linear infinite;
}

.prosper-ring-two {
  width: 72%;
  height: 72%;
  border-color: rgba(167, 139, 250, 0.32);
}

.prosper-core {
  position: relative;
  display: grid;
  width: 7rem;
  height: 7rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32%;
  background: linear-gradient(145deg, #a78bfa, #0e7490);
  box-shadow: 0 1rem 3rem rgba(8, 145, 178, 0.25);
  font-size: 2rem;
  font-weight: 700;
  transform: rotate(-8deg);
}

.card-quote {
  max-width: 440px;
  margin: 0 0 2rem;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.process-list span {
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
  color: #a1a1aa;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-card-next {
  background:
    radial-gradient(circle at 76% 45%, rgba(109, 40, 217, 0.2), transparent 35%),
    linear-gradient(145deg, rgba(39, 39, 42, 0.72), rgba(18, 18, 21, 0.88));
}

.project-card-next .card-content {
  max-width: 58%;
}

.availability-pill {
  border-color: rgba(134, 239, 172, 0.2);
  color: #86efac;
}

.signal {
  position: absolute;
  right: 8%;
  bottom: 20%;
  display: flex;
  height: 6rem;
  align-items: flex-end;
  gap: 0.55rem;
}

.signal span {
  display: block;
  width: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(to top, #7c3aed, #67e8f9);
  box-shadow: 0 0 1rem rgba(167, 139, 250, 0.35);
}

.signal span:nth-child(1) { height: 32%; }
.signal span:nth-child(2) { height: 64%; }
.signal span:nth-child(3) { height: 100%; }
.signal span:nth-child(4) { height: 74%; }
.signal span:nth-child(5) { height: 46%; }

.experience-section {
  border-top: 1px solid var(--border);
}

.experience-heading {
  margin-bottom: 4rem;
}

.career-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.company-card,
.credential-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 0%, rgba(109, 40, 217, 0.13), transparent 35%),
    linear-gradient(145deg, rgba(39, 39, 42, 0.62), rgba(18, 18, 21, 0.86));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.company-card {
  position: sticky;
  top: 2rem;
  display: flex;
  min-height: 360px;
  justify-content: space-between;
  flex-direction: column;
  padding: 1.5rem;
}

.entity-mark,
.certificate-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.045);
  color: var(--purple-bright);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.entity-mark {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 16px;
  font-size: 0.78rem;
}

.entity-mark-roseman {
  width: 4.25rem;
  height: 4.25rem;
  border-color: rgba(167, 139, 250, 0.24);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(167, 139, 250, 0.22), rgba(103, 232, 249, 0.08));
  box-shadow: 0 0 2rem rgba(109, 40, 217, 0.15);
  font-size: 0.95rem;
}

img.entity-mark-roseman {
  object-fit: contain;
  padding: 0.45rem;
}

.company-label {
  margin: 0 0 0.6rem;
  color: var(--purple-bright);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.company-card h3 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.06em;
}

.company-card p:not(.company-label) {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.company-tenure {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #71717a;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tenure-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #3f3f46, var(--purple));
}

.career-timeline {
  position: relative;
  padding-left: 2.25rem;
}

.career-timeline::before {
  position: absolute;
  top: 0.45rem;
  bottom: 1rem;
  left: 0.38rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--purple), #3f3f46 38%, rgba(63, 63, 70, 0.15));
  content: "";
}

.career-role {
  position: relative;
  padding: 0 0 3.5rem;
}

.career-role:last-child {
  padding-bottom: 0;
}

.role-marker {
  position: absolute;
  top: 0.35rem;
  left: -2.25rem;
  width: 0.8rem;
  height: 0.8rem;
  border: 3px solid var(--background);
  border-radius: 50%;
  background: #52525b;
  box-shadow: 0 0 0 1px #52525b;
}

.career-role-current .role-marker {
  background: var(--purple-bright);
  box-shadow: 0 0 0 1px var(--purple), 0 0 1.2rem rgba(167, 139, 250, 0.75);
}

.role-meta,
.credential-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #71717a;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.current-pill {
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(134, 239, 172, 0.2);
  border-radius: 999px;
  background: rgba(134, 239, 172, 0.05);
  color: #86efac;
}

.career-role h3 {
  margin: 0.8rem 0 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.career-role > p:not(.role-note) {
  max-width: 690px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.role-tags span {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #a1a1aa;
  font-size: 0.65rem;
  font-weight: 600;
}

.impact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.impact-list li {
  position: relative;
  padding: 1rem 1.25rem 1rem 1rem;
  border-bottom: 1px solid var(--border);
  color: #d4d4d8;
  font-size: 0.76rem;
  line-height: 1.55;
}

.impact-list li:nth-child(odd) {
  border-right: 1px solid var(--border);
}

.impact-list li::before {
  position: absolute;
  top: 1.45rem;
  left: 0;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--purple);
  content: "";
}

.role-note {
  margin: 1rem 0 0;
  color: var(--purple-bright);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.55;
}

.career-role-compact {
  padding-bottom: 2.25rem;
}

.career-role-compact h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(4rem, 8vw, 7rem);
}

.credential-panel {
  padding: 1.5rem;
}

.panel-heading {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.panel-heading .eyebrow {
  margin-bottom: 0.75rem;
}

.panel-heading h3 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.credential-row,
.certificate-row {
  display: flex;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
}

.credential-row:last-child,
.certificate-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.credential-copy {
  min-width: 0;
  flex: 1;
}

.credential-meta {
  margin-bottom: 0.55rem;
  font-size: 0.58rem;
}

.credential-row h4,
.certificate-row h4 {
  margin: 0;
  color: #f4f4f5;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.credential-row p,
.certificate-row p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.credential-row strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--purple-bright);
  font-size: 0.65rem;
  font-weight: 600;
}

.certificate-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  font-size: 0.58rem;
}

.certificate-icon-scrum {
  color: #67e8f9;
}

.certificate-icon-postman {
  color: #fb923c;
}

.certificate-row > div:last-child {
  min-width: 0;
}

.certificate-row span {
  display: block;
  margin-bottom: 0.4rem;
  color: #71717a;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  border-top: 1px solid var(--border);
}

.about-copy h2 {
  max-width: 700px;
}

.about-body {
  display: grid;
  max-width: 680px;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.about-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #52525b;
  font-size: 0.82rem;
  font-weight: 700;
  transition: border-color 160ms ease, color 160ms ease;
}

.text-link:hover {
  border-color: var(--purple-bright);
  color: var(--purple-bright);
}

.portrait-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  justify-self: end;
}

.portrait-placeholder {
  position: relative;
  display: flex;
  aspect-ratio: 0.82;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 35%, rgba(167, 139, 250, 0.25), transparent 30%),
    linear-gradient(145deg, #27272a, #111113);
}

.portrait-placeholder::before,
.portrait-placeholder::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.portrait-placeholder::before {
  width: 14rem;
  height: 14rem;
}

.portrait-placeholder::after {
  width: 22rem;
  height: 22rem;
}

.portrait-placeholder span {
  position: relative;
  z-index: 1;
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.1em;
}

.portrait-placeholder small {
  position: relative;
  z-index: 1;
  color: #71717a;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portrait-note {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(24, 24, 27, 0.8);
  color: #d4d4d8;
  font-size: 0.65rem;
  font-weight: 600;
  backdrop-filter: blur(14px);
}

.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 7rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-heading {
  margin-bottom: 4rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--border);
  background-image: linear-gradient(var(--purple-bright), var(--purple-bright));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  font-size: clamp(1.7rem, 4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  transition: color 220ms ease, padding 220ms ease, background-size 220ms ease;
}

.social-links a:hover {
  padding-right: 0.35rem;
  color: var(--purple-bright);
  background-size: 100% 1px;
}

.social-links span {
  font-size: 1.25rem;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  color: #71717a;
  font-size: 0.7rem;
  font-weight: 500;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes float {
  50% { transform: translate3d(0, 18px, 0) scale(1.05); }
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@keyframes scan {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

@media (max-width: 900px) {
  .clarity-section {
    grid-template-columns: 1fr;
  }

  .entropy-figure {
    width: min(100%, 620px);
    justify-self: center;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .project-card-receipt,
  .project-card-next {
    grid-column: span 2;
  }

  .project-card-prosper {
    grid-row: auto;
  }

  .career-layout {
    grid-template-columns: 1fr;
  }

  .company-card {
    position: relative;
    top: auto;
    min-height: 300px;
  }

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

  .about-section {
    grid-template-columns: 1fr;
  }

  .portrait-frame {
    width: min(90%, 440px);
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: 100%;
  }

  .site-header {
    width: calc(100% - 2rem);
  }

  .brand > span:last-child,
  .site-nav > a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 860px;
    padding-inline: 1.25rem;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 19vw, 5.4rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .marquee {
    width: 100%;
    margin-left: 0;
  }

  .scroll-cue {
    white-space: nowrap;
  }

  .section {
    width: calc(100% - 2rem);
    padding-block: 6rem;
  }

  .clarity-section {
    gap: 3rem;
  }

  .clarity-copy h2 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .clarity-legend {
    gap: 0.65rem;
  }

  .clarity-legend span:not(.legend-line) {
    white-space: normal;
  }

  .legend-line {
    min-width: 1.5rem;
  }

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

  .project-card,
  .project-card-prosper,
  .project-card-process,
  .project-card-next {
    min-height: 480px;
    grid-column: span 1;
    grid-row: auto;
  }

  .project-card-receipt {
    min-height: 700px;
    grid-column: span 1;
    grid-row: auto;
  }

  .project-card-process,
  .project-card-next {
    min-height: 360px;
  }

  .receipt-project-visual {
    top: 4.5rem;
    right: 50%;
    width: 280px;
    height: 390px;
    transform: translateX(50%);
  }

  .project-card-receipt:hover .receipt-project-visual {
    transform: translateX(50%) translateY(-4px);
  }

  .receipt-project-screen {
    right: 18px;
    width: 190px;
  }

  .receipt-project-icon {
    right: 0;
    bottom: 1rem;
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }

  .receipt-project-status {
    display: none;
  }

  .project-card-receipt .card-content {
    max-width: none;
  }

  .prosper-visual {
    top: 11%;
  }

  .project-card-next .card-content {
    max-width: 76%;
  }

  .experience-heading {
    margin-bottom: 3rem;
  }

  .career-timeline {
    padding-left: 1.75rem;
  }

  .role-marker {
    left: -1.75rem;
  }

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

  .impact-list li:nth-child(odd) {
    border-right: 0;
  }

  .role-meta,
  .credential-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .signal {
    right: 6%;
  }

  .about-body {
    grid-template-columns: 1fr;
  }

  .portrait-note {
    right: -0.5rem;
  }

  .site-footer {
    width: calc(100% - 2rem);
    padding-top: 5rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
