:root {
  color-scheme: light;
  --ink: #102d2a;
  --ink-soft: #42615a;
  --muted: #71827b;
  --paper: #f6f7f2;
  --white: #ffffff;
  --line: #d8e1da;
  --coral: #f06d51;
  --lime: #dce98c;
  --blue: #b9d7d2;
  --shadow-deep: 0 26px 70px rgb(16 45 42 / 20%);
  --display: "Space Grotesk", "Trebuchet MS", sans-serif;
  --body: "DM Sans", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  position: relative;
  background: transparent;
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  transition: transform 160ms ease;
}

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

.site-header,
.site-footer {
  width: min(100% - 96px, 1320px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  min-height: 82px;
  padding-inline: max(48px, calc((100% - 1320px) / 2));
  border-bottom: 1px solid rgb(212 221 214 / 80%);
  background: rgb(241 244 240 / 90%);
  backdrop-filter: blur(16px);
}

.brand {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: transparent;
  background: linear-gradient(145deg, #f07855 8%, #f6a34e 52%, #b2c65f 100%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 2px 0 rgb(23 51 47 / 12%));
  transition: transform 180ms ease, filter 180ms ease;
}

.brand:hover {
  transform: translateY(-2px) rotate(-3deg) scale(1.06);
  filter: drop-shadow(0 4px 2px rgb(23 51 47 / 18%));
}

.brand span {
  color: #df5b48;
  text-shadow: 0 1px 0 #ffc277, 0 2px 3px rgb(23 51 47 / 22%);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 600;
}

.site-header nav a,
.text-link,
.contact-aside a,
.site-footer a:last-child {
  transition: color 160ms ease;
}

.site-header nav a {
  padding: 8px 10px;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.site-header nav a:hover,
.site-header nav a.is-active {
  background: var(--white);
}

.site-header nav a:hover,
.site-header nav a.is-active,
.text-link:hover,
.contact-aside a:hover,
.site-footer a:last-child:hover {
  color: var(--coral);
}

.site-header nav a.is-active {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.nav-contact span {
  margin-left: 5px;
  color: var(--coral);
}

.nav-contact {
  background: var(--ink);
  color: var(--white);
}

.site-header nav .nav-contact:hover {
  background: var(--coral);
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 7%;
  min-height: 630px;
  padding: 50px max(48px, calc((100% - 1320px) / 2)) 84px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(193 211 201 / 8%) 1px, transparent 1px), linear-gradient(90deg, rgb(193 211 201 / 8%) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, black 45%, black 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 670px;
  animation: rise-in 650ms ease-out both;
}

.eyebrow,
.section-kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 34px;
  color: #c1d3c9;
}

.eyebrow-mark {
  width: 9px;
  height: 9px;
  background: var(--lime);
  border-radius: 50%;
}

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

h1,
h2 {
  font-family: var(--display);
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: 82px;
  font-weight: 600;
  line-height: 0.98;
}

.hero-headline {
  max-width: 620px;
  margin-bottom: 17px;
  color: var(--lime);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
}

.hero-intro {
  max-width: 560px;
  margin-bottom: 28px;
  color: #c5d0ca;
  font-size: 15px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 44px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
}

.button-light {
  background: var(--lime);
  color: var(--ink);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgb(224 233 138 / 14%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgb(224 233 138 / 24%);
}

.button-light span,
.text-link span {
  color: var(--coral);
}

.text-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 5px;
  border-bottom: 1px solid #82958b;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
}

.hero-location {
  margin: 34px 0 0;
  color: #9dafaa;
  font-size: 12px;
}

.hero-location span:first-child {
  margin-right: 6px;
  color: var(--coral);
}

.portrait-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 445px;
  justify-self: end;
  animation: rise-in 750ms 100ms ease-out both;
}

.portrait {
  display: block;
  width: 100%;
  aspect-ratio: 0.88;
  object-fit: cover;
  object-position: center 38%;
  background: var(--blue);
  border: 1px solid rgb(251 252 249 / 22%);
  border-radius: 18px;
  box-shadow: var(--shadow-deep);
  filter: saturate(0.9);
}

.portrait-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 13px;
  color: #c1d3c9;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.portrait-caption span:nth-child(2) {
  color: var(--coral);
}

.portrait-index {
  position: absolute;
  top: -24px;
  right: -22px;
  display: grid;
  width: 58px;
  aspect-ratio: 1;
  place-items: center;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgb(10 33 29 / 28%);
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
}

.hero-orbit {
  position: absolute;
  top: -200px;
  right: 29%;
  width: 500px;
  height: 500px;
  border: 1px solid #587068;
  border-radius: 50%;
  opacity: 0.35;
}

.metrics {
  background: var(--lime);
}

.metrics-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100% - 96px, 1320px);
  margin-inline: auto;
}

.metric {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-height: 96px;
  padding: 30px 24px;
  border-right: 1px solid #b8c36f;
  transition: background 160ms ease;
}

.metric:hover {
  background: rgb(255 255 255 / 18%);
}

.metric:first-child {
  padding-left: 0;
}

.metric:last-child {
  border: 0;
}

.metric-value {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
}

.metric-label {
  color: #485541;
  font-size: 12px;
}

.section {
  width: min(100% - 96px, 1320px);
  margin-inline: auto;
  padding: 110px 8%;
}

.section-kicker {
  color: var(--muted);
}

.section-kicker span {
  padding-inline: 5px;
  color: var(--coral);
}

.about {
  display: grid;
  grid-template-columns: 0.65fr 1.5fr;
  gap: 8%;
  border-bottom: 1px solid var(--line);
}

.about-main h2,
.section-heading h2,
.experience-heading h2,
.expertise h2,
.contact h2 {
  margin-bottom: 24px;
  font-size: 54px;
  font-weight: 500;
  line-height: 1.05;
}

.about-main h2 em,
.section-heading h2 em,
.experience-heading h2 em,
.expertise h2 em,
.contact h2 em {
  color: var(--coral);
  font-style: normal;
}

.about-copy {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.85;
}

.focus-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 9%;
  padding-top: 96px;
  padding-bottom: 105px;
}

.section-heading h2 {
  margin-top: 28px;
}

.focus-list {
  border-top: 1px solid var(--line);
}

.focus-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 23px 0 24px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 180ms ease, background 180ms ease;
}

.focus-item:hover {
  padding-left: 12px;
  background: linear-gradient(90deg, rgb(255 255 255 / 55%), transparent);
}

.focus-number {
  padding-top: 4px;
  color: var(--coral);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
}

.focus-item h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
}

.focus-item p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.expertise {
  padding: 85px 0 92px;
  background: #dce7e4;
}

.expertise-inner {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 9%;
  width: min(100% - 96px, 1320px);
  margin-inline: auto;
  padding-inline: 8%;
}

.expertise h2 {
  margin-top: 28px;
}

.skill-groups {
  border-top: 1px solid #bdcfca;
}

.skill-group {
  display: grid;
  grid-template-columns: 175px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #bdcfca;
}

.skill-group h3 {
  margin: 2px 0 0;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 10px;
  border: 1px solid #9fb6ae;
  border-radius: 999px;
  background: rgb(251 252 249 / 30%);
  color: var(--ink-soft);
  font-size: 11px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.skill:hover {
  border-color: var(--coral);
  background: var(--white);
  transform: translateY(-2px);
}

.experience {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 9%;
  padding-top: 112px;
  padding-bottom: 120px;
}

.experience-heading h2 {
  margin-top: 28px;
}

.experience-note {
  max-width: 300px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.timeline {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.timeline-entry {
  position: relative;
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 22px;
  padding: 24px 0 27px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 180ms ease, background 180ms ease;
}

.timeline-entry::before {
  position: absolute;
  top: 30px;
  left: -24px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--coral);
  border-radius: 50%;
  background: var(--paper);
  content: "";
}

.timeline-entry:hover {
  padding-left: 12px;
  background: linear-gradient(90deg, rgb(255 255 255 / 55%), transparent);
}

.timeline-period {
  padding-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.timeline-company {
  margin: 0 0 5px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
}

.timeline-role {
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 600;
}

.timeline-location {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
}

.timeline-details {
  margin: 0;
  padding-left: 17px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.timeline-details li + li {
  margin-top: 4px;
}

.credentials {
  padding: 90px 0 105px;
  background: var(--white);
}

.credentials-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  width: min(100% - 96px, 1320px);
  margin-inline: auto;
  padding-inline: 8%;
}

.credential-column h2 {
  margin: 25px 0 30px;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 600;
}

.credential-list {
  border-top: 1px solid var(--line);
}

.credential-item {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.credential-item h3 {
  margin: 0 0 5px;
  font-size: 13px;
  font-weight: 700;
}

.credential-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.award-list {
  margin: 20px 0 0;
  padding-left: 17px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.languages {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 23px;
}

.language {
  padding: 6px 9px;
  border-radius: 999px;
  background: #e7eee9;
  color: var(--ink-soft);
  font-size: 10px;
}

.language span {
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: end;
  gap: 10%;
  padding: 85px max(48px, calc((100% - 1100px) / 2)) 92px;
  background: var(--coral);
  color: var(--ink);
}

.contact .section-kicker {
  color: #55382f;
}

.contact h2 {
  margin-top: 28px;
  margin-bottom: 28px;
  font-size: 64px;
}

.contact h2 em {
  color: var(--white);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
}

.contact-email span {
  color: var(--white);
}

.contact-location {
  margin: 15px 0 0;
  color: #55382f;
  font-size: 12px;
}

.contact-aside {
  padding-bottom: 5px;
}

.contact-aside p {
  max-width: 300px;
  margin-bottom: 23px;
  font-size: 14px;
  line-height: 1.7;
}

.contact-aside a {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.contact-aside a span {
  color: var(--white);
}

.site-footer {
  min-height: 88px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer .brand {
  color: transparent;
}

.site-footer p {
  margin: 0;
  font-size: 11px;
}

.site-footer a:last-child {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.load-error:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 20px;
  background: #fbe5df;
  color: #7d2e20;
  text-align: center;
}

.load-error button {
  padding: 8px 14px;
  border: 1px solid #7d2e20;
  border-radius: 999px;
  background: transparent;
  color: #7d2e20;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header nav {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: end;
    gap: 7px 14px;
    font-size: 11px;
  }

  .hero {
    grid-template-columns: 1fr 0.8fr;
    gap: 5%;
    padding-inline: 38px;
  }

  h1 {
    font-size: 62px;
  }

  .portrait-wrap {
    max-width: 350px;
  }

  .section,
  .expertise-inner,
  .credentials-inner {
    width: min(100% - 76px, 1320px);
    padding-inline: 4%;
  }

  .section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .about-main h2,
  .section-heading h2,
  .experience-heading h2,
  .expertise h2 {
    font-size: 46px;
  }

  .timeline-entry {
    grid-template-columns: 118px 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .metrics-inner {
    width: min(100% - 40px, 560px);
  }

  .site-header {
    width: 100%;
    min-height: 70px;
    padding-inline: 20px;
  }

  html {
    scroll-padding-top: 70px;
  }

  .site-header nav {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: end;
    gap: 7px 12px;
    font-size: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 68px 25px 70px;
  }

  .hero-copy {
    padding-inline: 0;
  }

  .eyebrow {
    margin-bottom: 25px;
  }

  h1 {
    margin-bottom: 17px;
    font-size: 54px;
  }

  .hero-headline {
    font-size: 16px;
  }

  .hero-intro {
    font-size: 14px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 20px;
  }

  .portrait-wrap {
    width: min(100% - 14px, 420px);
    max-width: none;
    justify-self: center;
  }

  .portrait {
    aspect-ratio: 1;
    object-position: center 38%;
  }

  .portrait-index {
    top: -17px;
    right: -14px;
    width: 48px;
  }

  .hero-orbit {
    top: 38%;
    right: -55%;
    width: 360px;
    height: 360px;
  }

  .metrics-inner {
    grid-template-columns: 1fr;
    padding-block: 8px;
  }

  .metric,
  .metric:first-child {
    min-height: 62px;
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid #b8c36f;
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .metric-value {
    min-width: 58px;
    font-size: 24px;
  }

  .section,
  .expertise-inner,
  .credentials-inner {
    width: min(100% - 40px, 560px);
    padding-inline: 0;
  }

  .section {
    padding-top: 70px;
    padding-bottom: 72px;
  }

  .about,
  .focus-section,
  .expertise-inner,
  .experience,
  .credentials-inner,
  .contact {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-main h2,
  .section-heading h2,
  .experience-heading h2,
  .expertise h2 {
    margin-top: 23px;
    font-size: 40px;
  }

  .about-copy {
    font-size: 15px;
  }

  .focus-item {
    grid-template-columns: 36px 1fr;
    gap: 13px;
  }

  .expertise {
    padding: 70px 0;
  }

  .skill-group {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .experience {
    gap: 34px;
  }

  .experience-note {
    max-width: 440px;
  }

  .timeline-entry {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 20px;
  }

  .timeline-entry::before {
    display: none;
  }

  .timeline-period {
    padding: 0;
  }

  .credentials {
    padding: 70px 0;
  }

  .credentials-inner {
    gap: 58px;
  }

  .contact {
    padding: 68px 25px 72px;
    gap: 35px;
  }

  .contact h2 {
    font-size: 49px;
  }

  .contact-email {
    gap: 12px;
    font-size: 15px;
  }

  .site-footer {
    min-height: 78px;
  }

  .load-error:not([hidden]) {
    flex-wrap: wrap;
  }

  .site-footer p {
    max-width: 130px;
    text-align: center;
    line-height: 1.5;
  }
}

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

@media (max-width: 700px) {
  h1 {
    line-height: 1.02;
  }

  .portrait {
    height: 340px;
  }
}

/* Complete redesign: systems studio */
.site-header {
  min-height: 76px;
  padding-inline: max(32px, calc((100% - 1400px) / 2));
  border-bottom-color: transparent;
  background: rgb(246 247 242 / 88%);
}

.brand {
  font-size: 26px;
}

.site-header nav {
  gap: 8px;
  font-size: 12px;
}

.site-header nav a {
  padding: 8px 12px;
}

.site-header nav a.is-active {
  text-decoration: none;
}

.hero {
  min-height: 620px;
  margin-inline: 18px;
  padding: 48px max(44px, calc((100% - 1340px) / 2)) 54px;
  border-radius: 0 0 38px 38px;
  background:
    radial-gradient(circle at 84% 15%, rgb(220 233 140 / 16%), transparent 25%),
    radial-gradient(circle at 18% 90%, rgb(240 109 81 / 14%), transparent 30%),
    #102d2a;
}

.hero::before {
  background-size: 68px 68px;
  opacity: 0.7;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin-bottom: 28px;
  color: #d0dfd5;
}

.eyebrow-mark {
  width: 10px;
  height: 10px;
  box-shadow: 0 0 0 6px rgb(220 233 140 / 10%);
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: 96px;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.hero-headline {
  max-width: 580px;
  color: var(--lime);
  font-size: 21px;
  line-height: 1.35;
}

.hero-intro {
  max-width: 520px;
  margin-bottom: 34px;
  color: #c8d7cf;
  font-size: 16px;
  line-height: 1.7;
}

.button-light {
  min-height: 48px;
  padding-inline: 19px;
  box-shadow: 0 12px 30px rgb(220 233 140 / 16%);
}

.portrait-wrap {
  max-width: 360px;
}

.portrait {
  aspect-ratio: 0.82;
  border: 8px solid rgb(255 255 255 / 8%);
  border-radius: 30px;
  box-shadow: 0 30px 65px rgb(0 0 0 / 24%);
  filter: saturate(0.96) contrast(1.02);
}

.portrait-caption {
  padding-inline: 8px;
  color: #c8d7cf;
}

.portrait-index {
  top: -21px;
  right: -18px;
  width: 64px;
  border: 6px solid #102d2a;
  box-shadow: none;
}

.hero-orbit {
  top: -250px;
  right: 25%;
  width: 650px;
  height: 650px;
  border-color: #7a9388;
}

.metrics {
  position: relative;
  z-index: 2;
  width: min(100% - 72px, 1180px);
  margin: -34px auto 0;
  border-radius: 18px;
  box-shadow: 0 20px 48px rgb(16 45 42 / 12%);
}

.metrics-inner {
  width: 100%;
  padding-inline: 18px;
}

.metric {
  min-height: 92px;
  padding: 28px 24px;
}

.metric:first-child {
  padding-left: 24px;
}

.section {
  width: min(100% - 72px, 1340px);
  padding: 136px 9%;
}

.about {
  border-bottom: 0;
}

.about-main h2,
.section-heading h2,
.experience-heading h2,
.expertise h2,
.contact h2 {
  font-size: 60px;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.about-copy {
  font-size: 18px;
  line-height: 1.75;
}

.focus-section {
  padding-top: 38px;
  padding-bottom: 136px;
}

.focus-list {
  display: grid;
  gap: 12px;
  border-top: 0;
}

.focus-item {
  grid-template-columns: 52px 1fr;
  padding: 25px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 24px rgb(16 45 42 / 4%);
}

.focus-item:hover {
  padding-left: 34px;
  background: var(--white);
  box-shadow: 0 16px 32px rgb(16 45 42 / 9%);
}

.expertise {
  padding: 116px 0 124px;
  background: #e2ece8;
}

.expertise-inner {
  width: min(100% - 72px, 1340px);
  padding-inline: 9%;
}

.skill-groups {
  border-top: 1px solid #b8cec5;
}

.skill-group {
  padding: 26px 0;
  border-bottom: 1px solid #b8cec5;
}

.skill {
  min-height: 32px;
  padding-inline: 12px;
  border-color: #a8c1b8;
  background: rgb(255 255 255 / 40%);
}

.experience {
  width: min(100% - 72px, 1340px);
  padding-top: 136px;
  padding-bottom: 136px;
}

.timeline {
  border-top: 0;
}

.timeline-entry {
  margin-bottom: 12px;
  padding: 27px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 24px rgb(16 45 42 / 4%);
}

.timeline-entry::before {
  top: 34px;
  left: -13px;
  border-color: var(--coral);
  background: var(--white);
}

.timeline-entry:hover {
  padding-left: 40px;
  background: var(--white);
  box-shadow: 0 16px 32px rgb(16 45 42 / 9%);
}

.credentials {
  padding: 116px 0 124px;
  background: #ffffff;
}

.credentials-inner {
  width: min(100% - 72px, 1340px);
  padding-inline: 9%;
}

.credential-column {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
}

.credential-column h2 {
  margin-top: 18px;
}

.credential-verify {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: -12px 0 22px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
}

.credential-verify:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact {
  position: relative;
  overflow: hidden;
  padding: 120px max(44px, calc((100% - 1180px) / 2)) 128px;
  border-radius: 38px 38px 0 0;
  background: var(--coral);
}

.contact::before {
  position: absolute;
  right: -120px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 1px solid rgb(16 45 42 / 18%);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgb(16 45 42 / 5%), 0 0 0 76px rgb(16 45 42 / 4%);
  content: "";
  pointer-events: none;
}

.contact-inner,
.contact-aside {
  position: relative;
  z-index: 1;
}

.contact h2 {
  font-size: 72px;
}

.site-footer {
  width: min(100% - 72px, 1340px);
}

@media (max-width: 900px) {
  h1 {
    font-size: 72px;
  }

  .site-header nav {
    gap: 4px;
  }

  .section,
  .expertise-inner,
  .credentials-inner,
  .experience {
    width: min(100% - 56px, 1340px);
    padding-inline: 6%;
  }

  .hero {
    padding-inline: 34px;
  }

  .about-main h2,
  .section-heading h2,
  .experience-heading h2,
  .expertise h2,
  .contact h2 {
    font-size: 50px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding-inline: 16px;
  }

  .site-header nav a {
    padding: 6px 7px;
  }

  .hero {
    min-height: auto;
    margin-inline: 8px;
    padding: 66px 22px 86px;
    border-radius: 0 0 26px 26px;
  }

  h1 {
    font-size: 54px;
  }

  .hero-headline {
    font-size: 17px;
  }

  .metrics {
    width: calc(100% - 32px);
    margin-top: -24px;
  }

  .metric:first-child {
    padding-left: 0;
  }

  .metric {
    padding-inline: 0;
  }

  .section,
  .expertise-inner,
  .credentials-inner,
  .experience {
    width: calc(100% - 40px);
    padding-inline: 0;
  }

  .section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .about-main h2,
  .section-heading h2,
  .experience-heading h2,
  .expertise h2,
  .contact h2 {
    font-size: 42px;
  }

  .focus-section {
    padding-top: 0;
    padding-bottom: 88px;
  }

  .focus-item,
  .timeline-entry {
    border-radius: 14px;
  }

  .focus-item:hover,
  .timeline-entry:hover {
    padding-left: 26px;
  }

  .expertise,
  .experience,
  .credentials {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .credential-column {
    padding: 24px;
  }

  .contact {
    padding: 88px 25px 96px;
    border-radius: 26px 26px 0 0;
  }

  .contact h2 {
    font-size: 48px;
  }
}

.button-outline {
  min-height: 48px;
  padding-inline: 18px;
  border: 1px solid #82958b;
  border-radius: 999px;
  color: var(--white);
  transition: background 160ms ease, border-color 160ms ease;
}

.button-outline:hover {
  border-color: var(--lime);
  background: rgb(220 233 140 / 12%);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.projects {
  padding: 120px 0 136px;
  background: var(--ink);
  color: var(--white);
}

.projects-inner {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 9%;
  width: min(100% - 72px, 1340px);
  margin-inline: auto;
  padding-inline: 9%;
}

.projects .section-kicker {
  color: #bbcec3;
}

.projects-intro h2 {
  margin: 28px 0 24px;
  font-family: var(--display);
  font-size: 60px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.projects-intro h2 em {
  color: var(--lime);
  font-style: normal;
}

.projects-intro > p:last-child {
  max-width: 280px;
  color: #b9ccc1;
  font-size: 14px;
  line-height: 1.7;
}

.project-grid {
  display: grid;
  gap: 12px;
}

.project-card {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  column-gap: 24px;
  padding: 28px 30px;
  border: 1px solid #3e5d55;
  border-radius: 18px;
  background: rgb(255 255 255 / 5%);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.project-card:hover {
  transform: translateX(6px);
  border-color: var(--lime);
  background: rgb(255 255 255 / 9%);
}

.project-card-featured {
  border-color: #779184;
  background: rgb(255 255 255 / 9%);
}

.project-number {
  grid-row: span 3;
  margin: 2px 0 0;
  color: var(--lime);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.project-card h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 600;
}

.project-card > p:not(.project-number) {
  margin: 0;
  color: #c2d2c9;
  font-size: 13px;
  line-height: 1.7;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.project-tags span {
  padding: 6px 9px;
  border: 1px solid #57736a;
  border-radius: 999px;
  color: #d2e1d8;
  font-size: 10px;
}

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

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

@media (max-width: 900px) {
  .projects-inner {
    width: min(100% - 56px, 1340px);
    padding-inline: 6%;
  }
}

@media (max-width: 700px) {
  .menu-toggle {
    display: block;
  }

  .site-header {
    position: sticky;
  }

  .site-header nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 18px 40px rgb(16 45 42 / 14%);
  }

  .site-header nav.is-open {
    display: grid;
  }

  .site-header nav a {
    padding: 11px 10px;
    text-align: center;
  }

  .nav-contact {
    grid-column: span 2;
  }

  .hero-actions {
    gap: 12px;
  }

  .button-outline {
    min-height: 44px;
  }

  .projects {
    padding: 88px 0;
  }

  .projects-inner {
    display: block;
    width: calc(100% - 40px);
    padding-inline: 0;
  }

  .projects-intro {
    margin-bottom: 38px;
  }

  .projects-intro h2 {
    font-size: 42px;
  }

  .project-card {
    display: block;
    padding: 24px;
  }

  .project-number {
    margin-bottom: 16px;
  }
}

@media (min-width: 701px) and (max-height: 760px) {
  .hero {
    min-height: 520px;
    padding-top: 32px;
    padding-bottom: 40px;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  h1 {
    font-size: 64px;
    margin-bottom: 16px;
  }

  .hero-headline {
    font-size: 17px;
  }

  .hero-intro {
    margin-bottom: 18px;
    font-size: 14px;
  }

  .hero-location {
    margin-top: 20px;
  }

  .portrait-wrap {
    max-width: 320px;
  }

  .portrait {
    height: 400px;
  }

  .metrics {
    margin-top: -64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.project-visual {
  display: flex;
  grid-column: 2;
  align-items: center;
  gap: 7px;
  margin: 2px 0 18px;
  color: var(--lime);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
}

.project-visual span {
  padding: 6px 8px;
  border: 1px solid #668279;
  border-radius: 6px;
}

.project-visual i {
  color: var(--coral);
  font-style: normal;
}

.project-card .project-visual + h3 {
  grid-column: 2;
}

.project-card .project-visual ~ p:not(.project-number),
.project-card .project-visual ~ .project-tags {
  grid-column: 2;
}

.contact-form {
  display: grid;
  gap: 7px;
  max-width: 310px;
  margin-top: 32px;
}

.contact-form label {
  color: #55382f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 8px;
  padding: 10px 12px;
  border: 1px solid rgb(16 45 42 / 35%);
  border-radius: 8px;
  background: rgb(255 255 255 / 22%);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.contact-form button {
  justify-self: start;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 700px) {
  .project-visual,
  .project-card .project-visual + h3,
  .project-card .project-visual ~ p:not(.project-number),
  .project-card .project-visual ~ .project-tags {
    grid-column: auto;
  }

  .project-visual {
    margin-top: 16px;
  }
}

/* Flash layer */
.site-header {
  box-shadow: 0 8px 30px rgb(16 45 42 / 6%);
}

.brand {
  background: linear-gradient(110deg, #f06d51, #f6b455 45%, #dce98c 90%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 4px 8px rgb(240 109 81 / 18%));
}

.hero {
  isolation: isolate;
  background:
    radial-gradient(circle at 86% 18%, rgb(220 233 140 / 22%), transparent 24%),
    radial-gradient(circle at 15% 90%, rgb(240 109 81 / 18%), transparent 28%),
    linear-gradient(135deg, #102d2a 0%, #123b35 48%, #0d2927 100%);
}

.hero::after {
  position: absolute;
  inset: -30%;
  z-index: -1;
  background: conic-gradient(from 210deg at 50% 50%, transparent 0deg, rgb(220 233 140 / 9%) 70deg, transparent 125deg, rgb(240 109 81 / 8%) 220deg, transparent 285deg);
  animation: ambient-spin 22s linear infinite;
  content: "";
  pointer-events: none;
}

h1 {
  background: linear-gradient(105deg, #ffffff 0%, #ffffff 58%, #dce98c 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  line-height: 1.02;
  text-shadow: 0 12px 40px rgb(0 0 0 / 18%);
}

.hero-headline {
  text-shadow: 0 0 24px rgb(220 233 140 / 18%);
}

.portrait-wrap::before {
  position: absolute;
  inset: -14px;
  z-index: -1;
  border: 1px solid rgb(220 233 140 / 32%);
  border-radius: 38px;
  box-shadow: 0 0 40px rgb(220 233 140 / 10%);
  content: "";
  animation: halo-pulse 4s ease-in-out infinite;
}

.metrics {
  background: linear-gradient(105deg, #dce98c 0%, #eff5a9 48%, #dce98c 100%);
}

.metric-value {
  color: #102d2a;
  text-shadow: 0 4px 14px rgb(16 45 42 / 12%);
}

.button-light {
  box-shadow: 0 12px 30px rgb(220 233 140 / 26%);
}

.project-card,
.focus-item,
.timeline-entry {
  position: relative;
  overflow: hidden;
}

.project-card::after,
.focus-item::after,
.timeline-entry::after {
  position: absolute;
  top: 0;
  left: -100%;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  content: "";
  transition: left 500ms ease;
}

.project-card:hover::after,
.focus-item:hover::after,
.timeline-entry:hover::after {
  left: 100%;
}

.project-card:hover,
.focus-item:hover,
.timeline-entry:hover {
  transform: translateY(-3px);
}

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

@keyframes halo-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.018);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .portrait-wrap::before {
    animation: none;
  }

  .project-card:hover,
  .focus-item:hover,
  .timeline-entry:hover {
    transform: none;
  }
}

@media (max-width: 700px) {
  h1 {
    line-height: 1.02;
  }
}

/* Persistent background stage */
.fixed-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(rgb(16 45 42 / 7%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(16 45 42 / 7%) 1px, transparent 1px),
    radial-gradient(circle at 14% 18%, rgb(220 233 140 / 32%), transparent 24%),
    radial-gradient(circle at 86% 78%, rgb(240 109 81 / 18%), transparent 28%),
    #f6f7f2;
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
  pointer-events: none;
}

.stage-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.fixed-stage::before,
.fixed-stage::after {
  position: absolute;
  z-index: 2;
  width: 52vw;
  height: 52vw;
  border: 1px solid rgb(16 45 42 / 14%);
  border-radius: 50%;
  content: "";
}

.fixed-stage::before {
  top: -24vw;
  right: -8vw;
  animation: stage-drift 24s ease-in-out infinite alternate;
}

.fixed-stage::after {
  bottom: -30vw;
  left: -12vw;
  border-color: rgb(240 109 81 / 18%);
  animation: stage-drift 30s ease-in-out infinite alternate-reverse;
}

.stage-orbit {
  position: absolute;
  display: block;
  border: 1px solid rgb(16 45 42 / 12%);
  border-radius: 50%;
}

.stage-orbit-one {
  top: 22vh;
  left: 30vw;
  width: 180px;
  height: 180px;
}

.stage-orbit-two {
  right: 18vw;
  bottom: 18vh;
  width: 90px;
  height: 90px;
  border-color: rgb(240 109 81 / 24%);
}

.stage-beam {
  position: absolute;
  top: -20vh;
  right: 24vw;
  width: 1px;
  height: 140vh;
  background: linear-gradient(transparent, rgb(16 45 42 / 16%), transparent);
  transform: rotate(18deg);
  transform-origin: center;
}

main,
.site-footer,
.site-header {
  position: relative;
  z-index: 1;
}

.site-header {
  z-index: 10;
}

@keyframes stage-drift {
  from {
    transform: translate3d(-2%, -1%, 0) rotate(-4deg);
  }
  to {
    transform: translate3d(3%, 2%, 0) rotate(5deg);
  }
}

@media (max-width: 700px) {
  .fixed-stage::before,
  .fixed-stage::after {
    width: 90vw;
    height: 90vw;
  }

  .stage-beam {
    right: 8vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fixed-stage::before,
  .fixed-stage::after {
    animation: none;
  }
}

/* Unified dark stage */
body {
  background: #102d2a;
  color: var(--white);
}

.fixed-stage {
  background:
    linear-gradient(rgb(193 211 201 / 8%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(193 211 201 / 8%) 1px, transparent 1px),
    radial-gradient(circle at 14% 18%, rgb(220 233 140 / 16%), transparent 24%),
    radial-gradient(circle at 86% 78%, rgb(240 109 81 / 13%), transparent 28%),
    #102d2a;
}

.hero,
.projects,
.expertise,
.credentials,
.contact,
.metrics,
.about,
.focus-section,
.experience {
  background: transparent;
  color: var(--white);
}

.metrics {
  border: 1px solid rgb(220 233 140 / 28%);
  background: transparent;
  color: var(--white);
}

.metric-value {
  color: var(--lime);
}

.metric-label {
  color: #c8d7cf;
}

.section-kicker,
.experience-note,
.about-copy,
.focus-item p,
.timeline-details,
.timeline-period,
.timeline-location,
.credential-item p,
.award-list,
.contact-aside p {
  color: #b9ccc1;
}

.about-main h2,
.section-heading h2,
.experience-heading h2,
.expertise h2,
.contact h2 {
  color: var(--white);
}

.focus-item,
.timeline-entry,
.credential-column {
  border-color: #3e5d55;
  background: rgb(255 255 255 / 7%);
  color: var(--white);
}

.focus-item:hover,
.timeline-entry:hover {
  background: rgb(255 255 255 / 13%);
}

.credential-column h2,
.credential-item h3,
.timeline-company,
.timeline-role,
.focus-item h3 {
  color: var(--white);
}

.credential-list,
.focus-list,
.timeline,
.skill-groups {
  border-color: #3e5d55;
}

.language {
  background: rgb(220 233 140 / 12%);
  color: var(--lime);
}

.language span {
  color: #b9ccc1;
}

.skill {
  border-color: rgb(193 211 201 / 38%);
  background: rgb(255 255 255 / 10%);
  color: #d2e1d8;
}

.skill:hover {
  border-color: var(--lime);
  background: rgb(220 233 140 / 16%);
  color: var(--white);
}

.skill-group h3,
.timeline-details,
.credential-item p,
.award-list,
.contact-location,
.metric-label {
  color: #c8d7cf;
}

.timeline-details li::marker,
.award-list li::marker {
  color: var(--coral);
}

.contact-email,
.contact-aside a,
.contact-form label {
  color: var(--white);
}

.contact-form input,
.contact-form textarea {
  border-color: rgb(255 255 255 / 35%);
  background: rgb(255 255 255 / 10%);
  color: var(--white);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b9ccc1;
}

.contact {
  border-radius: 38px 38px 0 0;
  background: transparent;
}

.contact .section-kicker,
.contact-location {
  color: #d9c1b5;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--coral), var(--lime));
  box-shadow: 0 0 14px rgb(220 233 140 / 65%);
  pointer-events: none;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgb(16 45 42 / 8%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(16 45 42 / 8%) 1px, transparent 1px),
    radial-gradient(circle at 12% 20%, rgb(220 233 140 / 34%), transparent 24%),
    radial-gradient(circle at 88% 76%, rgb(240 109 81 / 20%), transparent 28%),
    var(--paper);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
  content: "";
  pointer-events: none;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

body > .site-header {
  position: sticky;
  z-index: 10;
}

body > .skip-link {
  position: fixed;
  z-index: 50;
}

body > .scroll-progress {
  position: fixed;
  z-index: 60;
}

.about,
.focus-section,
.experience {
  background: transparent;
}

.hero,
.projects {
  background-attachment: fixed;
}

.hero::after {
  background:
    radial-gradient(circle at var(--pointer-x, 82%) var(--pointer-y, 18%), rgb(220 233 140 / 18%), transparent 18%),
    conic-gradient(from 210deg at 50% 50%, transparent 0deg, rgb(220 233 140 / 9%) 70deg, transparent 125deg, rgb(240 109 81 / 8%) 220deg, transparent 285deg);
}