:root {
  --paper: #f5f1e8;
  --paper-deep: #ebe3d5;
  --sand: #d7c6aa;
  --sand-light: #eee6d9;
  --sage: #80927a;
  --sage-soft: #d9e0d5;
  --moss: #53654e;
  --olive: #29322a;
  --charcoal: #31332f;
  --muted: #65675f;
  --line: rgba(41, 50, 42, 0.18);
  --line-light: rgba(245, 241, 232, 0.22);
  --white: #fffdf8;
  --large: clamp(2.35rem, 4.7vw, 4.65rem);
  --medium: clamp(1.08rem, 1.35vw, 1.34rem);
  --small: 1rem;
  --radius: 1.15rem;
  --max: 1240px;
  --shadow: 0 16px 50px rgba(41, 50, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--charcoal);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--small);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  color: var(--white);
  background: var(--moss);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--olive);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

.section-spacious {
  padding-block: clamp(5.5rem, 10vw, 9.5rem);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  padding: 1rem 1.5rem;
  pointer-events: none;
}

.nav-shell {
  position: relative;
  width: min(1380px, 100%);
  min-height: 4.25rem;
  margin: 0 auto;
  padding: 0.55rem 0.65rem 0.55rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(245, 241, 232, 0.96);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(41, 50, 42, 0.08);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--olive);
  font-weight: 750;
  white-space: nowrap;
}

.brand-mark {
  width: 2.65rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--moss);
  border-radius: 50%;
  letter-spacing: 0.06em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.55rem, 1.15vw, 1.2rem);
}

.nav-menu a {
  color: var(--muted);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease;
}

.nav-menu a:hover,
.nav-menu a[aria-current="true"] {
  color: var(--olive);
}

.nav-menu .nav-cv,
.nav-menu .nav-contact {
  padding: 0.85rem 1rem;
  border-radius: 999px;
}

.nav-menu .nav-cv {
  border: 1px solid var(--line);
}

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

.nav-menu .nav-contact:hover {
  color: var(--white);
  background: var(--moss);
}

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  border-radius: 50%;
  background: var(--olive);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0.3rem auto;
  background: var(--white);
  transition: transform 180ms ease;
}

.hero {
  min-height: 100svh;
  padding-top: clamp(9rem, 14vw, 12rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7.5rem);
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  margin-bottom: 2rem;
  color: var(--moss);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow span + span::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  background: var(--sage);
  border-radius: 50%;
}

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

h1,
h2 {
  color: var(--olive);
  font-size: var(--large);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 14ch;
  margin-bottom: 2rem;
  font-weight: 520;
}

h1 .hero-name {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--moss);
  font-size: var(--medium);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 em,
h2 em {
  color: var(--moss);
  font-style: normal;
  font-weight: 750;
}

h3 {
  margin-bottom: 0.7rem;
  color: var(--olive);
  font-size: var(--medium);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.hero-lede {
  max-width: 61ch;
  margin-bottom: 1rem;
  color: var(--charcoal);
  font-size: var(--medium);
  line-height: 1.55;
}

.hero-detail {
  max-width: 68ch;
  color: var(--muted);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.button {
  min-height: 3.4rem;
  padding: 0.85rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: var(--small);
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

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

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

.button-secondary {
  color: var(--olive);
  background: transparent;
  border-color: var(--line);
}

.button-secondary:hover {
  background: var(--sand-light);
}

.text-link {
  padding: 0.75rem 0.25rem;
  color: var(--moss);
  font-weight: 750;
  border-bottom: 1px solid var(--sage);
}

.decision-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--paper);
  background: var(--olive);
  border-radius: calc(var(--radius) * 1.4);
  box-shadow: var(--shadow);
}

.decision-card::after {
  content: "";
  position: absolute;
  top: -7rem;
  right: -7rem;
  width: 14rem;
  aspect-ratio: 1;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  box-shadow: 0 0 0 2.8rem rgba(245, 241, 232, 0.03), 0 0 0 5.6rem rgba(245, 241, 232, 0.02);
  pointer-events: none;
}

.decision-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.section-kicker {
  color: var(--moss);
  font-weight: 800;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.decision-card .section-kicker {
  color: var(--sand);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  color: var(--paper-deep);
  border: 1px solid var(--line-light);
  border-radius: 999px;
}

.status-pill i {
  width: 0.45rem;
  height: 0.45rem;
  background: var(--sage);
  border-radius: 50%;
}

.decision-card h2 {
  position: relative;
  z-index: 1;
  margin: 2rem 0;
  color: var(--white);
  font-size: var(--large);
}

.signal-rail {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-rail::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  bottom: 1.15rem;
  left: 1rem;
  width: 1px;
  background: var(--line-light);
}

.signal-rail li {
  position: relative;
  min-height: 4.35rem;
  padding: 0 0 0 3.2rem;
  display: grid;
  align-content: start;
}

.signal-rail li > span {
  position: absolute;
  z-index: 1;
  left: 0;
  width: 2rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--olive);
  background: var(--sand);
  border-radius: 50%;
  font-weight: 800;
}

.signal-rail strong {
  color: var(--white);
  font-size: var(--medium);
  line-height: 1.2;
}

.signal-rail small {
  color: #c9cec4;
  font-size: var(--small);
}

.decision-outcome {
  margin-top: 1.25rem;
  padding-top: 1.2rem;
  display: grid;
  gap: 0.25rem;
  border-top: 1px solid var(--line-light);
}

.decision-outcome span {
  color: var(--sand);
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.decision-outcome strong {
  color: var(--white);
  font-size: var(--medium);
}

.positioning-strip {
  padding: 1.4rem 1.5rem;
  color: var(--paper);
  background: var(--moss);
}

.positioning-track {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--medium);
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.positioning-track b {
  color: var(--sand);
  font-weight: 500;
}

.section-intro {
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 2rem 5rem;
}

.section-intro h2,
.ai-heading h2,
.about-heading h2,
.communication-grid h2,
.contact-panel h2,
.cv-panel h2 {
  max-width: 15ch;
  margin: 1rem 0 0;
}

.section-intro > p,
.ai-heading > p,
.communication-grid > div > p {
  max-width: 50ch;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: var(--medium);
}

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

.question-card {
  border-bottom: 1px solid var(--line);
}

.question-card summary {
  min-height: 8rem;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 2.8rem;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  cursor: pointer;
  list-style: none;
}

.question-card summary::-webkit-details-marker {
  display: none;
}

.question-number,
.project-index,
.project-type,
.method-grid > li > span,
.ai-capabilities article > span {
  color: var(--moss);
  font-weight: 800;
  letter-spacing: 0.09em;
}

.question-title {
  color: var(--olive);
  font-size: var(--medium);
  font-weight: 760;
  line-height: 1.28;
}

.question-toggle {
  position: relative;
  width: 2.7rem;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.question-toggle::before,
.question-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.9rem;
  height: 1px;
  background: var(--moss);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.question-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.question-card[open] .question-toggle::after {
  transform: translate(-50%, -50%) rotate(0);
}

.question-body {
  padding: 0 3rem 3rem 6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(290px, 0.92fr);
  gap: 2rem 5rem;
  color: var(--muted);
}

.question-body blockquote {
  margin: 1.5rem 0 0;
  padding-left: 1rem;
  color: var(--olive);
  border-left: 3px solid var(--sage);
  font-size: var(--medium);
  font-weight: 750;
}

.capability-lines {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 0.5rem;
}

.capability-lines span,
.country-list span,
.skill-cloud span,
.role-grid span {
  padding: 0.65rem 0.85rem;
  color: var(--olive);
  background: var(--sand-light);
  border: 1px solid transparent;
  border-radius: 999px;
  line-height: 1.2;
}

.mini-flow,
.project-architecture,
.career-map {
  position: relative;
  display: grid;
  gap: 0;
}

.mini-flow span,
.project-architecture span {
  position: relative;
  padding: 0.55rem 0.75rem 0.55rem 2rem;
  color: var(--olive);
  background: rgba(217, 224, 213, 0.45);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  font-weight: 700;
}

.mini-flow span::before,
.project-architecture span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.85rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--sage);
  border-radius: 50%;
  transform: translateY(-50%);
}

.mini-flow i,
.project-architecture i {
  width: 1px;
  height: 0.8rem;
  margin-left: 1.1rem;
  background: var(--sage);
}

.impact-section {
  width: 100%;
  max-width: none;
  padding-inline: max(1.5rem, calc((100vw - var(--max)) / 2));
  background: var(--paper-deep);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.impact-card {
  min-height: 18rem;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(255, 253, 248, 0.36);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.impact-card > span:not(.impact-symbol) {
  color: var(--moss);
  font-size: var(--medium);
  font-weight: 800;
}

.impact-card > strong {
  color: var(--olive);
  font-size: var(--large);
  line-height: 1;
  letter-spacing: -0.04em;
}

.impact-card h3 {
  margin-top: 1rem;
}

.impact-card p {
  max-width: 34ch;
  margin-bottom: 0;
  color: var(--muted);
}

.impact-primary {
  color: var(--white);
  background: var(--moss);
}

.impact-primary > span:not(.impact-symbol),
.impact-primary > strong,
.impact-primary h3,
.impact-primary p {
  color: var(--white);
}

.text-impact {
  justify-content: space-between;
}

.impact-symbol {
  color: var(--sage);
  font-size: var(--large);
  font-weight: 780;
  letter-spacing: -0.05em;
}

.ai-section {
  width: 100%;
  max-width: none;
  padding-inline: max(1.5rem, calc((100vw - var(--max)) / 2));
  color: var(--paper);
  background: var(--olive);
}

.ai-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.42fr);
  gap: 2rem 5rem;
  align-items: end;
}

.ai-heading .section-kicker {
  grid-column: 1 / -1;
  color: var(--sand);
}

.ai-heading h2 {
  max-width: 17ch;
  color: var(--white);
}

.ai-heading h2 em {
  color: var(--sand);
}

.ai-heading > p {
  color: #c9cec4;
}

.workflow-panel {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding: clamp(1.5rem, 4vw, 3.4rem);
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 3rem 5rem;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

.workflow-copy .section-kicker,
.ai-questions .section-kicker {
  color: var(--sand);
}

.workflow-copy h3 {
  margin-top: 1rem;
  color: var(--white);
}

.workflow-copy p {
  color: #c9cec4;
}

.workflow {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-content: center;
  gap: 0.75rem;
  list-style: none;
}

.workflow li {
  min-height: 7.5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(245, 241, 232, 0.06);
  border: 1px solid var(--line-light);
  border-radius: 0.75rem;
}

.workflow li:last-child {
  background: var(--moss);
}

.workflow b {
  color: var(--sand);
  letter-spacing: 0.08em;
}

.workflow span {
  color: var(--white);
  font-weight: 700;
  line-height: 1.25;
}

.ai-capabilities {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.ai-capabilities article {
  min-height: 17rem;
  padding: clamp(1.35rem, 3vw, 2.3rem);
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.ai-capabilities article > span {
  color: var(--sand);
}

.ai-capabilities h3 {
  margin-top: 3.2rem;
  color: var(--white);
}

.ai-capabilities p {
  margin-bottom: 0;
  color: #c9cec4;
}

.ai-questions {
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: rgba(245, 241, 232, 0.05);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

.question-cloud {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.question-cloud span {
  padding: 1rem;
  color: var(--white);
  border-left: 2px solid var(--sage);
}

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

.project-card {
  min-height: 26rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 22px rgba(41, 50, 42, 0.035);
}

.project-card[hidden] {
  display: none;
}

.project-featured {
  grid-column: 1 / -1;
  min-height: auto;
  color: var(--paper);
  background: var(--moss);
}

.project-featured h3,
.project-featured .project-index,
.project-featured .project-type,
.project-featured details summary,
.project-featured details dt {
  color: var(--white);
}

.project-featured p,
.project-featured details dd {
  color: #e2e5de;
}

.project-top {
  margin-bottom: 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.project-type {
  text-align: right;
  text-transform: uppercase;
}

.project-card h3 {
  max-width: 23ch;
}

.project-subtitle {
  color: var(--moss);
  font-weight: 700;
}

.project-card > p:not(.project-subtitle) {
  max-width: 63ch;
  color: var(--muted);
}

.project-architecture {
  margin: 1rem 0 2rem;
  grid-template-columns: repeat(11, auto);
  align-items: center;
}

.project-architecture span {
  padding: 0.65rem;
  color: var(--white);
  background: rgba(245, 241, 232, 0.06);
  border-color: var(--line-light);
  text-align: center;
}

.project-architecture span::before {
  display: none;
}

.project-architecture i {
  width: 1rem;
  height: 1px;
  margin: 0;
  background: var(--sand);
}

.project-card details {
  margin-top: auto;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.project-featured details {
  border-color: var(--line-light);
}

.project-card details summary {
  display: flex;
  justify-content: space-between;
  color: var(--olive);
  font-weight: 780;
  cursor: pointer;
  list-style: none;
}

.project-card details summary::-webkit-details-marker {
  display: none;
}

.project-card details[open] summary span {
  transform: rotate(45deg);
}

.project-card dl {
  margin: 1.5rem 0 0;
}

.project-card dl div {
  padding: 0.7rem 0;
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  border-top: 1px solid var(--line);
}

.project-featured dl div {
  border-color: var(--line-light);
}

.project-card dt {
  color: var(--moss);
  font-weight: 780;
}

.project-card dd {
  margin: 0;
  color: var(--muted);
}

.project-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.journey-section {
  width: 100%;
  max-width: none;
  padding-inline: max(1.5rem, calc((100vw - var(--max)) / 2));
  background: var(--sand-light);
}

.career-map {
  margin-bottom: 4rem;
  padding: 1.3rem;
  grid-template-columns: repeat(13, auto);
  align-items: center;
  color: var(--olive);
  background: rgba(255, 253, 248, 0.46);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.career-map span {
  text-align: center;
  font-weight: 720;
}

.career-map i {
  width: 100%;
  min-width: 0.7rem;
  height: 1px;
  background: var(--sage);
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(26% + 1.6rem);
  width: 1px;
  background: var(--line);
}

.timeline li {
  position: relative;
  min-height: 7.5rem;
  display: grid;
  grid-template-columns: 26% 1fr;
  gap: 4rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  left: calc(26% + 1.27rem);
  width: 0.7rem;
  aspect-ratio: 1;
  background: var(--sage);
  border: 0.3rem solid var(--sand-light);
  border-radius: 50%;
}

.timeline time {
  color: var(--moss);
  font-weight: 800;
  text-align: right;
}

.timeline h3 {
  margin-bottom: 0.2rem;
}

.timeline p {
  color: var(--muted);
}

.toolkit {
  display: grid;
  grid-template-columns: minmax(240px, 0.36fr) minmax(0, 1fr);
  min-height: 24rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.tab-list {
  padding: 1rem;
  display: grid;
  align-content: start;
  background: var(--olive);
}

.tab-list button {
  padding: 1.05rem;
  color: #c9cec4;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.tab-list button[aria-selected="true"] {
  color: var(--white);
  background: rgba(245, 241, 232, 0.08);
  box-shadow: inset 3px 0 0 var(--sand);
}

.tab-panels {
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.skill-cloud span {
  background: var(--sand-light);
}

.method-section {
  width: 100%;
  max-width: none;
  padding-inline: max(1.5rem, calc((100vw - var(--max)) / 2));
  background: var(--white);
}

.method-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
}

.method-grid li {
  min-height: 16rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.method-grid li:last-child {
  color: var(--paper);
  background: var(--moss);
}

.method-grid li:last-child span,
.method-grid li:last-child h3,
.method-grid li:last-child p {
  color: var(--white);
}

.method-grid h3 {
  margin-top: auto;
}

.method-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.method-quote {
  max-width: 32ch;
  margin: 5rem auto 0;
  color: var(--olive);
  font-size: var(--medium);
  font-weight: 760;
  text-align: center;
}

.communication-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 4rem 8rem;
  align-items: center;
}

.country-list {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.language-panel {
  padding: clamp(1.4rem, 4vw, 3rem);
  background: var(--sand-light);
  border-radius: var(--radius);
}

.language-row + .language-row {
  margin-top: 1.45rem;
}

.language-row > div:first-child {
  margin-bottom: 0.55rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.language-row strong {
  color: var(--olive);
}

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

.language-track {
  height: 0.55rem;
  overflow: hidden;
  background: var(--paper);
  border-radius: 999px;
}

.language-track i {
  width: var(--level);
  height: 100%;
  display: block;
  background: var(--sage);
  border-radius: inherit;
  transform-origin: left;
}

.education-section {
  width: 100%;
  max-width: none;
  padding-inline: max(1.5rem, calc((100vw - var(--max)) / 2));
  background: var(--paper-deep);
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.education-grid article {
  min-height: 15rem;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.education-grid time,
.education-grid article > span {
  color: var(--moss);
  font-weight: 700;
}

.education-grid h3 {
  margin-top: 3rem;
}

.education-grid p {
  margin-bottom: 0.2rem;
  color: var(--muted);
}

.continuing-note {
  margin-top: 1.5rem;
  padding: 1.4rem;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  background: rgba(255, 253, 248, 0.45);
  border-left: 3px solid var(--sage);
}

.continuing-note p {
  margin: 0;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 4rem 9rem;
}

.about-heading {
  position: sticky;
  top: 8rem;
  align-self: start;
}

.about-copy {
  color: var(--muted);
  font-size: var(--medium);
}

.about-copy p {
  margin-bottom: 1.5rem;
}

.roles-section {
  width: 100%;
  max-width: none;
  padding-inline: max(1.5rem, calc((100vw - var(--max)) / 2));
  background: var(--sand-light);
}

.role-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.role-grid span {
  padding: 0.9rem 1.1rem;
  background: rgba(255, 253, 248, 0.55);
  border-color: var(--line);
  font-weight: 700;
}

.cv-section {
  padding-block: 3rem;
}

.cv-panel {
  padding: clamp(2rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 3rem 5rem;
  color: var(--paper);
  background: var(--moss);
  border-radius: calc(var(--radius) * 1.4);
}

.cv-panel .section-kicker {
  color: var(--sand);
}

.cv-panel h2 {
  color: var(--white);
}

.cv-panel p {
  margin: 1rem 0 0;
  color: #e2e5de;
  font-size: var(--medium);
}

.cv-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.button-light {
  color: var(--olive);
  background: var(--white);
}

.button-outline-light {
  color: var(--white);
  background: transparent;
  border-color: var(--line-light);
}

.cv-actions .cv-note {
  flex-basis: 100%;
  margin: 0.5rem 0 0;
  font-size: var(--small);
  text-align: right;
}

.contact-section {
  padding-block: clamp(6rem, 11vw, 10rem);
}

.contact-panel {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.contact-panel h2 {
  max-width: none;
}

.contact-panel > p {
  max-width: 60ch;
  margin: 1.5rem auto;
  color: var(--muted);
  font-size: var(--medium);
}

.contact-details {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem 1.6rem;
  color: var(--moss);
  font-weight: 700;
}

.contact-details span + span::before {
  content: "·";
  margin-right: 1.6rem;
  color: var(--sand);
}

.contact-actions {
  justify-content: center;
}

.email-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--moss);
  border-bottom: 1px solid var(--sage);
}

.site-footer {
  padding: 2.2rem max(1.5rem, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 2rem;
  color: #c9cec4;
  background: var(--olive);
}

.site-footer > div {
  display: grid;
  gap: 0.25rem;
}

.site-footer strong {
  color: var(--white);
  font-size: var(--medium);
}

.site-footer nav {
  display: flex;
  gap: 1.3rem;
}

.site-footer a:hover {
  color: var(--white);
}

.back-top {
  width: 3rem;
  aspect-ratio: 1;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  cursor: pointer;
}

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

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

@media (max-width: 1180px) {
  .nav-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    width: min(24rem, calc(100vw - 3rem));
    max-height: calc(100vh - 7rem);
    overflow: auto;
    padding: 1rem;
    display: none;
    align-items: stretch;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 0.8rem 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) {
    transform: translateY(0.31rem) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) {
    transform: translateY(-0.31rem) rotate(-45deg);
  }

  .hero {
    grid-template-columns: 1fr 0.72fr;
    gap: 3rem;
  }

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

  .project-architecture {
    grid-template-columns: 1fr;
  }

  .project-architecture i {
    width: 1px;
    height: 0.65rem;
    margin-left: 1rem;
  }

  .career-map {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .career-map i {
    width: 1px;
    height: 0.7rem;
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .section {
    width: min(100% - 2rem, var(--max));
  }

  .site-header {
    padding-inline: 1rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 1.5rem;
  }

  .decision-card {
    width: 100%;
    max-width: 36rem;
  }

  .positioning-track {
    justify-content: center;
    flex-wrap: wrap;
  }

  .section-intro,
  .ai-heading,
  .workflow-panel,
  .communication-grid,
  .about-grid,
  .cv-panel {
    grid-template-columns: 1fr;
  }

  .question-body {
    padding-left: 4rem;
    grid-template-columns: 1fr;
  }

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

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

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

  .tab-list {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .tab-list button {
    min-width: 13rem;
    border-right: 1px solid var(--line-light);
    border-bottom: 0;
  }

  .tab-list button[aria-selected="true"] {
    box-shadow: inset 0 -3px 0 var(--sand);
  }

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

  .communication-grid {
    gap: 3rem;
  }

  .about-heading {
    position: static;
  }

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

  .cv-actions .cv-note {
    text-align: left;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 6rem;
  }

  .section-spacious {
    padding-block: 5.2rem;
  }

  .brand > span:last-child {
    display: none;
  }

  .hero {
    padding-top: 8rem;
    padding-bottom: 4.5rem;
  }

  .eyebrow {
    display: grid;
    gap: 0.25rem;
  }

  .eyebrow span + span::before {
    display: none;
  }

  h1,
  h2 {
    letter-spacing: -0.045em;
  }

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

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .text-link {
    align-self: flex-start;
  }

  .decision-card h2 {
    margin-bottom: 1.6rem;
  }

  .positioning-track {
    gap: 0.4rem 0.7rem;
  }

  .section-intro {
    gap: 1.4rem;
  }

  .question-card summary {
    min-height: 6.5rem;
    grid-template-columns: 2.2rem minmax(0, 1fr) 2.7rem;
    gap: 0.7rem;
  }

  .question-body {
    padding: 0 0 2.5rem;
  }

  .impact-grid,
  .ai-capabilities,
  .project-grid,
  .question-cloud,
  .education-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .impact-card,
  .ai-capabilities article,
  .method-grid li,
  .education-grid article,
  .project-card {
    min-height: auto;
  }

  .impact-card {
    padding-block: 2rem;
  }

  .impact-symbol,
  .impact-card > strong {
    margin-bottom: 1.5rem;
  }

  .workflow-panel {
    gap: 1.5rem;
  }

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

  .workflow li {
    min-height: 5.8rem;
  }

  .ai-capabilities h3 {
    margin-top: 1.8rem;
  }

  .project-card {
    padding-block: 1.7rem;
  }

  .project-top {
    margin-bottom: 2rem;
  }

  .project-card dl div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .timeline::before {
    left: 0.35rem;
  }

  .timeline li {
    min-height: 9rem;
    padding-left: 2.2rem;
    display: block;
  }

  .timeline li::before {
    top: 0.25rem;
    left: 0;
  }

  .timeline time {
    display: block;
    margin-bottom: 0.45rem;
    text-align: left;
  }

  .tab-list button {
    min-width: 11.5rem;
  }

  .continuing-note {
    align-items: start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .language-panel {
    margin-inline: -0.25rem;
  }

  .contact-details {
    align-items: center;
    flex-direction: column;
  }

  .contact-details span + span::before {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .site-footer nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
