:root {
  color-scheme: light;
  --brand-blue: #2b3342;
  --brand-taupe: #b4b0a4;
  --brand-black: #222221;
  --brand-white: #ffffff;
  --bg: var(--brand-white);
  --bg-alt: var(--brand-taupe);
  --surface: var(--brand-white);
  --surface-strong: var(--brand-white);
  --text: var(--brand-black);
  --text-soft: #50504d;
  --muted: #676763;
  --line: rgba(34, 34, 33, 0.14);
  --line-strong: rgba(34, 34, 33, 0.28);
  --accent: var(--brand-blue);
  --accent-bright: var(--brand-blue);
  --accent-soft: color-mix(in srgb, var(--brand-blue) 12%, var(--brand-white));
  --accent-contrast: var(--brand-white);
  --accent-hover: var(--brand-black);
  --shadow: 0 24px 70px rgba(34, 34, 33, 0.08);
  --shadow-soft: 0 12px 35px rgba(34, 34, 33, 0.05);
  --radius-xl: 2rem;
  --radius-lg: 1.35rem;
  --radius-md: 0.9rem;
  --container: 78rem;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: var(--brand-black);
  --bg-alt: var(--brand-taupe);
  --surface: var(--brand-blue);
  --surface-strong: var(--brand-blue);
  --text: var(--brand-white);
  --text-soft: var(--brand-white);
  --muted: var(--brand-taupe);
  --line: rgba(246, 246, 243, 0.16);
  --line-strong: rgba(246, 246, 243, 0.3);
  --accent: var(--brand-white);
  --accent-bright: var(--brand-taupe);
  --accent-soft: var(--brand-blue);
  --accent-contrast: var(--brand-blue);
  --accent-hover: var(--brand-taupe);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.22);
}

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

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

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  transition: background-color .35s ease, color .35s ease;
}

::selection { background: var(--accent); color: var(--accent-contrast); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, white);
  outline-offset: 4px;
}

.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: .75rem;
  left: .75rem;
  z-index: 1000;
  padding: .75rem 1rem;
  border-radius: .7rem;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

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

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

.section { position: relative; padding: 8rem 0; }
.glass {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.page-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 2px;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  inset: 1rem 0 auto;
  z-index: 100;
  transition: transform .35s var(--ease);
}

.nav-shell {
  width: min(calc(100% - 2rem), 76rem);
  min-height: 4.2rem;
  margin-inline: auto;
  padding: .55rem .65rem .55rem 1rem;
  border-radius: 1.35rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; width: fit-content; }
.brand-mark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 52%, var(--line));
  background: color-mix(in srgb, var(--accent-soft) 72%, transparent);
}

.brand-mark::before {
  content: "";
  width: .78rem;
  height: .78rem;
  border: 2px solid var(--accent);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-25deg);
}

.brand-mark span {
  position: absolute;
  width: .24rem;
  height: .24rem;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(.37rem, -.34rem);
}

.brand-name { font-size: .92rem; font-weight: 750; letter-spacing: -.02em; }

.primary-nav { display: flex; align-items: center; gap: .35rem; }
.primary-nav a {
  position: relative;
  padding: .7rem .78rem;
  color: var(--text-soft);
  font-size: .87rem;
  font-weight: 650;
  white-space: nowrap;
  transition: color .2s ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  inset: auto .78rem .35rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}

.primary-nav a:hover,
.primary-nav a.is-active { color: var(--text); }
.primary-nav a:hover::after,
.primary-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { justify-self: end; display: flex; align-items: center; gap: .4rem; }
.nav-download { min-height: 2.65rem; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: .82rem; display: inline-flex; align-items: center; justify-content: center; color: var(--text); background: color-mix(in srgb, var(--surface-strong) 62%, transparent); font-size: .75rem; font-weight: 750; white-space: nowrap; transition: transform .2s var(--ease), border-color .2s ease, background .2s ease; }
.nav-download:hover { transform: translateY(-1px); border-color: var(--line-strong); background: var(--surface-strong); }
.nav-linkedin { gap: .4rem; }
.nav-linkedin-mark { width: 1.05rem; height: 1.05rem; border-radius: .2rem; display: inline-grid; place-items: center; color: var(--accent-contrast); background: var(--accent); font-size: .58rem; font-weight: 850; line-height: 1; letter-spacing: -.04em; }

.theme-toggle,
.menu-toggle {
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

.theme-toggle {
  justify-self: end;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: .95rem;
  background: color-mix(in srgb, var(--surface-strong) 60%, transparent);
  transition: transform .25s var(--ease), background .25s ease;
}

.theme-toggle:hover { transform: rotate(8deg); background: var(--surface-strong); }
.theme-toggle svg { grid-area: 1 / 1; width: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease), opacity .25s ease; }
.moon-icon { opacity: 0; transform: rotate(-25deg) scale(.7); }
:root[data-theme="dark"] .sun-icon { opacity: 0; transform: rotate(25deg) scale(.7); }
:root[data-theme="dark"] .moon-icon { opacity: 1; transform: rotate(0) scale(1); }
.menu-toggle { display: none; }

.hero {
  min-height: 100svh;
  padding-top: 10.5rem;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

:root[data-theme="dark"] .hero { background: var(--brand-blue); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(20rem, .84fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

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

.hero-orb-one {
  width: 26rem;
  height: 26rem;
  top: -7rem;
  right: 5%;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  box-shadow: inset 0 0 90px color-mix(in srgb, var(--accent) 6%, transparent);
}

.hero-orb-two {
  width: 10rem;
  height: 10rem;
  bottom: 12%;
  left: -5rem;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.5rem;
  color: var(--text-soft);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.pulse {
  position: relative;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 .3rem color-mix(in srgb, var(--accent) 14%, transparent);
}

.hero h1 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(4.4rem, 10vw, 9.5rem);
  font-weight: 760;
  line-height: .78;
  letter-spacing: -.085em;
}

.hero h1 span {
  display: inline-block;
  margin-left: .35ch;
  color: var(--accent);
  -webkit-text-fill-color: currentColor;
  -webkit-text-stroke: 0;
}

.hero-role {
  margin: 2.2rem 0 .6rem;
  color: var(--accent);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 750;
  letter-spacing: -.02em;
}

.hero-intro {
  max-width: 36rem;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.48;
  letter-spacing: -.025em;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button {
  min-height: 3.4rem;
  padding: .85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  font-size: .92rem;
  font-weight: 750;
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.button svg { width: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.button:hover { transform: translateY(-3px); }
.button:hover svg { transform: translateX(3px); }
.button-primary { background: var(--accent); color: var(--accent-contrast); box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 15%, transparent); }
.button-primary:hover { background: var(--accent-hover); box-shadow: 0 16px 34px color-mix(in srgb, var(--accent) 22%, transparent); }
.button-secondary { border-color: var(--line-strong); background: var(--surface); color: var(--text); }
.button-secondary:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: var(--surface-strong); }

.hero-portrait-wrap { position: relative; width: min(100%, 30rem); justify-self: end; }
.portrait-card { position: relative; z-index: 2; padding: 1rem; border-radius: var(--radius-xl); overflow: hidden; transform: rotate(1.5deg); transition: transform .5s var(--ease); }
.portrait-card:hover { transform: rotate(0deg) translateY(-4px); }
.portrait-meta { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem .4rem 1rem; }
.portrait-meta span { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.portrait-meta strong { max-width: 12rem; text-align: right; font-size: .85rem; line-height: 1.3; }
.portrait-frame { position: relative; aspect-ratio: 1 / 1.05; border-radius: 1.45rem; overflow: hidden; background: linear-gradient(145deg, var(--bg-alt), color-mix(in srgb, var(--accent-soft) 65%, var(--bg))); }
.portrait-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(34, 34, 33, .2)); pointer-events: none; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: contrast(1.01); transform: scale(1.015); transition: transform .7s var(--ease), filter .4s ease; }
.portrait-card:hover img { transform: scale(1.055); filter: contrast(1.02); }
.portrait-caption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem .35rem .2rem; color: var(--text-soft); font-size: .75rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; }
.caption-index { color: var(--accent); }

.experience-badge {
  position: absolute;
  z-index: 3;
  right: -2.2rem;
  bottom: 4.5rem;
  width: 8.5rem;
  height: 8.5rem;
  padding: 1rem;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.experience-badge strong { display: block; font-size: 2.2rem; line-height: .95; letter-spacing: -.07em; }
.experience-badge strong span { color: var(--accent); }
.experience-badge small { margin-top: .45rem; color: var(--text-soft); font-size: .75rem; font-weight: 700; line-height: 1.25; letter-spacing: .04em; text-transform: uppercase; }

.orbit { position: absolute; z-index: 0; border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); border-radius: 50%; pointer-events: none; animation: spin 20s linear infinite; }
.orbit i { position: absolute; width: .65rem; height: .65rem; top: 50%; right: -.33rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 .35rem color-mix(in srgb, var(--accent) 12%, transparent); }
.orbit-one { width: 112%; aspect-ratio: 1; left: -7%; top: -4%; }
.orbit-two { width: 82%; aspect-ratio: 1; left: 9%; top: 11%; animation-duration: 15s; animation-direction: reverse; }
.orbit-two i { width: .4rem; height: .4rem; left: 8%; top: 24%; }
@keyframes spin { to { transform: rotate(360deg); } }

.impact-strip {
  margin-top: clamp(4rem, 8vh, 7rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.impact-item { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .85rem; }
.impact-item strong { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 730; line-height: 1; letter-spacing: -.065em; }
.impact-item strong span { color: var(--accent); }
.impact-item p { max-width: 13rem; margin: .15rem 0 0; color: var(--text-soft); font-size: .82rem; line-height: 1.45; }

.section-heading { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: .85rem; margin-bottom: 3rem; }
.section-number, .section-kicker { font-size: .75rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.section-number { color: var(--accent); }
.section-kicker { color: var(--text-soft); }
.heading-line { height: 1px; margin-left: .4rem; background: var(--line); }
.section-intro { max-width: 49rem; margin-bottom: 3.5rem; }
.section-intro h2,
.about-lead h2,
.career-intro h2,
.closing h2,
.credentials-heading h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.1rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.065em;
}

.section-intro p { max-width: 42rem; margin: 1.2rem 0 0; color: var(--text-soft); font-size: 1.08rem; }
em { color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }

.about { padding-top: 9rem; }
.about-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 3rem 6rem; align-items: start; }
.about-lead h2 { max-width: 13ch; }
.about-story { padding-top: .4rem; }
.about-story p { margin: 0 0 1.25rem; color: var(--text-soft); font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.72; }
.about-story p:first-child::first-letter { float: left; padding: .22rem .55rem 0 0; color: var(--accent); font-family: Georgia, serif; font-size: 3.8rem; line-height: .8; }
.profile-note { grid-column: 2; padding: 1rem; border-radius: var(--radius-lg); display: grid; grid-template-columns: 7rem 1fr; gap: 1.1rem; align-items: center; }
.profile-note img { width: 7rem; height: 7rem; object-fit: cover; border-radius: 1rem; }
.profile-note span, .column-label { display: block; margin-bottom: .2rem; color: var(--muted); font-size: .75rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.profile-note strong { display: block; font-size: 1rem; }
.profile-note p { margin: .4rem 0 0; color: var(--text-soft); font-size: .78rem; line-height: 1.45; }

.expertise {
  background: var(--brand-taupe);
  color: var(--brand-black);
  --text: var(--brand-black);
  --text-soft: var(--brand-black);
  --muted: #676763;
  --surface: var(--brand-white);
  --surface-strong: var(--brand-white);
  --accent: var(--brand-blue);
  --accent-bright: var(--brand-blue);
  --accent-soft: color-mix(in srgb, var(--brand-blue) 12%, var(--brand-white));
  --accent-contrast: var(--brand-white);
  --accent-hover: var(--brand-black);
  --line: rgba(34, 34, 33, 0.14);
  --line-strong: rgba(34, 34, 33, 0.28);
}
.expertise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.expertise-card { min-height: 23rem; padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: var(--radius-lg); display: flex; flex-direction: column; transition: transform .35s var(--ease), border-color .25s ease, background .25s ease; }
.expertise-card:hover { transform: translateY(-7px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); background: var(--surface-strong); }
.card-top { display: flex; align-items: center; justify-content: space-between; color: var(--accent); font-size: .75rem; font-weight: 750; }
.card-top i { width: 2.6rem; height: 2.6rem; border: 1px solid var(--line-strong); border-radius: 50%; position: relative; }
.card-top i::before, .card-top i::after { content: ""; position: absolute; inset: 50% auto auto 50%; background: var(--accent); transform: translate(-50%, -50%); }
.card-top i::before { width: .8rem; height: 1px; }
.card-top i::after { width: 1px; height: .8rem; }
.expertise-card h3 { max-width: 16ch; margin: 3.5rem 0 1rem; font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.08; letter-spacing: -.045em; }
.expertise-card p { max-width: 33rem; margin: 0; color: var(--text-soft); font-size: .98rem; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: auto 0 0; padding: 2rem 0 0; }
.tag-list li, .project-tags span, .region-list span { padding: .42rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text-soft); background: color-mix(in srgb, var(--surface-strong) 54%, transparent); font-size: .75rem; font-weight: 650; }

.projects { background: var(--bg); }
.project-summary-bar { display: grid; grid-template-columns: auto minmax(15rem, .75fr) minmax(18rem, 1.25fr); gap: 1.5rem 2.5rem; align-items: center; margin-bottom: 1.25rem; padding: 1.3rem 1.5rem; border-radius: var(--radius-lg); }
.project-range { display: flex; align-items: baseline; gap: .65rem; padding-right: 2rem; border-right: 1px solid var(--line); }
.project-range strong { color: var(--accent); font-size: clamp(2.7rem, 6vw, 4.5rem); font-weight: 680; line-height: .8; letter-spacing: -.07em; }
.project-range span, .project-summary-copy p, .project-summary-note { color: var(--text-soft); }
.project-range span { max-width: 7rem; font-size: .78rem; font-weight: 700; line-height: 1.35; text-transform: uppercase; letter-spacing: .06em; }
.project-summary-copy strong { font-size: 1rem; }
.project-summary-copy p { margin: .35rem 0 0; font-size: .82rem; line-height: 1.5; }
.project-summary-note { margin: 0; padding-left: 1.4rem; border-left: 1px solid var(--line); font-size: .82rem; line-height: 1.55; }
.project-search-row { display: flex; align-items: center; gap: .65rem; margin: 0 0 .9rem; }
.project-search { min-height: 3.3rem; width: min(100%, 42rem); padding: 0 .95rem; border-radius: 1rem; display: flex; align-items: center; gap: .7rem; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.project-search:focus-within { border-color: color-mix(in srgb, var(--accent) 62%, var(--line)); background: var(--surface-strong); box-shadow: 0 0 0 .24rem color-mix(in srgb, var(--accent) 10%, transparent); }
.project-search svg { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; }
.project-search input { min-width: 0; width: 100%; padding: .8rem 0; border: 0; outline: 0; color: var(--text); background: transparent; font: inherit; font-size: .9rem; }
.project-search input::placeholder { color: var(--muted); opacity: 1; }
.project-reset { min-height: 3rem; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: .9rem; color: var(--text-soft); background: color-mix(in srgb, var(--surface) 82%, transparent); font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; transition: color .2s ease, border-color .2s ease, transform .2s var(--ease); }
.project-reset:hover { color: var(--accent); border-color: var(--line-strong); transform: translateY(-1px); }
.project-reset[hidden] { display: none !important; }
.project-filter-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 1.5rem; align-items: end; margin: 0 0 .9rem; padding: 1rem; border-radius: var(--radius-lg); }
.project-filter-label { display: block; margin: 0 0 .65rem; color: var(--muted); font-size: .75rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.project-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin: 0 0 1.25rem; }
.project-filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.project-filter { min-height: 2.65rem; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text-soft); background: color-mix(in srgb, var(--surface) 82%, transparent); font-size: .82rem; font-weight: 700; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s var(--ease); }
.project-filter:hover { color: var(--text); border-color: var(--line-strong); transform: translateY(-1px); }
.project-filter.is-active { color: var(--accent-contrast); border-color: var(--accent); background: var(--accent); }
.project-filter-selects { display: flex; gap: .55rem; }
.project-select { min-width: 10.5rem; display: grid; gap: .35rem; color: var(--muted); font-size: .75rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.project-select select { min-height: 2.65rem; width: 100%; padding: .58rem 2rem .58rem .72rem; border: 1px solid var(--line); border-radius: .8rem; outline: 0; color: var(--text); background: var(--surface-strong); font: inherit; font-size: .82rem; font-weight: 700; letter-spacing: 0; text-transform: none; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.project-select select:focus { border-color: color-mix(in srgb, var(--accent) 62%, var(--line)); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--accent) 10%, transparent); }
.project-toolbar-aside { flex: 0 0 auto; display: flex; align-items: center; gap: .85rem; }
.project-count { flex: 0 0 auto; margin: 0; color: var(--muted); font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.project-cv-download { min-height: 2.8rem; padding: .65rem .9rem; font-size: .78rem; }
.project-ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.project-entry { min-height: 18rem; padding: clamp(1.35rem, 2.4vw, 2rem); border-radius: var(--radius-lg); display: flex; flex-direction: column; transition: transform .35s var(--ease), border-color .25s ease, background .25s ease; }
.project-entry:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); background: var(--surface-strong); }
.project-entry[hidden] { display: none !important; }
.project-entry--featured { grid-column: 1 / -1; min-height: 25rem; display: grid; grid-template-columns: 7rem minmax(0, 1.5fr) minmax(16rem, .75fr); gap: 2rem 3rem; align-items: end; position: relative; overflow: hidden; }
.project-entry--featured::after { content: ""; position: absolute; width: 28rem; height: 28rem; right: -12rem; bottom: -18rem; border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); border-radius: 50%; box-shadow: 0 0 0 3.5rem color-mix(in srgb, var(--accent) 3%, transparent), 0 0 0 7rem color-mix(in srgb, var(--accent) 2%, transparent); pointer-events: none; }
.project-entry-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; color: var(--muted); font-size: .72rem; font-weight: 700; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; }
.project-entry-meta time { text-align: right; }
.project-entry-meta > span:last-child { display: none; }
.project-entry-number { color: var(--accent); }
.project-entry-body { position: relative; z-index: 1; }
.project-entry-body h3 { max-width: 22ch; margin: 2.4rem 0 .85rem; font-size: clamp(1.45rem, 2.6vw, 2.05rem); line-height: 1.08; letter-spacing: -.045em; }
.project-entry-body p { margin: 0; color: var(--text-soft); font-size: .9rem; line-height: 1.65; }
.project-entry-foot { position: relative; z-index: 1; margin-top: auto; padding-top: 1.35rem; border-top: 1px solid var(--line); }
.project-entry-foot strong { display: block; color: var(--text); font-size: .78rem; line-height: 1.45; }
.project-entry-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.project-entry-tags span { padding: .35rem .58rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text-soft); background: color-mix(in srgb, var(--surface-strong) 54%, transparent); font-size: .7rem; font-weight: 650; }
.project-entry--featured .project-entry-meta { align-self: stretch; display: grid; grid-template-rows: auto 1fr auto; }
.project-entry--featured .project-entry-meta time { align-self: center; color: var(--text); font-size: 1rem; text-align: left; letter-spacing: -.01em; text-transform: none; }
.project-entry--featured .project-entry-meta > span:last-child { display: block; color: var(--accent); }
.project-entry--featured .project-entry-body h3 { max-width: 17ch; margin: 0 0 1rem; font-size: clamp(2.4rem, 5vw, 4.6rem); font-weight: 640; line-height: .96; letter-spacing: -.065em; }
.project-entry--featured .project-entry-body p { max-width: 43rem; font-size: 1.02rem; }
.project-entry--featured .project-entry-foot { align-self: end; margin-top: 0; padding: 1.2rem 0 0 1.4rem; border-top: 0; border-left: 1px solid var(--line); }
.project-entry--featured .project-details { grid-column: 1 / -1; }
.project-entry.is-expanded { grid-column: 1 / -1; min-height: auto; transform: none; }
.project-entry.is-expanded:hover { transform: none; }
.project-entry.is-expanded .project-entry-body h3 { max-width: 34ch; }
.project-details { width: 100%; margin-top: 1rem; border-top: 1px solid var(--line); position: relative; z-index: 2; }
.project-details summary { min-height: 3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .1rem .1rem; color: var(--accent); font-size: .85rem; font-weight: 750; cursor: pointer; list-style: none; }
.project-details summary::-webkit-details-marker { display: none; }
.project-details summary:focus-visible { outline: 2px solid var(--accent); outline-offset: .3rem; border-radius: .3rem; }
.project-details summary svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.project-details[open] summary svg { transform: rotate(180deg); }
.project-details-content { max-width: 72rem; padding: 1rem 0 .35rem; color: var(--text-soft); animation: project-detail-in .28s var(--ease) both; }
.project-details-content p { max-width: 66rem; margin: 0 0 1rem; font-size: .94rem; line-height: 1.7; }
.project-details-content h4 { margin: 1.25rem 0 .65rem; color: var(--text); font-size: .88rem; letter-spacing: -.01em; }
.project-details-content ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 2rem; margin: 0; padding: 0 0 0 1.1rem; }
.project-details-content li { padding-left: .15rem; font-size: .88rem; line-height: 1.55; }
.project-details-content li::marker { color: var(--accent); }
.project-detail-role { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 1rem; align-items: baseline; max-width: 52rem; margin: 1.15rem 0; padding: .8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-detail-role span { color: var(--muted); font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.project-detail-role strong { color: var(--text); font-size: .9rem; line-height: 1.5; }
@keyframes project-detail-in { from { opacity: 0; transform: translateY(-.35rem); } to { opacity: 1; transform: translateY(0); } }
.project-empty { margin: 1rem 0 0; padding: 1.4rem; border-radius: var(--radius-lg); color: var(--text-soft); text-align: center; }
.project-empty[hidden] { display: none !important; }

.career-grid { display: grid; grid-template-columns: minmax(18rem, .72fr) minmax(0, 1.28fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.career-intro { position: sticky; top: 8.5rem; }
.career-intro h2 { max-width: 11ch; font-size: clamp(2.6rem, 5vw, 4.8rem); }
.career-intro > p { max-width: 29rem; margin: 1.5rem 0 1.4rem; color: var(--text-soft); }
.career-span { max-width: 25rem; margin: 0 0 1.8rem; padding: 1rem 1.1rem; border-radius: var(--radius-md); display: grid; gap: .2rem; }
.career-span strong { color: var(--accent); font-size: 1rem; letter-spacing: -.02em; }
.career-span span { color: var(--text-soft); font-size: .78rem; line-height: 1.45; }
.career-controls { max-width: 25rem; margin: 0 0 1.6rem; padding: 1rem; border-radius: var(--radius-md); }
.career-controls-label { display: block; margin-bottom: .7rem; color: var(--text-soft); font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.career-filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.career-filter { min-height: 2.35rem; padding: .5rem .67rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text-soft); background: color-mix(in srgb, var(--surface-strong) 58%, transparent); font: inherit; font-size: .72rem; font-weight: 700; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s var(--ease); }
.career-filter:hover { color: var(--text); border-color: var(--line-strong); transform: translateY(-1px); }
.career-filter.is-active { color: var(--accent-contrast); border-color: var(--accent); background: var(--accent); }
.career-count { margin: .8rem 0 0; color: var(--muted); font-size: .72rem; font-weight: 700; }
.career-downloads { display: flex; flex-wrap: wrap; gap: .85rem 1.2rem; }
.text-link { display: inline-flex; gap: .5rem; padding-bottom: .35rem; border-bottom: 1px solid var(--line-strong); color: var(--accent); font-size: .9rem; font-weight: 750; transition: border-color .2s ease; }
.text-link:hover { border-color: var(--accent); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline-item { position: relative; display: grid; grid-template-columns: 7.5rem 1fr; gap: 1.5rem; padding: 0 0 2.6rem; }
.timeline-item[hidden] { display: none !important; }
.timeline-item::before { content: ""; position: absolute; left: 8.08rem; top: .5rem; bottom: 0; width: 1px; background: var(--line); }
.timeline-item::after { content: ""; position: absolute; left: 7.79rem; top: .3rem; width: .65rem; height: .65rem; border: 2px solid var(--accent); border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 .35rem color-mix(in srgb, var(--accent) 8%, transparent); }
.timeline-item.current-role::after { background: var(--accent); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:last-child::before, .timeline-item.is-last-visible::before { display: none; }
.timeline-date { padding-top: .05rem; color: var(--muted); font-size: .75rem; font-weight: 700; line-height: 1.45; }
.timeline-date time, .timeline-date span { display: block; }
.timeline-date span { color: var(--text-soft); }
.current-role .timeline-date span { color: var(--accent); }
.timeline-content { padding: .2rem .65rem .45rem 1.3rem; border-radius: .85rem; transition: transform .25s var(--ease), background .2s ease; }
.timeline-item:hover .timeline-content { background: color-mix(in srgb, var(--accent-soft) 16%, transparent); transform: translateX(.25rem); }
.timeline-content > span { color: var(--accent); font-size: .76rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.timeline-content h3 { max-width: 31ch; margin: .25rem 0 .55rem; font-size: clamp(1.3rem, 2.2vw, 1.85rem); line-height: 1.14; letter-spacing: -.035em; }
.timeline-content p { max-width: 37rem; margin: 0; color: var(--text-soft); font-size: .9rem; }

.credentials { padding-top: 5rem; }
.credentials-shell { padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: var(--radius-xl); display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 7vw, 7rem); }
.credentials-heading .section-number { display: block; margin-bottom: 2rem; }
.credentials-heading h2 { max-width: 11ch; font-size: clamp(2rem, 4vw, 3.8rem); }
.credential-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.column-label { margin-bottom: 1.4rem; color: var(--accent); }
.credential-item { padding: 0 0 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.credential-item:last-child { margin-bottom: 0; }
.credential-item span { color: var(--muted); font-size: .75rem; }
.credential-item h3 { margin: .25rem 0 .2rem; font-size: 1rem; line-height: 1.3; }
.credential-item p { margin: 0; color: var(--text-soft); font-size: .82rem; }
.language-list { display: grid; gap: .8rem; }
.language-list div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); font-size: .85rem; }
.language-list strong { color: var(--text-soft); font-size: .76rem; }
.regions-label { margin-top: 2.3rem; }
.region-list { display: flex; flex-wrap: wrap; gap: .4rem; }

.contact { padding-top: 6rem; }
.contact-shell { padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: var(--radius-xl); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; position: relative; overflow: hidden; }
.portrait-card,
.contact-shell {
  background: var(--brand-blue);
  color: var(--brand-white);
  --text: var(--brand-white);
  --text-soft: var(--brand-white);
  --muted: var(--brand-taupe);
  --surface: var(--brand-blue);
  --surface-strong: var(--brand-blue);
  --accent: var(--brand-white);
  --accent-bright: var(--brand-white);
  --accent-soft: var(--brand-taupe);
  --accent-contrast: var(--brand-blue);
  --accent-hover: var(--brand-taupe);
  --line: rgba(255, 255, 255, 0.24);
  --line-strong: rgba(255, 255, 255, 0.6);
}
.contact-shell::after { content: ""; position: absolute; width: 24rem; height: 24rem; left: -14rem; bottom: -17rem; border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); border-radius: 50%; box-shadow: 0 0 0 3rem color-mix(in srgb, var(--accent) 3%, transparent), 0 0 0 6rem color-mix(in srgb, var(--accent) 2%, transparent); pointer-events: none; }
.contact-copy, .contact-list { position: relative; z-index: 1; }
.contact-label { display: block; margin-bottom: 1rem; color: var(--accent); font-size: .75rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.contact-copy h2 { max-width: 10ch; font-size: clamp(2.6rem, 5vw, 5rem); line-height: .98; letter-spacing: -.06em; }
.contact-copy p { max-width: 35rem; margin: 1.3rem 0 0; color: var(--text-soft); font-size: 1rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.linkedin-button { margin-top: 0; }
.linkedin-mark { width: 1.35rem; height: 1.35rem; border-radius: .25rem; display: inline-grid; place-items: center; color: var(--accent); background: var(--accent-contrast); font-size: .72rem; font-weight: 850; line-height: 1; letter-spacing: -.04em; }
.whatsapp-button svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-list { display: grid; }
.contact-item { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; align-items: center; min-height: 5.25rem; padding: 1rem 1.1rem; border-top: 1px solid var(--line); transition: color .2s ease, background .2s ease, padding .25s var(--ease); }
.contact-item:last-child { border-bottom: 1px solid var(--line); }
.contact-item:hover { padding-left: 1.35rem; color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 20%, transparent); }
.contact-item span { color: var(--muted); font-size: .75rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.contact-item strong { min-width: 0; overflow-wrap: anywhere; font-size: clamp(.95rem, 1.7vw, 1.2rem); font-weight: 650; line-height: 1.35; }

.closing { padding: 10rem 0; text-align: center; overflow: hidden; }
.closing::before { content: ""; position: absolute; width: min(80vw, 65rem); aspect-ratio: 1; left: 50%; top: 50%; border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 5rem color-mix(in srgb, var(--accent) 3%, transparent), 0 0 0 10rem color-mix(in srgb, var(--accent) 2%, transparent); pointer-events: none; }
.closing-inner { position: relative; z-index: 1; }
.closing-label { display: block; margin-bottom: 1.5rem; color: var(--text-soft); font-size: .75rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.closing h2 { max-width: 15ch; margin-inline: auto; font-size: clamp(3rem, 7vw, 7rem); }
.closing-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }

.site-footer { padding: 0 0 2rem; }
.footer-inner { min-height: 5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; color: var(--muted); font-size: .75rem; }
.footer-inner p { margin: 0; }
.footer-inner p:last-child { justify-self: end; }
.footer-brand { color: var(--text); }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease) var(--delay, 0s), transform .75s var(--ease) var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .section { padding: 6.5rem 0; }
  .nav-shell { grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: block; position: relative; z-index: 2; width: 3rem; height: 3rem; border: 1px solid var(--line); border-radius: .95rem; }
  .menu-toggle span:not(.sr-only) { position: absolute; left: .9rem; width: 1.15rem; height: 1px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
  .menu-toggle span:nth-child(2) { top: 1.25rem; }
  .menu-toggle span:nth-child(3) { top: 1.7rem; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 1.48rem; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 1.48rem; transform: rotate(-45deg); }
  .primary-nav { position: absolute; inset: calc(100% + .55rem) 0 auto; width: min(calc(100% - 2rem), 76rem); margin-inline: auto; padding: .65rem; border: 1px solid var(--line); border-radius: 1.25rem; background: var(--surface-strong); box-shadow: var(--shadow); backdrop-filter: blur(24px); display: grid; visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .25s ease, transform .25s var(--ease), visibility .25s; }
  .primary-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .primary-nav a { padding: .9rem 1rem; border-radius: .75rem; }
  .primary-nav a:hover { background: color-mix(in srgb, var(--accent-soft) 42%, transparent); }
  .primary-nav a::after { display: none; }
  .theme-toggle { margin-left: 0; }
  .hero { min-height: auto; padding-top: 10rem; }
  .hero-grid { grid-template-columns: 1fr .8fr; gap: 2rem; }
  .hero h1 { font-size: clamp(4.2rem, 11vw, 7rem); }
  .experience-badge { right: -1rem; bottom: 3rem; width: 7.2rem; height: 7.2rem; }
  .impact-strip { margin-top: 5rem; }
  .impact-item { grid-template-columns: 1fr; gap: .5rem; }
  .about-grid { gap: 3rem; }
  .profile-note { grid-column: 1 / -1; width: min(100%, 33rem); justify-self: end; }
  .project-summary-bar { grid-template-columns: auto 1fr; }
  .project-summary-note { grid-column: 1 / -1; padding: 1rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .project-filter-panel { grid-template-columns: 1fr; align-items: start; }
  .project-filter-selects { width: 100%; }
  .project-select { flex: 1; }
  .project-entry--featured { grid-template-columns: 5rem 1fr; }
  .project-entry--featured .project-entry-foot { grid-column: 2; padding: 1.2rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .career-grid { gap: 4rem; }
  .credentials-shell { grid-template-columns: 1fr; }
  .credentials-heading h2 { max-width: 15ch; }
}

@media (max-width: 740px) {
  .container { width: min(calc(100% - 2rem), var(--container)); }
  .section { padding: 5rem 0; }
  .site-header { inset: .6rem 0 auto; }
  .nav-shell { width: calc(100% - 1rem); min-height: 3.9rem; padding: .45rem .5rem .45rem .8rem; }
  .brand-name { display: none; }
  .theme-toggle, .menu-toggle { width: 2.8rem; height: 2.8rem; }
  .nav-actions { gap: .3rem; }
  .nav-download { min-height: 2.8rem; padding: .55rem .62rem; font-size: .7rem; }
  .hero { padding-top: 8.5rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { position: relative; z-index: 4; }
  .hero h1 { font-size: clamp(4.1rem, 22vw, 7rem); }
  .hero h1 span { margin-left: .1ch; }
  .hero-intro { font-size: 1.12rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero-portrait-wrap { width: min(90%, 26rem); justify-self: center; margin-top: 2rem; }
  .experience-badge { right: -1.5rem; bottom: 2rem; }
  .impact-strip { grid-template-columns: 1fr; gap: 1.7rem; margin-top: 4rem; }
  .impact-item { grid-template-columns: 6rem 1fr; align-items: center; }
  .impact-item strong { font-size: 2.4rem; }
  .impact-item p { max-width: 18rem; margin: 0; }
  .section-heading { margin-bottom: 2.2rem; }
  .section-intro { margin-bottom: 2.5rem; }
  .about-grid, .expertise-grid, .project-ledger, .career-grid, .credential-columns { grid-template-columns: 1fr; }
  .about-grid { gap: 2rem; }
  .profile-note { grid-column: auto; justify-self: stretch; grid-template-columns: 5.5rem 1fr; }
  .profile-note img { width: 5.5rem; height: 5.5rem; }
  .expertise-card { min-height: 21rem; }
  .project-summary-bar { grid-template-columns: 1fr; gap: 1.1rem; }
  .project-range { padding: 0 0 1rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .project-summary-note { grid-column: auto; }
  .project-search-row { align-items: stretch; flex-direction: column; }
  .project-search { width: 100%; }
  .project-reset { width: 100%; }
  .project-toolbar { align-items: flex-start; flex-direction: column; }
  .project-toolbar-aside { width: 100%; align-items: flex-start; flex-direction: column; }
  .project-cv-download { width: 100%; }
  .project-entry { min-height: auto; }
  .project-entry--featured { grid-column: auto; min-height: auto; grid-template-columns: 1fr; gap: 1.5rem; }
  .project-entry--featured .project-entry-meta { display: flex; }
  .project-entry--featured .project-entry-meta time { margin-left: auto; font-size: .78rem; }
  .project-entry--featured .project-entry-meta > span:last-child { display: none; }
  .project-entry--featured .project-entry-body h3 { font-size: clamp(2.35rem, 12vw, 3.6rem); }
  .project-entry--featured .project-entry-foot { grid-column: auto; padding: 1.2rem 0 0; }
  .project-entry--featured .project-details { grid-column: auto; }
  .project-details-content ul { grid-template-columns: 1fr; }
  .project-filter-selects { flex-direction: column; }
  .project-select { min-width: 0; width: 100%; }
  .career-intro { position: static; }
  .career-controls { max-width: none; }
  .career-filter { flex: 1 1 auto; }
  .timeline-item { grid-template-columns: 5.5rem 1fr; gap: .8rem; }
  .timeline-item::before { left: 5.78rem; }
  .timeline-item::after { left: 5.49rem; }
  .timeline-content { padding-left: 1.1rem; }
  .credentials-shell { padding: 1.3rem; }
  .credential-columns { gap: 2.5rem; }
  .contact-shell { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-copy h2 { max-width: 12ch; }
  .closing { padding: 8rem 0; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner > p:nth-child(2) { display: none; }
}

@media (max-width: 400px) {
  .eyebrow { font-size: .75rem; letter-spacing: .06em; }
  .hero h1 { font-size: 4.15rem; }
  .experience-badge { width: 6.5rem; height: 6.5rem; right: -1rem; }
  .experience-badge strong { font-size: 1.9rem; }
  .profile-note { grid-template-columns: 1fr; }
  .nav-linkedin { width: 2.8rem; padding-inline: .55rem; }
  .nav-linkedin-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .contact-actions { display: grid; }
  .project-filter { flex: 1 1 auto; }
  .contact-item { grid-template-columns: 1fr; gap: .25rem; }
  .timeline-item { grid-template-columns: 1fr; padding-left: 1.4rem; }
  .timeline-item::before { left: .25rem; }
  .timeline-item::after { left: -.04rem; }
  .timeline-content { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@supports not (backdrop-filter: blur(1px)) {
  .glass { background: var(--surface-strong); }
}
