:root {
  --violet: #5638ae;
  --violet-bright: #6949bd;
  --violet-soft: #eee9fb;
  --ink: #3a3155;
  --ink-deep: #2b233f;
  --slate: #5c5862;
  --muted: #8b8791;
  --line: #dfdbe7;
  --paper: #ffffff;
  --mist: #f7f5fb;
  --shadow: 0 28px 70px rgba(51, 38, 78, 0.15);
  --radius-lg: 2rem;
  --radius-md: 1.25rem;
  --container: min(1180px, calc(100% - 3rem));
}

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

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

body {
  margin: 0;
  color: var(--ink-deep);
  background: var(--paper);
  font-family: Inter, Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid #9a82e7;
  outline-offset: 4px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-160%);
  padding: 0.7rem 1rem;
  border-radius: 0.6rem;
  color: white;
  background: var(--ink-deep);
  text-decoration: none;
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(52, 41, 77, 0.08);
  box-shadow: 0 12px 35px rgba(47, 38, 67, 0.07);
}

.nav-wrap {
  display: flex;
  min-height: 6.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: block;
  width: 12rem;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  position: relative;
  color: #544e5d;
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  border-radius: 99px;
  background: var(--violet);
  content: "";
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:hover,
.site-nav > a.is-active {
  color: var(--violet);
}

.site-nav > a:hover::after,
.site-nav > a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav .nav-cta {
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  color: white;
  background: var(--ink);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.is-active {
  color: white;
  background: var(--violet);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.32rem;
  border: 0;
  border-radius: 50%;
  color: var(--ink-deep);
  background: var(--mist);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 1.2rem;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 0;
  background:
    radial-gradient(circle at 14% 4%, rgba(101, 66, 194, 0.1), transparent 29rem),
    linear-gradient(180deg, #fff 0%, #fbfaff 100%);
}

.hero::after {
  position: absolute;
  right: -12rem;
  bottom: 6rem;
  width: 33rem;
  height: 33rem;
  border: 1px solid rgba(101, 66, 194, 0.14);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.72fr);
  gap: clamp(4rem, 8vw, 8rem);
  align-items: center;
}

.hero-copy {
  padding-bottom: 4rem;
}

.eyebrow,
.section-index,
.panel-kicker {
  margin: 0 0 1.35rem;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.eyebrow span {
  display: inline-block;
  width: 2.5rem;
  height: 2px;
  background: var(--violet);
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--ink-deep);
  font-size: clamp(3.3rem, 7vw, 6.7rem);
  font-weight: 780;
  letter-spacing: -0.072em;
  line-height: 0.95;
}

.hero h1 em {
  color: var(--violet);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.052em;
}

.hero-name {
  margin: 2rem 0 0.5rem;
  color: var(--ink-deep);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.015em;
}

.hero-intro {
  max-width: 38rem;
  margin: 0;
  color: var(--slate);
  font-size: 1.13rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg,
.contact-arrow {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary {
  color: white;
  background: var(--violet);
  box-shadow: 0 14px 28px rgba(101, 66, 194, 0.24);
}

.button-primary:hover {
  transform: translateY(-2px);
  background: var(--violet-bright);
  box-shadow: 0 18px 34px rgba(101, 66, 194, 0.32);
}

.text-link {
  color: var(--ink-deep);
  font-weight: 800;
  text-decoration-color: rgba(101, 66, 194, 0.4);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4rem;
}

.text-link:hover {
  color: var(--violet);
}

.portrait-stage {
  position: relative;
  width: min(100%, 29rem);
  justify-self: end;
  padding: 1.4rem 1.4rem 0 0;
}

.portrait-stage::before {
  position: absolute;
  inset: 0 0 2.5rem 2.6rem;
  border-radius: 2rem;
  background: linear-gradient(145deg, var(--violet), var(--ink));
  content: "";
}

.portrait-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 1.6rem;
  background: #ebe9e5;
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.portrait-shade {
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, rgba(27, 18, 45, 0.2));
}

.portrait-label {
  position: absolute;
  z-index: 3;
  right: -1.5rem;
  bottom: 1.3rem;
  display: grid;
  min-width: 14.5rem;
  gap: 0.2rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 1rem;
  color: white;
  background: rgba(52, 41, 77, 0.92);
  box-shadow: 0 16px 32px rgba(34, 26, 50, 0.25);
  backdrop-filter: blur(12px);
}

.portrait-label-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.7;
  text-transform: uppercase;
}

.portrait-label strong {
  font-size: 1.04rem;
}

.portrait-mark {
  position: absolute;
  z-index: 4;
  top: -0.2rem;
  left: 0.1rem;
  width: 5.2rem;
  height: 5.2rem;
  border: 1px solid rgba(101, 66, 194, 0.23);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(52, 41, 77, 0.12);
}

.portrait-mark span {
  position: absolute;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--violet);
}

.portrait-mark span:nth-child(1) { top: 1rem; left: 2.4rem; }
.portrait-mark span:nth-child(2) { top: 2rem; left: 1.2rem; }
.portrait-mark span:nth-child(3) { top: 2.1rem; right: 1rem; }
.portrait-mark span:nth-child(4) { bottom: 1rem; left: 2rem; }
.portrait-mark span:nth-child(5) { bottom: 1.2rem; right: 1.2rem; }

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(101, 66, 194, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one {
  top: 9rem;
  left: -10rem;
  width: 20rem;
  height: 20rem;
}

.hero-orbit-two {
  top: 16rem;
  left: -5rem;
  width: 7rem;
  height: 7rem;
}

.fact-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 1.3rem 1.3rem 0 0;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 -12px 40px rgba(52, 41, 77, 0.05);
  backdrop-filter: blur(12px);
}

.fact {
  display: grid;
  gap: 0.15rem;
  padding: 1.45rem 1.7rem;
  border-right: 1px solid var(--line);
}

.fact:last-child {
  border-right: 0;
}

.fact strong {
  color: var(--ink-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.1;
}

.fact span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section {
  padding: clamp(6rem, 10vw, 9rem) 0;
}

.section-heading h2,
.experience-intro h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.07;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(4rem, 9vw, 8rem);
  align-items: start;
}

.about .section-heading {
  position: sticky;
  top: 9rem;
}

.about-copy .lead {
  margin: 0 0 1.5rem;
  color: var(--ink-deep);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.5;
}

.about-copy > p:not(.lead) {
  margin: 0;
  color: var(--slate);
  font-size: 1.08rem;
}

.profile-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 3.2rem 0 0;
  border-top: 1px solid var(--line);
}

.profile-details div {
  padding: 1.3rem 1.1rem 1.3rem 0;
  border-bottom: 1px solid var(--line);
}

.profile-details div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.profile-details div:nth-child(even) {
  padding-left: 1.5rem;
}

.profile-details dt {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.profile-details dd {
  margin: 0;
  color: var(--ink-deep);
  font-weight: 750;
  line-height: 1.45;
}

.expertise {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--ink-deep);
}

.expertise::before {
  position: absolute;
  top: -19rem;
  right: -10rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.expertise::after {
  position: absolute;
  top: 4rem;
  right: 8rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: rgba(101, 66, 194, 0.24);
  content: "";
  filter: blur(2px);
}

.expertise .container {
  position: relative;
  z-index: 1;
}

.expertise-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
  gap: 4rem;
  align-items: end;
}

.section-heading-light h2,
.contact-copy h2 {
  color: white;
}

.expertise-top > p {
  max-width: 31rem;
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
}

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

.expertise-card {
  position: relative;
  min-height: 22rem;
  padding: 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.expertise-card:hover {
  transform: translateY(-4px);
  border-color: rgba(154, 130, 231, 0.62);
  background: rgba(101, 66, 194, 0.16);
}

.expertise-card::after {
  position: absolute;
  right: -3.5rem;
  bottom: -3.5rem;
  width: 9rem;
  height: 9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.card-number {
  position: absolute;
  top: 1.5rem;
  right: 1.6rem;
  color: rgba(255, 255, 255, 0.26);
  font-family: Georgia, serif;
  font-size: 1rem;
}

.icon-shell {
  display: grid;
  width: 3.7rem;
  height: 3.7rem;
  place-items: center;
  margin-bottom: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  color: #c8b9f5;
  background: rgba(101, 66, 194, 0.2);
}

.icon-shell svg,
.contact-icon svg {
  width: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.expertise-card h3 {
  max-width: 22rem;
  margin: 0 0 0.9rem;
  color: white;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.expertise-card p {
  max-width: 31rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.experience {
  background: var(--mist);
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(19rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(4rem, 10vw, 9rem);
  align-items: start;
}

.experience-intro {
  position: sticky;
  top: 9rem;
}

.experience-intro p:last-child {
  max-width: 31rem;
  margin: 1.5rem 0 0;
  color: var(--slate);
}

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

.timeline::before {
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: 0.4rem;
  width: 1px;
  background: #cbc4da;
  content: "";
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 2rem;
  padding: 0 0 3.2rem 2.2rem;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  position: absolute;
  top: 0.38rem;
  left: 0;
  width: 0.85rem;
  height: 0.85rem;
  border: 3px solid var(--mist);
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 1px rgba(101, 66, 194, 0.28);
  content: "";
}

.timeline-year {
  color: var(--violet);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.role-tag {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.timeline-body h3 {
  margin: 0;
  color: var(--ink-deep);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.timeline-body p {
  margin: 0.45rem 0 0;
  color: var(--slate);
}

.credentials {
  background: white;
}

.credentials-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: 4rem;
  align-items: end;
}

.credentials-heading > p {
  max-width: 31rem;
  margin: 0 0 0.5rem;
  color: var(--slate);
}

.credentials-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 1rem;
  margin-top: 4rem;
}

.credential-panel {
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
}

.credential-panel-primary {
  color: white;
  border-color: transparent;
  background: linear-gradient(145deg, var(--violet), #4f3599);
  box-shadow: 0 24px 55px rgba(101, 66, 194, 0.18);
}

.credential-panel .panel-kicker {
  margin-bottom: 2rem;
}

.credential-panel-primary .panel-kicker {
  color: #d9cff7;
}

.credential-panel h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.3vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.panel-meta {
  margin: 0.7rem 0 2.5rem;
  font-size: 0.88rem;
  font-weight: 800;
  opacity: 0.75;
  text-transform: uppercase;
}

.credential-panel-primary > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.credential-list,
.activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.credential-list li {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.credential-list li:last-child {
  border-bottom: 0;
}

.credential-list strong {
  color: var(--ink-deep);
}

.credential-list span {
  color: var(--slate);
}

.credential-panel-wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 5rem;
  align-items: start;
  background: var(--mist);
}

.activity-list li {
  position: relative;
  padding: 0 0 1.3rem 1.8rem;
  color: var(--slate);
}

.activity-list li:last-child {
  padding-bottom: 0;
}

.activity-list li::before {
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--violet);
  content: "";
}

.contact {
  padding: 0 0 2rem;
  background: white;
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(3rem, 8vw, 7rem);
  padding: clamp(2.5rem, 7vw, 5.5rem);
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: white;
  background: var(--ink-deep);
  box-shadow: var(--shadow);
}

.contact-card::before {
  position: absolute;
  right: -12rem;
  bottom: -15rem;
  width: 35rem;
  height: 35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.contact-card::after {
  position: absolute;
  right: 4rem;
  bottom: 2rem;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: rgba(101, 66, 194, 0.3);
  content: "";
  filter: blur(1px);
}

.contact-copy,
.contact-links {
  position: relative;
  z-index: 2;
}

.section-index-light {
  color: #bba8f3;
}

.contact-copy p:last-child {
  max-width: 36rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.contact-links {
  display: grid;
  align-content: center;
  gap: 0.8rem;
}

.contact-links > a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  color: white;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-links > a:hover {
  transform: translateX(4px);
  border-color: rgba(188, 168, 243, 0.55);
  background: rgba(101, 66, 194, 0.22);
}

.contact-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 0.85rem;
  color: #cfbef8;
  background: rgba(101, 66, 194, 0.26);
}

.contact-links small,
.contact-links strong {
  display: block;
}

.contact-links small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-links strong {
  overflow: hidden;
  font-size: 0.97rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footer {
  padding: 3.4rem 0;
  color: var(--slate);
  background: white;
}

.footer-inner {
  display: grid;
  grid-template-columns: 12rem 1fr auto;
  gap: 2rem;
  align-items: center;
}

.footer-brand {
  display: block;
}

.footer-brand img {
  width: 100%;
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
}

.copyright {
  text-align: right;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (max-width: 980px) {
  :root {
    --container: min(100% - 2.2rem, 760px);
  }

  .nav-wrap {
    min-height: 5.7rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 3;
  }

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

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-0.41rem) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    visibility: hidden;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 0.6rem;
    transform: translateY(-1rem);
    padding: 8rem 1.5rem 2rem;
    opacity: 0;
    background: rgba(255, 255, 255, 0.98);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .site-nav.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
  }

  .site-nav a {
    width: min(100%, 30rem);
    padding: 0.7rem 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 500;
  }

  .site-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .site-nav .nav-cta {
    width: auto;
    margin-top: 0.8rem;
    padding: 0.75rem 1.3rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-grid,
  .about-grid,
  .experience-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2.8rem;
  }

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

  .hero h1 {
    max-width: 11ch;
  }

  .portrait-stage {
    width: min(88%, 30rem);
    justify-self: center;
  }

  .fact-strip {
    margin-top: 4rem;
  }

  .about .section-heading,
  .experience-intro {
    position: static;
  }

  .about-grid,
  .experience-layout {
    gap: 3rem;
  }

  .expertise-top,
  .credentials-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .credential-panel-wide {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 10rem 1fr;
  }

  .copyright {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 680px) {
  :root {
    --container: calc(100% - 1.35rem);
    --radius-lg: 1.35rem;
  }

  html {
    scroll-padding-top: 6.4rem;
  }

  .brand {
    width: 9.5rem;
  }

  .hero {
    padding-top: 2.2rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-intro {
    font-size: 1.02rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .portrait-stage {
    width: calc(100% - 0.8rem);
    padding-right: 0.7rem;
  }

  .portrait-label {
    right: -0.25rem;
    bottom: 0.7rem;
    min-width: 12rem;
  }

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

  .fact:nth-child(2) {
    border-right: 0;
  }

  .fact:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .fact {
    padding: 1.15rem;
  }

  .section {
    padding: 5.7rem 0;
  }

  .section-heading h2,
  .experience-intro h2,
  .contact-copy h2 {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }

  .profile-details {
    grid-template-columns: 1fr;
  }

  .profile-details div:nth-child(odd) {
    border-right: 0;
  }

  .profile-details div:nth-child(even) {
    padding-left: 0;
  }

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

  .expertise-card {
    min-height: 20rem;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .credential-panel {
    padding: 1.5rem;
  }

  .credential-list li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .contact-card {
    width: 100%;
    border-radius: 0;
  }

  .contact-links > a {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .contact-arrow {
    display: none;
  }

  .contact-links strong {
    font-size: 0.88rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    width: 10rem;
  }
}

@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;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
