:root {
  --bg: #f4f7fb;
  --bg-soft: #eaf0f6;
  --surface: #ffffff;
  --surface-blue: #eef5fb;
  --ink: #152233;
  --ink-soft: #334155;
  --muted: #667386;
  --line: rgba(21, 34, 51, 0.12);
  --line-strong: rgba(21, 34, 51, 0.20);
  --navy: #091b33;
  --navy-2: #102b4d;
  --blue: #2c6e9d;
  --blue-bright: #5b9fce;
  --ice: #dfeef8;
  --burgundy: #7a303b;
  --green: #1f9d72;
  --shadow-lg: 0 34px 90px rgba(9, 27, 51, 0.16);
  --shadow-md: 0 20px 48px rgba(9, 27, 51, 0.10);
  --shadow-sm: 0 12px 30px rgba(9, 27, 51, 0.07);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 4%, rgba(91, 159, 206, 0.12), transparent 30rem),
    radial-gradient(circle at 88% 2%, rgba(9, 27, 51, 0.08), transparent 25rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

picture {
  display: block;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  background: rgba(44, 110, 157, 0.20);
}

:focus-visible {
  outline: 3px solid rgba(44, 110, 157, 0.42);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  opacity: 0;
  pointer-events: none;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  font-weight: 800;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

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

.section-pad {
  padding: 118px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 58px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.journey-intro h2,
.beyond-section h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 5.8vw, 76px);
  font-weight: 820;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.section-heading > p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section-heading.centered > p:not(.eyebrow) {
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid rgba(21, 34, 51, 0.07);
  background: rgba(244, 247, 251, 0.78);
  backdrop-filter: blur(20px) saturate(1.2);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 12px 34px rgba(9, 27, 51, 0.08);
}

.nav-shell {
  width: min(calc(100% - 48px), var(--container));
  height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  width: 212px;
  flex: 0 0 auto;
}

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding: 7px 0;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-linkedin {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.66);
  color: var(--navy);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.header-linkedin:hover {
  transform: translateY(-2px);
  background: var(--navy);
  color: #fff;
}

.header-linkedin svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.70);
  color: var(--muted);
  cursor: pointer;
}

.language-switch span {
  width: 34px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease;
}

.language-switch span.is-active {
  background: var(--navy);
  color: #fff;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  grid-area: 1 / 1;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
  transition: transform 0.2s ease;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

/* Buttons and links */
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.button svg,
.text-link svg,
.card-link svg,
.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 28px rgba(9, 27, 51, 0.20);
}

.button-primary:hover {
  background: var(--blue);
  box-shadow: 0 18px 34px rgba(44, 110, 157, 0.22);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.78);
  color: var(--navy);
}

.button-secondary:hover {
  border-color: rgba(44, 110, 157, 0.40);
  background: #fff;
  color: var(--blue);
}

.text-link,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
}

.text-link {
  padding: 10px 4px;
}

.text-link:hover,
.card-link:hover {
  color: var(--blue);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 154px;
  padding-bottom: 104px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.20)),
    radial-gradient(circle at 75% 42%, rgba(44, 110, 157, 0.14), transparent 28rem);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(44, 110, 157, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one {
  width: 640px;
  height: 640px;
  right: -180px;
  top: 90px;
}

.hero-orbit-two {
  width: 390px;
  height: 390px;
  right: 80px;
  top: 210px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  gap: 70px;
  align-items: center;
}

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

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(68px, 8.3vw, 116px);
  font-weight: 840;
  letter-spacing: -0.083em;
  line-height: 0.82;
}

.hero-subtitle {
  max-width: 700px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: clamp(24px, 2.7vw, 36px);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.13;
}

.hero-description {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-facts div {
  min-width: 0;
  padding: 18px 20px 18px 0;
}

.hero-facts div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 5px 0 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.3;
}

.hero-visual {
  min-width: 0;
}

.portrait-composition {
  position: relative;
  width: min(100%, 500px);
  margin-left: auto;
  padding: 24px 26px 42px 38px;
}

.portrait-composition::before {
  content: "";
  position: absolute;
  inset: 0 0 22px 12px;
  border-radius: 48px;
  background: linear-gradient(145deg, rgba(223, 238, 248, 0.92), rgba(255, 255, 255, 0.80));
  border: 1px solid rgba(44, 110, 157, 0.10);
  transform: rotate(2.5deg);
}

.portrait-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 12px solid rgba(255, 255, 255, 0.96);
  border-radius: 38px;
  background: var(--ice);
  box-shadow: var(--shadow-lg);
}

.portrait-shell picture,
.portrait-shell img {
  width: 100%;
  height: 100%;
}

.portrait-shell img {
  object-fit: cover;
  object-position: center top;
}

.portrait-shell::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(to top, rgba(9, 27, 51, 0.58), transparent);
  pointer-events: none;
}

.portrait-caption {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.status-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #54d4a8;
  box-shadow: 0 0 0 6px rgba(84, 212, 168, 0.16);
}

.portrait-caption small,
.portrait-caption strong {
  display: block;
}

.portrait-caption small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portrait-caption strong {
  margin-top: 2px;
  font-size: 15px;
}

.floating-note {
  position: absolute;
  z-index: 3;
  min-width: 168px;
  padding: 15px 17px;
  border: 1px solid rgba(21, 34, 51, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.floating-note span {
  display: block;
  color: var(--blue);
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1;
}

.floating-note p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.floating-note-thesis {
  left: -10px;
  top: 78px;
}

.floating-note-bocconi {
  right: -18px;
  bottom: 142px;
}

/* Signal strip */
.signal-strip {
  position: relative;
  z-index: 2;
  background: var(--navy);
  color: #fff;
}

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

.signal-grid article {
  min-width: 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
  padding: 36px 34px;
}

.signal-grid article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.signal-grid article > span {
  color: #85b8dd;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.signal-grid h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.signal-grid p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.45;
}

/* About */
.about-section {
  background: rgba(255, 255, 255, 0.58);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1.12fr);
  gap: 82px;
  align-items: center;
}

.about-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 42px;
  background: var(--ice);
  box-shadow: var(--shadow-md);
}

.about-visual picture,
.about-visual img {
  width: 100%;
  height: 100%;
}

.about-visual img {
  object-fit: cover;
  object-position: center 24%;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 58% 0 0;
  background: linear-gradient(to top, rgba(9, 27, 51, 0.62), transparent);
  pointer-events: none;
}

.about-visual figcaption {
  position: absolute;
  z-index: 2;
  left: 26px;
  bottom: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
}

.about-copy h2 {
  max-width: 720px;
}

.about-prose {
  margin-top: 36px;
}

.about-prose p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.about-prose p + p {
  margin-top: 18px;
}

.profile-principles {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.profile-principles article {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.profile-principles strong {
  color: var(--navy);
  font-size: 15px;
}

.profile-principles span {
  color: var(--muted);
  font-size: 15px;
}

/* Journey */
.journey-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 12%, rgba(91, 159, 206, 0.25), transparent 31rem),
    radial-gradient(circle at 88% 80%, rgba(44, 110, 157, 0.16), transparent 34rem),
    linear-gradient(145deg, var(--navy), #061426);
  color: #fff;
}

.journey-section::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -250px;
  top: 120px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.journey-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 92px;
  align-items: start;
}

.journey-intro {
  position: sticky;
  top: 122px;
}

.journey-intro .eyebrow {
  color: #8fc1e5;
}

.journey-intro h2 {
  color: #fff;
}

.journey-intro > p:not(.eyebrow) {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 18px;
}

.journey-aside {
  margin-top: 42px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.journey-aside span {
  color: #8fc1e5;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journey-aside p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.60);
  font-size: 14px;
}

.journey-list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.journey-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 28px;
  padding: 38px 0 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.journey-marker {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(143, 193, 229, 0.42);
  border-radius: 50%;
  color: #a6d0ed;
  font-size: 12px;
  font-weight: 900;
}

.journey-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #8fc1e5;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.journey-content h3 {
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.journey-content p {
  max-width: 730px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
}

/* Projects */
.projects-section {
  background: var(--bg);
}

.featured-project {
  overflow: hidden;
  border: 1px solid rgba(21, 34, 51, 0.10);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.project-cover {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--navy);
}

.project-cover picture,
.project-cover img {
  width: 100%;
  height: 100%;
}

.project-cover img {
  object-fit: cover;
  object-position: center 44%;
}

.project-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 27, 51, 0.02) 35%, rgba(9, 27, 51, 0.84) 100%);
}

.project-cover-label {
  position: absolute;
  z-index: 2;
  left: 42px;
  right: 42px;
  bottom: 34px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  color: #fff;
}

.project-cover-label span {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(9, 27, 51, 0.38);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 850;
}

.project-cover-label p {
  max-width: 460px;
  margin: 0;
  text-align: right;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
}

.project-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 72px;
  padding: 56px;
}

.project-kicker {
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-main h3 {
  max-width: 840px;
  margin: 14px 0 0;
  color: var(--navy);
  font-size: clamp(36px, 4.8vw, 62px);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.project-lead {
  max-width: 820px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.project-facts {
  align-self: start;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.project-facts div {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.project-facts dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-facts dd {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 850;
}

.project-deep-dive {
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(0, 1.16fr);
  gap: 50px;
  align-items: center;
  padding: 52px 56px 58px;
  border-top: 1px solid var(--line);
  background: #f2f6fa;
}

.project-detail-image {
  margin: 0;
}

.project-detail-image picture {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
}

.project-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 23%;
}

.project-detail-image figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.project-insight h4 {
  margin: 12px 0 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.project-insight > p:not(.project-kicker) {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-size: 15px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.54em;
  width: 10px;
  height: 10px;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.project-card {
  position: relative;
  min-height: 390px;
  padding: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.project-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -110px;
  bottom: -110px;
  border: 1px solid rgba(44, 110, 157, 0.16);
  border-radius: 50%;
}

.project-number {
  margin-bottom: 42px;
  color: rgba(44, 110, 157, 0.32);
  font-size: 54px;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.project-card h3 {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--navy);
  font-size: 30px;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.project-card > p:not(.project-kicker) {
  max-width: 570px;
  margin: 18px 0 0;
  color: var(--muted);
}

.project-tags,
.skill-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags {
  margin-top: 24px;
}

.project-tags span,
.skill-evidence span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-blue);
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
}

.project-card .card-link {
  position: relative;
  z-index: 2;
  margin-top: 26px;
}

/* Skills */
.skills-section {
  background: #fff;
}

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

.capability-row {
  display: grid;
  grid-template-columns: 70px minmax(230px, 0.58fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.capability-number {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.capability-row h3 {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.capability-row p {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.skill-evidence {
  margin-top: 15px;
}

.language-band {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 54px;
  align-items: center;
  margin-top: 58px;
  padding: 42px 46px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 84% 20%, rgba(91, 159, 206, 0.35), transparent 22rem),
    var(--navy);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.language-band .eyebrow {
  color: #91c3e7;
}

.language-band h3 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.language-band dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.language-band dl div {
  padding: 8px 24px;
}

.language-band dl div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.language-band dt {
  color: #fff;
  font-size: 19px;
  font-weight: 850;
}

.language-band dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.45;
}

/* Credentials */
.credentials-section {
  background: var(--bg-soft);
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.credential-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 22px;
  align-items: start;
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(21, 34, 51, 0.10);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 26px rgba(9, 27, 51, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.credential-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.credential-code {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--navy), var(--blue));
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.credential-card small {
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.credential-card h3 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 24px;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.credential-card p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.credential-card a {
  display: inline-flex;
  margin-top: 17px;
  border-bottom: 1px solid rgba(44, 110, 157, 0.38);
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
}

.credential-card a:hover {
  color: var(--blue);
  border-color: var(--blue);
}

/* Beyond */
.beyond-section {
  background: #fff;
}

.beyond-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 80px;
  align-items: start;
}

.beyond-content > p {
  max-width: 740px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 20px;
  letter-spacing: -0.015em;
}

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

.beyond-list article {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.beyond-list span {
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
}

.beyond-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Contact */
.contact-section {
  padding-top: 70px;
  background: #fff;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 70px;
  align-items: center;
  padding: 62px;
  overflow: hidden;
  border-radius: 40px;
  background:
    radial-gradient(circle at 85% 12%, rgba(91, 159, 206, 0.38), transparent 25rem),
    linear-gradient(145deg, var(--navy), #061426);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.contact-card .eyebrow {
  color: #91c3e7;
}

.contact-card h2 {
  margin: 0;
  font-size: clamp(42px, 5.4vw, 72px);
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 18px;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-actions a {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.contact-actions a:hover {
  transform: translateY(-3px);
  background: #fff;
  color: var(--navy);
}

.contact-actions span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-actions a:hover span {
  color: var(--blue);
}

.contact-actions strong {
  overflow-wrap: normal;
  word-break: normal;
  font-size: 14px;
  line-height: 1.35;
}

/* Footer */
.site-footer {
  padding: 34px 0;
  background: #061426;
  color: rgba(255, 255, 255, 0.62);
}

.footer-grid {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-brand {
  width: 210px;
  padding: 3px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
}

.footer-grid p {
  margin: 0;
  text-align: center;
  font-size: 13px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

/* Reveal animation */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 1120px) {
  .site-nav {
    gap: 17px;
    font-size: 12px;
  }

  .brand {
    width: 188px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 0.82fr);
    gap: 42px;
  }

  .about-grid,
  .journey-layout,
  .beyond-grid {
    gap: 56px;
  }

  .project-body {
    gap: 46px;
  }

  .contact-card {
    gap: 46px;
  }
}

@media (max-width: 930px) {
  .section-pad {
    padding: 94px 0;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    left: 24px;
    right: 24px;
    display: grid;
    gap: 2px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
  }

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

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 138px;
  }

  .hero-grid,
  .about-grid,
  .journey-layout,
  .project-body,
  .project-deep-dive,
  .beyond-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 66px;
  }

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

  .hero-visual {
    max-width: 600px;
    width: 100%;
    margin-inline: auto;
  }

  .portrait-composition {
    margin-inline: auto;
  }

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

  .signal-grid article + article {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
  }

  .about-grid {
    align-items: start;
  }

  .about-visual {
    max-width: 600px;
    width: 100%;
  }

  .journey-intro {
    position: static;
  }

  .journey-aside {
    max-width: 700px;
  }

  .project-body,
  .project-deep-dive {
    padding: 44px;
  }

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

  .project-facts div:nth-child(even) {
    padding-left: 22px;
    border-left: 1px solid var(--line);
  }

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

  .capability-row {
    grid-template-columns: 60px minmax(220px, 0.6fr) minmax(0, 1fr);
    gap: 24px;
  }

  .language-band {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 50px;
  }

  .footer-grid {
    grid-template-columns: 190px 1fr auto;
  }

  .footer-brand {
    width: 185px;
  }
}

@media (max-width: 680px) {
  .container,
  .nav-shell {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-shell {
    height: 72px;
  }

  .brand {
    width: 162px;
  }

  .header-linkedin {
    display: none;
  }

  .site-nav {
    top: 70px;
    left: 14px;
    right: 14px;
  }

  .section-pad {
    padding: 78px 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .about-copy h2,
  .journey-intro h2,
  .beyond-section h2 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .section-heading > p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero {
    padding-top: 118px;
    padding-bottom: 78px;
  }

  .hero h1 {
    font-size: clamp(60px, 21vw, 88px);
  }

  .hero-subtitle {
    margin-top: 28px;
    font-size: 24px;
  }

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

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    flex: 1 1 180px;
  }

  .hero-actions .text-link {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    padding: 14px 0;
  }

  .hero-facts div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .portrait-composition {
    padding: 14px 10px 26px 20px;
  }

  .portrait-composition::before {
    inset: 0 0 14px 6px;
    border-radius: 36px;
  }

  .portrait-shell {
    border-width: 8px;
    border-radius: 30px;
  }

  .portrait-caption {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .floating-note {
    min-width: 145px;
    padding: 12px 14px;
  }

  .floating-note-thesis {
    left: -5px;
    top: 56px;
  }

  .floating-note-bocconi {
    right: -5px;
    bottom: 106px;
  }

  .signal-grid article {
    padding: 28px 8px;
  }

  .about-grid {
    gap: 44px;
  }

  .about-visual {
    border-radius: 30px;
  }

  .about-prose p {
    font-size: 16px;
  }

  .profile-principles article,
  .beyond-list article {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .journey-layout {
    gap: 48px;
  }

  .journey-item {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 30px 0 34px;
  }

  .journey-marker {
    width: 40px;
    height: 40px;
  }

  .journey-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .project-cover {
    height: 360px;
  }

  .project-cover-label {
    left: 22px;
    right: 22px;
    bottom: 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .project-cover-label p {
    max-width: 100%;
    text-align: left;
    font-size: 16px;
  }

  .project-body,
  .project-deep-dive {
    padding: 30px 24px;
  }

  .project-main h3 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .project-lead {
    font-size: 16px;
  }

  .project-actions .button {
    width: 100%;
  }

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

  .project-facts div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .project-deep-dive {
    gap: 30px;
  }

  .project-detail-image picture {
    border-radius: 20px;
  }

  .project-card {
    min-height: auto;
    padding: 28px;
    border-radius: 24px;
  }

  .project-number {
    margin-bottom: 28px;
    font-size: 46px;
  }

  .project-card h3 {
    font-size: 27px;
  }

  .capability-row {
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }

  .capability-row > div {
    grid-column: 2;
  }

  .capability-row h3 {
    font-size: 22px;
  }

  .language-band {
    gap: 30px;
    padding: 32px 24px;
  }

  .language-band dl {
    grid-template-columns: 1fr;
  }

  .language-band dl div {
    padding: 15px 0;
  }

  .language-band dl div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .credential-card {
    grid-template-columns: 64px 1fr;
    min-height: 0;
    padding: 22px;
  }

  .credential-code {
    width: 60px;
    height: 60px;
    border-radius: 17px;
    font-size: 14px;
  }

  .credential-card h3 {
    font-size: 21px;
  }

  .beyond-content > p {
    font-size: 18px;
  }

  .contact-section {
    padding-top: 48px;
  }

  .contact-card {
    gap: 36px;
    padding: 34px 22px;
    border-radius: 28px;
  }

  .contact-card h2 {
    font-size: clamp(40px, 12vw, 56px);
  }

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

  .contact-actions a {
    min-height: 92px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-grid p {
    order: 3;
  }
}

@media (max-width: 420px) {
  .language-switch span {
    width: 30px;
  }

  .brand {
    width: 148px;
  }

  .hero-actions .button {
    width: 100%;
    flex-basis: 100%;
  }

  .floating-note {
    position: static;
    width: 100%;
    margin-top: 10px;
  }

  .portrait-composition {
    padding: 8px;
  }

  .portrait-composition::before {
    display: none;
  }
}

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

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

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