:root {
  color-scheme: light;
  --ink: #101513;
  --ink-soft: #25332f;
  --muted: #5a6863;
  --paper: #f7f9f8;
  --surface: #ffffff;
  --surface-strong: #eef4f2;
  --line: #d8e2de;
  --teal: #0b756f;
  --teal-dark: #16433e;
  --amber: #b9622f;
  --amber-soft: #efb86d;
  --moss: #2f6a4f;
  --charcoal: #121a18;
  --focus: #d99b2b;
  --shadow: 0 18px 48px rgba(16, 21, 19, 0.12);
  font-family:
    "Aptos",
    "Segoe UI",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea {
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  font-weight: 700;
}

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

.section-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 92px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  color: #f7fbfa;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header[data-scrolled] {
  background: rgba(247, 249, 248, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(16, 21, 19, 0.08);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.brand-text {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.brand-text strong,
.brand-text span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-text strong {
  font-size: 15px;
}

.brand-text span {
  color: currentColor;
  font-size: 12px;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a,
.header-cta {
  text-decoration: none;
}

.site-nav a {
  opacity: 0.84;
}

.site-nav a:hover,
.header-cta:hover {
  opacity: 1;
}

.header-cta {
  border: 1px solid currentColor;
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  color: #f8fbfa;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  top: -72px;
  height: calc(100% + 144px);
  object-fit: cover;
  transform: translateY(var(--hero-y, 0));
  transform-origin: center;
  will-change: transform;
}

.hero-overlay {
  background:
    radial-gradient(circle at 70% 24%, rgba(11, 117, 111, 0.18), transparent 32%),
    linear-gradient(90deg, rgba(6, 10, 10, 0.96) 0%, rgba(9, 15, 14, 0.82) 44%, rgba(9, 15, 14, 0.28) 100%),
    linear-gradient(180deg, rgba(6, 10, 10, 0.18), rgba(6, 10, 10, 0.82));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 92svh;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
  gap: 48px;
  align-content: center;
  align-items: center;
  padding: 136px 0 84px;
}

.hero-content {
  max-width: 820px;
  animation: hero-rise 760ms cubic-bezier(0.2, 0.78, 0.25, 1) both;
}

.hero-signal {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(248, 251, 250, 0.14), rgba(248, 251, 250, 0.06)),
    rgba(8, 13, 12, 0.46);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  animation: hero-panel 880ms cubic-bezier(0.2, 0.78, 0.25, 1) 160ms both;
}

.hero-signal::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.12) 44%, transparent 60%);
  transform: translateX(-120%);
  animation: signal-sweep 4.8s ease-in-out 1.2s infinite;
}

.signal-header,
.signal-row {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 18px;
}

.signal-header {
  background: rgba(11, 117, 111, 0.28);
}

.signal-row {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.signal-header span,
.signal-row span {
  color: rgba(248, 251, 250, 0.58);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-header strong,
.signal-row strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.35;
}

.hero-footer {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.76fr) minmax(360px, 760px);
  gap: 24px;
  align-items: end;
  animation: hero-rise 760ms cubic-bezier(0.2, 0.78, 0.25, 1) 300ms both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--amber-soft);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: 72px;
  font-weight: 850;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 42px;
  font-weight: 830;
}

h3 {
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(248, 251, 250, 0.82);
  font-size: 20px;
}

.hero-statement {
  max-width: 330px;
  margin-bottom: 0;
  color: rgba(248, 251, 250, 0.72);
  font-size: 15px;
  font-weight: 750;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

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

.button-primary {
  background: var(--teal);
  color: #ffffff;
}

.button-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

.hero-proof {
  display: grid;
  max-width: 760px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-proof div {
  padding: 18px;
  background: rgba(8, 13, 12, 0.42);
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.hero-proof div:hover {
  background: rgba(11, 117, 111, 0.34);
  transform: translateY(-2px);
}

.hero-proof dt {
  margin-bottom: 2px;
  color: #ffffff;
  font-size: 26px;
  font-weight: 850;
}

.hero-proof dd {
  margin: 0;
  color: rgba(248, 251, 250, 0.72);
  font-size: 13px;
}

.metric-band,
.positioning-section,
.places-section,
.work-section,
.experience-section,
.skills-section,
.education-section,
.contact-section {
  padding: 84px 0;
}

.metric-band,
.skills-section,
.places-section {
  background: var(--surface);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 760px;
}

.metric-grid,
.work-grid,
.skills-grid {
  display: grid;
  gap: 16px;
}

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

.metric-card,
.work-card,
.place-card,
.skill-group,
.education-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.metric-card {
  min-height: 164px;
  padding: 24px;
}

.metric-card strong {
  display: block;
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-size: 42px;
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  font-weight: 650;
}

.places-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 16px;
}

.place-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(16, 21, 19, 0.08);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.place-card:hover {
  border-color: rgba(11, 117, 111, 0.38);
  box-shadow: 0 18px 46px rgba(16, 21, 19, 0.14);
  transform: translateY(-3px);
}

.place-card-large {
  grid-row: span 2;
}

.place-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 700ms ease;
}

.place-card-large img {
  height: 430px;
}

.place-card:hover img {
  transform: scale(1.045);
}

.place-card-body {
  padding: 24px;
}

.place-card-body h3 {
  margin-bottom: 12px;
}

.place-card-body p {
  margin-bottom: 18px;
  color: var(--muted);
}

.source-link {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.source-link:hover {
  text-decoration: underline;
}

.positioning-layout,
.education-layout,
.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.positioning-copy {
  color: var(--ink-soft);
  font-size: 19px;
}

.positioning-copy p:last-child {
  margin-bottom: 0;
}

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

.work-card {
  position: relative;
  min-height: 252px;
  padding: 28px;
  box-shadow: 0 8px 26px rgba(16, 21, 19, 0.06);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.work-card:hover,
.skill-group:hover,
.timeline-item:hover {
  border-color: rgba(11, 117, 111, 0.34);
  box-shadow: 0 16px 38px rgba(16, 21, 19, 0.1);
  transform: translateY(-2px);
}

.work-card h3,
.skill-group h3,
.education-list h3 {
  margin-bottom: 12px;
}

.work-card p,
.skill-group p,
.education-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-kicker {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--moss);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.experience-section {
  background: var(--surface-strong);
}

.experience-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 56px;
}

.sticky-heading {
  position: sticky;
  top: 112px;
  align-self: start;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 0.46fr 1fr;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.timeline-meta {
  display: grid;
  align-content: start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.timeline-meta strong {
  color: var(--teal-dark);
}

.timeline-content h3 {
  margin-bottom: 10px;
}

.timeline-content p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.skill-group {
  padding: 24px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.education-list {
  display: grid;
  gap: 14px;
}

.education-list article {
  padding: 24px;
}

.contact-section {
  background: var(--charcoal);
  color: #f8fbfa;
}

.contact-panel {
  align-items: center;
}

.contact-panel h2 {
  color: #ffffff;
}

.contact-actions {
  justify-content: flex-end;
}

.copy-status {
  min-width: 116px;
  color: #bfe8d9;
  font-size: 14px;
  font-weight: 750;
}

.site-footer {
  background: #0b100f;
  color: rgba(248, 251, 250, 0.72);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.78, 0.25, 1);
}

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

.motion-ready .metric-grid .reveal:nth-child(2),
.motion-ready .work-grid .reveal:nth-child(2),
.motion-ready .skills-grid .reveal:nth-child(2),
.motion-ready .timeline .reveal:nth-child(2),
.motion-ready .places-grid .reveal:nth-child(2) {
  transition-delay: 90ms;
}

.motion-ready .metric-grid .reveal:nth-child(3),
.motion-ready .work-grid .reveal:nth-child(3),
.motion-ready .skills-grid .reveal:nth-child(3),
.motion-ready .timeline .reveal:nth-child(3),
.motion-ready .places-grid .reveal:nth-child(3) {
  transition-delay: 180ms;
}

.motion-ready .metric-grid .reveal:nth-child(4),
.motion-ready .work-grid .reveal:nth-child(4),
.motion-ready .skills-grid .reveal:nth-child(4),
.motion-ready .timeline .reveal:nth-child(4) {
  transition-delay: 270ms;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-panel {
  from {
    opacity: 0;
    transform: translateX(24px) translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes signal-sweep {
  0%,
  58% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(120%);
  }
}

.not-found-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: var(--paper);
}

.not-found {
  width: min(620px, calc(100% - 40px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 42px;
  box-shadow: var(--shadow);
}

.not-found h1 {
  color: var(--ink);
  font-size: 42px;
}

.not-found p:not(.eyebrow) {
  color: var(--muted);
}

@media (max-width: 980px) {
  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 34px;
  }

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

  .positioning-layout,
  .education-layout,
  .experience-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-signal {
    max-width: 560px;
  }

  .hero-footer,
  .places-grid {
    grid-template-columns: 1fr;
  }

  .hero-statement {
    max-width: none;
  }

  .place-card-large {
    grid-row: auto;
  }

  .place-card-large img,
  .place-card img {
    height: 260px;
  }

  .sticky-heading {
    position: static;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .section-inner {
    width: min(100% - 32px, 1120px);
  }

  .site-header {
    padding: 14px 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .site-nav {
    display: none;
  }

  .header-cta {
    padding: 8px 12px;
  }

  .hero,
  .hero-inner {
    min-height: 0;
  }

  .hero-image {
    object-position: 68% center;
  }

  .hero-inner {
    padding: 116px 0 70px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 20px;
  }

  .hero-lead,
  .positioning-copy {
    font-size: 18px;
  }

  .hero-proof,
  .metric-grid,
  .work-grid,
  .skills-grid,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .metric-band,
  .positioning-section,
  .places-section,
  .work-section,
  .experience-section,
  .skills-section,
  .education-section,
  .contact-section {
    padding: 62px 0;
  }
}

@media (max-width: 460px) {
  .brand-text span {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-proof div,
  .metric-card,
  .place-card-body,
  .work-card,
  .skill-group,
  .education-list article,
  .timeline-item {
    padding: 20px;
  }
}

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

  .hero-image {
    transform: none;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
